Commit 5d45d61
docs(router): reframe as a structured task resolver (proposal-only)
WP-5 of the ECC execution plan.
docs/SKILL-ROUTER.md: retitled "Structured task resolver (proposal-only)".
The opening now states plainly that the hook suggests <=3 skills per prompt
and does not select, activate, switch profiles, or implement affaan-m#3037's
`routed` disposition. Added a "Relationship to context profiles" section
quoting affaan-m#3037's own contract verbatim (scripts/lib/context-profiles.js:
"Selection modes are recorded intent; task routing and automatic switching
are not implemented.") and its design doc's lane-table entry for this PR
("Future structured task resolver; selectionMode: 'auto' alone implements
none of this"), then states input (the carrier's catalog, which after the
carrier binds to the compiler is the compiler's routedIds) and output
(suggestions only, no disposition changed).
docs/PLUGIN-PROFILES.md: added a short cross-reference to the router under
"The ecc-catalog Skill and On-Demand Content" -- it did not mention the
router/resolver at all before this change (verified by grep; a discrepancy
from the plan's assumption that it already did, recorded here since the
correct fix is the same either way: add the reference).
The header-comment reframing for scripts/hooks/skill-router.js and
scripts/lib/skill-router.js landed in the previous commit (touches the
same regions as that commit's JSDoc additions).
tests/hooks/skill-router.test.js already carries the required "suggestion
resolver output is suggestion-only" test (previous commit); it passed
immediately (GREEN on first run), meaning it is a pin, not a fix -- the
router never emitted selection/activation language and was already <=4
lines. See evidence/WP-5-pr-bodies.md and
evidence/WP-5-rename-inventory.md for the drafted-but-unposted PR bodies
and the task-resolver rename inventory (not applied; gated on a user
decision per the plan).
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MLu1Dhxs54ndeS3CTvSHSC1 parent f8264d9 commit 5d45d61
2 files changed
Lines changed: 52 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
368 | 368 | | |
369 | 369 | | |
370 | 370 | | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
371 | 377 | | |
372 | 378 | | |
373 | 379 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | | - | |
4 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
5 | 10 | | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
11 | 19 | | |
12 | 20 | | |
13 | 21 | | |
| |||
25 | 33 | | |
26 | 34 | | |
27 | 35 | | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
28 | 66 | | |
29 | 67 | | |
30 | 68 | | |
| |||
0 commit comments