Plan your work on next @docs/roadmap.md Item: 2. Make capability confidence a…
- User
Plan your work on next @docs/roadmap.md Item:
- Make capability confidence a first-class planning input across
init, deploy, and preflight.
The codebase already distinguishes documented, implementation-only, unsupported, and planned surfaces in different places, but not through a single planning model. Unify that so generated manifests, warnings, and skips consistently reflect whether a surface is documented, implementation-only, shared through another agent, or deliberately redundant.
Score 10/12 (Architecture 2, Agents 2, OS 1, Confidence 2, Safety 2, Stability 1)
- Make capability confidence a first-class planning input across
- Assistant
Inspecting the current planning and capability-model code paths to ground the roadmap item in the existing architecture.
- Assistant
Reading the core capability and planning paths in
config,init,preflight, anddeployto see where confidence is already modeled versus inferred ad hoc. - Assistant
The main gap already shows up:
deploycarries confidence on some actions, whilepreflightwarns only fromprovenance.skills. I’m tracing the adapter layer andinitemit logic next, since that is where surface-specific support states likely diverge. - Assistant
I have enough of the code shape now; I’m checking tests around
initdiscovery and any existing manifest-side confidence behavior to avoid proposing a model that fights the current contracts. - Assistant
One more pass through the permissions path and the CLI/tests is enough to outline a concrete implementation sequence without guessing.
- Assistant
- User
I agree with that recommendation. Implament planner with that policy and make sure that @README.md is updated properly
- Assistant
- User
proceed
- Assistant
Implementing the shared capability planner first, then I’ll thread it through adapters,
preflight, andinitbefore updating tests andREADME.md. - Assistant
Editing the planner and type layer now. I’m also pulling skills into the same model so
initcan stop emittinggithub-copilotas a generated standalone skill target. - Assistant
Adding the new planner module and wiring the type surface first; then I’ll swap callers over in small steps to keep behavior stable.
- Assistant
Reworking
preflightnext so it reports capability confidence from the same resolver instead of only hardcoded skill provenance checks. - Assistant
Adding focused tests for the new planner behavior before I run the repo-wide checks, so any drift shows up where it belongs.
- Assistant
The planner is wired through the main code paths now. I’m running formatting next so the remaining failures show the real type/test issues rather than style noise.
- Assistant
Lint only found complexity issues in the new planner paths. I’m splitting those helpers up now rather than changing behavior.
- Assistant
The code and tests are in place. I’m updating the docs now to reflect the new primary-only shared-surface policy and the planner-driven warning model.
- Assistant
One test expectation needed updating after the new primary-only
initpolicy. I’ve done that and I’m running the full verify pass again now. - Assistant
Implemented the capability planner and updated
README.md.What changed:
- Added a unified planner in
src/core/capabilities.tsfor:- support state
- confidence
- shared-through / redundant behavior
initinclusion policy
- Wired it into:
deployskill planning and adapterspreflightcapability warningsinitmanifest generation
initnow prefers primary targets for shared surfaces:- excludes
github-copilotfrom generated shared skills/rules - excludes
antigravityfrom generated sharedGEMINI.mdrules
- excludes
deploynow consistently warns/skips for shared-through skill targets likegithub-copilotwithoutclaude-codeREADME.mdupdated to describe the planner-driven behavior- Crossed off the roadmap item in
- Added a unified planner in
- User
commit your changes
- Assistant
Reviewing the worktree and recent commit style before creating the commit.
- Assistant
Creating a commit that captures the new planner-driven capability model across
init,deploy, andpreflight. - Assistant
Committed as
89a86e4with message:refactor: unify capability planning across surfaces