@sockulags/agent-os 0.11.0 → 0.12.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.
Files changed (43) hide show
  1. package/README.md +155 -127
  2. package/cli/index.mjs +1022 -735
  3. package/cli/index.test.mjs +574 -300
  4. package/hooks/hooks.json +17 -0
  5. package/package.json +34 -32
  6. package/policy.md +47 -45
  7. package/skills/batch-work/SKILL.md +43 -43
  8. package/skills/batch-work/agents/openai.yaml +2 -2
  9. package/skills/batch-work/references/manifest.md +100 -100
  10. package/skills/batch-work/scripts/manifest-hash.mjs +263 -263
  11. package/skills/batch-work/scripts/test-manifest-hash.mjs +132 -132
  12. package/skills/chart-work/SKILL.md +37 -37
  13. package/skills/chart-work/references/elicitation.md +25 -25
  14. package/skills/chart-work/references/map.md +84 -84
  15. package/skills/chart-work/references/prototypes.md +21 -21
  16. package/skills/check-work/SKILL.md +61 -0
  17. package/skills/deliver-work/SKILL.md +12 -12
  18. package/skills/deliver-work/workflow.md +119 -113
  19. package/skills/diagnose-before-fix/SKILL.md +24 -24
  20. package/skills/dispatch-next/SKILL.md +28 -28
  21. package/skills/init-agent-os/SKILL.md +54 -39
  22. package/skills/init-agent-os/references/repository-init.md +74 -0
  23. package/skills/init-agent-os/scripts/policy-block.ps1 +87 -87
  24. package/skills/list-skills/SKILL.md +43 -42
  25. package/skills/list-skills/agents/openai.yaml +2 -2
  26. package/skills/plain-voice/SKILL.md +39 -0
  27. package/skills/plain-voice/references/tells.md +82 -0
  28. package/skills/proportional-testing/SKILL.md +30 -30
  29. package/skills/proportional-testing/references/strategy.md +75 -75
  30. package/skills/quality-ratchet/SKILL.md +50 -0
  31. package/skills/quality-ratchet/scripts/quality-delta.mjs +752 -0
  32. package/skills/quality-ratchet/scripts/quality-delta.test.mjs +514 -0
  33. package/skills/scope-guard/SKILL.md +21 -21
  34. package/skills/shape-work/SKILL.md +39 -39
  35. package/skills/shape-work/references/implementation-issues.md +69 -69
  36. package/skills/shape-work/references/mockups.md +23 -23
  37. package/skills/simplifier/SKILL.md +34 -34
  38. package/skills/simplifier/agents/openai.yaml +2 -2
  39. package/skills/simplifier-audit/SKILL.md +28 -28
  40. package/skills/simplifier-audit/agents/openai.yaml +2 -2
  41. package/skills/simplifier-review/SKILL.md +36 -29
  42. package/skills/verify-before-done/SKILL.md +29 -29
  43. package/skills/writing-skills/SKILL.md +68 -68
