dorfl 0.0.0 → 0.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/dist/advance-ci-template.d.ts +73 -0
- package/dist/advance-ci-template.d.ts.map +1 -0
- package/dist/advance-ci-template.js +104 -0
- package/dist/advance-ci-template.js.map +1 -0
- package/dist/advance-classify.d.ts +132 -0
- package/dist/advance-classify.d.ts.map +1 -0
- package/dist/advance-classify.js +120 -0
- package/dist/advance-classify.js.map +1 -0
- package/dist/advance-drivers.d.ts +182 -0
- package/dist/advance-drivers.d.ts.map +1 -0
- package/dist/advance-drivers.js +231 -0
- package/dist/advance-drivers.js.map +1 -0
- package/dist/advance-isolated.d.ts +156 -0
- package/dist/advance-isolated.d.ts.map +1 -0
- package/dist/advance-isolated.js +256 -0
- package/dist/advance-isolated.js.map +1 -0
- package/dist/advance-lifecycle-template.d.ts +107 -0
- package/dist/advance-lifecycle-template.d.ts.map +1 -0
- package/dist/advance-lifecycle-template.js +668 -0
- package/dist/advance-lifecycle-template.js.map +1 -0
- package/dist/advance-loop-driver.d.ts +325 -0
- package/dist/advance-loop-driver.d.ts.map +1 -0
- package/dist/advance-loop-driver.js +437 -0
- package/dist/advance-loop-driver.js.map +1 -0
- package/dist/advance-treeless-publish.d.ts +108 -0
- package/dist/advance-treeless-publish.d.ts.map +1 -0
- package/dist/advance-treeless-publish.js +71 -0
- package/dist/advance-treeless-publish.js.map +1 -0
- package/dist/advance.d.ts +340 -0
- package/dist/advance.d.ts.map +1 -0
- package/dist/advance.js +1122 -0
- package/dist/advance.js.map +1 -0
- package/dist/advancing-lock.d.ts +294 -0
- package/dist/advancing-lock.d.ts.map +1 -0
- package/dist/advancing-lock.js +594 -0
- package/dist/advancing-lock.js.map +1 -0
- package/dist/agent-launch.d.ts +79 -0
- package/dist/agent-launch.d.ts.map +1 -0
- package/dist/agent-launch.js +61 -0
- package/dist/agent-launch.js.map +1 -0
- package/dist/agent-stop.d.ts +149 -0
- package/dist/agent-stop.d.ts.map +1 -0
- package/dist/agent-stop.js +307 -0
- package/dist/agent-stop.js.map +1 -0
- package/dist/apply-decide.d.ts +127 -0
- package/dist/apply-decide.d.ts.map +1 -0
- package/dist/apply-decide.js +176 -0
- package/dist/apply-decide.js.map +1 -0
- package/dist/apply-merge-action.d.ts +206 -0
- package/dist/apply-merge-action.d.ts.map +1 -0
- package/dist/apply-merge-action.js +307 -0
- package/dist/apply-merge-action.js.map +1 -0
- package/dist/apply-persist.d.ts +174 -0
- package/dist/apply-persist.d.ts.map +1 -0
- package/dist/apply-persist.js +359 -0
- package/dist/apply-persist.js.map +1 -0
- package/dist/arbiter.d.ts +120 -0
- package/dist/arbiter.d.ts.map +1 -0
- package/dist/arbiter.js +255 -0
- package/dist/arbiter.js.map +1 -0
- package/dist/brand.d.ts +70 -0
- package/dist/brand.d.ts.map +1 -0
- package/dist/brand.js +84 -0
- package/dist/brand.js.map +1 -0
- package/dist/buildable-body.d.ts +132 -0
- package/dist/buildable-body.d.ts.map +1 -0
- package/dist/buildable-body.js +131 -0
- package/dist/buildable-body.js.map +1 -0
- package/dist/categorise.d.ts +66 -0
- package/dist/categorise.d.ts.map +1 -0
- package/dist/categorise.js +106 -0
- package/dist/categorise.js.map +1 -0
- package/dist/claim-cas.d.ts +117 -0
- package/dist/claim-cas.d.ts.map +1 -0
- package/dist/claim-cas.js +312 -0
- package/dist/claim-cas.js.map +1 -0
- package/dist/cli-spinner.d.ts +112 -0
- package/dist/cli-spinner.d.ts.map +1 -0
- package/dist/cli-spinner.js +157 -0
- package/dist/cli-spinner.js.map +1 -0
- package/dist/cli.d.ts +11 -0
- package/dist/cli.d.ts.map +1 -0
- package/dist/cli.js +3094 -0
- package/dist/cli.js.map +1 -0
- package/dist/close-job-template.d.ts +70 -0
- package/dist/close-job-template.d.ts.map +1 -0
- package/dist/close-job-template.js +180 -0
- package/dist/close-job-template.js.map +1 -0
- package/dist/close-job.d.ts +95 -0
- package/dist/close-job.d.ts.map +1 -0
- package/dist/close-job.js +226 -0
- package/dist/close-job.js.map +1 -0
- package/dist/complete.d.ts +361 -0
- package/dist/complete.d.ts.map +1 -0
- package/dist/complete.js +885 -0
- package/dist/complete.js.map +1 -0
- package/dist/concurrency.d.ts +68 -0
- package/dist/concurrency.d.ts.map +1 -0
- package/dist/concurrency.js +112 -0
- package/dist/concurrency.js.map +1 -0
- package/dist/config-override.d.ts +76 -0
- package/dist/config-override.d.ts.map +1 -0
- package/dist/config-override.js +50 -0
- package/dist/config-override.js.map +1 -0
- package/dist/config.d.ts +668 -0
- package/dist/config.d.ts.map +1 -0
- package/dist/config.js +241 -0
- package/dist/config.js.map +1 -0
- package/dist/continue-branch.d.ts +249 -0
- package/dist/continue-branch.d.ts.map +1 -0
- package/dist/continue-branch.js +389 -0
- package/dist/continue-branch.js.map +1 -0
- package/dist/cwd-section.d.ts +186 -0
- package/dist/cwd-section.d.ts.map +1 -0
- package/dist/cwd-section.js +209 -0
- package/dist/cwd-section.js.map +1 -0
- package/dist/decision-engine.d.ts +170 -0
- package/dist/decision-engine.d.ts.map +1 -0
- package/dist/decision-engine.js +136 -0
- package/dist/decision-engine.js.map +1 -0
- package/dist/detect.d.ts +17 -0
- package/dist/detect.d.ts.map +1 -0
- package/dist/detect.js +118 -0
- package/dist/detect.js.map +1 -0
- package/dist/do-autopick.d.ts +85 -0
- package/dist/do-autopick.d.ts.map +1 -0
- package/dist/do-autopick.js +112 -0
- package/dist/do-autopick.js.map +1 -0
- package/dist/do-config.d.ts +312 -0
- package/dist/do-config.d.ts.map +1 -0
- package/dist/do-config.js +358 -0
- package/dist/do-config.js.map +1 -0
- package/dist/do-remote-auto.d.ts +75 -0
- package/dist/do-remote-auto.d.ts.map +1 -0
- package/dist/do-remote-auto.js +111 -0
- package/dist/do-remote-auto.js.map +1 -0
- package/dist/do.d.ts +621 -0
- package/dist/do.d.ts.map +1 -0
- package/dist/do.js +1882 -0
- package/dist/do.js.map +1 -0
- package/dist/drop-source.d.ts +96 -0
- package/dist/drop-source.d.ts.map +1 -0
- package/dist/drop-source.js +91 -0
- package/dist/drop-source.js.map +1 -0
- package/dist/eligibility.d.ts +46 -0
- package/dist/eligibility.d.ts.map +1 -0
- package/dist/eligibility.js +34 -0
- package/dist/eligibility.js.map +1 -0
- package/dist/env-config.d.ts +51 -0
- package/dist/env-config.d.ts.map +1 -0
- package/dist/env-config.js +272 -0
- package/dist/env-config.js.map +1 -0
- package/dist/failure-cause.d.ts +70 -0
- package/dist/failure-cause.d.ts.map +1 -0
- package/dist/failure-cause.js +126 -0
- package/dist/failure-cause.js.map +1 -0
- package/dist/format.d.ts +43 -0
- package/dist/format.d.ts.map +1 -0
- package/dist/format.js +256 -0
- package/dist/format.js.map +1 -0
- package/dist/frontmatter.d.ts +215 -0
- package/dist/frontmatter.d.ts.map +1 -0
- package/dist/frontmatter.js +345 -0
- package/dist/frontmatter.js.map +1 -0
- package/dist/gate-readiness.d.ts +84 -0
- package/dist/gate-readiness.d.ts.map +1 -0
- package/dist/gate-readiness.js +103 -0
- package/dist/gate-readiness.js.map +1 -0
- package/dist/gc.d.ts +165 -0
- package/dist/gc.d.ts.map +1 -0
- package/dist/gc.js +313 -0
- package/dist/gc.js.map +1 -0
- package/dist/gh-failure.d.ts +42 -0
- package/dist/gh-failure.d.ts.map +1 -0
- package/dist/gh-failure.js +49 -0
- package/dist/gh-failure.js.map +1 -0
- package/dist/git.d.ts +75 -0
- package/dist/git.d.ts.map +1 -0
- package/dist/git.js +130 -0
- package/dist/git.js.map +1 -0
- package/dist/github.d.ts +187 -0
- package/dist/github.d.ts.map +1 -0
- package/dist/github.js +343 -0
- package/dist/github.js.map +1 -0
- package/dist/harness.d.ts +242 -0
- package/dist/harness.d.ts.map +1 -0
- package/dist/harness.js +157 -0
- package/dist/harness.js.map +1 -0
- package/dist/identity.d.ts +167 -0
- package/dist/identity.d.ts.map +1 -0
- package/dist/identity.js +231 -0
- package/dist/identity.js.map +1 -0
- package/dist/index.d.ts +147 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +76 -0
- package/dist/index.js.map +1 -0
- package/dist/install-ci-branch-protection.d.ts +147 -0
- package/dist/install-ci-branch-protection.d.ts.map +1 -0
- package/dist/install-ci-branch-protection.js +166 -0
- package/dist/install-ci-branch-protection.js.map +1 -0
- package/dist/install-ci-capabilities/advance-lifecycle.d.ts +15 -0
- package/dist/install-ci-capabilities/advance-lifecycle.d.ts.map +1 -0
- package/dist/install-ci-capabilities/advance-lifecycle.js +28 -0
- package/dist/install-ci-capabilities/advance-lifecycle.js.map +1 -0
- package/dist/install-ci-capabilities/close-job.d.ts +13 -0
- package/dist/install-ci-capabilities/close-job.d.ts.map +1 -0
- package/dist/install-ci-capabilities/close-job.js +26 -0
- package/dist/install-ci-capabilities/close-job.js.map +1 -0
- package/dist/install-ci-capabilities/example-noop.d.ts +16 -0
- package/dist/install-ci-capabilities/example-noop.d.ts.map +1 -0
- package/dist/install-ci-capabilities/example-noop.js +23 -0
- package/dist/install-ci-capabilities/example-noop.js.map +1 -0
- package/dist/install-ci-capabilities/intake.d.ts +15 -0
- package/dist/install-ci-capabilities/intake.d.ts.map +1 -0
- package/dist/install-ci-capabilities/intake.js +28 -0
- package/dist/install-ci-capabilities/intake.js.map +1 -0
- package/dist/install-ci-capabilities/verify.d.ts +14 -0
- package/dist/install-ci-capabilities/verify.d.ts.map +1 -0
- package/dist/install-ci-capabilities/verify.js +27 -0
- package/dist/install-ci-capabilities/verify.js.map +1 -0
- package/dist/install-ci-core.d.ts +446 -0
- package/dist/install-ci-core.d.ts.map +1 -0
- package/dist/install-ci-core.js +760 -0
- package/dist/install-ci-core.js.map +1 -0
- package/dist/install-ci-github.d.ts +167 -0
- package/dist/install-ci-github.d.ts.map +1 -0
- package/dist/install-ci-github.js +315 -0
- package/dist/install-ci-github.js.map +1 -0
- package/dist/install-ci.d.ts +105 -0
- package/dist/install-ci.d.ts.map +1 -0
- package/dist/install-ci.js +363 -0
- package/dist/install-ci.js.map +1 -0
- package/dist/intake-event.d.ts +88 -0
- package/dist/intake-event.d.ts.map +1 -0
- package/dist/intake-event.js +66 -0
- package/dist/intake-event.js.map +1 -0
- package/dist/intake-marker.d.ts +95 -0
- package/dist/intake-marker.d.ts.map +1 -0
- package/dist/intake-marker.js +127 -0
- package/dist/intake-marker.js.map +1 -0
- package/dist/intake-triage.d.ts +48 -0
- package/dist/intake-triage.d.ts.map +1 -0
- package/dist/intake-triage.js +95 -0
- package/dist/intake-triage.js.map +1 -0
- package/dist/intake-trigger-template.d.ts +185 -0
- package/dist/intake-trigger-template.d.ts.map +1 -0
- package/dist/intake-trigger-template.js +449 -0
- package/dist/intake-trigger-template.js.map +1 -0
- package/dist/intake.d.ts +569 -0
- package/dist/intake.d.ts.map +1 -0
- package/dist/intake.js +1628 -0
- package/dist/intake.js.map +1 -0
- package/dist/integration-core.d.ts +539 -0
- package/dist/integration-core.d.ts.map +1 -0
- package/dist/integration-core.js +2195 -0
- package/dist/integration-core.js.map +1 -0
- package/dist/integrator.d.ts +343 -0
- package/dist/integrator.d.ts.map +1 -0
- package/dist/integrator.js +400 -0
- package/dist/integrator.js.map +1 -0
- package/dist/isolation.d.ts +219 -0
- package/dist/isolation.d.ts.map +1 -0
- package/dist/isolation.js +261 -0
- package/dist/isolation.js.map +1 -0
- package/dist/issue-provider.d.ts +349 -0
- package/dist/issue-provider.d.ts.map +1 -0
- package/dist/issue-provider.js +360 -0
- package/dist/issue-provider.js.map +1 -0
- package/dist/item-lock.d.ts +626 -0
- package/dist/item-lock.d.ts.map +1 -0
- package/dist/item-lock.js +1381 -0
- package/dist/item-lock.js.map +1 -0
- package/dist/item-path.d.ts +49 -0
- package/dist/item-path.d.ts.map +1 -0
- package/dist/item-path.js +66 -0
- package/dist/item-path.js.map +1 -0
- package/dist/ledger-lint.d.ts +129 -0
- package/dist/ledger-lint.d.ts.map +1 -0
- package/dist/ledger-lint.js +249 -0
- package/dist/ledger-lint.js.map +1 -0
- package/dist/ledger-read.d.ts +357 -0
- package/dist/ledger-read.d.ts.map +1 -0
- package/dist/ledger-read.js +442 -0
- package/dist/ledger-read.js.map +1 -0
- package/dist/ledger-write.d.ts +330 -0
- package/dist/ledger-write.d.ts.map +1 -0
- package/dist/ledger-write.js +411 -0
- package/dist/ledger-write.js.map +1 -0
- package/dist/lifecycle-gather.d.ts +30 -0
- package/dist/lifecycle-gather.d.ts.map +1 -0
- package/dist/lifecycle-gather.js +205 -0
- package/dist/lifecycle-gather.js.map +1 -0
- package/dist/lifecycle-pools.d.ts +180 -0
- package/dist/lifecycle-pools.d.ts.map +1 -0
- package/dist/lifecycle-pools.js +78 -0
- package/dist/lifecycle-pools.js.map +1 -0
- package/dist/merge-question-surfacer.d.ts +166 -0
- package/dist/merge-question-surfacer.d.ts.map +1 -0
- package/dist/merge-question-surfacer.js +297 -0
- package/dist/merge-question-surfacer.js.map +1 -0
- package/dist/mint-adr.d.ts +126 -0
- package/dist/mint-adr.d.ts.map +1 -0
- package/dist/mint-adr.js +257 -0
- package/dist/mint-adr.js.map +1 -0
- package/dist/mirror-pool-scan.d.ts +125 -0
- package/dist/mirror-pool-scan.d.ts.map +1 -0
- package/dist/mirror-pool-scan.js +104 -0
- package/dist/mirror-pool-scan.js.map +1 -0
- package/dist/needs-attention.d.ts +341 -0
- package/dist/needs-attention.d.ts.map +1 -0
- package/dist/needs-attention.js +900 -0
- package/dist/needs-attention.js.map +1 -0
- package/dist/orphan-sidecar.d.ts +79 -0
- package/dist/orphan-sidecar.d.ts.map +1 -0
- package/dist/orphan-sidecar.js +71 -0
- package/dist/orphan-sidecar.js.map +1 -0
- package/dist/output.d.ts +48 -0
- package/dist/output.d.ts.map +1 -0
- package/dist/output.js +66 -0
- package/dist/output.js.map +1 -0
- package/dist/pi-harness.d.ts +179 -0
- package/dist/pi-harness.d.ts.map +1 -0
- package/dist/pi-harness.js +342 -0
- package/dist/pi-harness.js.map +1 -0
- package/dist/placement.d.ts +99 -0
- package/dist/placement.d.ts.map +1 -0
- package/dist/placement.js +67 -0
- package/dist/placement.js.map +1 -0
- package/dist/prd-to-spec.d.ts +315 -0
- package/dist/prd-to-spec.d.ts.map +1 -0
- package/dist/prd-to-spec.js +684 -0
- package/dist/prd-to-spec.js.map +1 -0
- package/dist/prepare.d.ts +121 -0
- package/dist/prepare.d.ts.map +1 -0
- package/dist/prepare.js +140 -0
- package/dist/prepare.js.map +1 -0
- package/dist/prompt.d.ts +360 -0
- package/dist/prompt.d.ts.map +1 -0
- package/dist/prompt.js +499 -0
- package/dist/prompt.js.map +1 -0
- package/dist/protocol/ADR-FORMAT.md +47 -0
- package/dist/protocol/CLAIM-PROTOCOL.md +217 -0
- package/dist/protocol/REVIEW-PROTOCOL.md +119 -0
- package/dist/protocol/SURFACE-PROTOCOL.md +121 -0
- package/dist/protocol/TASKING-PROTOCOL.md +122 -0
- package/dist/protocol/WORK-CONTRACT.md +276 -0
- package/dist/protocol/spec-template.md +71 -0
- package/dist/protocol/task-template.md +65 -0
- package/dist/readiness.d.ts +66 -0
- package/dist/readiness.d.ts.map +1 -0
- package/dist/readiness.js +36 -0
- package/dist/readiness.js.map +1 -0
- package/dist/reap-branches.d.ts +102 -0
- package/dist/reap-branches.d.ts.map +1 -0
- package/dist/reap-branches.js +149 -0
- package/dist/reap-branches.js.map +1 -0
- package/dist/recover-isolated.d.ts +72 -0
- package/dist/recover-isolated.d.ts.map +1 -0
- package/dist/recover-isolated.js +188 -0
- package/dist/recover-isolated.js.map +1 -0
- package/dist/registry.d.ts +172 -0
- package/dist/registry.d.ts.map +1 -0
- package/dist/registry.js +296 -0
- package/dist/registry.js.map +1 -0
- package/dist/repo-config.d.ts +201 -0
- package/dist/repo-config.d.ts.map +1 -0
- package/dist/repo-config.js +414 -0
- package/dist/repo-config.js.map +1 -0
- package/dist/repo-key.d.ts +20 -0
- package/dist/repo-key.d.ts.map +1 -0
- package/dist/repo-key.js +68 -0
- package/dist/repo-key.js.map +1 -0
- package/dist/repo-mirror.d.ts +177 -0
- package/dist/repo-mirror.d.ts.map +1 -0
- package/dist/repo-mirror.js +271 -0
- package/dist/repo-mirror.js.map +1 -0
- package/dist/retry-backoff.d.ts +90 -0
- package/dist/retry-backoff.d.ts.map +1 -0
- package/dist/retry-backoff.js +98 -0
- package/dist/retry-backoff.js.map +1 -0
- package/dist/review-gate.d.ts +173 -0
- package/dist/review-gate.d.ts.map +1 -0
- package/dist/review-gate.js +261 -0
- package/dist/review-gate.js.map +1 -0
- package/dist/review-verdict.d.ts +149 -0
- package/dist/review-verdict.d.ts.map +1 -0
- package/dist/review-verdict.js +332 -0
- package/dist/review-verdict.js.map +1 -0
- package/dist/run.d.ts +221 -0
- package/dist/run.d.ts.map +1 -0
- package/dist/run.js +963 -0
- package/dist/run.js.map +1 -0
- package/dist/scan.d.ts +308 -0
- package/dist/scan.d.ts.map +1 -0
- package/dist/scan.js +374 -0
- package/dist/scan.js.map +1 -0
- package/dist/select-order.d.ts +75 -0
- package/dist/select-order.d.ts.map +1 -0
- package/dist/select-order.js +108 -0
- package/dist/select-order.js.map +1 -0
- package/dist/select-priority.d.ts +188 -0
- package/dist/select-priority.d.ts.map +1 -0
- package/dist/select-priority.js +80 -0
- package/dist/select-priority.js.map +1 -0
- package/dist/select.d.ts +25 -0
- package/dist/select.d.ts.map +1 -0
- package/dist/select.js +43 -0
- package/dist/select.js.map +1 -0
- package/dist/session-path.d.ts +36 -0
- package/dist/session-path.d.ts.map +1 -0
- package/dist/session-path.js +129 -0
- package/dist/session-path.js.map +1 -0
- package/dist/sidecar-apply.d.ts +83 -0
- package/dist/sidecar-apply.d.ts.map +1 -0
- package/dist/sidecar-apply.js +111 -0
- package/dist/sidecar-apply.js.map +1 -0
- package/dist/sidecar.d.ts +245 -0
- package/dist/sidecar.d.ts.map +1 -0
- package/dist/sidecar.js +481 -0
- package/dist/sidecar.js.map +1 -0
- package/dist/slug-namespace.d.ts +204 -0
- package/dist/slug-namespace.d.ts.map +1 -0
- package/dist/slug-namespace.js +229 -0
- package/dist/slug-namespace.js.map +1 -0
- package/dist/spec-complete.d.ts +44 -0
- package/dist/spec-complete.d.ts.map +1 -0
- package/dist/spec-complete.js +69 -0
- package/dist/spec-complete.js.map +1 -0
- package/dist/start.d.ts +97 -0
- package/dist/start.d.ts.map +1 -0
- package/dist/start.js +633 -0
- package/dist/start.js.map +1 -0
- package/dist/status.d.ts +199 -0
- package/dist/status.d.ts.map +1 -0
- package/dist/status.js +228 -0
- package/dist/status.js.map +1 -0
- package/dist/surface-gate.d.ts +162 -0
- package/dist/surface-gate.d.ts.map +1 -0
- package/dist/surface-gate.js +206 -0
- package/dist/surface-gate.js.map +1 -0
- package/dist/surface-persist.d.ts +86 -0
- package/dist/surface-persist.d.ts.map +1 -0
- package/dist/surface-persist.js +129 -0
- package/dist/surface-persist.js.map +1 -0
- package/dist/tasker-review-loop.d.ts +249 -0
- package/dist/tasker-review-loop.d.ts.map +1 -0
- package/dist/tasker-review-loop.js +369 -0
- package/dist/tasker-review-loop.js.map +1 -0
- package/dist/tasking-eligibility.d.ts +74 -0
- package/dist/tasking-eligibility.d.ts.map +1 -0
- package/dist/tasking-eligibility.js +52 -0
- package/dist/tasking-eligibility.js.map +1 -0
- package/dist/tasking-lock.d.ts +111 -0
- package/dist/tasking-lock.d.ts.map +1 -0
- package/dist/tasking-lock.js +256 -0
- package/dist/tasking-lock.js.map +1 -0
- package/dist/tasking.d.ts +275 -0
- package/dist/tasking.d.ts.map +1 -0
- package/dist/tasking.js +952 -0
- package/dist/tasking.js.map +1 -0
- package/dist/triage-gate.d.ts +127 -0
- package/dist/triage-gate.d.ts.map +1 -0
- package/dist/triage-gate.js +139 -0
- package/dist/triage-gate.js.map +1 -0
- package/dist/triage-persist.d.ts +163 -0
- package/dist/triage-persist.d.ts.map +1 -0
- package/dist/triage-persist.js +387 -0
- package/dist/triage-persist.js.map +1 -0
- package/dist/verdict-json.d.ts +32 -0
- package/dist/verdict-json.d.ts.map +1 -0
- package/dist/verdict-json.js +74 -0
- package/dist/verdict-json.js.map +1 -0
- package/dist/verify-workflow-template.d.ts +60 -0
- package/dist/verify-workflow-template.d.ts.map +1 -0
- package/dist/verify-workflow-template.js +126 -0
- package/dist/verify-workflow-template.js.map +1 -0
- package/dist/verify.d.ts +60 -0
- package/dist/verify.d.ts.map +1 -0
- package/dist/verify.js +62 -0
- package/dist/verify.js.map +1 -0
- package/dist/watch-session.d.ts +112 -0
- package/dist/watch-session.d.ts.map +1 -0
- package/dist/watch-session.js +347 -0
- package/dist/watch-session.js.map +1 -0
- package/dist/work-layout.d.ts +198 -0
- package/dist/work-layout.d.ts.map +1 -0
- package/dist/work-layout.js +217 -0
- package/dist/work-layout.js.map +1 -0
- package/dist/work-on.d.ts +154 -0
- package/dist/work-on.d.ts.map +1 -0
- package/dist/work-on.js +387 -0
- package/dist/work-on.js.map +1 -0
- package/dist/workspace.d.ts +224 -0
- package/dist/workspace.d.ts.map +1 -0
- package/dist/workspace.js +325 -0
- package/dist/workspace.js.map +1 -0
- package/package.json +46 -2
- package/src/advance-ci-template.ts +203 -0
- package/src/advance-classify.ts +197 -0
- package/src/advance-drivers.ts +414 -0
- package/src/advance-isolated.ts +432 -0
- package/src/advance-lifecycle-template.ts +791 -0
- package/src/advance-loop-driver.ts +745 -0
- package/src/advance-treeless-publish.ts +177 -0
- package/src/advance.ts +1564 -0
- package/src/advancing-lock.ts +988 -0
- package/src/agent-launch.ts +137 -0
- package/src/agent-stop.ts +361 -0
- package/src/apply-decide.ts +242 -0
- package/src/apply-merge-action.ts +502 -0
- package/src/apply-persist.ts +518 -0
- package/src/arbiter.ts +372 -0
- package/src/brand.ts +111 -0
- package/src/buildable-body.ts +196 -0
- package/src/categorise.ts +158 -0
- package/src/claim-cas.ts +513 -0
- package/src/cli-spinner.ts +225 -0
- package/src/cli.ts +4369 -0
- package/src/close-job-template.ts +236 -0
- package/src/close-job.ts +319 -0
- package/src/complete.ts +1379 -0
- package/src/concurrency.ts +151 -0
- package/src/config-override.ts +116 -0
- package/src/config.ts +883 -0
- package/src/continue-branch.ts +542 -0
- package/src/cwd-section.ts +392 -0
- package/src/decision-engine.ts +272 -0
- package/src/detect.ts +124 -0
- package/src/do-autopick.ts +223 -0
- package/src/do-config.ts +589 -0
- package/src/do-remote-auto.ts +197 -0
- package/src/do.ts +2623 -0
- package/src/drop-source.ts +194 -0
- package/src/eligibility.ts +79 -0
- package/src/env-config.ts +305 -0
- package/src/failure-cause.ts +142 -0
- package/src/format.ts +313 -0
- package/src/frontmatter.ts +485 -0
- package/src/gate-readiness.ts +147 -0
- package/src/gc.ts +510 -0
- package/src/gh-failure.ts +53 -0
- package/src/git.ts +186 -0
- package/src/github.ts +468 -0
- package/src/harness.ts +355 -0
- package/src/identity.ts +322 -0
- package/src/index.ts +785 -0
- package/src/install-ci-branch-protection.ts +255 -0
- package/src/install-ci-capabilities/advance-lifecycle.ts +34 -0
- package/src/install-ci-capabilities/close-job.ts +32 -0
- package/src/install-ci-capabilities/example-noop.ts +24 -0
- package/src/install-ci-capabilities/intake.ts +34 -0
- package/src/install-ci-capabilities/verify.ts +33 -0
- package/src/install-ci-core.ts +1088 -0
- package/src/install-ci-github.ts +376 -0
- package/src/install-ci.ts +552 -0
- package/src/intake-event.ts +102 -0
- package/src/intake-marker.ts +195 -0
- package/src/intake-triage.ts +138 -0
- package/src/intake-trigger-template.ts +591 -0
- package/src/intake.ts +2445 -0
- package/src/integration-core.ts +3065 -0
- package/src/integrator.ts +771 -0
- package/src/isolation.ts +484 -0
- package/src/issue-provider.ts +733 -0
- package/src/item-lock.ts +1858 -0
- package/src/item-path.ts +75 -0
- package/src/ledger-lint.ts +332 -0
- package/src/ledger-read.ts +924 -0
- package/src/ledger-write.ts +865 -0
- package/src/lifecycle-gather.ts +298 -0
- package/src/lifecycle-pools.ts +250 -0
- package/src/merge-question-surfacer.ts +496 -0
- package/src/mint-adr.ts +362 -0
- package/src/mirror-pool-scan.ts +240 -0
- package/src/needs-attention.ts +1506 -0
- package/src/orphan-sidecar.ts +150 -0
- package/src/output.ts +89 -0
- package/src/pi-harness.ts +403 -0
- package/src/placement.ts +131 -0
- package/src/prd-to-spec.ts +1023 -0
- package/src/prepare.ts +230 -0
- package/src/prompt.ts +760 -0
- package/src/readiness.ts +98 -0
- package/src/reap-branches.ts +278 -0
- package/src/recover-isolated.ts +276 -0
- package/src/registry.ts +475 -0
- package/src/repo-config.ts +550 -0
- package/src/repo-key.ts +74 -0
- package/src/repo-mirror.ts +367 -0
- package/src/retry-backoff.ts +130 -0
- package/src/review-gate.ts +389 -0
- package/src/review-verdict.ts +422 -0
- package/src/run.ts +1430 -0
- package/src/scan.ts +611 -0
- package/src/select-order.ts +143 -0
- package/src/select-priority.ts +266 -0
- package/src/select.ts +62 -0
- package/src/session-path.ts +153 -0
- package/src/sidecar-apply.ts +216 -0
- package/src/sidecar.ts +700 -0
- package/src/slug-namespace.ts +367 -0
- package/src/spec-complete.ts +118 -0
- package/src/start.ts +974 -0
- package/src/status.ts +441 -0
- package/src/surface-gate.ts +337 -0
- package/src/surface-persist.ts +241 -0
- package/src/tasker-review-loop.ts +671 -0
- package/src/tasking-eligibility.ts +114 -0
- package/src/tasking-lock.ts +416 -0
- package/src/tasking.ts +1438 -0
- package/src/triage-gate.ts +248 -0
- package/src/triage-persist.ts +570 -0
- package/src/verdict-json.ts +73 -0
- package/src/verify-workflow-template.ts +159 -0
- package/src/verify.ts +123 -0
- package/src/watch-session.ts +397 -0
- package/src/work-layout.ts +262 -0
- package/src/work-on.ts +660 -0
- package/src/workspace.ts +502 -0
package/dist/run.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"run.js","sourceRoot":"","sources":["../src/run.ts"],"names":[],"mappings":"AAAA,OAAO,EAAc,qBAAqB,EAAC,MAAM,aAAa,CAAC;AAC/D,OAAO,EAAC,iBAAiB,EAAC,MAAM,kBAAkB,CAAC;AAEnD,OAAO,EAAC,IAAI,EAAkB,MAAM,WAAW,CAAC;AAChD,OAAO,EAAC,gBAAgB,EAAiB,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AAC,CAAC;QACzB,CAAC;IACF,CAAC;IAED,OAAO;QACN,UAAU,EAAE,KAAK,CAAC,MAAM;QACxB,SAAS;QACT,cAAc,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,cAAc,EAAE,CAAC,CAAC;QAC/D,OAAO,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC;QACjD,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC;QAC/C,cAAc,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,cAAc,EAAE,CAAC,CAAC;QAC/D,KAAK;KACL,CAAC;AACH,CAAC"}
|
package/dist/scan.d.ts
ADDED
|
@@ -0,0 +1,308 @@
|
|
|
1
|
+
import type { Config } from './config.js';
|
|
2
|
+
import type { ConfigOverrideMap } from './config-override.js';
|
|
3
|
+
import { type EligibilityResult } from './eligibility.js';
|
|
4
|
+
import { type LedgerReadyItem, type LedgerSpecPool, type LocalLedgerState } from './ledger-read.js';
|
|
5
|
+
import { type DuplicateSlug } from './ledger-lint.js';
|
|
6
|
+
import type { LifecyclePoolGates } from './lifecycle-pools.js';
|
|
7
|
+
import { type LockEntry } from './item-lock.js';
|
|
8
|
+
/**
|
|
9
|
+
* The CREATE-side lifecycle gates for the propose-matrix lifecycle pool, derived
|
|
10
|
+
* from a repo's resolved config. Maps the config's question-surfacing gate family
|
|
11
|
+
* onto the boolean {@link LifecyclePoolGates} `buildLifecyclePools` takes:
|
|
12
|
+
*
|
|
13
|
+
* - `observationTriage !== 'off'` ⇒ `triage` ON (BOTH `ask` and `auto` enumerate
|
|
14
|
+
* triage candidates into the matrix identically; the ask/auto distinction is a
|
|
15
|
+
* DISPOSITION concern enforced LATER by the triage rung itself, not by whether
|
|
16
|
+
* a leg exists — the matrix only decides "is there a leg at all?").
|
|
17
|
+
* - `surfaceBlockers` ⇒ `surface` ON.
|
|
18
|
+
*
|
|
19
|
+
* `apply` is NOT a gate (CONSUME is always-on; `buildLifecyclePools` enumerates
|
|
20
|
+
* answered sidecars regardless), so a committed answer always applies even with
|
|
21
|
+
* both create-gates calm — the same create-vs-consume invariant the autopick
|
|
22
|
+
* drivers honour (ADR `ci-config-policy-and-gate-family` §4). Reused on BOTH the
|
|
23
|
+
* mirror (`scan`) and in-place (`scanRepoPaths`) substrates so the propose matrix
|
|
24
|
+
* agrees with the `advance -n` / `run` selection.
|
|
25
|
+
*/
|
|
26
|
+
export declare function lifecycleGatesFrom(config: {
|
|
27
|
+
observationTriage: string;
|
|
28
|
+
surfaceBlockers: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* Spec `staging-surface-and-apply-promote-safety` F2 — the gate that widens
|
|
31
|
+
* the SURFACE candidate set into STAGING (`tasks/backlog/` + `prds/proposed/`).
|
|
32
|
+
* Threaded here so the `scan --json` `lifecycle.surface[]` reflects the
|
|
33
|
+
* expanded pool and the CI matrix enumerates staging surface legs. BUILD/claim
|
|
34
|
+
* stays pool-only — only this lifecycle path widens.
|
|
35
|
+
*/
|
|
36
|
+
surfaceStaging: boolean;
|
|
37
|
+
}): LifecyclePoolGates;
|
|
38
|
+
/**
|
|
39
|
+
* A lifecycle item as it appears on a {@link RepoReport.lifecycle} sub-pool: the
|
|
40
|
+
* bare `slug` plus, for surface/apply, the `namespace` discriminator the matrix
|
|
41
|
+
* `jq` projects into a `task:`/`spec:`/`observation:` prefix. Triage items carry
|
|
42
|
+
* only `{slug}` — the `obs:` prefix is fixed in the matrix `jq`.
|
|
43
|
+
*/
|
|
44
|
+
export interface ScannedTriageItem {
|
|
45
|
+
slug: string;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* A surface/apply lifecycle item, with its namespace. SURFACE only ever carries
|
|
49
|
+
* `needsAnswers` task/prd items (an observation with no sidecar goes to `triage`,
|
|
50
|
+
* not `surface`). APPLY, however, ALSO carries an ANSWERED OBSERVATION: since the
|
|
51
|
+
* classifier (`buildLifecyclePools`) routes an observation whose sidecar is
|
|
52
|
+
* all-answered to `apply` (CONSUME, always-on), the projection MUST keep it here
|
|
53
|
+
* so the CI enumerate `jq` (`.namespace + ":" + .slug`) emits an `observation:<slug>`
|
|
54
|
+
* apply leg. Dropping it (the pre-`route-answered-observation-sidecar-to-apply-pool`
|
|
55
|
+
* assumption that apply is task/spec-only) STRANDS every answered observation:
|
|
56
|
+
* gone from `triage` AND absent from `apply`, so CI never schedules it.
|
|
57
|
+
*/
|
|
58
|
+
export interface ScannedBlockedItem {
|
|
59
|
+
namespace: 'task' | 'spec' | 'observation';
|
|
60
|
+
slug: string;
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* The per-repo LIFECYCLE pool on `scan --json` (the `triage`/`surface`/`apply`
|
|
64
|
+
* companion of `items[]`/`prds[]`), gated by the per-repo question-surfacing
|
|
65
|
+
* config and computed by REUSING `lifecycle-gather.ts` → {@link buildLifecyclePools}
|
|
66
|
+
* (NOT a forked predicate) so it AGREES with the `advance -n` / `run` selection.
|
|
67
|
+
* This is what makes the propose-mode CI matrix enumerate the WHOLE answer-loop —
|
|
68
|
+
* `obs:<slug>` triage legs, `task:`/`spec:<slug>` surface legs (`needsAnswers`, no
|
|
69
|
+
* answered sidecar) AND `task:`/`spec:<slug>` apply legs (`needsAnswers`, answered
|
|
70
|
+
* sidecar) — not only build/task legs
|
|
71
|
+
* (`ci-propose-matrix-enumerates-lifecycle-items`). Inert by default: with
|
|
72
|
+
* `observationTriage:off` + `surfaceBlockers:false` (the calm defaults) triage +
|
|
73
|
+
* surface are empty; apply is the always-on consume pool.
|
|
74
|
+
*/
|
|
75
|
+
export interface ScannedLifecycle {
|
|
76
|
+
/** Untriaged observations → `obs:<slug>` legs (gated by `observationTriage`). */
|
|
77
|
+
triage: ScannedTriageItem[];
|
|
78
|
+
/** `needsAnswers` task/prd items with no answered sidecar → surface legs (gated by `surfaceBlockers`). */
|
|
79
|
+
surface: ScannedBlockedItem[];
|
|
80
|
+
/**
|
|
81
|
+
* Items WITH an all-answered sidecar → apply legs (CONSUME, always-on). Carries
|
|
82
|
+
* `needsAnswers` tasks/prds AND answered OBSERVATIONS (namespace `'observation'`),
|
|
83
|
+
* so the matrix `jq` emits `task:`/`spec:`/`observation:` apply legs alike.
|
|
84
|
+
*/
|
|
85
|
+
apply: ScannedBlockedItem[];
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* One agent-POOL task with its parsed gate/deps, before eligibility resolution.
|
|
89
|
+
* This IS the read seam's resolved pool shape ({@link LedgerReadyItem}); the
|
|
90
|
+
* `Ready` noun follows the agent-pool folder `work/tasks/ready/` (staging is
|
|
91
|
+
* `work/tasks/backlog/`), per ADR `rename-task-pool-folder-todo-to-ready`.
|
|
92
|
+
*/
|
|
93
|
+
export type ReadyItem = LedgerReadyItem;
|
|
94
|
+
/** A pool item plus its resolved eligibility verdict. */
|
|
95
|
+
export interface ScannedItem extends ReadyItem {
|
|
96
|
+
eligibility: EligibilityResult;
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* A PRD entry in `scan --json`'s taskable-prd pool — the SAME shape an eligible
|
|
100
|
+
* task carries in `items[]` (a `slug` + an `eligibility.eligible` boolean), so
|
|
101
|
+
* the propose-matrix `jq` filter mirrors the task one: `select(.eligibility.eligible)
|
|
102
|
+
* | "spec:" + .slug`. "Eligible" here means TASKABLE — the per-repo `autoTask`
|
|
103
|
+
* gate + the `humanOnly`/`needsAnswers`/`taskedAfter` predicates of `taskableSpecs`
|
|
104
|
+
* (`autoslice-gate`'s pure predicate). Sits under {@link RepoReport.prds} (and
|
|
105
|
+
* the cwd section's `repo.prds`), DISTINCT from the task-only `items[]` because
|
|
106
|
+
* tasks and prds are different verbs and project to different `task:`/`spec:`
|
|
107
|
+
* prefixes — a discriminator on `items[]` would pollute the surface other readers
|
|
108
|
+
* already consume.
|
|
109
|
+
*/
|
|
110
|
+
export interface ScannedSpec {
|
|
111
|
+
slug: string;
|
|
112
|
+
eligibility: {
|
|
113
|
+
eligible: boolean;
|
|
114
|
+
};
|
|
115
|
+
}
|
|
116
|
+
/** All scanned pool (`work/tasks/ready/`) items for one participating repo. */
|
|
117
|
+
export interface RepoReport {
|
|
118
|
+
/**
|
|
119
|
+
* The repo identity for this row. In the registry model (`scan`) it is the
|
|
120
|
+
* hub-mirror PATH; for the working-tree scan (`run`, in-place) it is the
|
|
121
|
+
* working checkout path.
|
|
122
|
+
*/
|
|
123
|
+
path: string;
|
|
124
|
+
items: ScannedItem[];
|
|
125
|
+
/**
|
|
126
|
+
* The TASKABLE-SPEC pool for this repo (the `specs[]` companion of `items[]`):
|
|
127
|
+
* every spec in `work/prds/ready/` not already in `work/prds/tasked/`, each tagged with
|
|
128
|
+
* `eligibility.eligible` from {@link taskableSpecs} (the SAME `autoslice-gate`
|
|
129
|
+
* predicate the mirror-side pool scan uses — NOT a forked predicate). This is
|
|
130
|
+
* what makes the propose-mode CI matrix enumerate `spec:<slug>` legs for ready
|
|
131
|
+
* ungated prds alongside `task:<slug>` legs for eligible tasks (the
|
|
132
|
+
* `ci-propose-matrix-must-enumerate-sliceable-prds-not-only-slices` task): the
|
|
133
|
+
* propose `enumerate` `jq` unions both pools and emits one matrix leg per item.
|
|
134
|
+
* The `autoTask` gate still BINDS — a repo with `autoTask` off yields an
|
|
135
|
+
* all-`eligible:false` pool (so no `spec:` legs).
|
|
136
|
+
*/
|
|
137
|
+
specs: ScannedSpec[];
|
|
138
|
+
/**
|
|
139
|
+
* The per-repo LIFECYCLE pool (the `triage`/`surface`/`apply` companion of
|
|
140
|
+
* `items[]`/`prds[]`): untriaged observations + `needsAnswers` tasks/prds split
|
|
141
|
+
* by sidecar answered-state, gated by this repo's `observationTriage` /
|
|
142
|
+
* `surfaceBlockers` config and computed by REUSING `lifecycle-gather.ts` (NOT a
|
|
143
|
+
* forked predicate). Surfaced on BOTH `repos[]` (mirror) and `cwd.repo`
|
|
144
|
+
* (in-place), the same dual-surface `items`/`prds` use, so the propose-mode CI
|
|
145
|
+
* matrix can enumerate the WHOLE answer-loop
|
|
146
|
+
* (`ci-propose-matrix-enumerates-lifecycle-items`). Inert with the calm-default
|
|
147
|
+
* gates (empty triage/surface; apply is the always-on consume pool).
|
|
148
|
+
*/
|
|
149
|
+
lifecycle: ScannedLifecycle;
|
|
150
|
+
/**
|
|
151
|
+
* The one-slug-one-folder LINT result (prd `ledger-integrity` story 3): any
|
|
152
|
+
* slug present in MORE THAN ONE `work/` status folder in THIS repo's ledger.
|
|
153
|
+
* Empty ⇒ a clean ledger. Non-empty ⇒ a corrupt ledger the formatter WARNS
|
|
154
|
+
* about loudly and a human must resolve (never auto-fixed). Derived by listing
|
|
155
|
+
* folder residence, not from any index.
|
|
156
|
+
*/
|
|
157
|
+
ledgerDuplicates: DuplicateSlug[];
|
|
158
|
+
/**
|
|
159
|
+
* The PER-ITEM LOCK in-flight view for this repo (prd
|
|
160
|
+
* `ledger-status-per-item-lock-refs` US #8; task
|
|
161
|
+
* `needs-attention-as-stuck-lock-state`): the held lock entries read from the
|
|
162
|
+
* repo's `refs/dorfl/lock/*` refs — `active` holds (in-progress) and
|
|
163
|
+
* `stuck` holds (needs-attention) + reasons. ADDITIVE to the folder-based pool
|
|
164
|
+
* view above (the interim dual-write half; eligibility/selection stay OFFLINE on
|
|
165
|
+
* `main` from the pool `tasks/ready/`, with held slugs SUBTRACTED — this field is the
|
|
166
|
+
* read-only surface, NOT a selection input). Empty on a repo with no held locks
|
|
167
|
+
* or when the lock refs could not be read (best-effort, see
|
|
168
|
+
* {@link listItemLockEntries}). Optional so older literals stay valid.
|
|
169
|
+
*/
|
|
170
|
+
lockHeld?: LockEntry[];
|
|
171
|
+
}
|
|
172
|
+
/** The full cross-repo scan result. */
|
|
173
|
+
export interface ScanReport {
|
|
174
|
+
repos: RepoReport[];
|
|
175
|
+
totalItems: number;
|
|
176
|
+
totalEligible: number;
|
|
177
|
+
}
|
|
178
|
+
/**
|
|
179
|
+
* Collect the set of slugs present in a repo's `work/done/`. Used to resolve
|
|
180
|
+
* `blockedBy` (per-repo only). Falls back to the filename when an item has no
|
|
181
|
+
* `slug` frontmatter. Resolves THROUGH the read seam's local-tree method
|
|
182
|
+
* ({@link ledgerRead}) — the single insertion point for the `work/` state read.
|
|
183
|
+
*/
|
|
184
|
+
export declare function readDoneSlugs(repoPath: string): Set<string>;
|
|
185
|
+
/**
|
|
186
|
+
* Read and parse every `work/tasks/ready/*.md` (the agent POOL) for a repo, sorted
|
|
187
|
+
* by slug. Resolves THROUGH the read seam's local-tree method
|
|
188
|
+
* ({@link ledgerRead}).
|
|
189
|
+
*/
|
|
190
|
+
export declare function readReadyItems(repoPath: string): ReadyItem[];
|
|
191
|
+
/**
|
|
192
|
+
* Resolve a per-repo `ScannedItem[]` from an already-resolved `work/` state +
|
|
193
|
+
* the repo's `autoBuild` policy. The shared core of BOTH the registry scan
|
|
194
|
+
* (mirror-ref state) and the working-tree scan (`run`/in-place) — neither learns
|
|
195
|
+
* how the `work/` state was read; they just hand it here. Exported so the
|
|
196
|
+
* MIRROR-SIDE pool scan (`mirror-pool-scan.ts`) scores the bare-mirror task pool
|
|
197
|
+
* through the EXACT same eligibility path as in-place (`do-autopick`), not a fork.
|
|
198
|
+
*/
|
|
199
|
+
/**
|
|
200
|
+
* Score a prd pool down to its TASKABLE subset, then label every prd with
|
|
201
|
+
* `eligibility.eligible` (true ⇔ taskable). REUSES {@link taskableSpecs} —
|
|
202
|
+
* the SAME `autoslice-gate` predicate the mirror-side `scanMirrorPool` + the
|
|
203
|
+
* in-place `do-autopick` pool already run — so what is taskable does not
|
|
204
|
+
* fork between the autopick paths and the propose-matrix `scan --json` pool.
|
|
205
|
+
* The `autoTask` gate BINDS through that predicate; a config-less repo with
|
|
206
|
+
* `autoTask` off yields an all-`eligible:false` pool (no `spec:` legs).
|
|
207
|
+
*/
|
|
208
|
+
export declare function scoreSpecs(repoPath: string, pool: LedgerSpecPool, autoTask: boolean): ScannedSpec[];
|
|
209
|
+
/**
|
|
210
|
+
* Project the shared {@link buildLifecyclePools} result (via `gatherLifecycle*`)
|
|
211
|
+
* onto the `scan --json` {@link ScannedLifecycle} shape: triage items keep only
|
|
212
|
+
* their `slug` (the `obs:` prefix is fixed in the matrix `jq`), surface/apply keep
|
|
213
|
+
* `{namespace, slug}` so the `jq` projects the right `task:`/`spec:` prefix. NOT a
|
|
214
|
+
* re-enumeration — a pure shape map over the already-gated pools.
|
|
215
|
+
*
|
|
216
|
+
* The pool items' `namespace` is the wider {@link SelectedNamespace}. SURFACE by
|
|
217
|
+
* construction only carries `'task'`/`'prd'` (an observation with no sidecar is a
|
|
218
|
+
* `triage` candidate, never `surface`), so it narrows + drops any non-task/prd
|
|
219
|
+
* defensively. APPLY additionally admits `'observation'` (an answered observation
|
|
220
|
+
* sidecar → apply), and it MUST be kept so the matrix `jq` emits its
|
|
221
|
+
* `observation:<slug>` apply leg — narrowing it away here is exactly what stranded
|
|
222
|
+
* answered observations (present in neither `triage` nor `apply`). Any OTHER
|
|
223
|
+
* namespace is still dropped defensively.
|
|
224
|
+
*/
|
|
225
|
+
export declare function toScannedLifecycle(pools: {
|
|
226
|
+
triage: {
|
|
227
|
+
slug: string;
|
|
228
|
+
}[];
|
|
229
|
+
surface: {
|
|
230
|
+
namespace: string;
|
|
231
|
+
slug: string;
|
|
232
|
+
}[];
|
|
233
|
+
apply: {
|
|
234
|
+
namespace: string;
|
|
235
|
+
slug: string;
|
|
236
|
+
}[];
|
|
237
|
+
}): ScannedLifecycle;
|
|
238
|
+
export declare function scoreItems(state: Pick<LocalLedgerState, 'ready' | 'doneSlugs'>, autoBuild: boolean, counts: {
|
|
239
|
+
totalItems: number;
|
|
240
|
+
totalEligible: number;
|
|
241
|
+
}, heldSlugs?: Set<string>): ScannedItem[];
|
|
242
|
+
/**
|
|
243
|
+
* Read-only end-to-end scan over the REGISTRY (ADR §1): enumerate the registered
|
|
244
|
+
* hub mirrors under `<workspacesDir>/repos/`, **fetch each mirror's `main` first**
|
|
245
|
+
* (ADR §5/§6 — the remote is the source of truth in the registry model), then read
|
|
246
|
+
* each one's full `work/` lifecycle from its BARE `main` ref through the read
|
|
247
|
+
* seam's mirror method (mirrors have no working tree — `resolveLocalState`'s
|
|
248
|
+
* `readdirSync` cannot read them), and resolve eligibility per item (autonomy
|
|
249
|
+
* gate + per-repo `blockedBy`). Claims and runs nothing.
|
|
250
|
+
*
|
|
251
|
+
* **Fetch-first, never fatal:** the old "scan is always offline" invariant is
|
|
252
|
+
* RETIRED (it was the roots-local model); `scan` now refreshes each mirror's
|
|
253
|
+
* `main` before reading. A failed fetch (offline, dead arbiter) is NOT an error —
|
|
254
|
+
* it WARNS via `warn` and falls back to that mirror's last-known `main`, so the
|
|
255
|
+
* queue still reports (its freshness = the last successful fetch). This does NOT
|
|
256
|
+
* change the ledger read STRATEGY (`claim-ledger-vs-protected-main.md`): the
|
|
257
|
+
* offline read of `<mirror>/main:work/...` stays the single strategy — `scan`
|
|
258
|
+
* merely ensures that ref is fresh before reading it.
|
|
259
|
+
*
|
|
260
|
+
* Discovery is the registered hub-mirror set, NOT a config `roots` walk (there is
|
|
261
|
+
* no `roots`/`remotes` field). `scan`/`status` share the {@link listMirrors}
|
|
262
|
+
* primitive; the per-repo `work/` read goes through the seam's mirror-ref method.
|
|
263
|
+
*
|
|
264
|
+
* The autonomy gate's `autoBuild` policy is resolved PER REPO. NOTE: a bare
|
|
265
|
+
* mirror has no checked-out `.dorfl.json`, so the per-repo file cannot be
|
|
266
|
+
* read from it — the global/env-resolved policy applies (the per-repo override is
|
|
267
|
+
* a working-checkout concern, served by {@link scanRepoPaths}).
|
|
268
|
+
*/
|
|
269
|
+
export declare function scan(config: Config, options?: {
|
|
270
|
+
warn?: (message: string) => void;
|
|
271
|
+
env?: NodeJS.ProcessEnv;
|
|
272
|
+
/**
|
|
273
|
+
* The per-machine {@link ConfigOverrideMap} (from `loadConfigOverride`),
|
|
274
|
+
* threaded into the SAME per-repo resolution `do`/`run` use so the override
|
|
275
|
+
* applies to the registry-scan path too (ADR
|
|
276
|
+
* `per-machine-config-override-layer`). Default: empty (no override) —
|
|
277
|
+
* byte-identical to pre-override behaviour.
|
|
278
|
+
*/
|
|
279
|
+
override?: ConfigOverrideMap;
|
|
280
|
+
}): Promise<ScanReport>;
|
|
281
|
+
/**
|
|
282
|
+
* Read-only scan over an EXPLICIT set of working checkouts, used by the in-place
|
|
283
|
+
* worker paths (`run`) that operate on a real checkout rather than the registry's
|
|
284
|
+
* bare mirrors. This is a working-TREE read (it has nothing to fetch — the
|
|
285
|
+
* checkout IS the local state); the fetch-first contract (ADR §5/§6) applies to
|
|
286
|
+
* the REGISTRY `scan` above, which refreshes each bare mirror before reading.
|
|
287
|
+
* Reads each repo's `work/` via the read seam's local-tree method and honours its
|
|
288
|
+
* per-repo `.dorfl.json` `autoBuild`. The registry `scan` above is the
|
|
289
|
+
* mirror-ref counterpart; this is its working-tree sibling.
|
|
290
|
+
*/
|
|
291
|
+
export declare function scanRepoPaths(repoPaths: string[], config: Config,
|
|
292
|
+
/**
|
|
293
|
+
* The HELD-SLUG set to SUBTRACT from each repo's pool (`tasks/ready/`) (prd
|
|
294
|
+
* `ledger-status-per-item-lock-refs` US #15). This is a WORKING-TREE, OFFLINE
|
|
295
|
+
* scan (it has no arbiter handle to fetch the lock refs from — that is the
|
|
296
|
+
* registry `scan`'s job), so the held set is supplied by the in-place CALLER
|
|
297
|
+
* (which knows its arbiter) and DEFAULTS to empty: with the body still moving to
|
|
298
|
+
* `in-progress/` on claim the subtraction is redundant-but-harmless, so omitting
|
|
299
|
+
* it preserves the offline read while keeping the seam in place for task #9.
|
|
300
|
+
*/
|
|
301
|
+
heldSlugs?: Set<string>,
|
|
302
|
+
/**
|
|
303
|
+
* The per-machine {@link ConfigOverrideMap} — threaded into the per-repo
|
|
304
|
+
* resolution so the override applies to the in-place scan path too. Default:
|
|
305
|
+
* empty (no override).
|
|
306
|
+
*/
|
|
307
|
+
override?: ConfigOverrideMap): ScanReport;
|
|
308
|
+
//# sourceMappingURL=scan.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scan.d.ts","sourceRoot":"","sources":["../src/scan.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,MAAM,EAAC,MAAM,aAAa,CAAC;AACxC,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EAAqB,KAAK,iBAAiB,EAAC,MAAM,kBAAkB,CAAC;AAC5E,OAAO,EAEN,KAAK,eAAe,EACpB,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,MAAM,kBAAkB,CAAC;AAQ1B,OAAO,EAGN,KAAK,aAAa,EAClB,MAAM,kBAAkB,CAAC;AAK1B,OAAO,KAAK,EAAC,kBAAkB,EAAC,MAAM,sBAAsB,CAAC;AAC7D,OAAO,EAGN,KAAK,SAAS,EACd,MAAM,gBAAgB,CAAC;AAExB;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,kBAAkB,CAAC,MAAM,EAAE;IAC1C,iBAAiB,EAAE,MAAM,CAAC;IAC1B,eAAe,EAAE,OAAO,CAAC;IACzB;;;;;;OAMG;IACH,cAAc,EAAE,OAAO,CAAC;CACxB,GAAG,kBAAkB,CAMrB;AAED;;;;;GAKG;AACH,MAAM,WAAW,iBAAiB;IACjC,IAAI,EAAE,MAAM,CAAC;CACb;AACD;;;;;;;;;;GAUG;AACH,MAAM,WAAW,kBAAkB;IAClC,SAAS,EAAE,MAAM,GAAG,MAAM,GAAG,aAAa,CAAC;IAC3C,IAAI,EAAE,MAAM,CAAC;CACb;AAED;;;;;;;;;;;;GAYG;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