Harness Router
Route
- Resolve Git root, workspace root, and user-declared root. If they differ, record all three and use the user-declared project boundary unless unsafe.
- Read the system-level
AGENTS.md, then the projectROUTER.md, then only the applicable module rule. - Load the active task, approved
plans.md, open problems and risks, acceptance criteria, version identity, relevant Skills, and only the matching active SHORT_MEMORY block. - Verify every routed path exists or is an explicit placeholder. Prefer the newest file only after the version-window check confirms it belongs to the same artifact lineage.
- Surface conflicts instead of silently choosing: rule precedence, two active Plans, mismatched task status, stale Router entry, or inaccessible knowledge mount.
- Keep LONG_MEMORY and
流程管理/历史记录库/cold. Read either only after an active miss plus explicit history/recovery need or a stable history ID trace. - Return a concise context packet containing root, task, stage, plan state, module, required Skills, write targets, validation, and blockers.
Do not load all management files by default. Router is an index and dispatcher, not another copy of their content.
Technical-design context
When the request concerns implementation design or technical review, locate the current requirements, design/review records and registered controllers, then route to technical-design-authoring. A technical-document request or status/path clarification does not by itself create or load a new engineering Plan.


