- Move agent code from backend/src/agent/ to agent/src/ss_tools/agent/ - Extract shared stdlib-only utilities to shared/src/ss_tools/shared/ - Add #region/#endregion contracts to all ~140 functions (INV_1 compliance) - Update docker files, entrypoint, build scripts for new package layout - Backend now imports ss_tools.shared._llm_health (no gradio/langchain deps) - Add specs for 036-039 feature plans
1.2 KiB
1.2 KiB
Requirements Checklist: 036 Agent Test Stabilization
Purpose: Validate specification quality and readiness for planning. Created: 2026-07-07 Feature: specs/036-agent-test-stabilization/spec.md
Spec Completeness
- CHK001 User stories are independently testable.
- CHK002 Functional requirements avoid implementation code while defining observable behavior.
- CHK003 No unresolved
[NEEDS CLARIFICATION]markers remain. - CHK004 Edge cases include stale context, dropped stream, permission denial, and backwards compatibility.
Constitution Coverage
- CHK005 Semantic contract and ADR relations are present in spec header.
- CHK006 Decision memory records why stabilization precedes scenario generation.
- CHK007 External orchestrator boundary is preserved.
- CHK008 RBAC/HITL requirements are explicit for writes and approvals.
- CHK009 Svelte UX remains model-driven and structured-event based.
Readiness for Plan
- CHK010 Required outputs are limited to agent runtime stabilization artifacts.
- CHK011 Feature explicitly excludes Superset query baseline engine and scenario generation logic.
- CHK012 Success criteria are measurable by backend/frontend tests and one live smoke flow.