fischer-agentkit/tests/integration
chiguyong 67c0d67262 fix(auth,chat): P0 security fixes + stop-generation button + doc sync
U1: whoami cold-start security — add is_active check (disabled users
now get 401, not 200) and replace create_token_pair with create_access_token
to avoid minting a discarded refresh token (token-amplification risk).

U2: list_active_by_provider now filters expired sessions (expires_at > now)
matching its docstring promise; previously only checked revoked = 0.

U3: Fix asyncio.run() crash in test_revoke_other_user_session_returns_404
(converted to async). Add U1/U2 verification tests (disabled-user whoami,
no-refresh-leak, expired-session filtering, provider filtering) and
strengthen admin route tests (404 boundary, non-admin 403 on /admin/sessions).

U4: Update CLAUDE.md/AGENTS.md Request Flow — CostAwareRouter 3-layer
diagram replaced with actual RequestPreprocessor architecture (@board/@team
prefix intercepts then @skill: prefix then trivial-input regex then default
REACT). ExecutionMode list expanded to all 7 values.

U5: Frontend stop-generation button — ChatInput.vue shows a stop button
when isGenerating is true; chat store gains stopGeneration() that sends
{type:"cancel"} over WebSocket (backend portal.py already handles cancel).

Tests: 120 auth tests pass (unit + integration). ruff clean. vue-tsc clean.
2026-06-21 11:36:58 +08:00
..
auth fix(auth,chat): P0 security fixes + stop-generation button + doc sync 2026-06-21 11:36:58 +08:00
__init__.py feat: initial fischer-agentkit package with unified agent architecture 2026-06-04 22:24:06 +08:00
conftest.py feat(agentkit): v2 Phase 1 - ReAct/LLM Gateway/Skill/Server + review fixes 2026-06-05 23:32:16 +08:00
test_agent_lifecycle.py feat(agentkit): v2 Phase 1 - ReAct/LLM Gateway/Skill/Server + review fixes 2026-06-05 23:32:16 +08:00
test_agent_v2_lifecycle.py feat(agentkit): v2 Phase 1 - ReAct/LLM Gateway/Skill/Server + review fixes 2026-06-05 23:32:16 +08:00
test_chat_adaptive_e2e.py test: add Phase 8 integration tests for Chat + Adaptive + Multi-Agent (U8) 2026-06-08 01:17:04 +08:00
test_coding_harness_pipeline.py test(pipeline): add coding harness integration tests 2026-06-12 09:42:21 +08:00
test_evolution_loop.py feat(agentkit): v2 Phase 1 - ReAct/LLM Gateway/Skill/Server + review fixes 2026-06-05 23:32:16 +08:00
test_expert_team.py test(integration): U9 重写集成测试覆盖流水线模式 2026-06-18 02:26:59 +08:00
test_gap_closure.py feat: gap closure sprint — dark theme, @-mention, LocalComputerUse, tests 2026-06-14 16:16:50 +08:00
test_geo_compression.py fix(agentkit): resolve all P0/P1/P2/P3 issues from code review 2026-06-07 22:05:18 +08:00
test_geo_e2e.py feat(geo): U4 GEO skill tool binding with BaiduSearch and E2E tests 2026-06-07 17:25:37 +08:00
test_goal_driven_scenario.py fix(security): resolve all P0/P1 findings from code review 2026-06-10 07:12:41 +08:00
test_marketplace_e2e.py fix(marketplace): address code review findings 2026-06-10 19:21:40 +08:00
test_mcp_roundtrip.py feat(agentkit): v2 Phase 1 - ReAct/LLM Gateway/Skill/Server + review fixes 2026-06-05 23:32:16 +08:00
test_merged_router.py feat: accumulated frontend enhancements, docs, and static assets 2026-06-14 16:35:01 +08:00
test_p0_hardening.py feat: P0 production hardening — LLM cache, semantic routing, state persistence 2026-06-14 15:16:00 +08:00
test_parallel_tools.py feat: accumulated frontend enhancements, docs, and static assets 2026-06-14 16:35:01 +08:00
test_react_loop.py feat(agentkit): v2 Phase 1 - ReAct/LLM Gateway/Skill/Server + review fixes 2026-06-05 23:32:16 +08:00
test_reflexion_loop.py fix: resolve code review issues from deferred improvements 2026-06-11 13:49:02 +08:00
test_rewoo_configurable_fallback.py feat: accumulated frontend enhancements, docs, and static assets 2026-06-14 16:35:01 +08:00
test_rewoo_fallback.py fix: resolve code review issues from deferred improvements 2026-06-11 13:49:02 +08:00
test_router_engine_chain.py fix(review): comprehensive P0-P2 code review fixes 2026-06-12 22:18:25 +08:00
test_server_e2e.py fix(test): adapt health check assertion to Phase 4 status value change 2026-06-06 21:56:30 +08:00
test_soul_evolution_trigger.py fix: resolve code review issues from deferred improvements 2026-06-11 13:49:02 +08:00
test_tool_composition.py feat(agentkit): v2 Phase 1 - ReAct/LLM Gateway/Skill/Server + review fixes 2026-06-05 23:32:16 +08:00