Engineering/AI documentation
Skill Proposals
Skill proposal flows present candidate tool or capability changes for review before they are adopted.
Concepts: mcp
Implementation Summary
Skill proposal flows present candidate tool or capability changes for review before they are adopted.
Frontend Surface
frontend/src/components/skills/SkillsView.tsxbackend/app/api/routes/skills.py
State, API, And Backend Contracts
Stores
- None recorded.
API And Backend
backend/app/api/routes/skills.py
Architecture Notes
- The feature is mounted through
frontend/src/components/skills/SkillsView.tsxand the UI navigation path recorded in the inventory. - Skill update proposals are stored with their source
project_id; list, approve, and reject APIs require the active project and return 404 for proposals from another project. - Skill update proposal producers reject missing or blank
project_idbefore persistence or governed-evolution registration so autonomous improvement work cannot become global activity by omission. - Simulation harnesses pass
ctx.projectIdinto skill proposal and health checks, and skip the scoped endpoint instead of falling back to a global request when no simulation project exists. - Approving skill update or skill creation proposals requires an active, unpaused project. Rejecting old proposals can still happen while a project is paused so stale improvement work can be cleared without dispatching new processing.
SkillsViewclears and reloads proposal state when the active project changes so self-evolution review never carries proposals from a previous project.- Skill execution health is tracked per project for proposal review. Low utility no longer auto-deprecates or mutates a global skill definition from one project's execution history.
- The frontmatter and manifest entries are the durable contract for agents updating this page after code changes.
- When the referenced component, store, route, agent, skill, or test behavior changes, regenerate and validate the feature documentation.
Agents, Skills, LLM, MCP, And Permissions
- Agent execution passes the task project into skill improvement proposals and governed-evolution evidence, preserving project authorization for review.
- Governed-evolution registration for
skill_evolutionrequires the proposal source project id before creating evidence records. - Proposal generation and approval are treated as project content processing; paused projects must not create new skill improvement work from background execution or apply project-specific proposals into the shared catalog.
- Project-scoped low-utility warnings are broadcast only to the owning project; global skill lifecycle changes require explicit governed review rather than background mutation.
- MCP-related behavior must keep access policy, audit evidence, and tool/resource exposure synchronized with the cited route or integration component.
Tests And Verification
tests/test_skills.pytests/test_improvement_governance.pytests/test_project_scope_contracts.pytests/test_simulation_project_scope_contracts.pytests/simulation/lib/api-client.mjstests/simulation/scenarios/20-all-skills-comprehensive.mjstests/simulation/scenarios/22-architecture-evaluation.mjs
Related Features
Related Concepts
Compass Evidence
- Spec/task: CF-SPEC-53 / CF-657; CF-SPEC-68 / CF-870; CF-SPEC-76 / CF-972; CF-SPEC-104 / CF-1309
- Inventory source:
docs/features/inventory.json
When To Update
- Update this page whenever the listed UI components, stores, routes, model behavior, permissions, or tests change.
- Regenerate the site and machine manifests with
python scripts/feature_docs.py --seed-missing --generate-site --check.