capability-contribute
Evolves a capability's SHIPPED SOURCE — for everyone, not one user. A small tweak lands directly; a change to what the capability owns or does re-runs a scoped version of the capability-build research/design/approval flow. Use for upstream bug reports and change requests about an existing capability ('the steward should also flag X' as a fix for all users), when capability-evolve routes a source-level ask or a promotion here ('promote this MOD line', 'this should be for everyone'), or when a contribution needs drafting for upstream. Not for personalizing one user's install — that's capability-evolve (the overlay) — and not for something new to build — that's capability-build.
- License 许可
- MIT
- 所属仓库
- AlmogBaku/aos
- 最近更新
- 2026-11-15
- Stars
- ★ 5
- Forks
- 2
01 前言 Front Matter
- name
- capability-contribute
- metadata
- { "aos": { "origin": "capability-lifecycle@0.7.0" } }
- description
- Evolves a capability's SHIPPED SOURCE — for everyone, not one user. A small tweak lands directly; a change to what the capability owns or does re-runs a scoped version of the capability-build research/design/approval flow. Use for upstream bug reports and change requests about an existing capability ('the steward should also flag X' as a fix for all users), when capability-evolve routes a source-level ask or a promotion here ('promote this MOD line', 'this should be for everyone'), or when a contribution needs drafting for upstream. Not for personalizing one user's install — that's capability-evolve (the overlay) — and not for something new to build — that's capability-build.
02 资源文件 3
- 参考文档reference/contribute.md3.9 KB
- 参考文档reference/judgment.md2.3 KB
- 参考文档reference/procedure.md1.8 KB
03 SKILL.md 正文
capability-contribute
Boundary: this skill edits capability source — for everyone who uses the package.
Whose package decides where that is: the user's own capabilities live in
<aos_home>/personal/capabilities/<id>/ (theirs — edit directly); upstream-shipped ones
live in <aos_home>/upstream/capabilities/<id>/ and are never silently edited — changes
to them are contributions, drafted on a branch. Changing how an installed capability
behaves for this user is capability-evolve — the overlay,
not the source.
Hard invariant: you never open a PR, file an issue, +1, push, fork, or create a
remote branch — for upstream or any repo the user doesn't own — without the user's
explicit approval or request. You draft and offer; only the user
sends. gh pr create / gh issue create confirm once more before firing.
Invariant: the size of the change decides the ceremony, not the size of the ask. Classify before acting — see reference/judgment.md.
Intakes
- A source fix ("the steward double-counts a slip") — classify Small/Major below.
- A promotion (routed from capability-evolve with a MOD statement, or "promote
this"): extract the mechanism — the user's literal nuance text never ships. A
missing knob becomes a
{{mod: <key>}}slot at the site the nuance targets plus the matchingONBOARDING.mdquestion plus aMOD.example.mdplaceholder (the three land together; ONBOARDING and MOD.example are presence-paired). Tell the user: their concrete answer stays in their MOD; once the upstream change lands in an upgrade, the MOD statement retires. Generality uncertain → the lightest rung is a signal issue, not a PR (the ledger search and issue-first path are in reference/contribute.md).
Classify
- Small — wording, a threshold, a personalization answer, a knob promotion; no new file beyond the knob's question/placeholder, no schema/contract change, doesn't change what the capability owns.
- Major — a new skill/agent/cron job/kb-zone, a schema or contract change, changes what the capability owns or is responsible for.
Judgment call — reference/judgment.md has worked examples to calibrate against, not a checklist to satisfy mechanically.
Then
- Small: apply where the feedback actually lives, and make it take effect now —
a personalization answer changes through the capability-onboard skill (the only MOD.md
writer), then the live render is synced to match (the §3.3 round-trip: overlay and
install stay consistent, MOD.md stays the source of truth);
a package-level tweak: whose package is it? The user's own
(
personal/capabilities/, built here or an importer draft) — edit it directly; it goes live on the next install/update. Upstream-shipped — draft the change on a branch and offer the contribution per reference/contribute.md (applying it locally only if the user accepts the divergence knowingly, as a MOD statement that retires when the PR lands). Either way: tell the user what changed and where — transparent, not silent, but no approval gate for their own package. - Major: interrupt like capability-build's detector does, then run the scaled-down procedure in reference/procedure.md.
Authority
- May freely: classify, apply a small change to the user's own packages (via
onboarding for answers,
personal/edits for package tweaks), sync the live render a changed answer personalizes, draft branches/PR bodies/issues, tell the user what changed. - Report-only: what changed and where, for small edits.
- Ask first: anything classified major (research/design/approval before it applies, same gate as a new capability's Build stage) — and every write that leaves the machine toward upstream: PRs, issues, +1s, pushes, forks, remote branches. No exceptions.
04 同仓库更多 Skills
wt-update
Updates an existing commitment when the user reports progress: completion, a new deadline, a stall, or abandonment. Use when the user says "I did that", "finished X", "still waiting on Y", "push that to next week", "I started it", or "forget it, I'm not doing X". Finds the matching open action, applies the change, and routes any knowledge the report carries to the knowledge base. Do NOT use to file a new commitment (that is wt-capture) or to find time for one (wt-schedule).
wt-steward
Maintains an existing commitments backlog: overdue, about to expire, stalled, and repeatedly-rescheduled commitments, and someday items gone cold. Use when the nightly cron job fires or the user asks to review or tidy their backlog ('review my backlog', 'what's gone stale on my list'). Does not capture or schedule new work — that happens when the user speaks, through wt-capture and wt-schedule.
wt-schedule
Estimates a commitment, links it to its project, and blocks time for it on the user's calendar. Use when the user asks to find time for something — "when can I do this?", "find me two hours for the CFP", "block time for that tomorrow", "I want to work on it today" — and immediately after wt-capture files a commitment that needs real hours. Do NOT use for a commitment that needs only a deadline or a reminder, and do NOT use to change what the user committed to — that is wt-update.
wt-capture
Records something the user has said they must do themselves: classifies the commitment as next, waiting, someday or trivial, writes it as an action page in their commitments base, and hands off to wt-schedule when it needs real hours. Use when the user commits to work of their own — "I need to find time to…", "I have to…", "remind me to…", "help me remember…", "put that on my list", "I should … at some point". Do NOT use when the user asks the assistant to do the work ("write the CFP", "research X", "email Sam") — that is a request to act now, not a commitment to track. Do NOT use for thoughts, facts or notes carrying no commitment; those are knowledge and belong to kb-capture.
work-tracker
Answers questions about the user's own commitments by querying their commitments base, explains the four statuses (next, waiting, someday, done), routes a request to the right work-tracker skill, and states who may change what without asking. Use when the user asks what they should be working on, what is overdue, what they are waiting on, or how their task tracking works, and no narrower work-tracker skill matches. Do NOT use to file a commitment the user just made (that is wt-capture), to find time for one (wt-schedule), or to report progress on one (wt-update).
kb
Explains how the user's knowledge bases are laid out and which kb skill handles a given job — the tree, the one queue, expiry, links, base health, maintenance. Use when the user asks how their knowledge base works, what state a base is in, why something was or was not kept, or wants base maintenance run, and no narrower kb skill matches. Do NOT use to file something the user just said (that is kb-capture), to answer a question from stored knowledge (that is kb-recall), or to pick a destination base for a write already in hand (that is kb-route).