dorfl 0.1.1 → 0.2.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/dist/advance-ci-template.d.ts +3 -3
- package/dist/advance-ci-template.js +1 -1
- package/dist/advance-ci-template.js.map +1 -1
- package/dist/advance-classify.d.ts +5 -5
- package/dist/advance-classify.d.ts.map +1 -1
- package/dist/advance-classify.js +4 -4
- package/dist/advance-drivers.d.ts +8 -8
- package/dist/advance-drivers.d.ts.map +1 -1
- package/dist/advance-drivers.js +20 -8
- package/dist/advance-drivers.js.map +1 -1
- package/dist/advance-isolated.d.ts +3 -3
- package/dist/advance-isolated.d.ts.map +1 -1
- package/dist/advance-isolated.js +1 -1
- package/dist/advance-lifecycle-template.d.ts +2 -2
- package/dist/advance-lifecycle-template.d.ts.map +1 -1
- package/dist/advance-lifecycle-template.js +85 -13
- package/dist/advance-lifecycle-template.js.map +1 -1
- package/dist/advance-loop-driver.d.ts +3 -3
- package/dist/advance-loop-driver.d.ts.map +1 -1
- package/dist/advance-loop-driver.js +1 -1
- package/dist/advance-treeless-publish.d.ts +24 -1
- package/dist/advance-treeless-publish.d.ts.map +1 -1
- package/dist/advance-treeless-publish.js +41 -0
- package/dist/advance-treeless-publish.js.map +1 -1
- package/dist/advance.d.ts +69 -17
- package/dist/advance.d.ts.map +1 -1
- package/dist/advance.js +409 -102
- package/dist/advance.js.map +1 -1
- package/dist/advancing-lock.d.ts +31 -3
- package/dist/advancing-lock.d.ts.map +1 -1
- package/dist/advancing-lock.js +55 -5
- package/dist/advancing-lock.js.map +1 -1
- package/dist/agent-launch.d.ts +12 -0
- package/dist/agent-launch.d.ts.map +1 -1
- package/dist/agent-launch.js +22 -12
- package/dist/agent-launch.js.map +1 -1
- package/dist/agent-stop.d.ts +40 -2
- package/dist/agent-stop.d.ts.map +1 -1
- package/dist/agent-stop.js +30 -2
- package/dist/agent-stop.js.map +1 -1
- package/dist/apply-decide.d.ts +19 -5
- package/dist/apply-decide.d.ts.map +1 -1
- package/dist/apply-decide.js +38 -9
- package/dist/apply-decide.js.map +1 -1
- package/dist/apply-merge-action.d.ts +20 -8
- package/dist/apply-merge-action.d.ts.map +1 -1
- package/dist/apply-merge-action.js +44 -9
- package/dist/apply-merge-action.js.map +1 -1
- package/dist/apply-persist.d.ts +62 -31
- package/dist/apply-persist.d.ts.map +1 -1
- package/dist/apply-persist.js +173 -44
- package/dist/apply-persist.js.map +1 -1
- package/dist/apply-stuck-action.d.ts +151 -0
- package/dist/apply-stuck-action.d.ts.map +1 -0
- package/dist/apply-stuck-action.js +125 -0
- package/dist/apply-stuck-action.js.map +1 -0
- package/dist/brand.d.ts +12 -1
- package/dist/brand.d.ts.map +1 -1
- package/dist/brand.js +2 -1
- package/dist/brand.js.map +1 -1
- package/dist/buildable-body.d.ts +14 -14
- package/dist/buildable-body.js +9 -9
- package/dist/claim-cas.d.ts +3 -3
- package/dist/claim-cas.js +1 -1
- package/dist/claim-cas.js.map +1 -1
- package/dist/cli-spinner.d.ts +1 -1
- package/dist/cli-spinner.js +1 -1
- package/dist/cli.d.ts +10 -0
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +385 -128
- package/dist/cli.js.map +1 -1
- package/dist/close-job-template.d.ts +3 -3
- package/dist/close-job-template.js +9 -9
- package/dist/close-job.d.ts +8 -8
- package/dist/close-job.js +25 -25
- package/dist/close-job.js.map +1 -1
- package/dist/complete.d.ts +9 -6
- package/dist/complete.d.ts.map +1 -1
- package/dist/complete.js +99 -45
- package/dist/complete.js.map +1 -1
- package/dist/concurrency.d.ts +1 -1
- package/dist/concurrency.js +1 -1
- package/dist/config.d.ts +86 -40
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +61 -9
- package/dist/config.js.map +1 -1
- package/dist/continue-branch.d.ts +1 -1
- package/dist/continue-branch.d.ts.map +1 -1
- package/dist/continue-branch.js +23 -1
- package/dist/continue-branch.js.map +1 -1
- package/dist/cwd-section.js +1 -1
- package/dist/cwd-section.js.map +1 -1
- package/dist/decision-engine.d.ts +39 -11
- package/dist/decision-engine.d.ts.map +1 -1
- package/dist/decision-engine.js +10 -6
- package/dist/decision-engine.js.map +1 -1
- package/dist/do-autopick.d.ts +6 -6
- package/dist/do-autopick.d.ts.map +1 -1
- package/dist/do-autopick.js +16 -6
- package/dist/do-autopick.js.map +1 -1
- package/dist/do-config.d.ts +4 -4
- package/dist/do-config.js +3 -3
- package/dist/do-config.js.map +1 -1
- package/dist/do-remote-auto.d.ts +2 -2
- package/dist/do-remote-auto.js +1 -1
- package/dist/do.d.ts +74 -81
- package/dist/do.d.ts.map +1 -1
- package/dist/do.js +439 -50
- package/dist/do.js.map +1 -1
- package/dist/drop-source.d.ts +2 -2
- package/dist/env-config.d.ts.map +1 -1
- package/dist/env-config.js +19 -11
- package/dist/env-config.js.map +1 -1
- package/dist/failure-cause.d.ts +3 -2
- package/dist/failure-cause.d.ts.map +1 -1
- package/dist/failure-cause.js +28 -1
- package/dist/failure-cause.js.map +1 -1
- package/dist/format.d.ts +6 -6
- package/dist/format.d.ts.map +1 -1
- package/dist/format.js +13 -30
- package/dist/format.js.map +1 -1
- package/dist/frontmatter.d.ts +28 -15
- package/dist/frontmatter.d.ts.map +1 -1
- package/dist/frontmatter.js +38 -24
- package/dist/frontmatter.js.map +1 -1
- package/dist/gc.d.ts +65 -6
- package/dist/gc.d.ts.map +1 -1
- package/dist/gc.js +126 -9
- package/dist/gc.js.map +1 -1
- package/dist/github.d.ts +14 -0
- package/dist/github.d.ts.map +1 -1
- package/dist/github.js +73 -0
- package/dist/github.js.map +1 -1
- package/dist/harness.d.ts +25 -0
- package/dist/harness.d.ts.map +1 -1
- package/dist/harness.js.map +1 -1
- package/dist/index.d.ts +4 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/install-ci-branch-protection.d.ts +133 -39
- package/dist/install-ci-branch-protection.d.ts.map +1 -1
- package/dist/install-ci-branch-protection.js +191 -49
- package/dist/install-ci-branch-protection.js.map +1 -1
- package/dist/install-ci-capabilities/advance-lifecycle.d.ts +1 -1
- package/dist/install-ci-capabilities/advance-lifecycle.js +1 -1
- package/dist/install-ci-capabilities/close-job.d.ts +1 -1
- package/dist/install-ci-capabilities/close-job.js +1 -1
- package/dist/install-ci-capabilities/example-noop.d.ts +1 -1
- package/dist/install-ci-capabilities/example-noop.js +1 -1
- package/dist/install-ci-capabilities/intake.d.ts +2 -2
- package/dist/install-ci-capabilities/intake.js +2 -2
- package/dist/install-ci-capabilities/verify.d.ts +1 -1
- package/dist/install-ci-capabilities/verify.js +1 -1
- package/dist/install-ci-core.d.ts +24 -4
- package/dist/install-ci-core.d.ts.map +1 -1
- package/dist/install-ci-core.js +12 -5
- package/dist/install-ci-core.js.map +1 -1
- package/dist/install-ci-github.d.ts +33 -1
- package/dist/install-ci-github.d.ts.map +1 -1
- package/dist/install-ci-github.js +74 -1
- package/dist/install-ci-github.js.map +1 -1
- package/dist/install-ci.d.ts +1 -1
- package/dist/install-ci.js +4 -4
- package/dist/install-ci.js.map +1 -1
- package/dist/install-skills.d.ts +123 -0
- package/dist/install-skills.d.ts.map +1 -0
- package/dist/install-skills.js +100 -0
- package/dist/install-skills.js.map +1 -0
- package/dist/intake-event.d.ts +6 -6
- package/dist/intake-event.js +6 -6
- package/dist/intake-marker.d.ts +3 -3
- package/dist/intake-marker.d.ts.map +1 -1
- package/dist/intake-triage.d.ts +1 -1
- package/dist/intake-triage.js +2 -2
- package/dist/intake-trigger-template.d.ts +8 -8
- package/dist/intake-trigger-template.d.ts.map +1 -1
- package/dist/intake-trigger-template.js +17 -17
- package/dist/intake-trigger-template.js.map +1 -1
- package/dist/intake.d.ts +65 -52
- package/dist/intake.d.ts.map +1 -1
- package/dist/intake.js +92 -76
- package/dist/intake.js.map +1 -1
- package/dist/integration-core.d.ts +27 -24
- package/dist/integration-core.d.ts.map +1 -1
- package/dist/integration-core.js +191 -77
- package/dist/integration-core.js.map +1 -1
- package/dist/integrator.d.ts +1 -1
- package/dist/integrator.d.ts.map +1 -1
- package/dist/integrator.js +19 -3
- package/dist/integrator.js.map +1 -1
- package/dist/isolation.d.ts +4 -4
- package/dist/isolation.d.ts.map +1 -1
- package/dist/isolation.js +9 -0
- package/dist/isolation.js.map +1 -1
- package/dist/issue-provider.d.ts +4 -4
- package/dist/issue-provider.js +1 -1
- package/dist/item-lock.d.ts +216 -149
- package/dist/item-lock.d.ts.map +1 -1
- package/dist/item-lock.js +345 -270
- package/dist/item-lock.js.map +1 -1
- package/dist/item-path.d.ts +2 -2
- package/dist/item-path.js +2 -2
- package/dist/ledger-lint.d.ts +9 -9
- package/dist/ledger-lint.js +9 -9
- package/dist/ledger-read.d.ts +57 -57
- package/dist/ledger-read.d.ts.map +1 -1
- package/dist/ledger-read.js +24 -24
- package/dist/ledger-read.js.map +1 -1
- package/dist/ledger-write.d.ts +33 -28
- package/dist/ledger-write.d.ts.map +1 -1
- package/dist/ledger-write.js +100 -122
- package/dist/ledger-write.js.map +1 -1
- package/dist/lifecycle-gather.d.ts +18 -1
- package/dist/lifecycle-gather.d.ts.map +1 -1
- package/dist/lifecycle-gather.js +23 -17
- package/dist/lifecycle-gather.js.map +1 -1
- package/dist/lifecycle-pools.d.ts +44 -7
- package/dist/lifecycle-pools.d.ts.map +1 -1
- package/dist/lifecycle-pools.js +27 -7
- package/dist/lifecycle-pools.js.map +1 -1
- package/dist/merge-question-surfacer.d.ts +18 -4
- package/dist/merge-question-surfacer.d.ts.map +1 -1
- package/dist/merge-question-surfacer.js +20 -5
- package/dist/merge-question-surfacer.js.map +1 -1
- package/dist/migrate-stuck-locks.d.ts +129 -0
- package/dist/migrate-stuck-locks.d.ts.map +1 -0
- package/dist/migrate-stuck-locks.js +355 -0
- package/dist/migrate-stuck-locks.js.map +1 -0
- package/dist/mint-adr.js +4 -4
- package/dist/mirror-pool-scan.d.ts +2 -2
- package/dist/mirror-pool-scan.js +3 -3
- package/dist/mirror-pool-scan.js.map +1 -1
- package/dist/needs-attention.d.ts +304 -27
- package/dist/needs-attention.d.ts.map +1 -1
- package/dist/needs-attention.js +542 -67
- package/dist/needs-attention.js.map +1 -1
- package/dist/orphan-sidecar.d.ts +10 -6
- package/dist/orphan-sidecar.d.ts.map +1 -1
- package/dist/orphan-sidecar.js +35 -2
- package/dist/orphan-sidecar.js.map +1 -1
- package/dist/pi-harness.d.ts +16 -0
- package/dist/pi-harness.d.ts.map +1 -1
- package/dist/pi-harness.js +82 -2
- package/dist/pi-harness.js.map +1 -1
- package/dist/placement.d.ts +8 -8
- package/dist/placement.js +3 -3
- package/dist/prd-to-spec.d.ts.map +1 -1
- package/dist/prd-to-spec.js +9 -5
- package/dist/prd-to-spec.js.map +1 -1
- package/dist/prompt.d.ts +16 -19
- package/dist/prompt.d.ts.map +1 -1
- package/dist/prompt.js +17 -19
- package/dist/prompt.js.map +1 -1
- package/dist/protocol/CLAIM-PROTOCOL.md +17 -10
- package/dist/protocol/REVIEW-PROTOCOL.md +4 -1
- package/dist/protocol/SURFACE-PROTOCOL.md +16 -2
- package/dist/protocol/TASKING-PROTOCOL.md +3 -1
- package/dist/protocol/WORK-CONTRACT.md +22 -18
- package/dist/protocol/task-template.md +1 -1
- package/dist/readiness.d.ts +1 -1
- package/dist/reap-branches.d.ts +12 -9
- package/dist/reap-branches.d.ts.map +1 -1
- package/dist/reap-branches.js +25 -7
- package/dist/reap-branches.js.map +1 -1
- package/dist/recover-isolated.d.ts +12 -0
- package/dist/recover-isolated.d.ts.map +1 -1
- package/dist/recover-isolated.js +6 -1
- package/dist/recover-isolated.js.map +1 -1
- package/dist/repo-config.d.ts +23 -2
- package/dist/repo-config.d.ts.map +1 -1
- package/dist/repo-config.js +64 -18
- package/dist/repo-config.js.map +1 -1
- package/dist/repo-mirror.d.ts.map +1 -1
- package/dist/repo-mirror.js +18 -2
- package/dist/repo-mirror.js.map +1 -1
- package/dist/review-gate.d.ts +3 -3
- package/dist/review-gate.d.ts.map +1 -1
- package/dist/review-gate.js +11 -10
- package/dist/review-gate.js.map +1 -1
- package/dist/review-verdict.d.ts +2 -2
- package/dist/review-verdict.d.ts.map +1 -1
- package/dist/review-verdict.js +2 -2
- package/dist/review-verdict.js.map +1 -1
- package/dist/run.d.ts +2 -2
- package/dist/run.d.ts.map +1 -1
- package/dist/run.js +58 -23
- package/dist/run.js.map +1 -1
- package/dist/scan.d.ts +26 -17
- package/dist/scan.d.ts.map +1 -1
- package/dist/scan.js +29 -15
- package/dist/scan.js.map +1 -1
- package/dist/select-order.d.ts +1 -1
- package/dist/select-priority.d.ts +14 -14
- package/dist/select-priority.d.ts.map +1 -1
- package/dist/select-priority.js +5 -5
- package/dist/select-priority.js.map +1 -1
- package/dist/sidecar-apply.js +1 -1
- package/dist/sidecar-apply.js.map +1 -1
- package/dist/sidecar.d.ts +47 -12
- package/dist/sidecar.d.ts.map +1 -1
- package/dist/sidecar.js +84 -4
- package/dist/sidecar.js.map +1 -1
- package/dist/skills/answer-questions/SKILL.md +89 -0
- package/dist/skills/capture-signal/SKILL.md +52 -0
- package/dist/skills/convert-from-prd-to-spec/SKILL.md +90 -0
- package/dist/skills/drive-tasks/SKILL.md +218 -0
- package/dist/skills/from-idea/SKILL.md +83 -0
- package/dist/skills/merge-prs/SKILL.md +70 -0
- package/dist/skills/orchestrate/SKILL.md +101 -0
- package/dist/skills/promote/SKILL.md +35 -0
- package/dist/skills/review/SKILL.md +16 -0
- package/dist/skills/setup/SKILL.md +258 -0
- package/dist/skills/setup/protocol/ADR-FORMAT.md +47 -0
- package/dist/skills/setup/protocol/CLAIM-PROTOCOL.md +224 -0
- package/dist/skills/setup/protocol/REVIEW-PROTOCOL.md +122 -0
- package/dist/skills/setup/protocol/SURFACE-PROTOCOL.md +135 -0
- package/dist/skills/setup/protocol/TASKING-PROTOCOL.md +124 -0
- package/dist/skills/setup/protocol/WORK-CONTRACT.md +280 -0
- package/dist/skills/setup/protocol/spec-template.md +71 -0
- package/dist/skills/setup/protocol/task-template.md +65 -0
- package/dist/skills/surface-questions/SKILL.md +16 -0
- package/dist/skills/to-spec/SKILL.md +34 -0
- package/dist/skills/to-task/SKILL.md +19 -0
- package/dist/skills/triage-observations/SKILL.md +78 -0
- package/dist/skills/work/SKILL.md +51 -0
- package/dist/slug-namespace.d.ts +6 -6
- package/dist/slug-namespace.js +8 -8
- package/dist/slug-namespace.js.map +1 -1
- package/dist/spec-complete.d.ts.map +1 -1
- package/dist/spec-complete.js +4 -5
- package/dist/spec-complete.js.map +1 -1
- package/dist/start.d.ts +1 -1
- package/dist/start.d.ts.map +1 -1
- package/dist/start.js +54 -60
- package/dist/start.js.map +1 -1
- package/dist/status.d.ts +3 -3
- package/dist/status.js +4 -4
- package/dist/status.js.map +1 -1
- package/dist/surface-gate.d.ts +2 -2
- package/dist/surface-gate.d.ts.map +1 -1
- package/dist/surface-gate.js +10 -3
- package/dist/surface-gate.js.map +1 -1
- package/dist/surface-persist.d.ts +2 -2
- package/dist/surface-persist.d.ts.map +1 -1
- package/dist/surface-persist.js +1 -1
- package/dist/surface-persist.js.map +1 -1
- package/dist/tasker-review-loop.d.ts +11 -10
- package/dist/tasker-review-loop.d.ts.map +1 -1
- package/dist/tasker-review-loop.js +8 -8
- package/dist/tasker-review-loop.js.map +1 -1
- package/dist/tasking-eligibility.d.ts +21 -21
- package/dist/tasking-eligibility.d.ts.map +1 -1
- package/dist/tasking-eligibility.js +10 -10
- package/dist/tasking-lock.d.ts +10 -10
- package/dist/tasking-lock.d.ts.map +1 -1
- package/dist/tasking-lock.js +69 -49
- package/dist/tasking-lock.js.map +1 -1
- package/dist/tasking.d.ts +73 -39
- package/dist/tasking.d.ts.map +1 -1
- package/dist/tasking.js +309 -95
- package/dist/tasking.js.map +1 -1
- package/dist/triage-gate.d.ts +1 -1
- package/dist/triage-persist.d.ts +15 -11
- package/dist/triage-persist.d.ts.map +1 -1
- package/dist/triage-persist.js +48 -18
- package/dist/triage-persist.js.map +1 -1
- package/dist/vendor/incur/agents.d.ts +58 -0
- package/dist/vendor/incur/agents.d.ts.map +1 -0
- package/dist/vendor/incur/agents.js +343 -0
- package/dist/vendor/incur/agents.js.map +1 -0
- package/dist/verify-workflow-template.d.ts +1 -1
- package/dist/verify-workflow-template.js +3 -3
- package/dist/watch-session.d.ts +11 -3
- package/dist/watch-session.d.ts.map +1 -1
- package/dist/watch-session.js +94 -7
- package/dist/watch-session.js.map +1 -1
- package/dist/work-layout.d.ts +15 -9
- package/dist/work-layout.d.ts.map +1 -1
- package/dist/work-layout.js +14 -9
- package/dist/work-layout.js.map +1 -1
- package/dist/workspace.d.ts +2 -2
- package/package.json +2 -2
- package/src/advance-ci-template.ts +4 -4
- package/src/advance-classify.ts +5 -5
- package/src/advance-drivers.ts +26 -13
- package/src/advance-isolated.ts +3 -3
- package/src/advance-lifecycle-template.ts +98 -13
- package/src/advance-loop-driver.ts +3 -3
- package/src/advance-treeless-publish.ts +46 -1
- package/src/advance.ts +495 -115
- package/src/advancing-lock.ts +102 -7
- package/src/agent-launch.ts +37 -12
- package/src/agent-stop.ts +60 -2
- package/src/apply-decide.ts +38 -9
- package/src/apply-merge-action.ts +49 -11
- package/src/apply-persist.ts +236 -62
- package/src/apply-stuck-action.ts +260 -0
- package/src/brand.ts +14 -2
- package/src/buildable-body.ts +14 -14
- package/src/claim-cas.ts +4 -4
- package/src/cli-spinner.ts +1 -1
- package/src/cli.ts +472 -141
- package/src/close-job-template.ts +9 -9
- package/src/close-job.ts +26 -26
- package/src/complete.ts +121 -63
- package/src/concurrency.ts +1 -1
- package/src/config.ts +143 -49
- package/src/continue-branch.ts +23 -1
- package/src/cwd-section.ts +1 -1
- package/src/decision-engine.ts +57 -19
- package/src/do-autopick.ts +21 -10
- package/src/do-config.ts +7 -7
- package/src/do-remote-auto.ts +2 -2
- package/src/do.ts +558 -85
- package/src/drop-source.ts +2 -2
- package/src/env-config.ts +19 -11
- package/src/failure-cause.ts +30 -1
- package/src/format.ts +13 -33
- package/src/frontmatter.ts +55 -35
- package/src/gc.ts +172 -9
- package/src/github.ts +78 -0
- package/src/harness.ts +25 -0
- package/src/index.ts +10 -0
- package/src/install-ci-branch-protection.ts +283 -58
- package/src/install-ci-capabilities/advance-lifecycle.ts +1 -1
- package/src/install-ci-capabilities/close-job.ts +1 -1
- package/src/install-ci-capabilities/example-noop.ts +1 -1
- package/src/install-ci-capabilities/intake.ts +2 -2
- package/src/install-ci-capabilities/verify.ts +1 -1
- package/src/install-ci-core.ts +34 -7
- package/src/install-ci-github.ts +87 -1
- package/src/install-ci.ts +4 -4
- package/src/install-skills.ts +166 -0
- package/src/intake-event.ts +6 -6
- package/src/intake-marker.ts +3 -3
- package/src/intake-triage.ts +2 -2
- package/src/intake-trigger-template.ts +18 -18
- package/src/intake.ts +138 -103
- package/src/integration-core.ts +234 -100
- package/src/integrator.ts +22 -9
- package/src/isolation.ts +13 -4
- package/src/issue-provider.ts +4 -4
- package/src/item-lock.ts +505 -361
- package/src/item-path.ts +2 -2
- package/src/ledger-lint.ts +9 -9
- package/src/ledger-read.ts +81 -81
- package/src/ledger-write.ts +137 -152
- package/src/lifecycle-gather.ts +45 -22
- package/src/lifecycle-pools.ts +71 -13
- package/src/merge-question-surfacer.ts +32 -8
- package/src/migrate-stuck-locks.ts +451 -0
- package/src/mint-adr.ts +4 -4
- package/src/mirror-pool-scan.ts +5 -5
- package/src/needs-attention.ts +877 -104
- package/src/orphan-sidecar.ts +49 -8
- package/src/pi-harness.ts +82 -2
- package/src/placement.ts +8 -8
- package/src/prd-to-spec.ts +13 -5
- package/src/prompt.ts +20 -25
- package/src/readiness.ts +1 -1
- package/src/reap-branches.ts +38 -14
- package/src/recover-isolated.ts +18 -1
- package/src/repo-config.ts +66 -17
- package/src/repo-mirror.ts +23 -1
- package/src/review-gate.ts +12 -11
- package/src/review-verdict.ts +3 -3
- package/src/run.ts +69 -23
- package/src/scan.ts +36 -22
- package/src/select-order.ts +1 -1
- package/src/select-priority.ts +15 -15
- package/src/sidecar-apply.ts +1 -1
- package/src/sidecar.ts +141 -14
- package/src/slug-namespace.ts +10 -10
- package/src/spec-complete.ts +4 -5
- package/src/start.ts +57 -63
- package/src/status.ts +7 -7
- package/src/surface-gate.ts +12 -5
- package/src/surface-persist.ts +3 -3
- package/src/tasker-review-loop.ts +18 -17
- package/src/tasking-eligibility.ts +21 -21
- package/src/tasking-lock.ts +75 -60
- package/src/tasking.ts +381 -135
- package/src/triage-gate.ts +1 -1
- package/src/triage-persist.ts +71 -27
- package/src/vendor/incur/LICENSE +21 -0
- package/src/vendor/incur/README.md +19 -0
- package/src/vendor/incur/agents.ts +392 -0
- package/src/verify-workflow-template.ts +3 -3
- package/src/watch-session.ts +102 -7
- package/src/work-layout.ts +14 -9
- package/src/workspace.ts +2 -2
package/dist/do.d.ts
CHANGED
|
@@ -6,62 +6,12 @@ import type { IntegrationMode, PromptGuidance } from './config.js';
|
|
|
6
6
|
import type { VerifyConfig } from './verify.js';
|
|
7
7
|
import type { ReviewGate } from './review-gate.js';
|
|
8
8
|
import { type Identity } from './identity.js';
|
|
9
|
-
/**
|
|
10
|
-
* `dorfl do <slug>` (in-place form) — the per-repo, in-place WORKER that
|
|
11
|
-
* claims + builds + gates + integrates in ONE checkout, then EXITS (ADR §3).
|
|
12
|
-
* **This is the CI command** (CI has a checkout, is one repo, is one triggered
|
|
13
|
-
* invocation, exits) and it ABSORBS the manual `ar-run.sh` test-driver.
|
|
14
|
-
*
|
|
15
|
-
* In-place `do` is on the ISOLATION SEAM (`do-run-share-isolation-seam`): it is
|
|
16
|
-
* the FIRST production consumer of `selectIsolationStrategy`/`inPlaceStrategy`,
|
|
17
|
-
* so all THREE `do`/`run` forms (in-place `do`, `do --remote`, `run`) share the
|
|
18
|
-
* ONE `IsolatedTree`-handle post-claim shape. The composition mirrors
|
|
19
|
-
* `do --remote`/`run` exactly: keep the two in-place GUARDS (dirty-tree refusal
|
|
20
|
-
* + pre-flight diverged-main guard) in this driver BEFORE onboarding, CLAIM
|
|
21
|
-
* explicitly via the CAS (`performClaim`), then let
|
|
22
|
-
* `selectIsolationStrategy({checkout}).prepare()` do the ONBOARDING half (fetch +
|
|
23
|
-
* continue-detection + fresh-main `work/<slug>` switch, incl. the §14
|
|
24
|
-
* continue/rebase + §10 conflict path) WITHOUT re-claiming. The agent run is the
|
|
25
|
-
* ONLY new middle step (the one `ar-run.sh` shelled out for, `prompt | pi`). The
|
|
26
|
-
* runner owns EVERY git-state transition (claim, done-move, completion commit,
|
|
27
|
-
* integration); the agent only edits code.
|
|
28
|
-
*
|
|
29
|
-
* The in-place ISOLATION (ADR §3): the current checkout / CI container IS the
|
|
30
|
-
* isolation — no hub mirror, no external worktree. `inPlaceStrategy.prepare()`
|
|
31
|
-
* puts the checkout on `work/<slug>` cut from the freshly-fetched
|
|
32
|
-
* `<arbiter>/main`; its handle's `teardown` is a NO-OP (the checkout is left in a
|
|
33
|
-
* defined state on `work/<slug>`, NEVER reaped). `do --remote` (the job-worktree
|
|
34
|
-
* strategy) is the SEPARATE `do-remote` task; auto-pick / multi-arg / `-n` is
|
|
35
|
-
* `do-autopick`.
|
|
36
|
-
*
|
|
37
|
-
* CLAIM SEMANTICS (autonomous, same as `do --remote`/`run`): the claim is
|
|
38
|
-
* explicit and claim-or-lose. An item that is NOT in the pool (`tasks-ready`) on
|
|
39
|
-
* the arbiter (already in-progress / done / absent) is not claimable, so the CAS
|
|
40
|
-
* returns
|
|
41
|
-
* `lost` (exit 2) and the run skips cleanly — `do`, the unattended CI worker,
|
|
42
|
-
* never re-claims an item someone else holds and never silently picks up a
|
|
43
|
-
* needs-attention item (a human does that through the human face).
|
|
44
|
-
*
|
|
45
|
-
* **CRITICAL — `do` is AUTONOMOUS, so its failure path is `run`'s, NOT
|
|
46
|
-
* `complete`'s.** On a red gate / rebase conflict, `performComplete` routes the
|
|
47
|
-
* item to needs-attention via the SAME seam call as `run`'s `runOneItem`, but
|
|
48
|
-
* `complete` calls it WITHOUT an arbiter (the human path: a human is right
|
|
49
|
-
* there). `do` runs UNATTENDED, so it MUST get the autonomous, arbiter-passed
|
|
50
|
-
* surfacing like `run` (the on-`main` cherry-pick that makes a stuck CI run
|
|
51
|
-
* visible to `scan`/`status`/another machine). We achieve this by passing
|
|
52
|
-
* `surfaceArbiter` into `performComplete` (resolution (a) from the task): the
|
|
53
|
-
* success path reuses `complete`'s machinery; only the NEEDS-ATTENTION routing
|
|
54
|
-
* becomes the autonomous variant.
|
|
55
|
-
*
|
|
56
|
-
* `--propose` (default) / `--merge` is resolved at integrate-time exactly like
|
|
57
|
-
* `complete` (the caller threads the resolved mode in as `integration`).
|
|
58
|
-
*/
|
|
59
9
|
/** The terminal status of one in-place `do` run. */
|
|
60
|
-
export type DoOutcome = 'completed' | 'lost' | 'contended' | 'needs-attention' | 'surface-unmoved' | 'agent-failed' | 'transient-infra' | 'config-error' | 'agent-stopped' | 'refused' | 'usage-error' | 'tasked' | 'gate-refused' | 'stale';
|
|
10
|
+
export type DoOutcome = 'completed' | 'lost' | 'contended' | 'needs-attention' | 'surface-unmoved' | 'agent-failed' | 'transient-infra' | 'needs-reauth' | 'config-error' | 'agent-stopped' | 'deadline-auto-continued' | 'deadline-surfaced' | 'refused' | 'usage-error' | 'tasked' | 'gate-refused' | 'stale';
|
|
61
11
|
export interface DoResult {
|
|
62
12
|
exitCode: 0 | 1 | 2 | 3;
|
|
63
13
|
outcome: DoOutcome;
|
|
64
|
-
/** The resolved bare slug acted on (task or
|
|
14
|
+
/** The resolved bare slug acted on (task or spec), when one was resolved. */
|
|
65
15
|
slug?: string;
|
|
66
16
|
/** The work branch the run operated on, when one was created/switched-to. */
|
|
67
17
|
branch?: string;
|
|
@@ -91,9 +41,17 @@ export type DoDorfl = (input: {
|
|
|
91
41
|
* Absent ⇒ no body ⇒ the provider degrades to `--fill` (no regression).
|
|
92
42
|
*/
|
|
93
43
|
output?: string;
|
|
44
|
+
/**
|
|
45
|
+
* **True iff the injected agent simulates a dorfl-internal DEADLINE stop**
|
|
46
|
+
* (spec `graceful-pre-timeout-wip-checkpoint`). Test-only signal so an
|
|
47
|
+
* injected `DoDorfl` can drive the checkpoint routing (save WIP +
|
|
48
|
+
* auto-continue / surface). Production `runDoAgent` never sets this on the
|
|
49
|
+
* injected path — the real deadline race lives in `PiHarness.launchAsync`.
|
|
50
|
+
*/
|
|
51
|
+
timedOut?: boolean;
|
|
94
52
|
};
|
|
95
53
|
export interface DoOptions {
|
|
96
|
-
/** The raw CLI slug argument: bare (= task), `task:<slug>`, or `
|
|
54
|
+
/** The raw CLI slug argument: bare (= task), `task:<slug>`, or `spec:<slug>`. */
|
|
97
55
|
arg: string;
|
|
98
56
|
/** The working clone/checkout to run in-place in. */
|
|
99
57
|
cwd: string;
|
|
@@ -109,10 +67,10 @@ export interface DoOptions {
|
|
|
109
67
|
/**
|
|
110
68
|
* Per-repo `autoTask` policy (resolved by `autoslice-gate`: flag > env >
|
|
111
69
|
* per-repo > global > default false). It gates the AUTO-PICK / pool path only
|
|
112
|
-
* (`do-autopick.ts`'s taskable-
|
|
113
|
-
* UNDECLARED
|
|
70
|
+
* (`do-autopick.ts`'s taskable-spec pool): "may an agent auto-task an
|
|
71
|
+
* UNDECLARED spec in this repo?". An EXPLICITLY-named `do spec:<slug>` tasks
|
|
114
72
|
* REGARDLESS of this policy (the dispatch passes `explicit: true` to
|
|
115
|
-
* `performTask` — naming the
|
|
73
|
+
* `performTask` — naming the spec IS the authorization, exactly as `do <task>`
|
|
116
74
|
* builds regardless of `autoBuild`). Ignored by the task-build path.
|
|
117
75
|
*/
|
|
118
76
|
autoTask?: boolean;
|
|
@@ -127,7 +85,7 @@ export interface DoOptions {
|
|
|
127
85
|
promptGuidance?: PromptGuidance;
|
|
128
86
|
/**
|
|
129
87
|
* **The tasker review→edit→converge LOOP seam** (`slicer-review-edit-loop`):
|
|
130
|
-
* consumed ONLY by the `do
|
|
88
|
+
* consumed ONLY by the `do spec:<slug>` tasking path — after the agent produces
|
|
131
89
|
* candidate tasks, run the `review` SKILL as a review→edit→re-review loop that
|
|
132
90
|
* improves them, routing the verdict through the needsAnswers / needs-attention
|
|
133
91
|
* sink. Ignored by the task-build path. Omitted ⇒ no loop (candidate tasks land
|
|
@@ -156,27 +114,27 @@ export interface DoOptions {
|
|
|
156
114
|
explicitMerge?: boolean;
|
|
157
115
|
/**
|
|
158
116
|
* **Per-TRANSITION override for the TASKING transition only** (config
|
|
159
|
-
* `taskingIntegration`). Consumed ONLY by the `do
|
|
117
|
+
* `taskingIntegration`). Consumed ONLY by the `do spec:<slug>` tasking path: the
|
|
160
118
|
* value threaded into {@link performTask} is `taskingIntegration ?? integration`,
|
|
161
119
|
* so an unset override is byte-for-byte today's behaviour (tasking uses
|
|
162
120
|
* `integration`). The task-BUILD path ALWAYS threads `integration` (never this
|
|
163
121
|
* key). An explicit `--merge`/`--propose` flag wins over BOTH (the flag-override
|
|
164
122
|
* layer sets `integration` AND `taskingIntegration` to the typed mode — see
|
|
165
|
-
* `do-config.ts`). DISTINCT from intake's per-EMITTED-TYPE `{task,
|
|
123
|
+
* `do-config.ts`). DISTINCT from intake's per-EMITTED-TYPE `{task, spec}` resolver.
|
|
166
124
|
*/
|
|
167
125
|
taskingIntegration?: IntegrationMode;
|
|
168
126
|
/**
|
|
169
|
-
* **The per-repo TASK-PLACEMENT default** (
|
|
127
|
+
* **The per-repo TASK-PLACEMENT default** (spec
|
|
170
128
|
* `staging-pool-position-gate-and-trust-model` US #5, task
|
|
171
129
|
* `runner-deterministic-slice-placement-policy-and-precedence`). Consumed by
|
|
172
|
-
* the `do
|
|
130
|
+
* the `do spec:<slug>` tasking path: the value is fed as the
|
|
173
131
|
* CONFIGURED-DEFAULT rung into the runner-deterministic placement resolver
|
|
174
132
|
* (`src/placement.ts`). Resolved per-repo through the SAME chain as
|
|
175
133
|
* `taskingIntegration` (flag > env > per-repo > global > built-in
|
|
176
|
-
* `
|
|
134
|
+
* `backlog`). The task-BUILD path ignores it (placement is a TASKING
|
|
177
135
|
* lifecycle concern).
|
|
178
136
|
*/
|
|
179
|
-
tasksLandIn?: '
|
|
137
|
+
tasksLandIn?: 'backlog' | 'ready';
|
|
180
138
|
/**
|
|
181
139
|
* **The OPERATOR's EXPLICIT task-placement override** (the TOP precedence
|
|
182
140
|
* rung in the placement resolver). Set ONLY when the operator typed
|
|
@@ -185,7 +143,7 @@ export interface DoOptions {
|
|
|
185
143
|
* CLI always wins, no special force-key) — the positional analogue of
|
|
186
144
|
* `explicitMerge` overriding the untrusted-origin build-propose rule.
|
|
187
145
|
*/
|
|
188
|
-
explicitTasksLandIn?: '
|
|
146
|
+
explicitTasksLandIn?: 'backlog' | 'ready';
|
|
189
147
|
/**
|
|
190
148
|
* Override the pre-flight DIVERGENCE guard (`--ignore-diverged-main`, mirroring
|
|
191
149
|
* `--ignore-not-ready`): proceed even when local `main` is ahead of
|
|
@@ -196,7 +154,7 @@ export interface DoOptions {
|
|
|
196
154
|
*/
|
|
197
155
|
ignoreDivergedMain?: boolean;
|
|
198
156
|
/**
|
|
199
|
-
* **`--allow-backlog`** (
|
|
157
|
+
* **`--allow-backlog`** (spec
|
|
200
158
|
* `do-allow-backlog-drive-staged-tasks-without-promotion`): let this `do task:`
|
|
201
159
|
* invocation FIND, CLAIM, and COMPLETE a task that lives in `tasks/backlog/`
|
|
202
160
|
* (staging) IN PLACE, WITHOUT first promoting it to the pool — so no `advance`
|
|
@@ -206,7 +164,7 @@ export interface DoOptions {
|
|
|
206
164
|
* build/gate are identical, and the done-move goes `tasks/backlog/ → tasks/done/`
|
|
207
165
|
* directly (the explicit drive IS the promotion). EXPLICIT-INVOCATION-ONLY:
|
|
208
166
|
* default off, never set by `run`/auto-pick/`advance` (the leak-fence). The
|
|
209
|
-
* task-build path only; the `do
|
|
167
|
+
* task-build path only; the `do spec:` path is unaffected.
|
|
210
168
|
*/
|
|
211
169
|
allowBacklog?: boolean;
|
|
212
170
|
/** The declared per-repo ENV-PREP step (string | list), run ONCE before the
|
|
@@ -222,7 +180,7 @@ export interface DoOptions {
|
|
|
222
180
|
*/
|
|
223
181
|
freshWorktreeGate?: boolean;
|
|
224
182
|
/**
|
|
225
|
-
* **The cross-job merge-serialiser CAS-retry cap** (config `mergeRetries`,
|
|
183
|
+
* **The cross-job merge-serialiser CAS-retry cap** (config `mergeRetries`, spec
|
|
226
184
|
* `land-time-reverify-and-parallel-merge-ceiling` Story 5 / Applied Answer q1
|
|
227
185
|
* (a)). Threaded VERBATIM into `performComplete` → `performIntegration` so a
|
|
228
186
|
* wide-matrix CI's raised cap actually reaches the cross-job land queue (the
|
|
@@ -257,7 +215,7 @@ export interface DoOptions {
|
|
|
257
215
|
*/
|
|
258
216
|
providerInstance?: ReviewProvider;
|
|
259
217
|
/**
|
|
260
|
-
* **Gate 2 — the PR/code review gate** (GATES
|
|
218
|
+
* **Gate 2 — the PR/code review gate** (GATES spec `work/specs/tasked/review.md`):
|
|
261
219
|
* threaded VERBATIM into `performComplete` (the gate rides inside the shared
|
|
262
220
|
* `do`/`complete` pipeline, so CI inherits it for free). When `review` is on,
|
|
263
221
|
* the `review` SKILL runs as a fresh-context agent AFTER the green `verify` and
|
|
@@ -271,7 +229,7 @@ export interface DoOptions {
|
|
|
271
229
|
reviewGate?: ReviewGate;
|
|
272
230
|
/**
|
|
273
231
|
* **The task-SET ACCEPTANCE GATE seam** (task `slice-acceptance-gate`):
|
|
274
|
-
* consumed ONLY by the `do
|
|
232
|
+
* consumed ONLY by the `do spec:<slug>` tasking path. When `review` resolves on,
|
|
275
233
|
* a fresh-context review of the produced task SET runs BEFORE the tasks
|
|
276
234
|
* integrate (riding `performIntegration`'s review block); `block` routes the set
|
|
277
235
|
* to needs-attention, `approve` lets it integrate. It rides the SAME BUILD
|
|
@@ -330,6 +288,22 @@ export interface DoOptions {
|
|
|
330
288
|
* a sink to assert the surfaced lines without a real terminal.
|
|
331
289
|
*/
|
|
332
290
|
watchSink?: (line: string) => void;
|
|
291
|
+
/**
|
|
292
|
+
* The dorfl-internal agent-session deadline in minutes (spec
|
|
293
|
+
* `graceful-pre-timeout-wip-checkpoint`). Threaded through {@link runDoAgent}
|
|
294
|
+
* to `launchWithOptionalWatch` — the harness races the child against it and
|
|
295
|
+
* flags a graceful stop on fire, which `performDo` routes as a CHECKPOINT
|
|
296
|
+
* (save WIP + auto-continue on progress under the ceiling, else surface).
|
|
297
|
+
* Absent ⇒ no deadline (a run that finishes on its own is byte-for-byte
|
|
298
|
+
* unchanged).
|
|
299
|
+
*/
|
|
300
|
+
agentDeadlineMinutes?: number;
|
|
301
|
+
/**
|
|
302
|
+
* Anti-loop ceiling on CONSECUTIVE deadline auto-continues (spec
|
|
303
|
+
* `graceful-pre-timeout-wip-checkpoint`). On hitting this the next
|
|
304
|
+
* deadline checkpoint surfaces to a human instead of auto-continuing.
|
|
305
|
+
*/
|
|
306
|
+
maxAutoCheckpoints?: number;
|
|
333
307
|
}
|
|
334
308
|
/**
|
|
335
309
|
* The agent-launch fields {@link runDoAgent} reads, shared by the in-place
|
|
@@ -354,6 +328,25 @@ interface DoAgentLaunchOptions {
|
|
|
354
328
|
watch?: boolean;
|
|
355
329
|
watchSink?: (line: string) => void;
|
|
356
330
|
color?: boolean;
|
|
331
|
+
/**
|
|
332
|
+
* **The dorfl-internal agent deadline in minutes** (spec
|
|
333
|
+
* `graceful-pre-timeout-wip-checkpoint`). Threaded to {@link runDoAgent},
|
|
334
|
+
* which converts it to a wall-clock `deadlineMs` and passes it to
|
|
335
|
+
* {@link launchWithOptionalWatch} — the pi harness races the child against
|
|
336
|
+
* that deadline. When the deadline fires, the agent is gracefully stopped
|
|
337
|
+
* (SIGTERM + 10s grace + SIGKILL) and the caller routes the run as a
|
|
338
|
+
* CHECKPOINT (save WIP + auto-continue / surface). Absent ⇒ no deadline
|
|
339
|
+
* (byte-for-byte the pre-task behaviour).
|
|
340
|
+
*/
|
|
341
|
+
agentDeadlineMinutes?: number;
|
|
342
|
+
/**
|
|
343
|
+
* **The anti-loop ceiling** for consecutive deadline auto-continues (spec
|
|
344
|
+
* `graceful-pre-timeout-wip-checkpoint`). On hitting this the next deadline
|
|
345
|
+
* checkpoint SURFACES to a human instead of auto-continuing. Absent ⇒
|
|
346
|
+
* unlimited (⇒ defensive callers should always thread the resolved config
|
|
347
|
+
* value; the default is 5).
|
|
348
|
+
*/
|
|
349
|
+
maxAutoCheckpoints?: number;
|
|
357
350
|
env?: NodeJS.ProcessEnv;
|
|
358
351
|
/**
|
|
359
352
|
* The optional runner IDENTITY (a bot). Threaded from the host-only
|
|
@@ -373,7 +366,7 @@ interface DoAgentLaunchOptions {
|
|
|
373
366
|
* there is no checkout, so the worktree is materialised under `workspacesDir`.
|
|
374
367
|
*/
|
|
375
368
|
export interface DoRemoteOptions extends DoAgentLaunchOptions {
|
|
376
|
-
/** The raw CLI slug argument: bare (= task), `task:<slug>`, or `
|
|
369
|
+
/** The raw CLI slug argument: bare (= task), `task:<slug>`, or `spec:<slug>`. */
|
|
377
370
|
arg: string;
|
|
378
371
|
/**
|
|
379
372
|
* The registered remote spec/URL to run against (`do --remote <r>`). Resolved
|
|
@@ -393,12 +386,12 @@ export interface DoRemoteOptions extends DoAgentLaunchOptions {
|
|
|
393
386
|
arbiter?: string;
|
|
394
387
|
/**
|
|
395
388
|
* Per-repo `autoTask` policy — gates the AUTO-PICK / pool path only. An
|
|
396
|
-
* EXPLICITLY-named `do --remote
|
|
389
|
+
* EXPLICITLY-named `do --remote spec:<slug>` tasks regardless of it (the
|
|
397
390
|
* dispatch passes `explicit: true`), mirroring `do <task>` vs `autoBuild`.
|
|
398
391
|
* Ignored by the task-build path.
|
|
399
392
|
*/
|
|
400
393
|
autoTask?: boolean;
|
|
401
|
-
/** The tasker review→edit→converge loop seam — `do --remote
|
|
394
|
+
/** The tasker review→edit→converge loop seam — `do --remote spec:<slug>` path only (see {@link DoOptions.reviewLoop}). */
|
|
402
395
|
reviewLoop?: TaskReviewGate;
|
|
403
396
|
/** The tasker improver loop's `taskerLoopMax` cap. Loop only. */
|
|
404
397
|
taskerLoopMax?: number;
|
|
@@ -415,24 +408,24 @@ export interface DoRemoteOptions extends DoAgentLaunchOptions {
|
|
|
415
408
|
explicitMerge?: boolean;
|
|
416
409
|
/**
|
|
417
410
|
* **Per-TRANSITION override for the TASKING transition only** (config
|
|
418
|
-
* `taskingIntegration`) on the `do --remote
|
|
411
|
+
* `taskingIntegration`) on the `do --remote spec:<slug>` path: threaded into
|
|
419
412
|
* {@link performTask} as `taskingIntegration ?? integration`. Unset ⇒ tasking
|
|
420
413
|
* uses `integration` (today's behaviour); the task-BUILD path always threads
|
|
421
414
|
* `integration`. See {@link DoOptions.taskingIntegration}.
|
|
422
415
|
*/
|
|
423
416
|
taskingIntegration?: IntegrationMode;
|
|
424
417
|
/**
|
|
425
|
-
* **The per-repo TASK-PLACEMENT default** (
|
|
418
|
+
* **The per-repo TASK-PLACEMENT default** (spec
|
|
426
419
|
* `staging-pool-position-gate-and-trust-model` US #5) on the `do --remote
|
|
427
|
-
*
|
|
420
|
+
* spec:<slug>` path: threaded into {@link performTask} as the
|
|
428
421
|
* configured-default rung. See {@link DoOptions.tasksLandIn}.
|
|
429
422
|
*/
|
|
430
|
-
tasksLandIn?: '
|
|
423
|
+
tasksLandIn?: 'backlog' | 'ready';
|
|
431
424
|
/**
|
|
432
425
|
* **The OPERATOR's EXPLICIT task-placement override** on the `do --remote
|
|
433
|
-
*
|
|
426
|
+
* spec:` path. See {@link DoOptions.explicitTasksLandIn}.
|
|
434
427
|
*/
|
|
435
|
-
explicitTasksLandIn?: '
|
|
428
|
+
explicitTasksLandIn?: 'backlog' | 'ready';
|
|
436
429
|
/** The declared per-repo ENV-PREP step (string | list), run ONCE before the
|
|
437
430
|
* first `verify` on a fresh worktree. Unset ⇒ a no-op (NO default install). */
|
|
438
431
|
prepare?: VerifyConfig;
|
|
@@ -446,7 +439,7 @@ export interface DoRemoteOptions extends DoAgentLaunchOptions {
|
|
|
446
439
|
*/
|
|
447
440
|
freshWorktreeGate?: boolean;
|
|
448
441
|
/**
|
|
449
|
-
* **The cross-job merge-serialiser CAS-retry cap** (config `mergeRetries`,
|
|
442
|
+
* **The cross-job merge-serialiser CAS-retry cap** (config `mergeRetries`, spec
|
|
450
443
|
* `land-time-reverify-and-parallel-merge-ceiling` Story 5 / Applied Answer q1
|
|
451
444
|
* (a)). Threaded VERBATIM into `performComplete` → `performIntegration` so the
|
|
452
445
|
* resolved cap reaches the cross-job land queue (the CAS loop IS the queue
|
|
@@ -484,7 +477,7 @@ export interface DoRemoteOptions extends DoAgentLaunchOptions {
|
|
|
484
477
|
reviewModel?: string;
|
|
485
478
|
reviewMaxRounds?: number;
|
|
486
479
|
reviewGate?: ReviewGate;
|
|
487
|
-
/** The task-SET ACCEPTANCE GATE seam — `do --remote
|
|
480
|
+
/** The task-SET ACCEPTANCE GATE seam — `do --remote spec:<slug>` path only (see {@link DoOptions.taskReviewGate}). */
|
|
488
481
|
taskReviewGate?: ReviewGate;
|
|
489
482
|
/**
|
|
490
483
|
* **`--allow-backlog`** on the no-checkout `do --remote`/`--isolated` path (see
|
|
@@ -606,7 +599,7 @@ export declare function performDoRemote(options: DoRemoteOptions): Promise<DoRes
|
|
|
606
599
|
* identity) ride VERBATIM from the threaded `DoOptions` onto the structurally-
|
|
607
600
|
* matching {@link DoRemoteOptions} fields; `cwd` is DROPPED (the worktree replaces
|
|
608
601
|
* it) and `remote` + `workspacesDir` are supplied from this driver's closure (the
|
|
609
|
-
* mirror's arbiter URL + the agents' execution area). A `
|
|
602
|
+
* mirror's arbiter URL + the agents' execution area). A `spec:` arg flows through
|
|
610
603
|
* unchanged — `performDoRemote` tasks it against the claim clone with NO build
|
|
611
604
|
* worktree (the tasking/surface/triage/apply rungs are tree-less ledger moves, the
|
|
612
605
|
* substrate the task's criterion 4 preserves).
|
package/dist/do.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"do.d.ts","sourceRoot":"","sources":["../src/do.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAC,cAAc,EAAC,MAAM,yBAAyB,CAAC;AA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