@@ -0,0 +1,17 @@
1
+ {
2
+ "description": "Agent OS quality-ratchet lifecycle hook.",
3
+ "hooks": {
4
+ "Stop": [
5
+ {
6
+ "hooks": [
7
+ {
8
+ "type": "command",
9
+ "command": "node \"${CLAUDE_PLUGIN_ROOT}/skills/quality-ratchet/scripts/quality-delta.mjs\" hook --agent-os-hook=quality-ratchet",
10
+ "commandWindows": "powershell.exe -NoProfile -NonInteractive -EncodedCommand JAByAHUAbgBuAGUAcgAgAD0AIABKAG8AaQBuAC0AUABhAHQAaAAgACQAZQBuAHYAOgBQAEwAVQBHAEkATgBfAFIATwBPAFQAIAAnAHMAawBpAGwAbABzAFwAcQB1AGEAbABpAHQAeQAtAHIAYQB0AGMAaABlAHQAXABzAGMAcgBpAHAAdABzAFwAcQB1AGEAbABpAHQAeQAtAGQAZQBsAHQAYQAuAG0AagBzACcAOwAgAG4AbwBkAGUAIAAkAHIAdQBuAG4AZQByACAAaABvAG8AawAgAC0ALQBhAGcAZQBuAHQALQBvAHMALQBoAG8AbwBrAD0AcQB1AGEAbABpAHQAeQAtAHIAYQB0AGMAaABlAHQA",
11
+ "timeout": 10
12
+ }
13
+ ]
14
+ }
15
+ ]
16
+ }
17
+ }
package/package.json CHANGED
@@ -1,32 +1,34 @@
1
- {
2
- "name": "@sockulags/agent-os",
3
- "version": "0.11.0",
4
- "description": "A lightweight personal agent operating system with an npx installer for Claude Code and Codex.",
5
- "type": "module",
6
- "bin": {
7
- "agent-os": "./cli/index.mjs"
8
- },
9
- "files": [
10
- "cli/",
11
- "policy.md",
12
- "skills/"
13
- ],
14
- "engines": {
15
- "node": ">=18.18"
16
- },
17
- "scripts": {
18
- "test": "node --test cli/*.test.mjs",
19
- "validate": "node scripts/validate-agent-os.mjs",
20
- "verify:release": "node scripts/verify-release.mjs"
21
- },
22
- "keywords": [
23
- "agent",
24
- "claude-code",
25
- "codex",
26
- "workflow",
27
- "skills",
28
- "installer"
29
- ],
30
- "homepage": "https://sockulags.github.io/agent-os/",
31
- "repository": "https://github.com/sockulags/agent-os"
32
- }
1
+ {
2
+ "name": "@sockulags/agent-os",
3
+ "version": "0.12.0",
4
+ "description": "A lightweight personal agent operating system with an npx installer for Claude Code and Codex.",
5
+ "type": "module",
6
+ "bin": {
7
+ "agent-os": "./cli/index.mjs"
8
+ },
9
+ "files": [
10
+ "cli/",
11
+ "hooks/",
12
+ "policy.md",
13
+ "skills/"
14
+ ],
15
+ "engines": {
16
+ "node": ">=18.18"
17
+ },
18
+ "scripts": {
19
+ "test": "node --test cli/index.test.mjs skills/quality-ratchet/scripts/quality-delta.test.mjs",
20
+ "test:evals": "node scripts/test-eval-agent-behavior.mjs",
21
+ "validate": "node scripts/validate-agent-os.mjs",
22
+ "verify:release": "node scripts/verify-release.mjs"
23
+ },
24
+ "keywords": [
25
+ "agent",
26
+ "claude-code",
27
+ "codex",
28
+ "workflow",
29
+ "skills",
30
+ "installer"
31
+ ],
32
+ "homepage": "https://sockulags.github.io/agent-os/",
33
+ "repository": "https://github.com/sockulags/agent-os"
34
+ }
package/policy.md CHANGED
@@ -1,45 +1,47 @@
1
- # Agent OS — global policy
2
-
3
- Source of truth for the managed policy block installed into `~/.claude/CLAUDE.md` and
4
- `~/.codex/AGENTS.md` by `init-agent-os global`. Edit here, never inside the installed blocks.
5
-
6
- ## Core policy
7
-
8
- Priority order when instructions conflict:
9
-
10
- 1. Direct user instruction in the current session.
11
- 2. The repo's project policy and nearest `CLAUDE.md`/`AGENTS.md`.
12
- 3. The active explicit workflow (an invoked agent-os skill).
13
- 4. This global policy.
14
-
15
- Rules:
16
-
17
- - Authority follows the request: an inspection, planning, or review request is read-only apart from
18
- the requested artifact; an implementation request authorizes repository changes inside its scope.
19
- Merging, deploying, destructive cleanup, and effects on external systems or people require the
20
- direct request or project policy to include them.
21
- - Evidence before claims: verify before calling anything done, and show how it was verified.
22
- - Keep scope and diffs narrow; when work drifts beyond the task, flag it instead of building on.
23
- - Escalate only product decisions that cannot be resolved from context and would materially change
24
- the outcome. Make reversible implementation choices and report them.
25
- - Use the Git identity configured by the repository or current session. Never add AI attribution or `Co-Authored-By` trailers.
26
- - Respond in the language used by the user. Code, commits, and technical artifacts are English unless the project says otherwise.
27
- - Lead with the outcome: the first sentence answers "what happened" or "what did you find". Supporting detail comes after.
28
- - Readable beats brief: shorten by leaving out what does not change the reader's next step, not by compressing language. Full sentences; no arrow chains, fragment style, or invented shorthand the reader must decode.
29
- - Never force the reader to cross-reference labels or numbering invented earlier in the text — say what you mean in place.
30
- - Explanations belong in prose; tables only for short enumerable facts.
31
- - Calibrate tone to the topic: playfulness is fine, neutral and factual the moment the subject is serious. When in doubt, it is serious.
32
- - Orchestration is opt-in: `guide-me`, `chart-work`, `shape-work`, `batch-work`, `deliver-work`,
33
- `dispatch-next`, `init-agent-os`, `understand-work`, `explain-work`, and `record-lesson` exist for
34
- planned work; invoke them through the name exposed by the host (`/guide-me` for direct Claude
35
- skills, `/agent-os:guide-me` for the Claude plugin, or `$guide-me` for Codex). Never self-invoke
36
- them. One exception: a workflow may continue into the workflow its exit contract names once the
37
- developer approves that exit, as `guide-me` does after its approved plain-language gate.
38
-
39
- ## Preferences (seed defaults — project policy overrides)
40
-
41
- - UI feedback under ~250 ms; feedback must not block the next interaction.
42
- - Own design identity; do not imitate the look of well-known apps.
43
- - Every repo keeps a living project policy (planning surface, design system location, verify
44
- commands, conventions, gotchas, and delivery defaults). It grows over time; `init-agent-os`
45
- seeds it and `record-lesson` grows it.
1
+ # Agent OS — global policy
2
+
3
+ Source of truth for the managed policy block installed into `~/.claude/CLAUDE.md` and
4
+ `~/.codex/AGENTS.md` by `init-agent-os global`. Edit here, never inside the installed blocks.
5
+
6
+ ## Core policy
7
+
8
+ Priority order when instructions conflict:
9
+
10
+ 1. Direct user instruction in the current session.
11
+ 2. The repo's project policy and nearest `CLAUDE.md`/`AGENTS.md`.
12
+ 3. The active explicit workflow (an invoked agent-os skill).
13
+ 4. This global policy.
14
+
15
+ Rules:
16
+
17
+ - Authority follows the request: an inspection, planning, or review request is read-only apart from
18
+ the requested artifact; an implementation request authorizes repository changes inside its scope.
19
+ Merging, deploying, destructive cleanup, and effects on external systems or people require the
20
+ direct request or project policy to include them.
21
+ - Evidence before claims: verify before calling anything done, and show how it was verified.
22
+ - Keep scope and diffs narrow; when work drifts beyond the task, flag it instead of building on.
23
+ - Escalate only product decisions that cannot be resolved from context and would materially change
24
+ the outcome. Make reversible implementation choices and report them.
25
+ - Use the Git identity configured by the repository or current session. Never add AI attribution or `Co-Authored-By` trailers.
26
+ - Respond in the language used by the user. Code, commits, and technical artifacts are English unless the project says otherwise.
27
+ - Lead with the outcome: the first sentence answers "what happened" or "what did you find". Supporting detail comes after.
28
+ - Readable beats brief: shorten by leaving out what does not change the reader's next step, not by compressing language. Full sentences; no arrow chains, fragment style, or invented shorthand the reader must decode.
29
+ - Never force the reader to cross-reference labels or numbering invented earlier in the text — say what you mean in place.
30
+ - Explanations belong in prose; tables only for short enumerable facts.
31
+ - Calibrate tone to the topic: playfulness is fine, neutral and factual the moment the subject is serious. When in doubt, it is serious.
32
+ - Orchestration is opt-in: `guide-me`, `chart-work`, `shape-work`, `batch-work`, `deliver-work`,
33
+ `dispatch-next`, `init-agent-os`, `understand-work`, `explain-work`, and `record-lesson` exist for
34
+ planned work; invoke them through the name exposed by the host (`/guide-me` for direct Claude
35
+ skills, `/agent-os:guide-me` for the Claude plugin, or `$guide-me` for Codex). Never self-invoke
36
+ them. One exception: a workflow may continue into the workflow its exit contract names once the
37
+ developer approves that exit, as `guide-me` does after its approved plain-language gate. The
38
+ automatic `check-work` review workflow is also available from supported implicit review requests;
39
+ its report mode is read-only and its fix mode requires explicit authority.
40
+
41
+ ## Preferences (seed defaults — project policy overrides)
42
+
43
+ - UI feedback under ~250 ms; feedback must not block the next interaction.
44
+ - Own design identity; do not imitate the look of well-known apps.
45
+ - Every repo keeps a living project policy (planning surface, design system location, verify
46
+ commands, conventions, gotchas, and delivery defaults). It grows over time; `init-agent-os`
47
+ seeds it and `record-lesson` grows it.
@@ -1,43 +1,43 @@
1
- ---
2
- name: batch-work
3
- description: Plans and runs several decision-ready units through isolated workers and aggregate verification. User-invoked for an explicit batch. Not for unresolved decisions, one unit, or a loose backlog.
4
- disable-model-invocation: true
5
- ---
6
-
7
- # Batch work
8
-
9
- Read project policy and [references/manifest.md](references/manifest.md). The request defines whether
10
- to plan the batch, execute it, or both.
11
-
12
- Batch-work consumes an existing set of implementation-ready, dependency-mapped issues. It does not
13
- discover, decompose, or represent a product shape, and the existence of several issues does not
14
- invoke it. Use this workflow only when the developer explicitly requests an integrated batch.
15
-
16
- ## Contract
17
-
18
- - **Outcome:** one integrated candidate whose full behavior passes the aggregate ground truth.
19
- - **Working surface:** the manifest, coordinator branch, isolated task worktrees, and task branches.
20
- - **Boundaries:** workers own only their task workspace; the coordinator owns the manifest and
21
- integration. Merge, deploy, destructive cleanup, and external effects follow the request or
22
- project policy.
23
- - **Ground truth:** task checks on each result plus fresh aggregate checks after integration.
24
-
25
- ## Loop
26
-
27
- 1. Confirm every source issue has a stable identity, outcome, scope, dependencies, and checks. Route
28
- unresolved product decisions or missing decomposition to `shape-work` or `chart-work`.
29
- 2. Create or update `.agent-os/batches/<batch-slug>.md`. Validate its graph and definition hashes.
30
- A planning-only request stops here; an execution request continues.
31
- 3. Reconcile the manifest with live Git and worktree state before every dispatch wave.
32
- 4. Dispatch the open frontier into isolated workspaces within project concurrency. Each worker gets
33
- one current task definition and returns a commit SHA, changed files, checks, and uncertainty.
34
- 5. Integrate completed tasks in dependency order. Detect already-contained commits, rerun relevant
35
- checks on the integrated head, and stop on conflicts rather than guessing.
36
- 6. After all tasks integrate, run fresh aggregate checks.
37
- 7. Treat the integrated batch as material. Apply the
38
- [deliver-work review gate](../deliver-work/workflow.md#review-gate) to the complete candidate,
39
- resolve supported findings, and rerun affected aggregate checks.
40
- 8. Deliver the candidate only to the boundary named by the request or project policy.
41
-
42
- Definition drift while work is active invalidates the affected task result and requires an explicit
43
- replan or fresh attempt. Individual worker checks never substitute for aggregate verification.
1
+ ---
2
+ name: batch-work
3
+ description: Plans and runs several decision-ready units through isolated workers and aggregate verification. User-invoked for an explicit batch. Not for unresolved decisions, one unit, or a loose backlog.
4
+ disable-model-invocation: true
5
+ ---
6
+
7
+ # Batch work
8
+
9
+ Read project policy and [references/manifest.md](references/manifest.md). The request defines whether
10
+ to plan the batch, execute it, or both.
11
+
12
+ Batch-work consumes an existing set of implementation-ready, dependency-mapped issues. It does not
13
+ discover, decompose, or represent a product shape, and the existence of several issues does not
14
+ invoke it. Use this workflow only when the developer explicitly requests an integrated batch.
15
+
16
+ ## Contract
17
+
18
+ - **Outcome:** one integrated candidate whose full behavior passes the aggregate ground truth.
19
+ - **Working surface:** the manifest, coordinator branch, isolated task worktrees, and task branches.
20
+ - **Boundaries:** workers own only their task workspace; the coordinator owns the manifest and
21
+ integration. Merge, deploy, destructive cleanup, and external effects follow the request or
22
+ project policy.
23
+ - **Ground truth:** task checks on each result plus fresh aggregate checks after integration.
24
+
25
+ ## Loop
26
+
27
+ 1. Confirm every source issue has a stable identity, outcome, scope, dependencies, and checks. Route
28
+ unresolved product decisions or missing decomposition to `shape-work` or `chart-work`.
29
+ 2. Create or update `.agent-os/batches/<batch-slug>.md`. Validate its graph and definition hashes.
30
+ A planning-only request stops here; an execution request continues.
31
+ 3. Reconcile the manifest with live Git and worktree state before every dispatch wave.
32
+ 4. Dispatch the open frontier into isolated workspaces within project concurrency. Each worker gets
33
+ one current task definition and returns a commit SHA, changed files, checks, and uncertainty.
34
+ 5. Integrate completed tasks in dependency order. Detect already-contained commits, rerun relevant
35
+ checks on the integrated head, and stop on conflicts rather than guessing.
36
+ 6. After all tasks integrate, run fresh aggregate checks.
37
+ 7. Treat the integrated batch as material. Apply the
38
+ [deliver-work review gate](../deliver-work/workflow.md#review-gate) to the complete candidate,
39
+ resolve supported findings, and rerun affected aggregate checks.
40
+ 8. Deliver the candidate only to the boundary named by the request or project policy.
41
+
42
+ Definition drift while work is active invalidates the affected task result and requires an explicit
43
+ replan or fresh attempt. Individual worker checks never substitute for aggregate verification.
@@ -1,2 +1,2 @@
1
- policy:
2
- allow_implicit_invocation: false
1
+ policy:
2
+ allow_implicit_invocation: false
@@ -1,100 +1,100 @@
1
- # Batch manifest
2
-
3
- The coordinator-owned manifest lives at `.agent-os/batches/<batch-slug>.md`. It is resumable working
4
- state, not an approval ledger.
5
-
6
- ## Cursor
7
-
8
- ```yaml
9
- ---
10
- agent_os_batch: 2
11
- batch_id: <stable slug>
12
- status: planned
13
- next_action: dispatch-frontier
14
- manifest_hash: ""
15
- ---
16
- ```
17
-
18
- Statuses are `planned`, `running`, `reconciling`, `verifying`, `ready`, `delivered`, and `blocked`.
19
- Keep `next_action` concrete except after delivery.
20
-
21
- ## Definitions
22
-
23
- ```json batch-plan
24
- {
25
- "baseline_sha": "<integration baseline>",
26
- "integration_branch": "<project convention>",
27
- "max_workers": 2,
28
- "retry_limit": 1,
29
- "integration_strategy": "serial cherry-pick",
30
- "aggregate_checks": []
31
- }
32
- ```
33
-
34
- ```json batch-task
35
- {
36
- "task_key": "<stable within batch_id>",
37
- "source": "<spec or issue link>",
38
- "dependencies": [],
39
- "scope": [],
40
- "outcome": "",
41
- "non_goals": [],
42
- "checks": [],
43
- "task_hash": ""
44
- }
45
- ```
46
-
47
- Identity is `(batch_id, task_key)`. Run:
48
-
49
- ```text
50
- node skills/batch-work/scripts/manifest-hash.mjs <manifest.md>
51
- node skills/batch-work/scripts/manifest-hash.mjs --check <manifest.md>
52
- ```
53
-
54
- The script validates fields, dependencies, cycles, runtime identity, and stable task and manifest
55
- hashes. Hashes detect definition drift; they do not represent human approval.
56
-
57
- ## Runtime
58
-
59
- ```json batch-runtime
60
- {
61
- "tasks": [
62
- {
63
- "task_key": "<definition task_key>",
64
- "state": "pending",
65
- "attempt": 0,
66
- "branch": "",
67
- "worktree": "",
68
- "worker_id": "",
69
- "head_sha": "",
70
- "result": ""
71
- }
72
- ]
73
- }
74
- ```
75
-
76
- Task states are `pending`, `ready`, `running`, `succeeded`, `integrated`, `failed`, `blocked`, and
77
- `conflict`. Persist repository-relative or portable worktree keys, not absolute machine paths.
78
-
79
- Before launch, create the isolated branch and worktree and record a new attempt. A returned worker
80
- identity moves it to `running`. The worker result is concise: head SHA, changed files, checks, and
81
- remaining uncertainty. The coordinator verifies the live task hash and attempt before integration.
82
-
83
- ## Frontier and reconciliation
84
-
85
- The frontier contains pending tasks whose dependencies are integrated and whose scopes do not
86
- overlap active work. Dispatch within host and project concurrency.
87
-
88
- Only the coordinator edits the manifest and integration branch:
89
-
90
- 1. Re-read live branches, worktrees, and manifest.
91
- 2. Confirm the worker head belongs to the current task attempt.
92
- 3. Integrate once in dependency order.
93
- 4. Run the task checks on the integrated head.
94
- 5. Recompute the frontier.
95
-
96
- After all tasks integrate, run the aggregate checks against the complete candidate.
97
- Worker-local checks are useful context but are not proof of the integrated system.
98
-
99
- The original request and project policy define whether delivery stops at local changes, a commit, a
100
- pull request, merge, or deployment. Destructive cleanup requires the request or policy to include it.
1
+ # Batch manifest
2
+
3
+ The coordinator-owned manifest lives at `.agent-os/batches/<batch-slug>.md`. It is resumable working
4
+ state, not an approval ledger.
5
+
6
+ ## Cursor
7
+
8
+ ```yaml
9
+ ---
10
+ agent_os_batch: 2
11
+ batch_id: <stable slug>
12
+ status: planned
13
+ next_action: dispatch-frontier
14
+ manifest_hash: ""
15
+ ---
16
+ ```
17
+
18
+ Statuses are `planned`, `running`, `reconciling`, `verifying`, `ready`, `delivered`, and `blocked`.
19
+ Keep `next_action` concrete except after delivery.
20
+
21
+ ## Definitions
22
+
23
+ ```json batch-plan
24
+ {
25
+ "baseline_sha": "<integration baseline>",
26
+ "integration_branch": "<project convention>",
27
+ "max_workers": 2,
28
+ "retry_limit": 1,
29
+ "integration_strategy": "serial cherry-pick",
30
+ "aggregate_checks": []
31
+ }
32
+ ```
33
+
34
+ ```json batch-task
35
+ {
36
+ "task_key": "<stable within batch_id>",
37
+ "source": "<spec or issue link>",
38
+ "dependencies": [],
39
+ "scope": [],
40
+ "outcome": "",
41
+ "non_goals": [],
42
+ "checks": [],
43
+ "task_hash": ""
44
+ }
45
+ ```
46
+
47
+ Identity is `(batch_id, task_key)`. Run:
48
+
49
+ ```text
50
+ node skills/batch-work/scripts/manifest-hash.mjs <manifest.md>
51
+ node skills/batch-work/scripts/manifest-hash.mjs --check <manifest.md>
52
+ ```
53
+
54
+ The script validates fields, dependencies, cycles, runtime identity, and stable task and manifest
55
+ hashes. Hashes detect definition drift; they do not represent human approval.
56
+
57
+ ## Runtime
58
+
59
+ ```json batch-runtime
60
+ {
61
+ "tasks": [
62
+ {
63
+ "task_key": "<definition task_key>",
64
+ "state": "pending",
65
+ "attempt": 0,
66
+ "branch": "",
67
+ "worktree": "",
68
+ "worker_id": "",
69
+ "head_sha": "",
70
+ "result": ""
71
+ }
72
+ ]
73
+ }
74
+ ```
75
+
76
+ Task states are `pending`, `ready`, `running`, `succeeded`, `integrated`, `failed`, `blocked`, and
77
+ `conflict`. Persist repository-relative or portable worktree keys, not absolute machine paths.
78
+
79
+ Before launch, create the isolated branch and worktree and record a new attempt. A returned worker
80
+ identity moves it to `running`. The worker result is concise: head SHA, changed files, checks, and
81
+ remaining uncertainty. The coordinator verifies the live task hash and attempt before integration.
82
+
83
+ ## Frontier and reconciliation
84
+
85
+ The frontier contains pending tasks whose dependencies are integrated and whose scopes do not
86
+ overlap active work. Dispatch within host and project concurrency.
87
+
88
+ Only the coordinator edits the manifest and integration branch:
89
+
90
+ 1. Re-read live branches, worktrees, and manifest.
91
+ 2. Confirm the worker head belongs to the current task attempt.
92
+ 3. Integrate once in dependency order.
93
+ 4. Run the task checks on the integrated head.
94
+ 5. Recompute the frontier.
95
+
96
+ After all tasks integrate, run the aggregate checks against the complete candidate.
97
+ Worker-local checks are useful context but are not proof of the integrated system.
98
+
99
+ The original request and project policy define whether delivery stops at local changes, a commit, a
100
+ pull request, merge, or deployment. Destructive cleanup requires the request or policy to include it.