@sockulags/agent-os 0.15.0 → 0.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +102 -48
- package/cli/doctor.mjs +307 -0
- package/cli/index.mjs +328 -151
- package/cli/index.test.mjs +406 -9
- package/package.json +5 -6
- package/plugins/agent-os-core/.claude-plugin/plugin.json +18 -0
- package/plugins/agent-os-core/.codex-plugin/plugin.json +24 -0
- package/plugins/agent-os-core/skills/capture-intent/SKILL.md +65 -0
- package/plugins/agent-os-core/skills/capture-intent/references/intent-template.md +47 -0
- package/plugins/agent-os-core/skills/explain-work/SKILL.md +42 -0
- package/{skills → plugins/agent-os-core/skills}/list-skills/SKILL.md +13 -6
- package/{skills → plugins/agent-os-core/skills}/plain-voice/SKILL.md +7 -4
- package/plugins/agent-os-core/skills/plan-work/SKILL.md +133 -0
- package/{skills → plugins/agent-os-core/skills}/plan-work/references/elicitation.md +7 -3
- package/plugins/agent-os-core/skills/plan-work/references/spec-template.md +64 -0
- package/plugins/agent-os-core/skills/record-lesson/SKILL.md +47 -0
- package/{skills → plugins/agent-os-core/skills}/scope-guard/SKILL.md +11 -6
- package/{skills → plugins/agent-os-core/skills}/verify-before-done/SKILL.md +6 -2
- package/plugins/agent-os-dev/.claude-plugin/plugin.json +18 -0
- package/plugins/agent-os-dev/.codex-plugin/plugin.json +24 -0
- package/plugins/agent-os-dev/hooks/hooks.json +42 -0
- package/{skills → plugins/agent-os-dev/skills}/batch-work/SKILL.md +5 -2
- package/{skills → plugins/agent-os-dev/skills}/check-work/SKILL.md +31 -14
- package/{skills/deliver-work/workflow.md → plugins/agent-os-dev/skills/deliver-work/SKILL.md} +77 -42
- package/plugins/agent-os-dev/skills/design-work/SKILL.md +145 -0
- package/plugins/agent-os-dev/skills/design-work/scripts/render-sketch.mjs +233 -0
- package/plugins/agent-os-dev/skills/design-work/scripts/render-sketch.test.mjs +73 -0
- package/plugins/agent-os-dev/skills/diagnose-before-fix/SKILL.md +29 -0
- package/{skills → plugins/agent-os-dev/skills}/dispatch-next/SKILL.md +6 -1
- package/plugins/agent-os-dev/skills/init-agent-os/SKILL.md +121 -0
- package/plugins/agent-os-dev/skills/init-agent-os/policy.md +88 -0
- package/plugins/agent-os-dev/skills/init-agent-os/references/guards.md +39 -0
- package/{skills → plugins/agent-os-dev/skills}/init-agent-os/references/repository-init.md +41 -10
- package/plugins/agent-os-dev/skills/init-agent-os/references/review-template.md +35 -0
- package/plugins/agent-os-dev/skills/init-agent-os/scripts/policy-block.mjs +187 -0
- package/plugins/agent-os-dev/skills/init-agent-os/templates/agent-review.yml +59 -0
- package/plugins/agent-os-dev/skills/init-agent-os/templates/lint-intents.yml +30 -0
- package/{skills → plugins/agent-os-dev/skills}/proportional-testing/SKILL.md +1 -1
- package/plugins/agent-os-dev/skills/quality-ratchet/SKILL.md +103 -0
- package/{skills → plugins/agent-os-dev/skills}/quality-ratchet/references/project-controls.md +31 -3
- package/plugins/agent-os-dev/skills/quality-ratchet/scripts/analyzers.mjs +145 -0
- package/plugins/agent-os-dev/skills/quality-ratchet/scripts/analyzers.test.mjs +158 -0
- package/plugins/agent-os-dev/skills/quality-ratchet/scripts/guards.mjs +372 -0
- package/plugins/agent-os-dev/skills/quality-ratchet/scripts/guards.test.mjs +138 -0
- package/plugins/agent-os-dev/skills/quality-ratchet/scripts/intent-files.mjs +322 -0
- package/plugins/agent-os-dev/skills/quality-ratchet/scripts/intent-files.test.mjs +172 -0
- package/{skills → plugins/agent-os-dev/skills}/quality-ratchet/scripts/project-controls.mjs +59 -8
- package/{skills → plugins/agent-os-dev/skills}/quality-ratchet/scripts/project-controls.test.mjs +134 -8
- package/{skills → plugins/agent-os-dev/skills}/quality-ratchet/scripts/quality-delta.mjs +296 -22
- package/{skills → plugins/agent-os-dev/skills}/quality-ratchet/scripts/quality-delta.test.mjs +114 -6
- package/plugins/agent-os-dev/skills/shape-work/SKILL.md +124 -0
- package/plugins/agent-os-dev/skills/shape-work/references/implementation-issues.md +143 -0
- package/{skills/plan-work → plugins/agent-os-dev/skills/shape-work}/references/prototypes.md +9 -10
- package/plugins/agent-os-dev/skills/simplify/SKILL.md +91 -0
- package/plugins/agent-os-dev/skills/simplify/scripts/audit-evidence.mjs +166 -0
- package/plugins/agent-os-dev/skills/simplify/scripts/audit-evidence.test.mjs +49 -0
- package/policy.md +48 -24
- package/hooks/hooks.json +0 -17
- package/skills/deliver-work/SKILL.md +0 -12
- package/skills/diagnose-before-fix/SKILL.md +0 -24
- package/skills/explain-work/SKILL.md +0 -28
- package/skills/init-agent-os/SKILL.md +0 -55
- package/skills/init-agent-os/scripts/policy-block.ps1 +0 -87
- package/skills/notice-lesson/SKILL.md +0 -20
- package/skills/plan-work/SKILL.md +0 -100
- package/skills/quality-ratchet/SKILL.md +0 -72
- package/skills/record-lesson/SKILL.md +0 -31
- package/skills/shape-work/SKILL.md +0 -71
- package/skills/shape-work/references/implementation-issues.md +0 -90
- package/skills/shape-work/references/mockups.md +0 -23
- package/skills/simplifier/SKILL.md +0 -35
- package/skills/simplifier-audit/SKILL.md +0 -30
- package/skills/simplifier-review/SKILL.md +0 -40
- package/skills/understand-work/SKILL.md +0 -32
- package/skills/understand-work/agents/openai.yaml +0 -2
- package/skills/writing-skills/SKILL.md +0 -68
- package/skills/writing-skills/agents/openai.yaml +0 -2
- /package/{skills/batch-work → plugins/agent-os-core/skills/capture-intent}/agents/openai.yaml +0 -0
- /package/{skills/deliver-work → plugins/agent-os-core/skills/explain-work}/agents/openai.yaml +0 -0
- /package/{skills/dispatch-next → plugins/agent-os-core/skills/list-skills}/agents/openai.yaml +0 -0
- /package/{skills → plugins/agent-os-core/skills}/plain-voice/references/tells.md +0 -0
- /package/{skills/explain-work → plugins/agent-os-core/skills/plan-work}/agents/openai.yaml +0 -0
- /package/{skills → plugins/agent-os-core/skills}/plan-work/references/map.md +0 -0
- /package/{skills/init-agent-os → plugins/agent-os-dev/skills/batch-work}/agents/openai.yaml +0 -0
- /package/{skills → plugins/agent-os-dev/skills}/batch-work/references/manifest.md +0 -0
- /package/{skills → plugins/agent-os-dev/skills}/batch-work/scripts/manifest-hash.mjs +0 -0
- /package/{skills → plugins/agent-os-dev/skills}/batch-work/scripts/test-manifest-hash.mjs +0 -0
- /package/{skills → plugins/agent-os-dev/skills}/check-work/references/findings.md +0 -0
- /package/{skills/list-skills → plugins/agent-os-dev/skills/deliver-work}/agents/openai.yaml +0 -0
- /package/{skills/plan-work → plugins/agent-os-dev/skills/design-work}/agents/openai.yaml +0 -0
- /package/{skills/record-lesson → plugins/agent-os-dev/skills/dispatch-next}/agents/openai.yaml +0 -0
- /package/{skills/shape-work → plugins/agent-os-dev/skills/init-agent-os}/agents/openai.yaml +0 -0
- /package/{skills → plugins/agent-os-dev/skills}/proportional-testing/references/strategy.md +0 -0
- /package/{skills → plugins/agent-os-dev/skills}/quality-ratchet/references/structure.md +0 -0
- /package/{skills/simplifier-audit → plugins/agent-os-dev/skills/shape-work}/agents/openai.yaml +0 -0
- /package/{skills/simplifier → plugins/agent-os-dev/skills/simplify}/agents/openai.yaml +0 -0
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# Intent template
|
|
2
|
+
|
|
3
|
+
Copy everything below the rule into `intents/<id>/intent.md`. Replace each angle-bracket
|
|
4
|
+
placeholder, and delete a section only where the comment says it may go.
|
|
5
|
+
|
|
6
|
+
Frontmatter rules:
|
|
7
|
+
|
|
8
|
+
- `id` equals the folder name, `<YYYY-MM>-<slug>`.
|
|
9
|
+
- `status` is `accepted`, `done`, or `superseded`. A new intent is written as `accepted`: merging
|
|
10
|
+
its review is the acceptance. `deliver-work` sets `done` in the pull request that delivers the
|
|
11
|
+
last unit. Delivery progress is never written here.
|
|
12
|
+
- `rev` starts at 1 and increases by one each time an accepted intent changes meaning.
|
|
13
|
+
- `supersedes` is the id of the intent this one replaces, or `null`.
|
|
14
|
+
- Extra keys, such as a tracker key, are allowed when the project policy asks for them.
|
|
15
|
+
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
```markdown
|
|
19
|
+
---
|
|
20
|
+
id: <YYYY-MM>-<slug>
|
|
21
|
+
status: accepted
|
|
22
|
+
rev: 1
|
|
23
|
+
supersedes: null
|
|
24
|
+
---
|
|
25
|
+
|
|
26
|
+
# <The outcome in one line>
|
|
27
|
+
|
|
28
|
+
## Who and why
|
|
29
|
+
|
|
30
|
+
<Who has the need, what they cannot do today, and why it matters now.>
|
|
31
|
+
|
|
32
|
+
## Desired outcome
|
|
33
|
+
|
|
34
|
+
<What is true when this is done, observable by the people who asked for it.>
|
|
35
|
+
|
|
36
|
+
## Out of scope
|
|
37
|
+
|
|
38
|
+
<What this deliberately does not do, with the reason when it is not obvious.>
|
|
39
|
+
|
|
40
|
+
## Open questions
|
|
41
|
+
|
|
42
|
+
<Questions only the owner can answer. Delete this section when none remain.>
|
|
43
|
+
|
|
44
|
+
## Decision log
|
|
45
|
+
|
|
46
|
+
<Empty in revision 1. Afterwards one line per revision: `rev N (YYYY-MM-DD): what changed and why`.>
|
|
47
|
+
```
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: explain-work
|
|
3
|
+
description: Explains a task, plan, spec, diff, or an over-long explanation in short plain language with no technical vocabulary, so a developer or product owner can judge it beyond the jargon. User-invoked directly, for example to shorten the agent's own wordy answer, and used by plan-work for the summary at the top of spec.md. Not a substitute for technical review or verification.
|
|
4
|
+
disable-model-invocation: true
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Explain work
|
|
8
|
+
|
|
9
|
+
Say what the work solves as if the reader knows no technical terms, then let the reader judge it.
|
|
10
|
+
|
|
11
|
+
## The summary
|
|
12
|
+
|
|
13
|
+
Cover, in everyday language: the problem it solves, who feels that problem, what changes in their
|
|
14
|
+
day when it works, and what it deliberately will not do. No technical vocabulary at all. If the
|
|
15
|
+
summary cannot stand without a technical term, the understanding is not finished; go back and
|
|
16
|
+
understand before explaining. Keep it short enough to read in under a minute: a TLDR, not a report.
|
|
17
|
+
|
|
18
|
+
## Shortening an explanation
|
|
19
|
+
|
|
20
|
+
When the input is an explanation that says too much, often the agent's own previous answer, keep
|
|
21
|
+
only what changes the reader's next step: the outcome, the one decision they must make, and what is
|
|
22
|
+
not done or not verified. Drop the reasoning trail, restated context, and anything the reader did
|
|
23
|
+
not ask about. Keep every fact that would change a decision; shortening never hides a risk or an
|
|
24
|
+
unverified claim. Use the reader's language.
|
|
25
|
+
|
|
26
|
+
## In a spec
|
|
27
|
+
|
|
28
|
+
Under `plan-work`, the summary becomes the `## Summary` section at the top of `spec.md`. It is
|
|
29
|
+
written for the product owner who approves the spec, follows the rules above, and changes whenever
|
|
30
|
+
the spec changes meaning.
|
|
31
|
+
|
|
32
|
+
## After the summary
|
|
33
|
+
|
|
34
|
+
End with the summary. Do not ask for approval, confirmation, or feedback, and do not close with a
|
|
35
|
+
question: the reader replies only to challenge it. When the summary supports a decision that
|
|
36
|
+
another workflow owns, that workflow asks its one question; explain-work adds none.
|
|
37
|
+
|
|
38
|
+
A challenge means the understanding was wrong somewhere: name what was misunderstood and reopen the
|
|
39
|
+
questioning or the plan at that point rather than defending the summary.
|
|
40
|
+
|
|
41
|
+
Standalone, explain-work can run against any plan, spec, diff, pull request, or explanation; the
|
|
42
|
+
deliverable is the plain-language summary itself.
|
|
@@ -12,7 +12,9 @@ changes nothing.
|
|
|
12
12
|
## Read the installation, never a remembered list
|
|
13
13
|
|
|
14
14
|
Take every skill from the sibling directories beside this one, using each `SKILL.md` frontmatter for
|
|
15
|
-
its name and description. A
|
|
15
|
+
its name and description. A direct install puts agent-os-core and agent-os-dev skills side by side.
|
|
16
|
+
A plugin install keeps them in two plugins: list the siblings, then add the agent-os-dev skills the
|
|
17
|
+
host shows under that plugin name, or say that agent-os-dev is not installed. A reference card recited from memory goes stale the moment a skill is
|
|
16
18
|
added, removed, or partially installed, and it hides exactly the drift a developer opens the card to
|
|
17
19
|
find. Report a directory whose frontmatter is missing or unreadable as unavailable rather than
|
|
18
20
|
omitting it.
|
|
@@ -24,15 +26,20 @@ instructions.
|
|
|
24
26
|
|
|
25
27
|
## Report
|
|
26
28
|
|
|
29
|
+
Start with the installed Agent OS version: `version` in the `.agent-os-install.json` beside the skill
|
|
30
|
+
directories for a direct install, or in `.claude-plugin/plugin.json` at the plugin root. If neither exists, say the version is unknown. Name `npx @sockulags/agent-os@latest doctor` as
|
|
31
|
+
the way to compare it with the latest release.
|
|
32
|
+
|
|
27
33
|
Group by invocation, explicit skills first, and give each one line: how to invoke it and what it
|
|
28
34
|
does, condensed from its description rather than copied whole. Show the invocation form matching how
|
|
29
|
-
this skill was itself reached
|
|
30
|
-
Claude install, `$<name>` on Codex
|
|
35
|
+
this skill was itself reached: `/agent-os-core:<name>` or `/agent-os-dev:<name>` through the Claude
|
|
36
|
+
plugins, `/<name>` for a direct Claude install, `$<name>` on Codex. Name which form is shown, since the same skill set is typed
|
|
31
37
|
differently per host.
|
|
32
38
|
|
|
33
|
-
Close with the entry points for a
|
|
34
|
-
`
|
|
35
|
-
|
|
39
|
+
Close with the entry points for a person who has not named a skill: a new need starts at
|
|
40
|
+
`capture-intent`, behavior and decisions at `plan-work`, screens and their sketches at
|
|
41
|
+
`design-work`, delivery structure at `shape-work`, and a decision-complete unit at `deliver-work`;
|
|
42
|
+
name the last three only when agent-os-dev is installed. Say plainly that automatic skills need no entry point
|
|
36
43
|
for an implicit trigger; mention an automatic workflow's explicit modes only when useful.
|
|
37
44
|
|
|
38
45
|
## Boundaries
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: plain-voice
|
|
3
|
-
description:
|
|
3
|
+
description: Plain wording for written artifacts such as documentation, README text, commit messages, pull request descriptions, issue comments, and release notes. Removes filler, restated requests, stacked hedges, and promotional wording so each sentence carries a fact, an instruction, or a number. Use when the user says things like write the PR description, draft the commit message, write the docs for this feature, or post a comment on the issue. Not for ordinary chat, explanations, summaries, or status replies, which the global policy covers, and not for code, identifiers, structured data, quoted source material, or text the user wrote.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Plain voice
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
The global policy block carries the core plain-voice rules for every reply, including short chat and
|
|
9
|
+
status replies. This skill is the full checklist for written artifacts that outlive the conversation:
|
|
10
|
+
documentation, README text, commit messages, pull request descriptions, issue comments, and release
|
|
11
|
+
notes.
|
|
10
12
|
|
|
11
13
|
Write so every sentence leaves the reader with a fact, an instruction, or a number. Cut the rest.
|
|
12
14
|
|
|
@@ -22,7 +24,8 @@ rewrite:
|
|
|
22
24
|
- **Structure imposed on the content rather than drawn from it.** Ideas forced into threes, "not just
|
|
23
25
|
X but Y", ranges whose ends share no scale, and bold labels that restate the line they introduce.
|
|
24
26
|
- **Conversational residue.** Openers that congratulate the reader, closing offers of further help,
|
|
25
|
-
and
|
|
27
|
+
and vague hedges about what might not hold. State the finding, or go find it. A claim that stays
|
|
28
|
+
unverified after checking is a fact: name it once, in one plain sentence.
|
|
26
29
|
|
|
27
30
|
Two checks settle a doubtful sentence. Ask what it tells the reader to do or know; if it cannot be
|
|
28
31
|
restated as a fact, an instruction, or a number, cut it. Then ask whether it could appear unchanged
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: plan-work
|
|
3
|
+
description: Plans a coherent mission from outcome through coverage, decisions, feasibility, and verification with adaptive depth, and writes the result as a versioned spec beside its intent. User-invoked when the developer wants a plan or a spec, or the work needs one. Not required for an already clear implementation request or a substitute for shape-work delivery structure.
|
|
4
|
+
disable-model-invocation: true
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Plan work
|
|
8
|
+
|
|
9
|
+
Own the coherent mission before delivery: the desired result and behavior, boundaries, affected
|
|
10
|
+
parts, material decisions, technical feasibility, and one verification story for the whole result.
|
|
11
|
+
Planning is an entry point, not a mandatory ceremony before an already clear implementation
|
|
12
|
+
request. Shape-work may also start from an existing specification.
|
|
13
|
+
|
|
14
|
+
## Choose planning depth internally
|
|
15
|
+
|
|
16
|
+
Do not ask the developer to select a mode. Match the depth to scope and uncertainty separately:
|
|
17
|
+
|
|
18
|
+
- A small, clear fix needs its outcome, boundaries, and verification, and no spec file.
|
|
19
|
+
- A large but known change needs repository inspection and a coverage check across the relevant
|
|
20
|
+
flows, states, errors, integrations, and the screens each role sees.
|
|
21
|
+
- A bounded open choice needs discoverable facts first, then only focused questions for choices
|
|
22
|
+
that materially change behavior.
|
|
23
|
+
- A broad initiative uses the decision map below when questions need independent ownership,
|
|
24
|
+
separate evidence work, or parallel treatment.
|
|
25
|
+
|
|
26
|
+
Use [capture-intent](../capture-intent/SKILL.md) when the outcome is still moving or cannot be
|
|
27
|
+
stated, or when no intent exists for work that needs one. Use [explain-work](../explain-work/SKILL.md)
|
|
28
|
+
for the plain-language summary at the top of the spec and whenever an actual decision needs one. A
|
|
29
|
+
summary is not a general approval gate: existing authority continues across workflow boundaries,
|
|
30
|
+
and planning alone never starts implementation.
|
|
31
|
+
|
|
32
|
+
## Establish the plan
|
|
33
|
+
|
|
34
|
+
Read project policy, the request, the intent, relevant repository code, existing specs and plans,
|
|
35
|
+
and live worktree or tracker state before asking questions. Check the real main flows, states,
|
|
36
|
+
error paths, and integrations. For a rebuild or migration, identify what is preserved, replaced,
|
|
37
|
+
migrated, and removed. Do not invent requirements to fill a template.
|
|
38
|
+
|
|
39
|
+
Resolve repository facts yourself. Ask only a material product question, with a recommendation and
|
|
40
|
+
the consequence of choosing differently. Record decisions, reasons, rejected alternatives, open
|
|
41
|
+
risks, and evidence in the spec, or on the planning surface the project policy names instead.
|
|
42
|
+
|
|
43
|
+
The plan owns one coherent mission, not a pile of disconnected tickets. The plan is ready when delivery
|
|
44
|
+
can proceed without inventing material product intent. The ready result may be:
|
|
45
|
+
|
|
46
|
+
- ready for direct delivery when the mission already has a sufficient contract;
|
|
47
|
+
- ready for `shape-work` when delivery units, dependencies, or an epic contract still need to be
|
|
48
|
+
materialized; or
|
|
49
|
+
- one explicit remaining question or evidence gap.
|
|
50
|
+
|
|
51
|
+
Exact code, a complete file list, and every technical work step do not need to be decided. A plan
|
|
52
|
+
does not authorize product implementation, and an issue becoming ready does not authorize it.
|
|
53
|
+
|
|
54
|
+
## Settle the interface
|
|
55
|
+
|
|
56
|
+
Design is part of the plan, not something delivery invents. When the plan writes a spec, list every
|
|
57
|
+
new or changed screen or state in its `## Interface` section, per role that sees it, or write
|
|
58
|
+
`None` when nothing a person sees or does changes. A small, clear fix needs no spec; its request is
|
|
59
|
+
its interface decision. A plan whose interface changes is ready only when each listed surface has a
|
|
60
|
+
decision, backed by a sketch where one is possible and stated by the developer where none is, or the
|
|
61
|
+
developer has explicitly deferred it with an owner. An undecided surface is an open question, not a
|
|
62
|
+
detail for delivery to fill in.
|
|
63
|
+
|
|
64
|
+
When agent-os-dev is installed, continue into `design-work` to build the sketches in the medium the
|
|
65
|
+
project chose and return here when it is done; the planning request already covers it. When only
|
|
66
|
+
agent-os-core is installed, no sketch is possible: ask the developer for each open interface
|
|
67
|
+
decision and record the answer they state; never guess a layout.
|
|
68
|
+
|
|
69
|
+
## Write the spec
|
|
70
|
+
|
|
71
|
+
When the work has an intent, write `spec.md` in the same `intents/<id>/` folder from
|
|
72
|
+
[references/spec-template.md](references/spec-template.md). Its `built_on` names the intent revision
|
|
73
|
+
it answers, such as `intent@2`. Acceptance examples originate in the spec. A delivery unit written
|
|
74
|
+
by `shape-work` states the ones it is accountable for and cites the spec section; the spec stays the
|
|
75
|
+
authority.
|
|
76
|
+
|
|
77
|
+
A new spec has `rev: 1` and `status: accepted`; merging its review is the acceptance. Commit it and
|
|
78
|
+
open the review only when the request or the project's delivery defaults include that. Never merge
|
|
79
|
+
the review yourself.
|
|
80
|
+
|
|
81
|
+
A spec whose `built_on` revision is older than its intent is stale. Reconsider it before anything
|
|
82
|
+
is shaped or delivered from it: confirm it still holds and update `built_on`, or change it.
|
|
83
|
+
|
|
84
|
+
### Reconsideration
|
|
85
|
+
|
|
86
|
+
Treat reconsideration as explicit planning information, not as an erased resolution:
|
|
87
|
+
|
|
88
|
+
1. Preserve the earlier resolution and keep it addressable: an accepted spec changes only through a
|
|
89
|
+
new review that increases `rev` and adds a line to its `## Decision log`.
|
|
90
|
+
2. Record which decision is under review, why it is being reconsidered, and the question that
|
|
91
|
+
remains open.
|
|
92
|
+
3. Show the active reconsideration in the map and process it with the ordinary claim and frontier
|
|
93
|
+
rules.
|
|
94
|
+
4. When it closes, record whether the earlier decision was confirmed or replaced. Register a
|
|
95
|
+
replacement only after a new decision is actually made.
|
|
96
|
+
|
|
97
|
+
A changed spec makes every plan built on the earlier revision stale; name them so `shape-work` can
|
|
98
|
+
reconcile them. Find potentially affected work through decision links, acceptance, and boundaries.
|
|
99
|
+
Pause only branches with demonstrated impact; independent authorized work continues.
|
|
100
|
+
|
|
101
|
+
## Decision-map mode
|
|
102
|
+
|
|
103
|
+
When the broad depth is justified, read [references/map.md](references/map.md) and
|
|
104
|
+
[references/elicitation.md](references/elicitation.md). Preserve these mechanics:
|
|
105
|
+
|
|
106
|
+
- the decision ticket is canonical; the map is a repairable, low-resolution index;
|
|
107
|
+
- ticket identity is stable and updates are idempotent;
|
|
108
|
+
- claim an open frontier ticket before independent work, and never infer parallel workers from a
|
|
109
|
+
map with parallel possibilities;
|
|
110
|
+
- connect real dependencies and expose the open, unblocked frontier;
|
|
111
|
+
- re-read live state before writing and use compare-and-swap or the planning surface's equivalent
|
|
112
|
+
to protect concurrent updates;
|
|
113
|
+
- hand off each bounded branch to `shape-work` through one stable, canonical handoff; shaping
|
|
114
|
+
reconciles issues and readiness back into the plan.
|
|
115
|
+
|
|
116
|
+
The handoff links the canonical plan and ticket evidence. It carries a bounded summary, settled
|
|
117
|
+
decisions, evidence, and remaining questions; it does not copy the plan into a competing
|
|
118
|
+
specification. Use existing tracker status plus explicit reconsideration fields rather than
|
|
119
|
+
inventing a global status machine.
|
|
120
|
+
|
|
121
|
+
## Authority and tracker boundaries
|
|
122
|
+
|
|
123
|
+
No planning skill grants external write access. If the request or the project policy's
|
|
124
|
+
`## Tracker mandate` already authorizes tracker maintenance, that may include implementation detail
|
|
125
|
+
and technical ordering or readiness within the authorized set. It does not silently change
|
|
126
|
+
acceptance, ownership, delivery scope, or closure. Without tracker authority, keep corrections local
|
|
127
|
+
and report the unsynced updates. If the information must survive the session, add a
|
|
128
|
+
`Pending tracker updates` section to the spec only when needed; store a delta, not a copy of this
|
|
129
|
+
plan.
|
|
130
|
+
|
|
131
|
+
Recommend one concrete next action at exit, with the reason it wins and any blocker. Continue into
|
|
132
|
+
an authorized next workflow without adding an approval ceremony; stop when the plan is ready and
|
|
133
|
+
the request does not include implementation.
|
|
@@ -4,7 +4,7 @@ Use the smallest evidence that can settle the active planning question.
|
|
|
4
4
|
|
|
5
5
|
## Developer choice
|
|
6
6
|
|
|
7
|
-
Follow the questioning loop in [
|
|
7
|
+
Follow the questioning loop in [capture-intent](../../capture-intent/SKILL.md). Present materially
|
|
8
8
|
different options, recommend one, name the consequence, and ask one load-bearing question at a
|
|
9
9
|
time. The developer supplies preference evidence; the agent does not invent it.
|
|
10
10
|
|
|
@@ -15,8 +15,12 @@ observation and state uncertainty that could change the decision.
|
|
|
15
15
|
|
|
16
16
|
## Prototype
|
|
17
17
|
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
Run the smallest bounded experiment when an unresolved assumption could change the solution and
|
|
19
|
+
observing it is cheaper or more decisive than further discussion. When agent-os-dev is installed,
|
|
20
|
+
`design-work` governs interface sketches and the experiment decision in `shape-work` governs
|
|
21
|
+
technical prototypes. Keep observed behavior
|
|
22
|
+
separate from the developer's judgment and stop when the question is settled or the bounded effort
|
|
23
|
+
budget is exhausted.
|
|
20
24
|
|
|
21
25
|
## Prerequisite task
|
|
22
26
|
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
# Spec template
|
|
2
|
+
|
|
3
|
+
Copy everything below the rule into `intents/<id>/spec.md`, beside its `intent.md`. Replace each
|
|
4
|
+
angle-bracket placeholder, and delete a section only where the comment says it may go.
|
|
5
|
+
|
|
6
|
+
Frontmatter rules:
|
|
7
|
+
|
|
8
|
+
- `intent` equals the intent id and folder name.
|
|
9
|
+
- `built_on` is `intent@<rev>`: the intent revision this spec answers. When the intent's `rev` is
|
|
10
|
+
higher, this spec is stale until it is reconsidered.
|
|
11
|
+
- `rev` starts at 1 and increases by one each time an accepted spec changes meaning.
|
|
12
|
+
- `status` is `accepted` or `superseded`. Merging the spec's review is the acceptance.
|
|
13
|
+
|
|
14
|
+
The `## Summary` follows `explain-work`: plain language, no technical vocabulary, readable in under
|
|
15
|
+
a minute by the owner who approves the spec.
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
```markdown
|
|
20
|
+
---
|
|
21
|
+
intent: <YYYY-MM>-<slug>
|
|
22
|
+
rev: 1
|
|
23
|
+
built_on: intent@1
|
|
24
|
+
status: accepted
|
|
25
|
+
---
|
|
26
|
+
|
|
27
|
+
# <The outcome in one line>
|
|
28
|
+
|
|
29
|
+
## Summary
|
|
30
|
+
|
|
31
|
+
<Plain language for the owner: the problem, who feels it, what changes for them, what this will not do.>
|
|
32
|
+
|
|
33
|
+
## Behavior
|
|
34
|
+
|
|
35
|
+
<Acceptance examples in given, when, then form. One example per meaningful case, including errors.>
|
|
36
|
+
|
|
37
|
+
## Interface
|
|
38
|
+
|
|
39
|
+
<One bullet for every new or changed screen or state, per role that sees it, in one of these forms:
|
|
40
|
+
- <role>, <screen or state>. Decided: <the decision and its reason>. Rejected: <alternatives>. Sketch: <location>.
|
|
41
|
+
- <role>, <screen or state>. Deferred to <who> by <when>: <what is undecided>.
|
|
42
|
+
- <role>, <screen or state>. Open: <the question>.
|
|
43
|
+
Write `None` when nothing a person sees or does changes. Never delete.>
|
|
44
|
+
|
|
45
|
+
## Boundaries and non-goals
|
|
46
|
+
|
|
47
|
+
<What must stay unchanged, what is explicitly not part of this, and the smallest change surface.>
|
|
48
|
+
|
|
49
|
+
## Decisions
|
|
50
|
+
|
|
51
|
+
<Each settled choice with its reason and the rejected alternatives.>
|
|
52
|
+
|
|
53
|
+
## Ground truth
|
|
54
|
+
|
|
55
|
+
<The commands or observations that prove the outcome, such as `npm test -- export` or a named manual check.>
|
|
56
|
+
|
|
57
|
+
## Open risks
|
|
58
|
+
|
|
59
|
+
<Uncertainty that could change the solution, with the evidence that would settle it. Delete when none.>
|
|
60
|
+
|
|
61
|
+
## Decision log
|
|
62
|
+
|
|
63
|
+
<Empty in revision 1. Afterwards one line per revision: `rev N (YYYY-MM-DD): what changed and why`.>
|
|
64
|
+
```
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: record-lesson
|
|
3
|
+
description: Interruption, pushback, or correction from the user in the middle of a task, and recording the durable lesson behind it. Names what was assumed and what was wanted, changes course without arguing, and offers to record a repeated correction in the project or global policy. Use when the user says things like no, stop, that is not what I asked, wait, why are you touching that, I said leave it alone, you did it again, or remember this next time. Not for ordinary clarifying questions, a requested next iteration, a disagreement the user settles in the same message, or session-specific details.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Record lesson
|
|
7
|
+
|
|
8
|
+
An interruption is information: the agent's model of the task and the person's intent just
|
|
9
|
+
diverged. Correct course first, then keep the lesson only if the next session would repeat the
|
|
10
|
+
mistake.
|
|
11
|
+
|
|
12
|
+
## Notice
|
|
13
|
+
|
|
14
|
+
When a correction arrives, name the divergence in one sentence (what was assumed, what was actually
|
|
15
|
+
wanted) and change course without arguing. Then judge whether it is durable: would the next
|
|
16
|
+
session, or an agent in a repository that has never seen this conversation, make the same mistake?
|
|
17
|
+
|
|
18
|
+
- A one-off, such as missing context, an ambiguous word, or a changed mind, needs no record;
|
|
19
|
+
continue the task.
|
|
20
|
+
- A durable lesson, such as a convention, a preference, or a gotcha that will recur, deserves
|
|
21
|
+
recording. Offer it with the candidate lesson already phrased, and continue the task while the
|
|
22
|
+
person decides.
|
|
23
|
+
|
|
24
|
+
Noticing never edits policy by itself. Record only after the person agrees, or when they ask to
|
|
25
|
+
record a lesson directly.
|
|
26
|
+
|
|
27
|
+
## Choose the level
|
|
28
|
+
|
|
29
|
+
- **Repo:** conventions, gotchas, verify commands, and delivery defaults that hold only in this
|
|
30
|
+
repository go to the project policy section that `init-agent-os` seeds.
|
|
31
|
+
- **Global:** lessons about how the person works that would hold in a repository that has never
|
|
32
|
+
seen them go to `policy.md` in the agent-os repository, the source of truth behind the managed
|
|
33
|
+
blocks. After that edit, sync it with the `init-agent-os` policy script and
|
|
34
|
+
`--source <checkout>/policy.md`, or remind the person to run `init-agent-os global` after the
|
|
35
|
+
next release. Never edit an installed managed block directly; if the agent-os repository is not
|
|
36
|
+
reachable, stop with the exact lesson text as a handoff.
|
|
37
|
+
|
|
38
|
+
Default to repo level.
|
|
39
|
+
|
|
40
|
+
## Write the lesson
|
|
41
|
+
|
|
42
|
+
State the smallest rule the next agent can act on, with the observed failure or insight that
|
|
43
|
+
motivates it. Search the target for an existing line with the same meaning: update it rather than
|
|
44
|
+
duplicating, and delete a line the lesson proves wrong. Show the resulting diff.
|
|
45
|
+
|
|
46
|
+
A machine-checkable lesson belongs in a test, script, hook, or validator rather than in prose; route
|
|
47
|
+
it there and record at most a pointer in policy prose.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: scope-guard
|
|
3
|
-
description:
|
|
3
|
+
description: Scope creep in a task already in progress, such as an extra cleanup, the same bug elsewhere, a new dependency, or a public API change. Sorts each discovery into required, adjacent, or unrelated, keeps unrelated work out of the change, and asks before anything that needs a new decision. Use when the user says things like I noticed this too, should I fix that as well, is this okay to include in this PR, or handle it however makes sense. Not for scoping a feature before work starts, finding a root cause, or checking work that is already in scope.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Guard scope
|
|
@@ -9,15 +9,15 @@ Keep the active change aligned with the developer's requested outcome. The direc
|
|
|
9
9
|
accepted spec, and project policy define the boundary. Classify every discovery on both axes before
|
|
10
10
|
editing:
|
|
11
11
|
|
|
12
|
-
- **Relation
|
|
12
|
+
- **Relation, required:** the requested outcome cannot work or be verified without it. It normally
|
|
13
13
|
belongs in the current mission.
|
|
14
|
-
- **Relation
|
|
14
|
+
- **Relation, adjacent:** useful improvement that is relevant but not needed now. Offer it as a
|
|
15
15
|
valuable follow-up only when it is actionable.
|
|
16
|
-
- **Relation
|
|
16
|
+
- **Relation, unrelated:** no relevant connection to the requested outcome. Leave it out and do
|
|
17
17
|
not manufacture a proposal.
|
|
18
|
-
- **Mandate
|
|
18
|
+
- **Mandate, covered:** the existing request and policy cover the work. Continue within the
|
|
19
19
|
covered boundary; do not ask for a second approval.
|
|
20
|
-
- **Mandate
|
|
20
|
+
- **Mandate, new decision or external action:** the existing authority does not cover it. Ask a
|
|
21
21
|
focused question only when the required work cannot proceed without that decision or action.
|
|
22
22
|
|
|
23
23
|
Risk controls how covered work is implemented and verified. Risk can reveal a missing decision, but
|
|
@@ -25,6 +25,11 @@ belonging to a risk area does not automatically require new permission. Check ar
|
|
|
25
25
|
interfaces, dependencies, and delivery risk against settled decisions and boundaries. Ask when a
|
|
26
26
|
material choice has no coverage.
|
|
27
27
|
|
|
28
|
+
An accepted `spec.md` is part of the boundary: its behavior, boundaries, and non-goals hold during
|
|
29
|
+
delivery, and delivery never edits it. When agent-os-dev guard hooks are installed, an edit to an
|
|
30
|
+
accepted intent or spec during delivery is blocked; treat that block as this boundary, not as an
|
|
31
|
+
obstacle to route around.
|
|
32
|
+
|
|
28
33
|
A required discovery with covered mandate is included. A required discovery that changes a product
|
|
29
34
|
contract or explicit boundary returns to `plan-work`. Adjacent work does not delay authorized
|
|
30
35
|
delivery, and unrelated work gets no invented proposal. A motivated split of required work goes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: verify-before-done
|
|
3
|
-
description:
|
|
3
|
+
description: Done, fixed, passing, or ready to merge. Runs fresh checks and shows their output before saying work is complete. Use when the user says things like is this ready to merge, did the tests pass, confirm it works, mark it done, or close it out, and before the agent itself claims that work is finished. Not for diagnosing a failure, planning tests, or progress updates that claim nothing is finished.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Verify before done
|
|
@@ -10,7 +10,8 @@ Match each material completion claim to fresh evidence from the final candidate.
|
|
|
10
10
|
## Loop
|
|
11
11
|
|
|
12
12
|
Identify the material outcomes the final response will claim. Choose the closest practical checks,
|
|
13
|
-
prefer the
|
|
13
|
+
prefer the ground truth named in the accepted spec, the required checks in `.agent-os/quality.json`,
|
|
14
|
+
or the project's documented acceptance path, and run them against the final state. Inspect what
|
|
14
15
|
the result actually proves. Fix failures and rerun affected checks.
|
|
15
16
|
|
|
16
17
|
## Evidence strength
|
|
@@ -25,5 +26,8 @@ Use the strongest practical layer:
|
|
|
25
26
|
Passing a weaker layer does not prove a stronger claim. Stale or second-hand results are context, not
|
|
26
27
|
verification.
|
|
27
28
|
|
|
29
|
+
When agent-os-dev is installed, a quality-ratchet Stop block saying the check is stale or a required
|
|
30
|
+
check failed is this discipline enforced: rerun the check, or name the claim as unverified.
|
|
31
|
+
|
|
28
32
|
Lead with the outcome and cite the decisive checks compactly. If a material check cannot run, name
|
|
29
33
|
the unverified claim and its impact instead of calling the whole result complete.
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "agent-os-dev",
|
|
3
|
+
"description": "Agent OS development: shape plans, deliver against ground truth, review independently, and guard delivery with hooks. Requires agent-os-core.",
|
|
4
|
+
"version": "0.16.0",
|
|
5
|
+
"author": {
|
|
6
|
+
"name": "Lucas Skog"
|
|
7
|
+
},
|
|
8
|
+
"homepage": "https://sockulags.github.io/agent-os/",
|
|
9
|
+
"repository": "https://github.com/sockulags/agent-os",
|
|
10
|
+
"keywords": [
|
|
11
|
+
"workflow",
|
|
12
|
+
"delivery",
|
|
13
|
+
"code-review",
|
|
14
|
+
"testing",
|
|
15
|
+
"hooks",
|
|
16
|
+
"skills"
|
|
17
|
+
]
|
|
18
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "agent-os-dev",
|
|
3
|
+
"description": "Agent OS development: shape plans, deliver against ground truth, review independently, and guard delivery with hooks. Requires agent-os-core.",
|
|
4
|
+
"version": "0.16.0",
|
|
5
|
+
"homepage": "https://sockulags.github.io/agent-os/",
|
|
6
|
+
"repository": "https://github.com/sockulags/agent-os",
|
|
7
|
+
"keywords": [
|
|
8
|
+
"workflow",
|
|
9
|
+
"delivery",
|
|
10
|
+
"code-review",
|
|
11
|
+
"testing",
|
|
12
|
+
"hooks",
|
|
13
|
+
"skills"
|
|
14
|
+
],
|
|
15
|
+
"skills": "./skills/",
|
|
16
|
+
"interface": {
|
|
17
|
+
"displayName": "Agent OS Dev",
|
|
18
|
+
"shortDescription": "Delivery, review, and guard hooks for code",
|
|
19
|
+
"longDescription": "Shapes a spec into delivery units in plan.md, delivers one unit at a time against ground truth with draft pull requests, runs batches through isolated workers, reviews candidates independently in a session or in CI against REVIEW.md, reproduces bugs before fixing, keeps touched code no worse, and enforces it with hooks for spec freeze, test locks, protected paths, secret scans, and a delivery Stop gate. Requires agent-os-core.",
|
|
20
|
+
"developerName": "Lucas Skog",
|
|
21
|
+
"category": "Engineering",
|
|
22
|
+
"websiteURL": "https://sockulags.github.io/agent-os/"
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
{
|
|
2
|
+
"description": "Agent OS dev hooks: the quality-ratchet delivery Stop gate and the guard hooks that read .agent-os/guards.json.",
|
|
3
|
+
"hooks": {
|
|
4
|
+
"SessionStart": [
|
|
5
|
+
{
|
|
6
|
+
"hooks": [
|
|
7
|
+
{
|
|
8
|
+
"type": "command",
|
|
9
|
+
"command": "node \"${CLAUDE_PLUGIN_ROOT}/skills/quality-ratchet/scripts/guards.mjs\" hook --agent-os-hook=guards",
|
|
10
|
+
"commandWindows": "powershell.exe -NoProfile -NonInteractive -EncodedCommand JAByAHUAbgBuAGUAcgAgAD0AIABKAG8AaQBuAC0AUABhAHQAaAAgACQAZQBuAHYAOgBQAEwAVQBHAEkATgBfAFIATwBPAFQAIAAnAHMAawBpAGwAbABzAFwAcQB1AGEAbABpAHQAeQAtAHIAYQB0AGMAaABlAHQAXABzAGMAcgBpAHAAdABzAFwAZwB1AGEAcgBkAHMALgBtAGoAcwAnADsAIABuAG8AZABlACAAJAByAHUAbgBuAGUAcgAgAGgAbwBvAGsAIAAtAC0AYQBnAGUAbgB0AC0AbwBzAC0AaABvAG8AawA9AGcAdQBhAHIAZABzAA==",
|
|
11
|
+
"timeout": 10
|
|
12
|
+
}
|
|
13
|
+
]
|
|
14
|
+
}
|
|
15
|
+
],
|
|
16
|
+
"PreToolUse": [
|
|
17
|
+
{
|
|
18
|
+
"matcher": "Edit|Write|MultiEdit|NotebookEdit|Bash|apply_patch|shell|exec_command|local_shell",
|
|
19
|
+
"hooks": [
|
|
20
|
+
{
|
|
21
|
+
"type": "command",
|
|
22
|
+
"command": "node \"${CLAUDE_PLUGIN_ROOT}/skills/quality-ratchet/scripts/guards.mjs\" hook --agent-os-hook=guards",
|
|
23
|
+
"commandWindows": "powershell.exe -NoProfile -NonInteractive -EncodedCommand JAByAHUAbgBuAGUAcgAgAD0AIABKAG8AaQBuAC0AUABhAHQAaAAgACQAZQBuAHYAOgBQAEwAVQBHAEkATgBfAFIATwBPAFQAIAAnAHMAawBpAGwAbABzAFwAcQB1AGEAbABpAHQAeQAtAHIAYQB0AGMAaABlAHQAXABzAGMAcgBpAHAAdABzAFwAZwB1AGEAcgBkAHMALgBtAGoAcwAnADsAIABuAG8AZABlACAAJAByAHUAbgBuAGUAcgAgAGgAbwBvAGsAIAAtAC0AYQBnAGUAbgB0AC0AbwBzAC0AaABvAG8AawA9AGcAdQBhAHIAZABzAA==",
|
|
24
|
+
"timeout": 10
|
|
25
|
+
}
|
|
26
|
+
]
|
|
27
|
+
}
|
|
28
|
+
],
|
|
29
|
+
"Stop": [
|
|
30
|
+
{
|
|
31
|
+
"hooks": [
|
|
32
|
+
{
|
|
33
|
+
"type": "command",
|
|
34
|
+
"command": "node \"${CLAUDE_PLUGIN_ROOT}/skills/quality-ratchet/scripts/quality-delta.mjs\" hook --agent-os-hook=quality-ratchet",
|
|
35
|
+
"commandWindows": "powershell.exe -NoProfile -NonInteractive -EncodedCommand JAByAHUAbgBuAGUAcgAgAD0AIABKAG8AaQBuAC0AUABhAHQAaAAgACQAZQBuAHYAOgBQAEwAVQBHAEkATgBfAFIATwBPAFQAIAAnAHMAawBpAGwAbABzAFwAcQB1AGEAbABpAHQAeQAtAHIAYQB0AGMAaABlAHQAXABzAGMAcgBpAHAAdABzAFwAcQB1AGEAbABpAHQAeQAtAGQAZQBsAHQAYQAuAG0AagBzACcAOwAgAG4AbwBkAGUAIAAkAHIAdQBuAG4AZQByACAAaABvAG8AawAgAC0ALQBhAGcAZQBuAHQALQBvAHMALQBoAG8AbwBrAD0AcQB1AGEAbABpAHQAeQAtAHIAYQB0AGMAaABlAHQA",
|
|
36
|
+
"timeout": 10
|
|
37
|
+
}
|
|
38
|
+
]
|
|
39
|
+
}
|
|
40
|
+
]
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -9,7 +9,8 @@ disable-model-invocation: true
|
|
|
9
9
|
Read project policy and [references/manifest.md](references/manifest.md). The request defines whether
|
|
10
10
|
to plan the batch, execute it, or both.
|
|
11
11
|
|
|
12
|
-
Batch-work consumes an existing set of implementation-ready, dependency-mapped issues
|
|
12
|
+
Batch-work consumes an existing set of implementation-ready, dependency-mapped issues, usually the
|
|
13
|
+
units of an `intents/<id>/plan.md`. It does not
|
|
13
14
|
discover, decompose, or represent a product shape, and the existence of several issues does not
|
|
14
15
|
invoke it. Use this workflow only when the developer explicitly requests an integrated batch.
|
|
15
16
|
|
|
@@ -32,12 +33,14 @@ invoke it. Use this workflow only when the developer explicitly requests an inte
|
|
|
32
33
|
3. Reconcile the manifest with live Git and worktree state before every dispatch wave.
|
|
33
34
|
4. Dispatch the open frontier into isolated workspaces within project concurrency. Each worker gets
|
|
34
35
|
one current task definition and returns a commit SHA, changed files, checks, and uncertainty.
|
|
36
|
+
A unit taken from a plan keeps its `Intent-Unit: <intent-id>/<unit-key>` line in the commit or
|
|
37
|
+
pull request that delivers it, so the plan's status can be read from history.
|
|
35
38
|
5. Integrate completed tasks in dependency order. Detect already-contained commits, rerun relevant
|
|
36
39
|
checks on the integrated head, and stop on conflicts rather than guessing.
|
|
37
40
|
6. After all tasks integrate, run the epic or feature's aggregate verification contract when one
|
|
38
41
|
exists, then run fresh aggregate checks. Child checks never prove the shared result.
|
|
39
42
|
7. Treat the integrated batch as material. Apply the
|
|
40
|
-
[deliver-work review gate](../deliver-work/
|
|
43
|
+
[deliver-work review gate](../deliver-work/SKILL.md#review-gate) to the complete candidate,
|
|
41
44
|
resolve supported findings, and rerun affected aggregate checks.
|
|
42
45
|
8. Deliver the candidate only to the boundary named by the request or project policy.
|
|
43
46
|
|