Roles, capability profiles and help on the new loop (M2.6)
- roles.driver (unset: the planner's model) and roles.classifier (unset: the expert's); the mapping is pinned when an item opens, and the driver and the go-ahead reader run on the item's own (L9). - profiles: in configuration (tools, strengths, weaknesses), used in briefings: the driver's instructions say what its helper and expert are good at, the helper's brief who reads its handback; never a model name. - delegate(task) and ask_expert(question) for the driver. A helper works on a branch off the milestone's; on a handback its work comes back as uncommitted changes, otherwise it is discarded, so harness branches never hold commits only the clone has. ask_expert keeps its budget. - Triggers: failure_limit failed commands in a row (Driver's new "stuck" outcome) or the turn cap, mid-milestone, call a helper in once per milestone; if it fails too, the item waits on the operator. A delegation cut off by a crash is discarded at boot. - Evaluation capture: delegations and ask_expert as before, and the reader's verdicts as classifier pairs. Tests: help tests (merge-back, discard, needs a milestone, the stuck trigger and its once-per-milestone limit, the expert and its budget, pinning, briefings by profile, boot discarding a cut-off delegation), config tests for roles and profiles, and the walk delegating with a scripted helper that sometimes fails, with a delegations_settle property. The walk found helper commits stranded on a merged PR's branch, fixed by returning a helper's work uncommitted. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PPQ14L3LikyefCMFBqEbKE
This commit is contained in:
1 parent
04c352b30c
commit
59fd00ce8c
19 files changed
+890
-38
No files matched your search
@@ -31,7 +31,7 @@ Only `nisse-dev` has real code; `nisse-core` and `nisse-ops` are placeholders.
|
||||
| **L6** Context | partial | Context fitting, per-role views and orchestrator facts (M1.2); no scope or agent memory |
|
||||
| **L7** Canonical log | partial | Work item and actor on every event, `fact` (M1.1, M1.2); no `classifier_verdict`, `knowledge_retrieved` |
|
||||
| **L8** Durability | mostly done | WAL store, intents, boot reconciliation, PR adoption, comment redelivery; to move onto the new loop |
|
||||
| **L9** Models and roles | partial | LiteLLM, delegation, `ask_expert`, eval capture; roles are still planner/executor, no capability profiles |
|
||||
| **L9** Models and roles | mostly done | LiteLLM, eval capture; on the new loop: `driver`/`helper`/`expert`/`classifier` pinned per item, capability profiles in briefings, delegation and `ask_expert` with triggers (M2.6) |
|
||||
| **L10** Knowledge vault | none | |
|
||||
| **L11** Injection | partial | Operator allowlists on every channel; no classifier |
|
||||
| **L12** Secrets, logging | partial | Structured state-change log; secrets in `.env`; no per-operation handout or redaction |
|
||||
@@ -222,9 +222,23 @@ deletes afterwards.
|
||||
`ARCHITECTURE.md` and the build plan. A conversation waiting on provisioning
|
||||
doesn't close as idle.
|
||||
|
||||
**M2.6 Roles and capability profiles.** *Pre-approved.* `driver`, `helper`,
|
||||
`expert`, `classifier` (L9); escalation triggers; delegation and `ask_expert` on the
|
||||
new loop.
|
||||
**M2.6 Roles and capability profiles.** *Pre-approved.* **Done** (this PR).
|
||||
`driver`, `helper`, `expert`, `classifier` (L9); escalation triggers; delegation and
|
||||
`ask_expert` on the new loop.
|
||||
- `roles.driver` (unset: the planner's model) and `roles.classifier` (unset: the
|
||||
expert's), pinned per item; the driver and the go-ahead reader run on the item's.
|
||||
- `profiles:` in configuration (tools, strengths, weaknesses), used in briefings:
|
||||
the driver is told what its helper and expert are good at, the helper who will
|
||||
read its handback; never a model's name.
|
||||
- `delegate(task)` and `ask_expert(question)` for the driver. A helper works on a
|
||||
branch off the milestone's; its work comes back as uncommitted changes on a
|
||||
handback and is discarded otherwise, so harness branches never hold commits only
|
||||
the clone has (the walk found a fix stranded that way when a PR merged mid-help).
|
||||
- Triggers: `failure_limit` failed commands in a row, or the turn cap, mid-
|
||||
milestone, call a helper in once per milestone; if it fails too, the item waits
|
||||
on the operator as before. A delegation cut off by a crash is discarded at boot.
|
||||
- Evaluation capture: delegations, `ask_expert` and the reader's verdicts.
|
||||
- Deferred: the context-won't-fit trigger (L6); the action classifier (M3.2).
|
||||
|
||||
**M2.7 Conversation.** *Pre-approved.* Explanations, progress in prose, asking
|
||||
mid-work (L5, #42, #77).
|
||||
|
||||
Reference in new issue
Block a user