fischer-agentkit/tests/integration
chiguyong 698a8fafba fix(review): U7 refresh token hash verification on whoami
The whoami route accepted rotated/old refresh tokens for cold-start
because it only checked session revocation status, not the token hash.
Now when token_type == "refresh", the route computes hash_token(token)
and compares it with the session's stored refresh_token_hash using
hmac.compare_digest (constant-time). Mismatch returns 401.

- Add SessionService.get_stored_refresh_hash(session_id) helper
- Add hash verification in whoami route (R9)
- Add TestWhoamiTokenHash with 5 integration tests
2026-06-22 16:55:20 +08:00
..
admin fix(review): CLI field names, Pydantic validation, exception chaining 2026-06-22 15:24:31 +08:00
auth fix(review): U7 refresh token hash verification on whoami 2026-06-22 16:55:20 +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