coding-agent-harness 1.0.8 → 1.1.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/CHANGELOG.md +10 -0
- package/CONTRIBUTING.md +8 -4
- package/README.md +12 -2
- package/README.zh-CN.md +10 -2
- package/SKILL.md +14 -3
- package/dist/build-dist.mjs +19 -6
- package/dist/check-dist-observation.mjs +57 -29
- package/dist/check-harness.mjs +0 -1
- package/dist/check-import-graph.mjs +44 -27
- package/dist/check-lite-forbidden-surfaces.mjs +121 -0
- package/dist/check-no-ts-nocheck.mjs +7 -7
- package/dist/check-runtime-emit.mjs +10 -3
- package/dist/check-type-boundaries.mjs +51 -9
- package/dist/commands/dashboard-command.mjs +52 -14
- package/dist/commands/migration-command.mjs +18 -8
- package/dist/commands/module-command.mjs +142 -0
- package/dist/commands/preset-command.mjs +51 -12
- package/dist/commands/registry.mjs +483 -0
- package/dist/commands/task-command.mjs +109 -52
- package/dist/harness.mjs +6 -304
- package/dist/lib/capability-registry.mjs +229 -53
- package/dist/lib/check-module-parallel.mjs +1 -6
- package/dist/lib/check-profiles.mjs +39 -46
- package/dist/lib/check-task-contracts.mjs +6 -4
- package/dist/lib/command-registry.mjs +248 -0
- package/dist/lib/core-shared.mjs +78 -3
- package/dist/lib/dashboard-data.mjs +203 -22
- package/dist/lib/dashboard-workbench.mjs +245 -21
- package/dist/lib/dashboard-writer.mjs +4 -1
- package/dist/lib/git-status-summary.mjs +0 -1
- package/dist/lib/governance-index-generator.mjs +7 -5
- package/dist/lib/governance-sync.mjs +46 -121
- package/dist/lib/governance-table-boundary.mjs +1 -14
- package/dist/lib/harness-core.mjs +4 -1
- package/dist/lib/harness-paths.mjs +115 -1
- package/dist/lib/impact-classifier.mjs +420 -0
- package/dist/lib/lesson-maintenance.mjs +1 -2
- package/dist/lib/markdown-utils.mjs +50 -1
- package/dist/lib/migration-planner.mjs +31 -16
- package/dist/lib/migration-support.mjs +5 -4
- package/dist/lib/module-registry.mjs +296 -0
- package/dist/lib/preset-audit-contracts.mjs +24 -1
- package/dist/lib/preset-engine.mjs +67 -29
- package/dist/lib/preset-registry.mjs +361 -71
- package/dist/lib/preset-runner.mjs +292 -26
- package/dist/lib/review-confirm-git-gate.mjs +73 -19
- package/dist/lib/status-builder.mjs +23 -8
- package/dist/lib/structure-migration.mjs +6 -4
- package/dist/lib/subagent-authorization-audit.mjs +8 -2
- package/dist/lib/task-archive-eligibility.mjs +65 -0
- package/dist/lib/task-audit-metadata.mjs +25 -11
- package/dist/lib/task-audit-migration.mjs +21 -14
- package/dist/lib/task-discovery-contract.mjs +32 -0
- package/dist/lib/task-index.mjs +3 -2
- package/dist/lib/task-lesson-candidates.mjs +1 -2
- package/dist/lib/task-lesson-sedimentation.mjs +310 -9
- package/dist/lib/task-lifecycle/create-task-helpers.mjs +6 -3
- package/dist/lib/task-lifecycle/phase-sync.mjs +0 -1
- package/dist/lib/task-lifecycle/preset-interop.mjs +16 -0
- package/dist/lib/task-lifecycle/review-confirm.mjs +34 -2
- package/dist/lib/task-lifecycle/review-gates.mjs +12 -5
- package/dist/lib/task-lifecycle/review-submission.mjs +1 -2
- package/dist/lib/task-lifecycle/scaffold-provenance.mjs +0 -1
- package/dist/lib/task-lifecycle/template-files.mjs +2 -5
- package/dist/lib/task-lifecycle.mjs +116 -160
- package/dist/lib/task-metadata.mjs +10 -5
- package/dist/lib/task-preset-contract-drift.mjs +45 -0
- package/dist/lib/task-repository.mjs +192 -0
- package/dist/lib/task-review-model.mjs +36 -17
- package/dist/lib/task-scanner.mjs +74 -23
- package/dist/lib/task-template-materials.mjs +131 -0
- package/dist/lib/task-tombstone-commands.mjs +186 -29
- package/dist/lib/types/check-profiles.js +1 -0
- package/dist/lib/types/impact.js +1 -0
- package/dist/lib/types/preset.js +1 -0
- package/dist/lib/types/task-lifecycle.js +1 -0
- package/dist/lib/types/task-scanner.js +1 -0
- package/dist/postinstall.mjs +2 -2
- package/dist/run-built-tests.mjs +10 -3
- package/docs-release/README.md +1 -0
- package/docs-release/architecture/document-contract-kernel/README.md +150 -0
- package/docs-release/architecture/document-contract-kernel/products/full-skill-overlay.md +29 -0
- package/docs-release/architecture/document-contract-kernel/products/lite-forbidden-surfaces.txt +26 -0
- package/docs-release/architecture/document-contract-kernel/products/lite-skill-overlay.md +37 -0
- package/docs-release/architecture/overview.md +2 -2
- package/docs-release/architecture/overview.zh-CN.md +2 -2
- package/docs-release/architecture/system-explainer/01-system-overview.md +11 -7
- package/docs-release/architecture/system-explainer/02-module-dependency.md +4 -4
- package/docs-release/architecture/system-explainer/03-task-lifecycle.md +17 -12
- package/docs-release/architecture/system-explainer/05-data-flow.md +6 -6
- package/docs-release/architecture/system-explainer/06-preset-and-migration.md +2 -2
- package/docs-release/architecture/system-explainer/README.md +1 -1
- package/docs-release/architecture/system-explainer/en-US/01-system-overview.md +12 -8
- package/docs-release/architecture/system-explainer/en-US/02-module-dependency.md +5 -5
- package/docs-release/architecture/system-explainer/en-US/03-task-lifecycle.md +19 -11
- package/docs-release/architecture/system-explainer/en-US/05-data-flow.md +5 -5
- package/docs-release/architecture/system-explainer/en-US/06-preset-and-migration.md +2 -2
- package/docs-release/architecture/system-explainer/en-US/README.md +1 -1
- package/docs-release/guides/agent-installation.en-US.md +4 -6
- package/docs-release/guides/agent-installation.md +11 -8
- package/docs-release/guides/contributing.md +10 -3
- package/docs-release/guides/contributing.zh-CN.md +10 -3
- package/docs-release/guides/legacy-migration-agent-prompt.md +1 -1
- package/docs-release/guides/legacy-migration-agent-prompt.zh-CN.md +1 -1
- package/docs-release/guides/migration-playbook.en-US.md +9 -6
- package/docs-release/guides/migration-playbook.md +9 -6
- package/docs-release/guides/preset-development.md +68 -2
- package/docs-release/guides/task-state-machine.en-US.md +8 -8
- package/docs-release/guides/task-state-machine.md +7 -7
- package/docs-release/guides/typescript-runtime-migration-closeout.md +17 -13
- package/package.json +16 -12
- package/postinstall.mjs +37 -0
- package/presets/legacy-migration/preset.yaml +5 -5
- package/presets/legacy-migration/templates/execution_strategy.append.md +1 -1
- package/presets/lesson-sedimentation/preset.yaml +3 -3
- package/presets/module/preset.yaml +2 -2
- package/presets/module/templates/execution_strategy.append.md +1 -1
- package/presets/module/templates/task_plan.append.md +3 -3
- package/presets/release-closeout/checks/check-release-package.mjs +6 -1
- package/presets/release-closeout/preset.yaml +9 -9
- package/presets/release-closeout/scripts/generate-release-package.mjs +387 -25
- package/presets/release-closeout/templates/task_plan.append.md +5 -5
- package/presets/standard-task/preset.yaml +2 -2
- package/references/agents-md-pattern.md +23 -17
- package/references/lessons-governance.md +2 -2
- package/references/module-parallel-standard.md +3 -6
- package/references/ssot-governance.md +2 -2
- package/references/taskr-gap-analysis.md +3 -3
- package/run-dist.mjs +34 -0
- package/skills/preset-creator/SKILL.md +40 -8
- package/skills/preset-creator/references/complex-task-skeleton/brief.md +32 -8
- package/skills/preset-creator/references/preset-package-skeleton.md +15 -5
- package/skills/preset-creator/references/structure-aware-paths.md +112 -0
- package/templates/AGENTS.md.template +28 -26
- package/templates/architecture/README.md +2 -2
- package/templates/architecture/service-catalog.md +2 -2
- package/templates/architecture/services/service-template.md +1 -1
- package/templates/dashboard/assets/app-src/00-state.js +5 -1
- package/templates/dashboard/assets/app-src/10-router.js +7 -0
- package/templates/dashboard/assets/app-src/20-overview.js +8 -8
- package/templates/dashboard/assets/app-src/30-tasks.js +132 -40
- package/templates/dashboard/assets/app-src/32-task-swimlane.js +314 -0
- package/templates/dashboard/assets/app-src/35-task-detail.js +35 -5
- package/templates/dashboard/assets/app-src/40-modules.js +257 -41
- package/templates/dashboard/assets/app-src/45-review.js +127 -1
- package/templates/dashboard/assets/app-src/90-bindings.js +185 -2
- package/templates/dashboard/assets/app.css +928 -53
- package/templates/dashboard/assets/app.css.manifest.json +2 -0
- package/templates/dashboard/assets/app.js +1071 -98
- package/templates/dashboard/assets/app.manifest.json +1 -0
- package/templates/dashboard/assets/css-src/00-foundation.css +12 -6
- package/templates/dashboard/assets/css-src/10-panels-flow.css +2 -2
- package/templates/dashboard/assets/css-src/30-task-index.css +21 -13
- package/templates/dashboard/assets/css-src/31-archive.css +94 -0
- package/templates/dashboard/assets/css-src/32-task-swimlane.css +487 -0
- package/templates/dashboard/assets/css-src/35-review-workspace.css +78 -0
- package/templates/dashboard/assets/css-src/40-detail-modules-migration.css +191 -14
- package/templates/dashboard/assets/css-src/50-responsive-overrides.css +23 -0
- package/templates/dashboard/assets/i18n.js +166 -2
- package/templates/development/README.md +9 -9
- package/templates/development/cross-repo-debugging.md +3 -3
- package/templates/development/external-context/service-template.md +1 -1
- package/templates/development/external-source-packs/README.md +2 -2
- package/templates/integrations/README.md +4 -4
- package/templates/integrations/api-contract.md +1 -1
- package/templates/integrations/event-contract.md +1 -1
- package/templates/integrations/third-party/vendor-template.md +1 -1
- package/templates/integrations/webhook-contract.md +1 -1
- package/templates/ledger/Harness-Ledger.md +1 -1
- package/templates/modules/module_brief.md +50 -0
- package/templates/modules/module_plan.md +49 -0
- package/templates/modules/registry_view.md +9 -0
- package/templates/modules/session_prompt_pack.md +55 -0
- package/templates/planning/brief.md +32 -8
- package/templates/planning/module_brief.md +28 -3
- package/templates/planning/module_plan.md +26 -11
- package/templates/planning/module_session_prompt.md +11 -2
- package/templates/planning/optional/slices/_slice-template/brief.md +28 -0
- package/templates/planning/review.md +1 -1
- package/templates/planning/visual_map.md +1 -1
- package/templates/reference/docs-library-standard.md +7 -7
- package/templates/reference/execution-workflow-standard.md +13 -0
- package/templates/reference/external-source-intake-standard.md +10 -10
- package/templates/reference/repo-governance-standard.md +1 -1
- package/templates/reference/review-routing-standard.md +4 -0
- package/templates/ssot/Module-Registry.md +4 -38
- package/templates/walkthrough/walkthrough-template.md +1 -1
- package/templates-zh-CN/AGENTS.md.template +27 -25
- package/templates-zh-CN/CLAUDE.md.template +1 -1
- package/templates-zh-CN/architecture/README.md +2 -2
- package/templates-zh-CN/architecture/service-catalog.md +2 -2
- package/templates-zh-CN/architecture/services/service-template.md +1 -1
- package/templates-zh-CN/development/README.md +9 -9
- package/templates-zh-CN/development/cross-repo-debugging.md +3 -3
- package/templates-zh-CN/development/external-context/service-template.md +1 -1
- package/templates-zh-CN/development/external-source-packs/README.md +2 -2
- package/templates-zh-CN/integrations/README.md +4 -4
- package/templates-zh-CN/integrations/api-contract.md +1 -1
- package/templates-zh-CN/integrations/event-contract.md +1 -1
- package/templates-zh-CN/integrations/third-party/vendor-template.md +1 -1
- package/templates-zh-CN/integrations/webhook-contract.md +1 -1
- package/templates-zh-CN/ledger/Harness-Ledger.md +1 -1
- package/templates-zh-CN/lessons/lesson-arch-process-change.md +1 -1
- package/templates-zh-CN/lessons/lesson-new-doc.md +3 -3
- package/templates-zh-CN/lessons/lesson-ref-change.md +4 -4
- package/templates-zh-CN/modules/module_brief.md +47 -0
- package/templates-zh-CN/modules/module_plan.md +48 -0
- package/templates-zh-CN/modules/registry_view.md +9 -0
- package/templates-zh-CN/modules/session_prompt_pack.md +50 -0
- package/templates-zh-CN/planning/INDEX.md +1 -0
- package/templates-zh-CN/planning/brief.md +26 -7
- package/templates-zh-CN/planning/module_brief.md +24 -2
- package/templates-zh-CN/planning/module_plan.md +35 -29
- package/templates-zh-CN/planning/module_session_prompt.md +15 -11
- package/templates-zh-CN/planning/optional/slices/_slice-template/brief.md +28 -11
- package/templates-zh-CN/planning/review.md +1 -1
- package/templates-zh-CN/reference/adversarial-review-standard.md +1 -1
- package/templates-zh-CN/reference/delivery-operating-model-standard.md +3 -3
- package/templates-zh-CN/reference/docs-library-standard.md +27 -27
- package/templates-zh-CN/reference/execution-workflow-standard.md +12 -2
- package/templates-zh-CN/reference/external-source-intake-standard.md +10 -10
- package/templates-zh-CN/reference/harness-ledger-standard.md +3 -3
- package/templates-zh-CN/reference/regression-ssot-governance.md +2 -2
- package/templates-zh-CN/reference/repo-governance-standard.md +1 -1
- package/templates-zh-CN/reference/review-routing-standard.md +3 -0
- package/templates-zh-CN/reference/walkthrough-standard.md +2 -2
- package/templates-zh-CN/reference/worktree-standard.md +1 -1
- package/templates-zh-CN/regression/Cadence-Ledger.md +2 -2
- package/templates-zh-CN/ssot/Delivery-SSoT.md +2 -2
- package/templates-zh-CN/ssot/Module-Registry.md +5 -44
- package/templates-zh-CN/ssot/Regression-SSoT.md +2 -2
- package/templates-zh-CN/walkthrough/walkthrough-template.md +4 -4
|
@@ -13,7 +13,7 @@ API
|
|
|
13
13
|
|
|
14
14
|
| Service Profile | Development Context | Contract Index | Last Verified | Confidence |
|
|
15
15
|
| --- | --- | --- | --- | --- |
|
|
16
|
-
| `
|
|
16
|
+
| `{{paths.harnessRoot}}/context/architecture/services/<service-key>.md` | `{{paths.harnessRoot}}/context/development/external-context/<service-key>.md` | `{{paths.harnessRoot}}/context/integrations/README.md` | unknown | low |
|
|
17
17
|
|
|
18
18
|
## Auth
|
|
19
19
|
|
|
@@ -13,7 +13,7 @@ Event
|
|
|
13
13
|
|
|
14
14
|
| Service Profile | Development Context | Contract Index | Last Verified | Confidence |
|
|
15
15
|
| --- | --- | --- | --- | --- |
|
|
16
|
-
| `
|
|
16
|
+
| `{{paths.harnessRoot}}/context/architecture/services/<service-key>.md` | `{{paths.harnessRoot}}/context/development/external-context/<service-key>.md` | `{{paths.harnessRoot}}/context/integrations/README.md` | unknown | low |
|
|
17
17
|
|
|
18
18
|
## Topic / Channel
|
|
19
19
|
|
|
@@ -13,7 +13,7 @@ Third-party service
|
|
|
13
13
|
|
|
14
14
|
| Service Profile | Development Context | Contract Index | Last Verified | Confidence |
|
|
15
15
|
| --- | --- | --- | --- | --- |
|
|
16
|
-
| `
|
|
16
|
+
| `{{paths.harnessRoot}}/context/architecture/services/<vendor-key>.md` | `{{paths.harnessRoot}}/context/development/external-context/<vendor-key>.md` | `{{paths.harnessRoot}}/context/integrations/README.md` | unknown | low |
|
|
17
17
|
|
|
18
18
|
## Auth
|
|
19
19
|
|
|
@@ -13,7 +13,7 @@ Webhook
|
|
|
13
13
|
|
|
14
14
|
| Service Profile | Development Context | Contract Index | Last Verified | Confidence |
|
|
15
15
|
| --- | --- | --- | --- | --- |
|
|
16
|
-
| `
|
|
16
|
+
| `{{paths.harnessRoot}}/context/architecture/services/<service-key>.md` | `{{paths.harnessRoot}}/context/development/external-context/<service-key>.md` | `{{paths.harnessRoot}}/context/integrations/README.md` | unknown | low |
|
|
17
17
|
|
|
18
18
|
## Auth
|
|
19
19
|
|
|
@@ -12,7 +12,7 @@ Repo Governance / CI-CD changes remain routed through their reference standards
|
|
|
12
12
|
|
|
13
13
|
| ID | Scope | Module | Task | State | Queues | Plan | Review | Lessons Check | Closeout | Residual | Updated |
|
|
14
14
|
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
|
|
15
|
-
| HL-YYYY-MM-DD-001 | task | none | Short operational title | planned | none |
|
|
15
|
+
| HL-YYYY-MM-DD-001 | task | none | Short operational title | planned | none | {{paths.harnessRoot}}/planning/tasks/.../task_plan.md | pending | pending | pending | none | YYYY-MM-DD |
|
|
16
16
|
|
|
17
17
|
## Field Rules
|
|
18
18
|
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
# {{TASK_TITLE}} Module
|
|
2
|
+
|
|
3
|
+
## Module Key
|
|
4
|
+
|
|
5
|
+
`{{TASK_ID}}`
|
|
6
|
+
|
|
7
|
+
## Created
|
|
8
|
+
|
|
9
|
+
{{DATE}}
|
|
10
|
+
|
|
11
|
+
## Outcome Statement
|
|
12
|
+
|
|
13
|
+
One sentence stating the durable module result this workstream must maintain.
|
|
14
|
+
|
|
15
|
+
## Outcome Value
|
|
16
|
+
|
|
17
|
+
Write 100-300 words explaining what the user, project, coordinator, or worker
|
|
18
|
+
agents get from this module when it is healthy. Describe the decisions, delivery
|
|
19
|
+
coordination, verification, or handoff work this module makes easier. Focus on
|
|
20
|
+
the module's operating result rather than its internal process.
|
|
21
|
+
|
|
22
|
+
## Deliverables
|
|
23
|
+
|
|
24
|
+
- Visible artifact:
|
|
25
|
+
- Owned surfaces:
|
|
26
|
+
- Verification evidence:
|
|
27
|
+
|
|
28
|
+
## First Human Read
|
|
29
|
+
|
|
30
|
+
Name the module plan, task list, evidence, or generated outputs a human should
|
|
31
|
+
inspect first.
|
|
32
|
+
|
|
33
|
+
## Module Role
|
|
34
|
+
|
|
35
|
+
State what this module owns and why it exists.
|
|
36
|
+
|
|
37
|
+
## Boundaries
|
|
38
|
+
|
|
39
|
+
- Owns: directories, services, or document areas under this module.
|
|
40
|
+
- Shared surfaces: files that require coordinator sync.
|
|
41
|
+
- Does not own: adjacent modules or global files outside the declared scope.
|
|
42
|
+
|
|
43
|
+
## Completion Judgment
|
|
44
|
+
|
|
45
|
+
List the conditions that prove this module brief still reflects the active module
|
|
46
|
+
contract. Keep execution detail in `module_plan.md`.
|
|
47
|
+
|
|
48
|
+
## Current Work
|
|
49
|
+
|
|
50
|
+
List active module tasks or point to `module_plan.md`.
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# {{TASK_TITLE}} Module Plan
|
|
2
|
+
|
|
3
|
+
## Module Identity
|
|
4
|
+
|
|
5
|
+
- Module key: `{{TASK_ID}}`
|
|
6
|
+
- Owner: coordinator
|
|
7
|
+
- Branch:
|
|
8
|
+
- Write scope:
|
|
9
|
+
- Shared surfaces:
|
|
10
|
+
- Depends on:
|
|
11
|
+
|
|
12
|
+
## Boundaries
|
|
13
|
+
|
|
14
|
+
- May edit:
|
|
15
|
+
- Must not edit:
|
|
16
|
+
- External dependencies:
|
|
17
|
+
|
|
18
|
+
## Steps
|
|
19
|
+
|
|
20
|
+
| Step ID | Name | Status | Task Plan | Depends On |
|
|
21
|
+
| --- | --- | --- | --- | --- |
|
|
22
|
+
| MOD-01 | Define module operating contract | planned | none | none |
|
|
23
|
+
|
|
24
|
+
## Active Tasks
|
|
25
|
+
|
|
26
|
+
| Task | State | Owner | Evidence | Notes |
|
|
27
|
+
| --- | --- | --- | --- | --- |
|
|
28
|
+
| none | planned | coordinator | none | Replace this row when module tasks exist. |
|
|
29
|
+
|
|
30
|
+
## Verification
|
|
31
|
+
|
|
32
|
+
| Check | Command or Evidence | Required |
|
|
33
|
+
| --- | --- | --- |
|
|
34
|
+
| Module task contract | `harness check --profile target-project .` | yes |
|
|
35
|
+
|
|
36
|
+
## Handoff
|
|
37
|
+
|
|
38
|
+
- Branch:
|
|
39
|
+
- Commit SHA:
|
|
40
|
+
- Checks:
|
|
41
|
+
- Files changed:
|
|
42
|
+
- Residual risks:
|
|
43
|
+
- Coordinator updates needed:
|
|
44
|
+
|
|
45
|
+
## Template Boundary
|
|
46
|
+
|
|
47
|
+
This module root owns only `brief.md` and `module_plan.md` by default. Task
|
|
48
|
+
execution contracts such as `execution_strategy.md`, `visual_map.md`,
|
|
49
|
+
`review.md`, and `walkthrough.md` belong under concrete task directories.
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# Module Registry
|
|
2
|
+
|
|
3
|
+
Generated from `harness.yaml` `modules.items`. Do not edit this view directly.
|
|
4
|
+
|
|
5
|
+
## Active Modules
|
|
6
|
+
|
|
7
|
+
| ID | Key | Title | Prefix | Branch | Current Step | Status | Owner | Scope | Shared | Depends On | Plan | Brief | Updated |
|
|
8
|
+
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
|
|
9
|
+
| none | none | none | none | none | none | planned | none | none | none | none | none | none | none |
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
# Module Session Prompt Pack
|
|
2
|
+
|
|
3
|
+
Use this global prompt pack when a coordinator starts work for a registered
|
|
4
|
+
module. Replace placeholders with current module facts from `harness.yaml`,
|
|
5
|
+
the generated `Module-Registry.md`, and the module's `module_plan.md`.
|
|
6
|
+
|
|
7
|
+
## Context Package
|
|
8
|
+
|
|
9
|
+
- Project: [project]
|
|
10
|
+
- Module key: [module]
|
|
11
|
+
- Task directory: [path]
|
|
12
|
+
- Module plan: [path]
|
|
13
|
+
- Assigned worktree: [path]
|
|
14
|
+
- Assigned branch: [branch]
|
|
15
|
+
|
|
16
|
+
## Goal
|
|
17
|
+
|
|
18
|
+
[State one concrete module outcome.]
|
|
19
|
+
|
|
20
|
+
## Write Scope
|
|
21
|
+
|
|
22
|
+
You may edit only:
|
|
23
|
+
|
|
24
|
+
- [path]
|
|
25
|
+
|
|
26
|
+
Do not edit shared SSoT files, coordinator-owned integration files, or unrelated
|
|
27
|
+
modules unless the coordinator explicitly assigns that scope.
|
|
28
|
+
|
|
29
|
+
## Required Output
|
|
30
|
+
|
|
31
|
+
- Branch name
|
|
32
|
+
- Commit SHA
|
|
33
|
+
- Files changed
|
|
34
|
+
- Checks run and results
|
|
35
|
+
- Residual risks
|
|
36
|
+
- Coordinator updates needed
|
|
37
|
+
|
|
38
|
+
## Review And State Rule
|
|
39
|
+
|
|
40
|
+
- Keep `task.state`, `lifecycleState`, `reviewStatus`, and `closeoutStatus` separate when reporting progress.
|
|
41
|
+
- `done` means the implementation step finished. It is not `closed` until closeout evidence is recorded.
|
|
42
|
+
- Use the current task `visual_map.md` phase table as the lifecycle map. At the end of a slice, inspect the current gate phase and follow its `Exit Command` only when its `Actor` is `agent`.
|
|
43
|
+
- If review is required, update `review.md`. Human review completion must be confirmed through the local Dashboard workbench; do not mark it complete while open P0/P1/P2 findings remain.
|
|
44
|
+
|
|
45
|
+
## Shared Sync Rule
|
|
46
|
+
|
|
47
|
+
Do not update Module Registry, Harness Ledger, Closeout Index, Regression SSoT,
|
|
48
|
+
or Cadence Ledger from a worker session unless the coordinator assigned the
|
|
49
|
+
shared lock.
|
|
50
|
+
|
|
51
|
+
## Stop Rule
|
|
52
|
+
|
|
53
|
+
Pause and report if the requested change requires editing outside the assigned
|
|
54
|
+
scope, resolving unrelated dirty files, making a product decision, or changing a
|
|
55
|
+
shared contract.
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
# {{TASK_TITLE}}
|
|
2
2
|
|
|
3
|
-
## Brief
|
|
4
|
-
|
|
5
3
|
## Task ID
|
|
6
4
|
|
|
7
5
|
`{{TASK_ID}}`
|
|
@@ -10,23 +8,49 @@
|
|
|
10
8
|
|
|
11
9
|
{{DATE}}
|
|
12
10
|
|
|
13
|
-
## Outcome
|
|
11
|
+
## Outcome Statement
|
|
12
|
+
|
|
13
|
+
One sentence stating the concrete result this task must produce.
|
|
14
|
+
|
|
15
|
+
## Outcome Value
|
|
16
|
+
|
|
17
|
+
Write 100-300 words explaining what the user, project, or next agent gets when
|
|
18
|
+
this task is complete. Describe the decision, delivery, verification, or next
|
|
19
|
+
development step this result unlocks. Focus on the usable result rather than the
|
|
20
|
+
implementation process unless the implementation method is itself the
|
|
21
|
+
deliverable.
|
|
22
|
+
|
|
23
|
+
## Deliverables
|
|
14
24
|
|
|
15
|
-
|
|
25
|
+
- Visible artifact:
|
|
26
|
+
- Modified surface:
|
|
27
|
+
- Verification evidence:
|
|
28
|
+
|
|
29
|
+
## First Human Read
|
|
30
|
+
|
|
31
|
+
Name the files, evidence, or generated outputs a human should inspect first when
|
|
32
|
+
they open this task.
|
|
16
33
|
|
|
17
34
|
## Boundaries
|
|
18
35
|
|
|
19
36
|
- In scope: files, behavior, documentation, or verification this task may change.
|
|
20
37
|
- Out of scope: work that must not be folded into this task.
|
|
21
|
-
- Stop conditions: uncertainty, risk, or missing access that requires coordinator
|
|
38
|
+
- Stop conditions: uncertainty, risk, or missing access that requires coordinator
|
|
39
|
+
or user review.
|
|
40
|
+
|
|
41
|
+
## Completion Judgment
|
|
42
|
+
|
|
43
|
+
List 3-5 concrete conditions that prove the outcome has been reached. Keep the
|
|
44
|
+
full execution plan in `task_plan.md`.
|
|
22
45
|
|
|
23
46
|
## Execution Contract
|
|
24
47
|
|
|
25
48
|
- Owner: coordinator
|
|
26
49
|
- Lifecycle state: not_started
|
|
27
|
-
- Required files: `INDEX.md`, `task_plan.md`, `execution_strategy.md`,
|
|
50
|
+
- Required files: `INDEX.md`, `task_plan.md`, `execution_strategy.md`,
|
|
51
|
+
`visual_map.md`, `progress.md`, `findings.md`, `review.md`
|
|
28
52
|
- Required closeout: verification evidence recorded in `progress.md`
|
|
29
53
|
|
|
30
|
-
##
|
|
54
|
+
## Current Next Step
|
|
31
55
|
|
|
32
|
-
|
|
56
|
+
State the first concrete action before implementation starts.
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
# {{TASK_TITLE}} Module
|
|
2
2
|
|
|
3
|
-
## Brief
|
|
4
|
-
|
|
5
3
|
## Module Key
|
|
6
4
|
|
|
7
5
|
`{{TASK_ID}}`
|
|
@@ -10,7 +8,29 @@
|
|
|
10
8
|
|
|
11
9
|
{{DATE}}
|
|
12
10
|
|
|
13
|
-
##
|
|
11
|
+
## Outcome Statement
|
|
12
|
+
|
|
13
|
+
One sentence stating the durable module result this workstream must maintain.
|
|
14
|
+
|
|
15
|
+
## Outcome Value
|
|
16
|
+
|
|
17
|
+
Write 100-300 words explaining what the user, project, coordinator, or worker
|
|
18
|
+
agents get from this module when it is healthy. Describe the decisions, delivery
|
|
19
|
+
coordination, verification, or handoff work this module makes easier. Focus on
|
|
20
|
+
the module's operating result rather than its internal process.
|
|
21
|
+
|
|
22
|
+
## Deliverables
|
|
23
|
+
|
|
24
|
+
- Visible artifact:
|
|
25
|
+
- Owned surfaces:
|
|
26
|
+
- Verification evidence:
|
|
27
|
+
|
|
28
|
+
## First Human Read
|
|
29
|
+
|
|
30
|
+
Name the module plan, task list, evidence, or generated outputs a human should
|
|
31
|
+
inspect first.
|
|
32
|
+
|
|
33
|
+
## Module Role
|
|
14
34
|
|
|
15
35
|
State what this module owns and why it exists.
|
|
16
36
|
|
|
@@ -20,6 +40,11 @@ State what this module owns and why it exists.
|
|
|
20
40
|
- Shared surfaces: files that require coordinator sync.
|
|
21
41
|
- Does not own: adjacent modules or global files outside the declared scope.
|
|
22
42
|
|
|
43
|
+
## Completion Judgment
|
|
44
|
+
|
|
45
|
+
List the conditions that prove this module brief still reflects the active module
|
|
46
|
+
contract. Keep execution detail in `module_plan.md`.
|
|
47
|
+
|
|
23
48
|
## Current Work
|
|
24
49
|
|
|
25
50
|
List the active module tasks or point to `module_plan.md`.
|
|
@@ -1,30 +1,37 @@
|
|
|
1
|
-
#
|
|
1
|
+
# {{TASK_TITLE}} Module Plan
|
|
2
2
|
|
|
3
3
|
## Module Identity
|
|
4
4
|
|
|
5
|
-
- Module key:
|
|
6
|
-
- Owner:
|
|
7
|
-
- Branch:
|
|
8
|
-
- Write
|
|
9
|
-
- Shared
|
|
5
|
+
- Module key: `{{TASK_ID}}`
|
|
6
|
+
- Owner: coordinator
|
|
7
|
+
- Branch:
|
|
8
|
+
- Write scope:
|
|
9
|
+
- Shared surfaces:
|
|
10
|
+
- Depends on:
|
|
10
11
|
|
|
11
12
|
## Boundaries
|
|
12
13
|
|
|
13
|
-
- May edit:
|
|
14
|
-
- Must not edit:
|
|
15
|
-
- External dependencies:
|
|
14
|
+
- May edit:
|
|
15
|
+
- Must not edit:
|
|
16
|
+
- External dependencies:
|
|
16
17
|
|
|
17
18
|
## Steps
|
|
18
19
|
|
|
19
20
|
| Step ID | Name | Status | Task Plan | Depends On |
|
|
20
21
|
| --- | --- | --- | --- | --- |
|
|
21
|
-
| MOD-01 |
|
|
22
|
+
| MOD-01 | Define module operating contract | planned | none | none |
|
|
23
|
+
|
|
24
|
+
## Active Tasks
|
|
25
|
+
|
|
26
|
+
| Task | State | Owner | Evidence | Notes |
|
|
27
|
+
| --- | --- | --- | --- | --- |
|
|
28
|
+
| none | planned | coordinator | none | Replace this row when module tasks exist. |
|
|
22
29
|
|
|
23
30
|
## Verification
|
|
24
31
|
|
|
25
32
|
| Check | Command or Evidence | Required |
|
|
26
33
|
| --- | --- | --- |
|
|
27
|
-
|
|
|
34
|
+
| Module task contract | `harness check --profile target-project .` | yes |
|
|
28
35
|
|
|
29
36
|
## Handoff
|
|
30
37
|
|
|
@@ -34,3 +41,11 @@
|
|
|
34
41
|
- Files changed: [summary]
|
|
35
42
|
- Residual risks: [none / list]
|
|
36
43
|
- Coordinator updates needed: [none / list]
|
|
44
|
+
|
|
45
|
+
## Template Boundary
|
|
46
|
+
|
|
47
|
+
This legacy planning template is kept for compatibility. New module roots are
|
|
48
|
+
scaffolded from `templates/modules/**` and own only `brief.md` plus
|
|
49
|
+
`module_plan.md` by default. Task execution contracts such as
|
|
50
|
+
`execution_strategy.md`, `visual_map.md`, `review.md`, and `walkthrough.md`
|
|
51
|
+
belong under concrete task directories.
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
# Module
|
|
1
|
+
# Module Session Prompt Pack
|
|
2
|
+
|
|
3
|
+
This legacy planning template is kept as a compatibility alias. New installs use
|
|
4
|
+
the global `templates/modules/session_prompt_pack.md`; per-module
|
|
5
|
+
`session_prompt.md` files are not scaffolded by default.
|
|
2
6
|
|
|
3
7
|
## Context Package
|
|
4
8
|
|
|
@@ -21,6 +25,11 @@ You may edit only:
|
|
|
21
25
|
|
|
22
26
|
Do not edit shared SSoT files, coordinator-owned integration files, or unrelated modules unless the coordinator explicitly assigns that scope.
|
|
23
27
|
|
|
28
|
+
Create or update concrete work under
|
|
29
|
+
`{{paths.modulesRoot}}/<module-key>/tasks/<task-id>/`. Task execution contracts
|
|
30
|
+
such as `execution_strategy.md` and `visual_map.md` live in those task
|
|
31
|
+
directories, not in the module root.
|
|
32
|
+
|
|
24
33
|
## Required Output
|
|
25
34
|
|
|
26
35
|
- Branch name
|
|
@@ -35,7 +44,7 @@ Do not edit shared SSoT files, coordinator-owned integration files, or unrelated
|
|
|
35
44
|
- Keep `task.state`, `lifecycleState`, `reviewStatus`, and `closeoutStatus` separate when reporting progress.
|
|
36
45
|
- `done` means the implementation step finished. It is not `closed` until closeout evidence is recorded.
|
|
37
46
|
- Use the current task `visual_map.md` phase table as the lifecycle map. At the end of a slice, inspect the current gate phase and follow its `Exit Command` only when its `Actor` is `agent`.
|
|
38
|
-
- If review is required, update `review.md`. Human review completion must be confirmed through the local
|
|
47
|
+
- If review is required, update `review.md`. Human review completion must be confirmed through the local Dashboard workbench; do not mark it complete while open P0/P1/P2 findings remain.
|
|
39
48
|
|
|
40
49
|
## Shared Sync Rule
|
|
41
50
|
|
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# Slice Brief
|
|
2
2
|
|
|
3
|
+
## Outcome Statement
|
|
4
|
+
|
|
5
|
+
One sentence stating the concrete slice result.
|
|
6
|
+
|
|
7
|
+
## Outcome Value
|
|
8
|
+
|
|
9
|
+
Write 100-300 words explaining what the parent task, coordinator, or downstream
|
|
10
|
+
worker gets when this slice is complete. Describe what decision, integration,
|
|
11
|
+
verification, or next slice this result unlocks. Keep implementation detail in
|
|
12
|
+
the slice plan or evidence files.
|
|
13
|
+
|
|
14
|
+
## Deliverables
|
|
15
|
+
|
|
16
|
+
- Visible artifact:
|
|
17
|
+
- Modified surface:
|
|
18
|
+
- Verification evidence:
|
|
19
|
+
|
|
20
|
+
## First Human Read
|
|
21
|
+
|
|
22
|
+
Name the slice evidence, changed files, or handoff note a human should inspect
|
|
23
|
+
first.
|
|
24
|
+
|
|
3
25
|
## Identity
|
|
4
26
|
|
|
5
27
|
| Parent Phase ID | Depends On | State | Owner / Handoff |
|
|
@@ -16,6 +38,12 @@
|
|
|
16
38
|
- Out of scope: [items]
|
|
17
39
|
- Write scope: [paths]
|
|
18
40
|
|
|
41
|
+
## Completion Judgment
|
|
42
|
+
|
|
43
|
+
- [ ] The stated slice result is present.
|
|
44
|
+
- [ ] Required evidence is recorded.
|
|
45
|
+
- [ ] Shared updates or residual risks are named for the coordinator.
|
|
46
|
+
|
|
19
47
|
## Required Evidence
|
|
20
48
|
|
|
21
49
|
| Evidence | Command / Path | Required |
|
|
@@ -82,7 +82,7 @@ Do not keep sample findings. If there are no material findings, leave only the h
|
|
|
82
82
|
| Blocked | yes / no | Open blocking finding, invalid state transition, failed audit, or human waiver needed. | Blocker is fixed, closed, or explicitly waived. |
|
|
83
83
|
| Lessons | yes / no | Lesson candidate needs rejection, task-local retention, dry-run promotion, or a sedimentation task. | Human decides candidate routing; promotion remains a separate maintenance task unless explicitly approved. |
|
|
84
84
|
| Confirmed / Finalized | yes / no | Human confirmation exists; closeout or governance work may still be pending. | Closeout, ledger, and lesson routing are complete. |
|
|
85
|
-
| Soft-deleted / Superseded | yes / no | Task has tombstone, superseded-by, archive
|
|
85
|
+
| Soft-deleted / Superseded | yes / no | Task has tombstone, superseded-by, or archive state; duplicate or abandoned semantics are recorded as `Reason`. | Reopen or keep as read-only audit history. |
|
|
86
86
|
|
|
87
87
|
## Final Confidence Basis
|
|
88
88
|
|
|
@@ -27,7 +27,7 @@ flowchart LR
|
|
|
27
27
|
| INIT-01 | init | none | planned | 0 | Approved task plan and execution strategy | `task_plan.md`, `execution_strategy.md` | `harness task-start {{TASK_ID}}` | agent | missing | none | coordinator |
|
|
28
28
|
| EXEC-01 | execution | INIT-01 | planned | 0 | Scoped implementation, document update, and verification evidence | diff, commands, worker handoff, or artifact path | `harness task-phase {{TASK_ID}} EXEC-01 --state done --completion 100 --evidence present` | agent | missing | [risk] | [owner] |
|
|
29
29
|
| GATE-01 | gate | EXEC-01 | planned | 0 | Agent Review Submission | `review.md`, progress update, lesson routing | `harness task-review {{TASK_ID}} --message "<summary>"` | agent | missing | [risk] | coordinator |
|
|
30
|
-
| GATE-02 | gate | GATE-01 | planned | 0 | Human Review Confirmation | review packet and human confirmation |
|
|
30
|
+
| GATE-02 | gate | GATE-01 | planned | 0 | Human Review Confirmation | review packet and human confirmation | Open local Dashboard workbench and confirm `{{TASK_ID}}` | human | missing | agent must not perform human confirmation | human |
|
|
31
31
|
|
|
32
32
|
Allowed Kind: init, execution, gate.
|
|
33
33
|
Allowed Actor: agent, human, coordinator.
|
|
@@ -20,16 +20,16 @@ Use these directories as a low-entropy context system:
|
|
|
20
20
|
|
|
21
21
|
| Directory | Owns | Must Not Own | Required Schema Signals |
|
|
22
22
|
| --- | --- | --- | --- |
|
|
23
|
-
| `
|
|
24
|
-
| `
|
|
25
|
-
| `
|
|
23
|
+
| `{{paths.harnessRoot}}/context/architecture/` | system structure, service responsibility, ownership, service catalog, critical flows, ADRs | endpoint payloads, mock instructions, task logs | `Context Doc Type`, `Source Evidence`, `Last Verified`, `Confidence` |
|
|
24
|
+
| `{{paths.harnessRoot}}/context/development/` | local setup, codebase map, external development context, external source packs, mocks, stubs, cross-repo debugging | long-lived architecture facts, API payload contracts, undigested external document dumps | `Context Doc Type`, `Development Use`, `Do Not Assume`, `Mocks / Stubs`, `Source Evidence`, `Last Verified`, `Confidence` |
|
|
25
|
+
| `{{paths.harnessRoot}}/context/integrations/` | API/event/webhook/SDK/third-party contracts, auth, payloads, errors, contract tests | global topology, service ownership catalog, debugging notes | `Context Doc Type`, `Contract Type`, `Auth`, `Payload`, `Errors`, `Contract Tests`, `Source Evidence`, `Last Verified`, `Confidence` |
|
|
26
26
|
|
|
27
27
|
Concrete split:
|
|
28
28
|
|
|
29
|
-
- `
|
|
30
|
-
- `
|
|
31
|
-
- `
|
|
32
|
-
- `
|
|
29
|
+
- `{{paths.harnessRoot}}/context/architecture/service-catalog.md` gives only the service summary and links.
|
|
30
|
+
- `{{paths.harnessRoot}}/context/integrations/<service>-api-contract.md` owns payload bodies, auth, errors, and contract tests.
|
|
31
|
+
- `{{paths.harnessRoot}}/context/development/external-context/<service>.md` owns mocks, stubs, unsafe assumptions, and debug notes.
|
|
32
|
+
- `{{paths.harnessRoot}}/context/development/external-source-packs/` owns external source indexes, digests, and projection status only; final facts must be written back to `context/{architecture,development,integrations}`.
|
|
33
33
|
|
|
34
34
|
## External Source Intake
|
|
35
35
|
|
|
@@ -40,6 +40,19 @@ Optional directories are created only when triggered:
|
|
|
40
40
|
|
|
41
41
|
Preset packages must not add or replace root-level base scaffold documents. Presets may append controlled sections to fixed base documents or add isolated resources under `references/**` and `artifacts/**`. Resource rows belong only in `references/INDEX.md` and `artifacts/INDEX.md`; the root `INDEX.md` may show only system-rendered preset summary fields.
|
|
42
42
|
|
|
43
|
+
## Module Package Boundary
|
|
44
|
+
|
|
45
|
+
Registered modules live in root `harness.yaml` under `modules.items`. The
|
|
46
|
+
generated `planning/modules/Module-Registry.md` is a reading view, not the
|
|
47
|
+
editable source of truth.
|
|
48
|
+
|
|
49
|
+
Use `harness module register` or `harness module scaffold` instead of
|
|
50
|
+
hand-copying module files. The module root owns only `brief.md` and
|
|
51
|
+
`module_plan.md` by default. Task execution contracts such as
|
|
52
|
+
`execution_strategy.md`, `visual_map.md`, `review.md`, and `walkthrough.md`
|
|
53
|
+
belong under concrete task directories, including
|
|
54
|
+
`planning/modules/<key>/tasks/<task-id>/`.
|
|
55
|
+
|
|
43
56
|
## Required Checklist
|
|
44
57
|
|
|
45
58
|
- Goal, scope, acceptance criteria, and constraints are written down.
|
|
@@ -10,7 +10,7 @@ This standard defines how agents receive, filter, organize, and project large ex
|
|
|
10
10
|
external source material -> source pack index -> digest -> context/{architecture,development,integrations} execution projection
|
|
11
11
|
```
|
|
12
12
|
|
|
13
|
-
`context/architecture`, `context/development`, and `context/integrations` only hold facts that have been distilled enough to guide work. Raw external files, long documents, screenshots, exported chats, diagrams, and historical packets first go through `
|
|
13
|
+
`context/architecture`, `context/development`, and `context/integrations` only hold facts that have been distilled enough to guide work. Raw external files, long documents, screenshots, exported chats, diagrams, and historical packets first go through `{{paths.harnessRoot}}/context/development/external-source-packs/`.
|
|
14
14
|
|
|
15
15
|
## When To Ask The User
|
|
16
16
|
|
|
@@ -33,14 +33,14 @@ Recommended questions:
|
|
|
33
33
|
| Case | Storage |
|
|
34
34
|
| --- | --- |
|
|
35
35
|
| Only 1-4 stable external documents | No separate source pack is required; link them from `Source Evidence` in the relevant `context/{architecture,development,integrations}` docs |
|
|
36
|
-
| More than 5 documents, multiple topics, or continuing growth | Create `
|
|
36
|
+
| More than 5 documents, multiple topics, or continuing growth | Create `{{paths.harnessRoot}}/context/development/external-source-packs/<source-key>/` |
|
|
37
37
|
| Material contains secrets, customer data, private links, or cannot be committed | Do not copy raw files; record external location, owner, access condition, and digest only |
|
|
38
38
|
| Material is safe to commit | Raw files may go under `raw/`, but only digested facts may be projected into execution docs |
|
|
39
39
|
|
|
40
40
|
Recommended structure:
|
|
41
41
|
|
|
42
42
|
```text
|
|
43
|
-
|
|
43
|
+
{{paths.harnessRoot}}/context/development/external-source-packs/<source-key>/
|
|
44
44
|
├── README.md # source index and projection status
|
|
45
45
|
├── digests/ # digest for each source or source group
|
|
46
46
|
├── raw/ # commit-safe raw material only
|
|
@@ -49,10 +49,10 @@ coding-agent-harness/context/development/external-source-packs/<source-key>/
|
|
|
49
49
|
|
|
50
50
|
Do not replicate a full `context/{architecture,development,integrations}` tree for every microservice. The source pack is the intake layer. The stable execution entries remain:
|
|
51
51
|
|
|
52
|
-
- `
|
|
53
|
-
- `
|
|
54
|
-
- `
|
|
55
|
-
- `
|
|
52
|
+
- `{{paths.harnessRoot}}/context/architecture/service-catalog.md`
|
|
53
|
+
- `{{paths.harnessRoot}}/context/architecture/services/<service-key>.md`
|
|
54
|
+
- `{{paths.harnessRoot}}/context/development/external-context/<service-key>.md`
|
|
55
|
+
- `{{paths.harnessRoot}}/context/integrations/<contract>.md`
|
|
56
56
|
|
|
57
57
|
## Intake Flow
|
|
58
58
|
|
|
@@ -68,9 +68,9 @@ Do not replicate a full `context/{architecture,development,integrations}` tree f
|
|
|
68
68
|
|
|
69
69
|
| Source Content | Projection Target |
|
|
70
70
|
| --- | --- |
|
|
71
|
-
| Service responsibility, upstream/downstream relationship, owner, data ownership, topology | `
|
|
72
|
-
| Local mocks, stubs, startup, debugging, cross-repo development behavior | `
|
|
73
|
-
| Endpoint, payload, auth, error, event, webhook, SDK, contract test | `
|
|
71
|
+
| Service responsibility, upstream/downstream relationship, owner, data ownership, topology | `{{paths.harnessRoot}}/context/architecture/service-catalog.md` or `services/<service-key>.md` |
|
|
72
|
+
| Local mocks, stubs, startup, debugging, cross-repo development behavior | `{{paths.harnessRoot}}/context/development/external-context/<service-key>.md` |
|
|
73
|
+
| Endpoint, payload, auth, error, event, webhook, SDK, contract test | `{{paths.harnessRoot}}/context/integrations/<contract>.md` |
|
|
74
74
|
| Unconfirmed, conflicting, stale, or background-only material | Keep in source pack README / digest; do not project into execution docs |
|
|
75
75
|
|
|
76
76
|
## Prohibited
|
|
@@ -12,7 +12,7 @@ Define repository-level rules for branches, commits, pull requests, ownership, g
|
|
|
12
12
|
4. Generated files, caches, build output, local runtime state, and secrets must be ignored or stored in the approved location.
|
|
13
13
|
5. Commit verified, meaningful slices proactively. Deferred commits require an explicit no-commit reason, owner, and next step.
|
|
14
14
|
6. Do not mix unrelated dirty changes into a task commit. CLI-owned Harness writes should use the local Harness commands so their locked, allowlisted auto-commit can protect shared governance files.
|
|
15
|
-
7. Pull requests must follow `
|
|
15
|
+
7. Pull requests must follow `{{paths.harnessRoot}}/governance/standards/pull-request-standard.md` and describe intent, changed surfaces, version impact, checks run, checks not run, review status, references, and residual risk.
|
|
16
16
|
8. Required checks and material review findings block merge unless an approved exception is recorded.
|
|
17
17
|
9. Merge or release ownership must be explicit when several branches or workers contribute to the same outcome.
|
|
18
18
|
|
|
@@ -20,6 +20,10 @@ Define when work needs review, which reviewer identity is appropriate, and how r
|
|
|
20
20
|
12. Worker subagents require one user authorization recorded in `execution_strategy.md`; reuse is limited to the same task, scope, and worktree/branch.
|
|
21
21
|
13. A `Would a worker subagent materially help?` decision of `ask-user` is a blocking gate until `User Authorization Decision` records `authorized`, `denied`, or `not-needed`.
|
|
22
22
|
|
|
23
|
+
Subagent authorization is task-local. Do not look for module-root
|
|
24
|
+
`execution_strategy.md`; module roots use `brief.md` and `module_plan.md`, while
|
|
25
|
+
worker authorization belongs in the concrete task directory.
|
|
26
|
+
|
|
23
27
|
## Required Checklist
|
|
24
28
|
|
|
25
29
|
- Review trigger and reviewer identity are documented.
|