@intentius/chant 0.91.0 → 0.93.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/cli/commands/build.d.ts.map +1 -1
- package/dist/cli/commands/lint.d.ts.map +1 -1
- package/dist/cli/handlers/graph.d.ts.map +1 -1
- package/dist/cli/handlers/operator.d.ts +6 -0
- package/dist/cli/handlers/operator.d.ts.map +1 -1
- package/dist/cli/handlers/run.d.ts.map +1 -1
- package/dist/cli/main.d.ts.map +1 -1
- package/dist/cli/mcp/workspace-tools.d.ts +2 -1
- package/dist/cli/mcp/workspace-tools.d.ts.map +1 -1
- package/dist/cli/plugins.d.ts.map +1 -1
- package/dist/cli/registry.d.ts +12 -2
- package/dist/cli/registry.d.ts.map +1 -1
- package/dist/codegen/pinned-upgrade.d.ts.map +1 -1
- package/dist/config.d.ts +22 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/lexicon-module.d.ts +22 -0
- package/dist/lexicon-module.d.ts.map +1 -1
- package/dist/lifecycle/converge-ledger.d.ts +19 -0
- package/dist/lifecycle/converge-ledger.d.ts.map +1 -1
- package/dist/lifecycle/run-ledger.d.ts +2 -0
- package/dist/lifecycle/run-ledger.d.ts.map +1 -1
- package/dist/lifecycle/symptoms.d.ts +51 -0
- package/dist/lifecycle/symptoms.d.ts.map +1 -1
- package/dist/lint/rules/index.d.ts +4 -2
- package/dist/lint/rules/index.d.ts.map +1 -1
- package/dist/lint/rules/op/index.d.ts +14 -3
- package/dist/lint/rules/op/index.d.ts.map +1 -1
- package/dist/lint/rules/op/ops014-converge-rule-refusals.d.ts.map +1 -1
- package/dist/lint/rules/op/sys010-key-over-plain-http.d.ts +29 -0
- package/dist/lint/rules/op/sys010-key-over-plain-http.d.ts.map +1 -0
- package/dist/lint/rules/sys001-no-literal-key.d.ts +3 -0
- package/dist/lint/rules/sys001-no-literal-key.d.ts.map +1 -0
- package/dist/op/__fixtures__/decide-stub-backend.d.ts +53 -0
- package/dist/op/__fixtures__/decide-stub-backend.d.ts.map +1 -0
- package/dist/op/activities/activity-contracts.d.ts +201 -0
- package/dist/op/activities/activity-contracts.d.ts.map +1 -1
- package/dist/op/activities/apply.d.ts.map +1 -1
- package/dist/op/activities/change-coverage.d.ts +44 -0
- package/dist/op/activities/change-coverage.d.ts.map +1 -0
- package/dist/op/activities/converge.d.ts +24 -1
- package/dist/op/activities/converge.d.ts.map +1 -1
- package/dist/op/activities/decide.d.ts +107 -0
- package/dist/op/activities/decide.d.ts.map +1 -0
- package/dist/op/activities/index.d.ts +10 -0
- package/dist/op/activities/index.d.ts.map +1 -1
- package/dist/op/activities/shell.d.ts +32 -0
- package/dist/op/activities/shell.d.ts.map +1 -1
- package/dist/op/activities/source-release.d.ts +86 -0
- package/dist/op/activities/source-release.d.ts.map +1 -0
- package/dist/op/activities/source-rollback.d.ts +100 -0
- package/dist/op/activities/source-rollback.d.ts.map +1 -0
- package/dist/op/activities/work-evidence.d.ts +42 -0
- package/dist/op/activities/work-evidence.d.ts.map +1 -0
- package/dist/op/activity-contract.d.ts +1 -0
- package/dist/op/activity-contract.d.ts.map +1 -1
- package/dist/op/activity-profiles.d.ts +16 -0
- package/dist/op/activity-profiles.d.ts.map +1 -1
- package/dist/op/builders.d.ts +84 -2
- package/dist/op/builders.d.ts.map +1 -1
- package/dist/op/composites/converge-op.d.ts +31 -4
- package/dist/op/composites/converge-op.d.ts.map +1 -1
- package/dist/op/decide-backend.d.ts +116 -0
- package/dist/op/decide-backend.d.ts.map +1 -0
- package/dist/op/decide-config.d.ts +120 -0
- package/dist/op/decide-config.d.ts.map +1 -0
- package/dist/op/decide-read-inputs.d.ts +40 -0
- package/dist/op/decide-read-inputs.d.ts.map +1 -0
- package/dist/op/gate-wait.d.ts +43 -0
- package/dist/op/gate-wait.d.ts.map +1 -0
- package/dist/op/gate.d.ts +5 -2
- package/dist/op/gate.d.ts.map +1 -1
- package/dist/op/index.d.ts +11 -4
- package/dist/op/index.d.ts.map +1 -1
- package/dist/op/local-executor.d.ts +29 -4
- package/dist/op/local-executor.d.ts.map +1 -1
- package/dist/op/local-output.d.ts +2 -0
- package/dist/op/local-output.d.ts.map +1 -1
- package/dist/op/op-ir.d.ts +2 -0
- package/dist/op/op-ir.d.ts.map +1 -1
- package/dist/op/op-verb-class.d.ts.map +1 -1
- package/dist/op/operator.d.ts +97 -1
- package/dist/op/operator.d.ts.map +1 -1
- package/dist/op/runtime.d.ts +37 -5
- package/dist/op/runtime.d.ts.map +1 -1
- package/dist/op/runtimes/local.d.ts.map +1 -1
- package/dist/op/source-archive.d.ts +63 -0
- package/dist/op/source-archive.d.ts.map +1 -0
- package/dist/op/steward-points.d.ts +136 -0
- package/dist/op/steward-points.d.ts.map +1 -0
- package/dist/op/steward-turn.d.ts +53 -0
- package/dist/op/steward-turn.d.ts.map +1 -0
- package/dist/op/steward.d.ts +22 -1
- package/dist/op/steward.d.ts.map +1 -1
- package/dist/op/types.d.ts +7 -0
- package/dist/op/types.d.ts.map +1 -1
- package/dist/op/work-lease-run.d.ts +1 -1
- package/dist/op/work-lease-run.d.ts.map +1 -1
- package/dist/workspace/__fixtures__/decide-workspace.d.ts +100 -0
- package/dist/workspace/__fixtures__/decide-workspace.d.ts.map +1 -0
- package/dist/workspace/answers-ledger.d.ts +76 -0
- package/dist/workspace/answers-ledger.d.ts.map +1 -0
- package/dist/workspace/changes-cli.d.ts +16 -0
- package/dist/workspace/changes-cli.d.ts.map +1 -0
- package/dist/workspace/changes.d.ts +200 -0
- package/dist/workspace/changes.d.ts.map +1 -0
- package/dist/workspace/chant-migrations/chud-lexicon-exit-fly-site.d.ts +59 -0
- package/dist/workspace/chant-migrations/chud-lexicon-exit-fly-site.d.ts.map +1 -0
- package/dist/workspace/chant-migrations/chud-lexicon-exit-live-names.d.ts +51 -0
- package/dist/workspace/chant-migrations/chud-lexicon-exit-live-names.d.ts.map +1 -0
- package/dist/workspace/chant-migrations/chud-lexicon-exit-rollback.d.ts +26 -0
- package/dist/workspace/chant-migrations/chud-lexicon-exit-rollback.d.ts.map +1 -0
- package/dist/workspace/chant-migrations/chud-lexicon-exit-ship-inputs.d.ts +59 -0
- package/dist/workspace/chant-migrations/chud-lexicon-exit-ship-inputs.d.ts.map +1 -0
- package/dist/workspace/chant-migrations/chud-lexicon-exit-ship-policy.d.ts +22 -0
- package/dist/workspace/chant-migrations/chud-lexicon-exit-ship-policy.d.ts.map +1 -0
- package/dist/workspace/chant-migrations/chud-lexicon-exit.d.ts +71 -0
- package/dist/workspace/chant-migrations/chud-lexicon-exit.d.ts.map +1 -0
- package/dist/workspace/chant-migrations.d.ts +99 -0
- package/dist/workspace/chant-migrations.d.ts.map +1 -0
- package/dist/workspace/checks/boxes.d.ts +34 -1
- package/dist/workspace/checks/boxes.d.ts.map +1 -1
- package/dist/workspace/checks/diagrams.d.ts +31 -0
- package/dist/workspace/checks/diagrams.d.ts.map +1 -0
- package/dist/workspace/checks/records.d.ts +7 -0
- package/dist/workspace/checks/records.d.ts.map +1 -1
- package/dist/workspace/checks.d.ts +3 -0
- package/dist/workspace/checks.d.ts.map +1 -1
- package/dist/workspace/compose-graph.d.ts +2 -0
- package/dist/workspace/compose-graph.d.ts.map +1 -1
- package/dist/workspace/conformance/index.d.ts.map +1 -1
- package/dist/workspace/decide.d.ts +49 -4
- package/dist/workspace/decide.d.ts.map +1 -1
- package/dist/workspace/declaration.d.ts +52 -0
- package/dist/workspace/declaration.d.ts.map +1 -1
- package/dist/workspace/declaration.schema.json +114 -1
- package/dist/workspace/declared-kinds.d.ts +20 -0
- package/dist/workspace/declared-kinds.d.ts.map +1 -1
- package/dist/workspace/generated-files.d.ts +7 -0
- package/dist/workspace/generated-files.d.ts.map +1 -1
- package/dist/workspace/intent.d.ts.map +1 -1
- package/dist/workspace/lineage-check.d.ts +3 -0
- package/dist/workspace/lineage-check.d.ts.map +1 -1
- package/dist/workspace/lineage-upgrade.d.ts +6 -1
- package/dist/workspace/lineage-upgrade.d.ts.map +1 -1
- package/dist/workspace/ls.d.ts +39 -1
- package/dist/workspace/ls.d.ts.map +1 -1
- package/dist/workspace/point-answer.schema.json +95 -0
- package/dist/workspace/points-cli.d.ts.map +1 -1
- package/dist/workspace/points.d.ts +1 -1
- package/dist/workspace/reason-codes.d.ts +14 -2
- package/dist/workspace/reason-codes.d.ts.map +1 -1
- package/dist/workspace/records-cli.d.ts +11 -1
- package/dist/workspace/records-cli.d.ts.map +1 -1
- package/dist/workspace/records-close.d.ts +1 -1
- package/dist/workspace/records-close.d.ts.map +1 -1
- package/dist/workspace/records-write.d.ts +11 -5
- package/dist/workspace/records-write.d.ts.map +1 -1
- package/dist/workspace/records.d.ts +34 -4
- package/dist/workspace/records.d.ts.map +1 -1
- package/dist/workspace/status-gates.d.ts +7 -2
- package/dist/workspace/status-gates.d.ts.map +1 -1
- package/dist/workspace/status-stewards.d.ts +59 -1
- package/dist/workspace/status-stewards.d.ts.map +1 -1
- package/dist/workspace/status.d.ts +16 -0
- package/dist/workspace/status.d.ts.map +1 -1
- package/dist/workspace/work-cli.d.ts +113 -2
- package/dist/workspace/work-cli.d.ts.map +1 -1
- package/dist/workspace/work-evidence.d.ts +74 -0
- package/dist/workspace/work-evidence.d.ts.map +1 -0
- package/dist/workspace/work.d.ts +43 -1
- package/dist/workspace/work.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/cli/commands/audit.test.ts +9 -1
- package/src/cli/commands/build.ts +3 -2
- package/src/cli/commands/lint.ts +7 -1
- package/src/cli/handlers/graph.test.ts +20 -0
- package/src/cli/handlers/graph.ts +16 -2
- package/src/cli/handlers/operator.ts +34 -2
- package/src/cli/handlers/run.test.ts +154 -2
- package/src/cli/handlers/run.ts +121 -2
- package/src/cli/main.test.ts +10 -0
- package/src/cli/main.ts +19 -0
- package/src/cli/mcp/workspace-tools.test.ts +35 -19
- package/src/cli/mcp/workspace-tools.ts +62 -4
- package/src/cli/plugins.ts +11 -3
- package/src/cli/registry.ts +12 -2
- package/src/codegen/pinned-upgrade.ts +2 -1
- package/src/codegen/release-wiring.test.ts +49 -2
- package/src/components/capability-plugin-loader.ts +3 -3
- package/src/components/cli-support.ts +2 -2
- package/src/config.ts +11 -0
- package/src/lexicon-module.ts +56 -1
- package/src/lexicon-package.test.ts +96 -0
- package/src/lifecycle/converge-ledger.ts +20 -0
- package/src/lifecycle/run-ledger.ts +6 -0
- package/src/lifecycle/symptoms.ts +95 -0
- package/src/lint/rules/index.ts +6 -2
- package/src/lint/rules/op/index.ts +17 -4
- package/src/lint/rules/op/ops014-converge-rule-refusals.test.ts +23 -1
- package/src/lint/rules/op/ops014-converge-rule-refusals.ts +10 -6
- package/src/lint/rules/op/sys010-key-over-plain-http.test.ts +52 -0
- package/src/lint/rules/op/sys010-key-over-plain-http.ts +100 -0
- package/src/lint/rules/sys001-no-literal-key.test.ts +31 -0
- package/src/lint/rules/sys001-no-literal-key.ts +67 -0
- package/src/op/__fixtures__/decide-stub-backend.ts +143 -0
- package/src/op/activities/activity-contracts.ts +190 -1
- package/src/op/activities/apply.ts +7 -6
- package/src/op/activities/change-coverage.ts +60 -0
- package/src/op/activities/converge.test.ts +55 -1
- package/src/op/activities/converge.ts +208 -29
- package/src/op/activities/decide.live.test.ts +78 -0
- package/src/op/activities/decide.test.ts +300 -0
- package/src/op/activities/decide.ts +267 -0
- package/src/op/activities/index.ts +21 -0
- package/src/op/activities/shell.test.ts +91 -1
- package/src/op/activities/shell.ts +91 -2
- package/src/op/activities/source-release.test.ts +118 -0
- package/src/op/activities/source-release.ts +168 -0
- package/src/op/activities/source-rollback.test.ts +131 -0
- package/src/op/activities/source-rollback.ts +239 -0
- package/src/op/activities/work-evidence.ts +62 -0
- package/src/op/activity-contract-registry.test.ts +2 -0
- package/src/op/activity-contract-registry.ts +2 -2
- package/src/op/activity-contract.test.ts +12 -0
- package/src/op/activity-contract.ts +6 -1
- package/src/op/activity-profiles.ts +29 -0
- package/src/op/activity-registry.test.ts +1 -1
- package/src/op/activity-registry.ts +2 -2
- package/src/op/builders.ts +119 -5
- package/src/op/command-gate.test.ts +192 -0
- package/src/op/composites/converge-op.test.ts +27 -1
- package/src/op/composites/converge-op.ts +69 -15
- package/src/op/decide-backend.test.ts +44 -0
- package/src/op/decide-backend.ts +212 -0
- package/src/op/decide-config.test.ts +52 -0
- package/src/op/decide-config.ts +80 -0
- package/src/op/decide-read-inputs.ts +117 -0
- package/src/op/gate-approval.ts +2 -2
- package/src/op/gate-wait.ts +57 -0
- package/src/op/gate.ts +8 -3
- package/src/op/generate-pipeline.ts +2 -2
- package/src/op/index.ts +18 -3
- package/src/op/local-executor.ts +151 -15
- package/src/op/local-output.test.ts +33 -0
- package/src/op/local-output.ts +20 -2
- package/src/op/op-ir.test.ts +10 -0
- package/src/op/op-ir.ts +4 -0
- package/src/op/op-verb-class.ts +1 -0
- package/src/op/operator.ts +290 -11
- package/src/op/runtime.ts +31 -8
- package/src/op/runtimes/local.ts +3 -1
- package/src/op/source-archive.ts +161 -0
- package/src/op/steward-points.test.ts +313 -0
- package/src/op/steward-points.ts +194 -0
- package/src/op/steward-turn.ts +79 -0
- package/src/op/steward.test.ts +87 -3
- package/src/op/steward.ts +25 -1
- package/src/op/types.ts +7 -0
- package/src/op/work-lease-run.test.ts +20 -1
- package/src/op/work-lease-run.ts +2 -2
- package/src/workspace/__fixtures__/decide-workspace.ts +129 -0
- package/src/workspace/__fixtures__/studio-template-84c8b21.json +67 -0
- package/src/workspace/answers-ledger.ts +118 -0
- package/src/workspace/changes-cli.ts +56 -0
- package/src/workspace/changes.schema.json +472 -0
- package/src/workspace/changes.test.ts +315 -0
- package/src/workspace/changes.ts +512 -0
- package/src/workspace/chant-migrations/chud-lexicon-exit-fly-site.ts +234 -0
- package/src/workspace/chant-migrations/chud-lexicon-exit-live-names.ts +164 -0
- package/src/workspace/chant-migrations/chud-lexicon-exit-rollback.ts +223 -0
- package/src/workspace/chant-migrations/chud-lexicon-exit-ship-inputs.ts +195 -0
- package/src/workspace/chant-migrations/chud-lexicon-exit-ship-policy.ts +108 -0
- package/src/workspace/chant-migrations/chud-lexicon-exit.ts +882 -0
- package/src/workspace/chant-migrations.e2e.test.ts +1089 -0
- package/src/workspace/chant-migrations.ts +164 -0
- package/src/workspace/check-contract.test.ts +4 -2
- package/src/workspace/check.schema.json +15 -5
- package/src/workspace/checks/boxes.test.ts +80 -1
- package/src/workspace/checks/boxes.ts +136 -1
- package/src/workspace/checks/diagrams.test.ts +134 -0
- package/src/workspace/checks/diagrams.ts +108 -0
- package/src/workspace/checks/records.ts +47 -0
- package/src/workspace/checks.ts +8 -1
- package/src/workspace/compose-graph.ts +2 -0
- package/src/workspace/conformance/__fixture__/decisions/decision.kind.mjs +10 -0
- package/src/workspace/conformance/__fixture__/decisions/decision.schema.json +26 -0
- package/src/workspace/conformance/index.ts +5 -0
- package/src/workspace/decide.test.ts +1 -1
- package/src/workspace/decide.ts +156 -23
- package/src/workspace/declaration.schema.json +114 -1
- package/src/workspace/declaration.test.ts +58 -0
- package/src/workspace/declaration.ts +104 -0
- package/src/workspace/declared-kinds.test.ts +5 -5
- package/src/workspace/declared-kinds.ts +46 -1
- package/src/workspace/generated-files.ts +14 -0
- package/src/workspace/graph-cli.ts +1 -1
- package/src/workspace/graph.schema.json +9 -1
- package/src/workspace/intent.schema.json +8 -2
- package/src/workspace/intent.ts +3 -10
- package/src/workspace/lineage-check.ts +16 -1
- package/src/workspace/lineage-upgrade-cli.ts +1 -1
- package/src/workspace/lineage-upgrade.test.ts +70 -0
- package/src/workspace/lineage-upgrade.ts +81 -10
- package/src/workspace/ls-contract.test.ts +57 -0
- package/src/workspace/ls.schema.json +46 -1
- package/src/workspace/ls.ts +62 -3
- package/src/workspace/points-cli.ts +14 -3
- package/src/workspace/points-write.schema.json +11 -1
- package/src/workspace/points.schema.json +33 -0
- package/src/workspace/points.test.ts +1 -1
- package/src/workspace/points.ts +1 -1
- package/src/workspace/read-contract.test.ts +1 -1
- package/src/workspace/reason-codes.test.ts +11 -1
- package/src/workspace/reason-codes.ts +18 -2
- package/src/workspace/records-amend.schema.json +2 -0
- package/src/workspace/records-cli.ts +13 -3
- package/src/workspace/records-close.schema.json +2 -0
- package/src/workspace/records-new.schema.json +2 -0
- package/src/workspace/records-review.schema.json +2 -0
- package/src/workspace/records-sessions-write.e2e.test.ts +77 -0
- package/src/workspace/records-sessions-write.test.ts +2 -34
- package/src/workspace/records-write.e2e.test.ts +108 -0
- package/src/workspace/records-write.test.ts +32 -41
- package/src/workspace/records-write.ts +33 -15
- package/src/workspace/records.schema.json +36 -2
- package/src/workspace/records.test.ts +48 -3
- package/src/workspace/records.ts +109 -3
- package/src/workspace/status-contract.test.ts +13 -8
- package/src/workspace/status-gates.ts +9 -4
- package/src/workspace/status-stewards.ts +108 -4
- package/src/workspace/status.schema.json +111 -7
- package/src/workspace/status.ts +36 -1
- package/src/workspace/work-acceptance.test.ts +274 -0
- package/src/workspace/{work-cli.test.ts → work-cli.e2e.test.ts} +1 -1
- package/src/workspace/work-cli.ts +193 -10
- package/src/workspace/work-evidence.schema.json +212 -0
- package/src/workspace/work-evidence.ts +169 -0
- package/src/workspace/work-history.schema.json +349 -0
- package/src/workspace/work-history.test.ts +156 -0
- package/src/workspace/work.test.ts +3 -2
- package/src/workspace/work.ts +100 -1
- /package/src/cli/{discovery-skip.test.ts → discovery-skip.e2e.test.ts} +0 -0
- /package/src/workspace/conformance/{conformance.test.ts → conformance.e2e.test.ts} +0 -0
- /package/src/workspace/{which-chant.test.ts → which-chant.e2e.test.ts} +0 -0
|
@@ -49,12 +49,14 @@ export declare const REASONS: {
|
|
|
49
49
|
readonly "gates-ledger-unreadable": "Reading the member's gate ledger failed, so no gate is listed.";
|
|
50
50
|
readonly "stewards-unreadable": "An *.op.ts file could not be imported, so a steward it declares may be missing.";
|
|
51
51
|
readonly "stewards-conflict": "A steward was dropped: its name, or an Op it lists, belongs to another steward.";
|
|
52
|
-
readonly "steward-runs-unreadable": "Reading an Op's run ledger failed, so its last run is null.";
|
|
52
|
+
readonly "steward-runs-unreadable": "Reading an Op's run ledger, or a ConvergeOp's converge ledger, failed, so its last run or last tick is null.";
|
|
53
53
|
readonly "record-unparseable": "No front matter, a YAML error or a value outside the JSON subset of YAML, or for a JSON kind a file that is not one object or repeats a member name.";
|
|
54
54
|
readonly "record-schema-invalid": "The record's front matter, or its JSON object, does not match the kind's schema.";
|
|
55
55
|
readonly "record-id-duplicate": "Another record earlier in path order has the same id.";
|
|
56
56
|
readonly "record-supersedes-unknown": "A supersedes link names an id no record has.";
|
|
57
57
|
readonly "record-supersedes-conflict": "A second closed record supersedes a record another one already superseded.";
|
|
58
|
+
readonly "record-remediates-unknown": "A remediates link names an id no record has.";
|
|
59
|
+
readonly "record-remediates-not-closed": "A remediates link names a record that isn't closed; a record still open is amended instead.";
|
|
58
60
|
readonly "session-seal-mismatch": "A closed session's seal is not the digest of its text: the session changed after it closed.";
|
|
59
61
|
readonly "session-verdict-unknown-record": "A session's verdict names a record that none of the session kind's subject records has.";
|
|
60
62
|
readonly "asset-drift": "A file the record pins by hash has changed: its bytes no longer hash to the pinned sha256.";
|
|
@@ -71,6 +73,8 @@ export declare const REASONS: {
|
|
|
71
73
|
readonly "work-done-unpinned": "A work record is done and its evidence list is empty: nothing shows the work was done.";
|
|
72
74
|
readonly "work-closed-without-date": "A work record is done or dropped and has no closing date.";
|
|
73
75
|
readonly "work-done-gap-open": "A work record is done, and the finding it came from still fires on its region. graph --intent raises it, and records does by walking that region.";
|
|
76
|
+
readonly "work-acceptance-unmet": "A work record is done, and one of its acceptance criteria has no passing evidence of the verification it expects. check fails on it (WSP117).";
|
|
77
|
+
readonly "work-acceptance-self-verified": "A passing manual verdict on a work record's criterion names the record's implementer, so it does not count: a manual verdict comes from someone else.";
|
|
74
78
|
readonly "answer-points-unreadable": "The points file the answer kind names can't be read, or is not valid.";
|
|
75
79
|
readonly "answer-point-unknown": "The answer's point is not declared in the points file the answer kind names.";
|
|
76
80
|
readonly "answer-point-changed": "The point's declaration changed since the question was asked, so the answer is to an older version of the question.";
|
|
@@ -113,7 +117,8 @@ export declare const REASONS: {
|
|
|
113
117
|
readonly "point-inputs-invalid": "The inputs given to an ask are not a JSON object of the point's declared inputs.";
|
|
114
118
|
readonly "point-decider-failed": "A model decider that fails closed (unreachable: fail) could not answer, so the ask wrote nothing.";
|
|
115
119
|
readonly "answer-not-candidate": "The people's answer is not one of the question's candidates.";
|
|
116
|
-
readonly "quorum-not-met": "Too few of the people who answered count toward the point's quorum: distinct, not holding the agent role, and holding one of its roles when it names any.";
|
|
120
|
+
readonly "quorum-not-met": "Too few of the people who answered count toward the point's quorum: distinct, not holding the agent role, not the steward that asked, and holding one of its roles when it names any.";
|
|
121
|
+
readonly "answer-in-steward-turn": "The answer was given during a steward's turn, or by a process it started: a steward never answers a decision point, and a person answers it through hud or at a shell.";
|
|
117
122
|
readonly "since-rev-unknown": "--since names no commit, or a session with no opening revision and no commit that added it.";
|
|
118
123
|
readonly "since-session-unknown": "--since has the shape of a session id and names no commit, and no session the kind or the declaration reads has that id.";
|
|
119
124
|
readonly "since-session-open": "--since names a session that is still open, so the comparison runs to the working tree.";
|
|
@@ -137,6 +142,8 @@ export declare const REASONS: {
|
|
|
137
142
|
readonly "intent-decision-unimplemented": "A decided decision constrains the region, no work item that is not dropped implements it, and no commit falls in its window.";
|
|
138
143
|
readonly "intent-work-blocked": "A work item constraining the region has commits in its window while a work item it needs is not done.";
|
|
139
144
|
readonly "intent-work-open-decided-code": "Commits in the region are a decision's own work while the work item implementing that decision is still open.";
|
|
145
|
+
readonly "change-uncovered": "A path the diff changes is covered by no current decided record and no open work item, by path or by its member.";
|
|
146
|
+
readonly "change-out-of-scope": "A record in hand for the change, such as the work item it is for or a decision that item implements, lists a path the diff changes in its out_of_scope.";
|
|
140
147
|
readonly "composites-no-chant-member": "No member of kind chant was read, so nothing declares a composite instance or a component.";
|
|
141
148
|
readonly "composites-none-declared": "The members read declare no composite instance.";
|
|
142
149
|
readonly "composites-no-component": "The members read declare no component, so no composite instance has one.";
|
|
@@ -145,12 +152,17 @@ export declare const REASONS: {
|
|
|
145
152
|
readonly "environments-none-declared": "The member's chant.config.ts declares no environments, so only local and the environments in its ledger are listed.";
|
|
146
153
|
readonly "environments-ledger-undeclared": "The member's ledger has releases in an environment its config's environments don't cover, so chant run --env would refuse it and it is not listed.";
|
|
147
154
|
readonly "environments-ledger-unreadable": "The chant/lifecycle branch exists and the member's ledger environments could not be listed.";
|
|
155
|
+
readonly "diagram-source-missing": "A declared diagram's source file does not exist in the tree read.";
|
|
156
|
+
readonly "diagram-render-missing": "A declared diagram's render file does not exist in the tree read.";
|
|
157
|
+
readonly "diagram-render-drift": "A declared diagram records a sourceHash, and the source's bytes now hash to something else: the render is stale for its source.";
|
|
148
158
|
readonly "box-credential-declared": "A file in a box member's directory carries a literal secret: a credential's shape, or a literal where a credential goes. A variable or secret-manager reference is not one.";
|
|
149
159
|
readonly "box-capability-unbrokered": "A capability in a member's box block names no broker, so the box would hold its credential.";
|
|
160
|
+
readonly "box-fountain-callback-undeclared": "A box member builds a fountain Box, whose persistent sandbox fountain gives a callback token scoped to its owner, and the member's box block does not declare the fountain-callback capability brokered by fountain with scope owner.";
|
|
150
161
|
readonly "work-kind-missing": "No work kind to find the item in: --kind names a kind with no work block, or the declaration names no work kind.";
|
|
151
162
|
readonly "work-kind-ambiguous": "More than one declared work kind has a record with the id, so --kind must name one.";
|
|
152
163
|
readonly "work-item-unknown": "No work record has the id, so there is nothing to lease.";
|
|
153
164
|
readonly "work-item-closed": "A claim on a work item in a closed state, such as done or dropped: there is no work left to claim.";
|
|
165
|
+
readonly "work-criterion-unknown": "The work record lists no acceptance criterion with the id the evidence names, or its kind has no acceptance criteria.";
|
|
154
166
|
readonly "lease-held": "Someone holds a live lease on the work item: another worker, or, for a claim, the same one.";
|
|
155
167
|
readonly "lease-not-held": "Nobody holds a live lease on the work item: it expired, was released or was never claimed.";
|
|
156
168
|
readonly "lease-token-mismatch": "The live lease on the work item carries another fencing token than the one given.";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reason-codes.d.ts","sourceRoot":"","sources":["../../src/workspace/reason-codes.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,sHAAsH;AACtH,eAAO,MAAM,qBAAqB,IAAI,CAAC;AAEvC,uHAAuH;AACvH,eAAO,MAAM,mBAAmB,WAAW,CAAC;AAE5C,qFAAqF;AACrF,eAAO,MAAM,OAAO
|
|
1
|
+
{"version":3,"file":"reason-codes.d.ts","sourceRoot":"","sources":["../../src/workspace/reason-codes.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,sHAAsH;AACtH,eAAO,MAAM,qBAAqB,IAAI,CAAC;AAEvC,uHAAuH;AACvH,eAAO,MAAM,mBAAmB,WAAW,CAAC;AAE5C,qFAAqF;AACrF,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyLV,CAAC;AAEX,MAAM,MAAM,UAAU,GAAG,MAAM,OAAO,OAAO,CAAC;AAE9C,mDAAmD;AACnD,eAAO,MAAM,YAAY,EAA2B,UAAU,EAAE,CAAC;AAEjE,wBAAgB,YAAY,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,UAAU,CAEhE;AAED;;;;;;GAMG;AACH,MAAM,MAAM,UAAU,GAAG,UAAU,MAAM,IAAI,MAAM,EAAE,CAAC;AAEtD,eAAO,MAAM,WAAW,QAAkD,CAAC;AAE3E,2HAA2H;AAC3H,wBAAgB,YAAY,CAAC,KAAK,EAAE,OAAO,EAAE,IAAI,CAAC,EAAE,MAAM,GAAG,KAAK,IAAI,UAAU,CAI/E"}
|
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
* through `records-since.ts` (#2673).
|
|
18
18
|
*/
|
|
19
19
|
import type { CommandContext } from "../cli/registry.js";
|
|
20
|
+
import { type RecordSource } from "./record-source.js";
|
|
20
21
|
import { type RecordKindDeclaration } from "./declaration.js";
|
|
21
22
|
import { type LoadedRecordKind, type Quorum, type ReadErrorCode, type ReadRecordsResult, type RecordEntry, type RecordFormat, type VerdictAttestation } from "./records.js";
|
|
22
23
|
import { type WorkspaceTree } from "./tree.js";
|
|
@@ -172,7 +173,16 @@ export declare function pinRoot(kindFile: string, root: string): string;
|
|
|
172
173
|
* with each pin checked in the same tree. Throws a {@link RecordReadError}.
|
|
173
174
|
* `chant workspace graph` and `check` read records through this too.
|
|
174
175
|
*/
|
|
175
|
-
export declare function readRecordsFor(query: Omit<RecordsQuery, "base">
|
|
176
|
+
export declare function readRecordsFor(query: Omit<RecordsQuery, "base"> & {
|
|
177
|
+
/**
|
|
178
|
+
* Lay more records over a working-tree read, such as the answer records a
|
|
179
|
+
* steward keeps on the lifecycle ledger (#2786). Not called with `at`.
|
|
180
|
+
*/
|
|
181
|
+
overlay?: (source: RecordSource, kind: {
|
|
182
|
+
loaded: LoadedRecordKind;
|
|
183
|
+
root: string;
|
|
184
|
+
}) => Promise<RecordSource>;
|
|
185
|
+
}): Promise<RecordsRead>;
|
|
176
186
|
/** Run the query and build the document `--json` prints. Never throws a {@link RecordReadError}. */
|
|
177
187
|
export declare function queryRecords(query: RecordsQuery): Promise<RecordsDocument>;
|
|
178
188
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"records-cli.d.ts","sourceRoot":"","sources":["../../src/workspace/records-cli.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAMH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"records-cli.d.ts","sourceRoot":"","sources":["../../src/workspace/records-cli.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAMH,OAAO,KA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15
15
|
export declare const RECORDS_CLOSE_SCHEMA_ID = "https://intentius.io/chant/schemas/workspace/records-close/v1/records-close.schema.json";
|
|
16
16
|
/** Why `records close` wrote nothing. Closed. */
|
|
17
|
-
export declare const CLOSE_ERROR_CODES: readonly ["kind-unreadable", "kind-invalid", "schema-unreadable", "schema-id-mismatch", "schema-invalid", "location-missing", "write-usage-invalid", "record-not-found", "record-closed", "record-unparseable", "record-schema-invalid", "record-id-duplicate", "record-supersedes-unknown", "record-supersedes-conflict", "session-seal-mismatch", "session-verdict-unknown-record"];
|
|
17
|
+
export declare const CLOSE_ERROR_CODES: readonly ["kind-unreadable", "kind-invalid", "schema-unreadable", "schema-id-mismatch", "schema-invalid", "location-missing", "write-usage-invalid", "record-not-found", "record-closed", "record-unparseable", "record-schema-invalid", "record-id-duplicate", "record-supersedes-unknown", "record-supersedes-conflict", "record-remediates-unknown", "record-remediates-not-closed", "session-seal-mismatch", "session-verdict-unknown-record"];
|
|
18
18
|
export type CloseErrorCode = (typeof CLOSE_ERROR_CODES)[number];
|
|
19
19
|
export type CloseDocument = (WriteResult & {
|
|
20
20
|
/** The top-level fields the close set, in the order written. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"records-close.d.ts","sourceRoot":"","sources":["../../src/workspace/records-close.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAMH,OAAO,EAaL,KAAK,YAAY,EACjB,KAAK,WAAW,EACjB,MAAM,iBAAiB,CAAC;AAGzB,eAAO,MAAM,uBAAuB,4FAA4F,CAAC;AAEjI,iDAAiD;AACjD,eAAO,MAAM,iBAAiB,
|
|
1
|
+
{"version":3,"file":"records-close.d.ts","sourceRoot":"","sources":["../../src/workspace/records-close.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAMH,OAAO,EAaL,KAAK,YAAY,EACjB,KAAK,WAAW,EACjB,MAAM,iBAAiB,CAAC;AAGzB,eAAO,MAAM,uBAAuB,4FAA4F,CAAC;AAEjI,iDAAiD;AACjD,eAAO,MAAM,iBAAiB,obAMY,CAAC;AAC3C,MAAM,MAAM,cAAc,GAAG,CAAC,OAAO,iBAAiB,CAAC,CAAC,MAAM,CAAC,CAAC;AAEhE,MAAM,MAAM,aAAa,GACrB,CAAC,WAAW,GAAG;IACb,gEAAgE;IAChE,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,mDAAmD;IACnD,IAAI,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC;IACxC,0FAA0F;IAC1F,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;CAC1B,CAAC,GACF,YAAY,CAAC,cAAc,CAAC,CAAC;AAEjC,MAAM,WAAW,kBAAkB;IACjC,qDAAqD;IACrD,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,GAAG,EAAE,MAAM,CAAC;IACZ,uCAAuC;IACvC,GAAG,CAAC,EAAE,IAAI,CAAC;CACZ;AAOD,2DAA2D;AAC3D,wBAAsB,WAAW,CAAC,IAAI,EAAE,kBAAkB,GAAG,OAAO,CAAC,aAAa,CAAC,CAqDlF"}
|
|
@@ -33,11 +33,11 @@ export declare const RECORDS_REVIEW_SCHEMA_ID = "https://intentius.io/chant/sche
|
|
|
33
33
|
/** Loading the kind and reading its records, as `records` reads them. */
|
|
34
34
|
export declare const LOAD_ERROR_CODES: readonly ["kind-unreadable", "kind-invalid", "schema-unreadable", "schema-id-mismatch", "schema-invalid", "location-missing"];
|
|
35
35
|
/** Why `records new` wrote nothing. Closed: a reader may switch on it. */
|
|
36
|
-
export declare const NEW_ERROR_CODES: readonly ["kind-unreadable", "kind-invalid", "schema-unreadable", "schema-id-mismatch", "schema-invalid", "location-missing", "write-usage-invalid", "write-input-invalid", "record-id-taken", "record-id-unallocatable", "record-path-unmatched", "record-sign-failed", "source-harvest-not-proposed", "record-state-not-initial", "record-unparseable", "record-schema-invalid", "record-id-duplicate", "record-supersedes-unknown", "record-supersedes-conflict", "session-seal-mismatch", "session-verdict-unknown-record"];
|
|
36
|
+
export declare const NEW_ERROR_CODES: readonly ["kind-unreadable", "kind-invalid", "schema-unreadable", "schema-id-mismatch", "schema-invalid", "location-missing", "write-usage-invalid", "write-input-invalid", "record-id-taken", "record-id-unallocatable", "record-path-unmatched", "record-sign-failed", "source-harvest-not-proposed", "record-state-not-initial", "record-unparseable", "record-schema-invalid", "record-id-duplicate", "record-supersedes-unknown", "record-supersedes-conflict", "record-remediates-unknown", "record-remediates-not-closed", "session-seal-mismatch", "session-verdict-unknown-record"];
|
|
37
37
|
/** Why `records amend` wrote nothing. */
|
|
38
|
-
export declare const AMEND_ERROR_CODES: readonly ["kind-unreadable", "kind-invalid", "schema-unreadable", "schema-id-mismatch", "schema-invalid", "location-missing", "write-usage-invalid", "write-input-invalid", "record-not-found", "amend-id-immutable", "record-closed", "amend-supersede-instead", "record-sign-failed", "record-unparseable", "record-schema-invalid", "record-id-duplicate", "record-supersedes-unknown", "record-supersedes-conflict", "session-seal-mismatch", "session-verdict-unknown-record"];
|
|
38
|
+
export declare const AMEND_ERROR_CODES: readonly ["kind-unreadable", "kind-invalid", "schema-unreadable", "schema-id-mismatch", "schema-invalid", "location-missing", "write-usage-invalid", "write-input-invalid", "record-not-found", "amend-id-immutable", "record-closed", "amend-supersede-instead", "record-sign-failed", "record-unparseable", "record-schema-invalid", "record-id-duplicate", "record-supersedes-unknown", "record-supersedes-conflict", "record-remediates-unknown", "record-remediates-not-closed", "session-seal-mismatch", "session-verdict-unknown-record"];
|
|
39
39
|
/** Why `records review` wrote nothing. */
|
|
40
|
-
export declare const REVIEW_ERROR_CODES: readonly ["kind-unreadable", "kind-invalid", "schema-unreadable", "schema-id-mismatch", "schema-invalid", "location-missing", "write-usage-invalid", "record-not-found", "review-unsupported", "record-closed", "review-note-required", "review-sign-failed", "session-unknown", "session-not-open", "record-unparseable", "record-schema-invalid", "record-id-duplicate", "record-supersedes-unknown", "record-supersedes-conflict", "session-seal-mismatch", "session-verdict-unknown-record"];
|
|
40
|
+
export declare const REVIEW_ERROR_CODES: readonly ["kind-unreadable", "kind-invalid", "schema-unreadable", "schema-id-mismatch", "schema-invalid", "location-missing", "write-usage-invalid", "record-not-found", "review-unsupported", "record-closed", "review-note-required", "review-sign-failed", "session-unknown", "session-not-open", "record-unparseable", "record-schema-invalid", "record-id-duplicate", "record-supersedes-unknown", "record-supersedes-conflict", "record-remediates-unknown", "record-remediates-not-closed", "session-seal-mismatch", "session-verdict-unknown-record"];
|
|
41
41
|
export type NewErrorCode = (typeof NEW_ERROR_CODES)[number];
|
|
42
42
|
export type AmendErrorCode = (typeof AMEND_ERROR_CODES)[number];
|
|
43
43
|
export type ReviewErrorCode = (typeof REVIEW_ERROR_CODES)[number];
|
|
@@ -215,9 +215,15 @@ export interface WriteChannel {
|
|
|
215
215
|
/** A new record opens in the kind's first state: filled in when the fields give no state, and refused with record-state-not-initial when they give another. */
|
|
216
216
|
opensInitial?: boolean;
|
|
217
217
|
}
|
|
218
|
-
/** What a channel's write adds to the command line's: who the author
|
|
218
|
+
/** What a channel's write adds to the command line's: who named the author, and how it came. */
|
|
219
219
|
export interface ChannelOptions {
|
|
220
|
-
/**
|
|
220
|
+
/**
|
|
221
|
+
* Who the caller names as the record's author (#2756). Written to the
|
|
222
|
+
* kind's `proposedBy` field when the kind declares one and the record
|
|
223
|
+
* opens (or stays) in its first state — a proposal naming its proposer.
|
|
224
|
+
* Otherwise written to `reviews.decider`, as before: a record opening (or
|
|
225
|
+
* moving) straight to another state names who decided it.
|
|
226
|
+
*/
|
|
221
227
|
by?: string;
|
|
222
228
|
through?: WriteChannel;
|
|
223
229
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"records-write.d.ts","sourceRoot":"","sources":["../../src/workspace/records-write.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAI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EAAE,MAAM,CAAC;IACZ,uEAAuE;IACvE,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACtB;AAED;;;;;GAKG;AACH,wBAAsB,YAAY,CAAC,IAAI,EAAE,mBAAmB,GAAG,OAAO,CAAC,cAAc,CAAC,CAyErF;AA+CD,eAAO,MAAM,WAAW,QAKZ,CAAC;AAMb;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,MAAM,GAAG,YAAY,CAAC,qBAAqB,CAAC,CAa5H;AAED;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,MAAM,CAcjE;AAgBD;;;GAGG;AACH,wBAAsB,mBAAmB,CAAC,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,GAAG,YAAY,CAAC,qBAAqB,CAAC,CAAC,CAK5H;AAED,uIAAuI;AACvI,wBAAsB,eAAe,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,MAAM,CAAC,CAyC1E"}
|
|
@@ -6,8 +6,10 @@
|
|
|
6
6
|
* record a kind locates, parses its structured core (the front matter, as the
|
|
7
7
|
* JSON subset of YAML, or the whole file as one I-JSON object, ws-053),
|
|
8
8
|
* validates it against the kind's schema and derives supersession from the
|
|
9
|
-
* records' own `supersedes` links
|
|
10
|
-
*
|
|
9
|
+
* records' own `supersedes` links, and remediation from their `remediates`
|
|
10
|
+
* links (#2774): a later record fixing a closed one's consequence without
|
|
11
|
+
* replacing it, which leaves the closed record's status unchanged. It never
|
|
12
|
+
* writes a record; `records-write.ts` does, through the rules here (#2670).
|
|
11
13
|
*
|
|
12
14
|
* A record that fails any of that is still returned, with reason codes, and the
|
|
13
15
|
* read succeeds. Only a failure to read the kind, its schema or the revision is
|
|
@@ -22,13 +24,13 @@ import { type AssetPin } from "./record-assets.js";
|
|
|
22
24
|
import { type SessionCitation } from "./record-sessions.js";
|
|
23
25
|
import type { RecordSource } from "./record-source.js";
|
|
24
26
|
import type { WorkspaceTree } from "./tree.js";
|
|
25
|
-
import type { DecisionWork, WorkLink, WorkWarningCode } from "./work.js";
|
|
27
|
+
import type { DecisionWork, WorkAcceptance, WorkLink, WorkWarningCode } from "./work.js";
|
|
26
28
|
import type { AnswerWarningCode } from "./points.js";
|
|
27
29
|
/**
|
|
28
30
|
* Why one record is not valid. The list is closed: a reader may switch on it,
|
|
29
31
|
* and a new code is a contract change (#2536).
|
|
30
32
|
*/
|
|
31
|
-
export declare const RECORD_REASON_CODES: readonly ["record-unparseable", "record-schema-invalid", "record-id-duplicate", "record-supersedes-unknown", "record-supersedes-conflict", "session-seal-mismatch", "session-verdict-unknown-record"];
|
|
33
|
+
export declare const RECORD_REASON_CODES: readonly ["record-unparseable", "record-schema-invalid", "record-id-duplicate", "record-supersedes-unknown", "record-supersedes-conflict", "record-remediates-unknown", "record-remediates-not-closed", "session-seal-mismatch", "session-verdict-unknown-record"];
|
|
32
34
|
export type RecordReasonCode = (typeof RECORD_REASON_CODES)[number];
|
|
33
35
|
/**
|
|
34
36
|
* Why a record carries a warning. Closed, like the reason codes. A warning
|
|
@@ -122,6 +124,10 @@ export declare const recordKindSchema: z.ZodObject<{
|
|
|
122
124
|
field: z.ZodString;
|
|
123
125
|
key: z.ZodOptional<z.ZodString>;
|
|
124
126
|
}, z.core.$strict>>;
|
|
127
|
+
remediates: z.ZodOptional<z.ZodObject<{
|
|
128
|
+
field: z.ZodString;
|
|
129
|
+
key: z.ZodOptional<z.ZodString>;
|
|
130
|
+
}, z.core.$strict>>;
|
|
125
131
|
approval: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
126
132
|
pins: z.ZodOptional<z.ZodObject<{
|
|
127
133
|
field: z.ZodString;
|
|
@@ -129,10 +135,16 @@ export declare const recordKindSchema: z.ZodObject<{
|
|
|
129
135
|
constrains: z.ZodOptional<z.ZodObject<{
|
|
130
136
|
field: z.ZodString;
|
|
131
137
|
}, z.core.$strict>>;
|
|
138
|
+
outOfScope: z.ZodOptional<z.ZodObject<{
|
|
139
|
+
field: z.ZodString;
|
|
140
|
+
}, z.core.$strict>>;
|
|
132
141
|
reviews: z.ZodOptional<z.ZodObject<{
|
|
133
142
|
field: z.ZodString;
|
|
134
143
|
decider: z.ZodString;
|
|
135
144
|
}, z.core.$strict>>;
|
|
145
|
+
proposedBy: z.ZodOptional<z.ZodObject<{
|
|
146
|
+
field: z.ZodString;
|
|
147
|
+
}, z.core.$strict>>;
|
|
136
148
|
source: z.ZodOptional<z.ZodObject<{
|
|
137
149
|
field: z.ZodString;
|
|
138
150
|
}, z.core.$strict>>;
|
|
@@ -153,6 +165,10 @@ export declare const recordKindSchema: z.ZodObject<{
|
|
|
153
165
|
open: z.ZodString;
|
|
154
166
|
done: z.ZodString;
|
|
155
167
|
closedOn: z.ZodString;
|
|
168
|
+
acceptance: z.ZodOptional<z.ZodObject<{
|
|
169
|
+
field: z.ZodString;
|
|
170
|
+
implementer: z.ZodString;
|
|
171
|
+
}, z.core.$strict>>;
|
|
156
172
|
}, z.core.$strict>>;
|
|
157
173
|
answers: z.ZodOptional<z.ZodObject<{
|
|
158
174
|
points: z.ZodString;
|
|
@@ -348,6 +364,13 @@ export interface RecordEntry {
|
|
|
348
364
|
reasons: RecordReason[];
|
|
349
365
|
/** The id of the closed record whose `supersedes` link replaces this one, or null. */
|
|
350
366
|
supersededBy: string | null;
|
|
367
|
+
/**
|
|
368
|
+
* The ids of records whose `remediates` link names this one (#2774), in
|
|
369
|
+
* path order. Unlike `supersededBy`, several records may remediate the
|
|
370
|
+
* same one, and a remediation never changes this record's state or
|
|
371
|
+
* `supersededBy`: it stays exactly as current as it was.
|
|
372
|
+
*/
|
|
373
|
+
remediatedBy: string[];
|
|
351
374
|
/** The record's structured core as JSON (the front matter, or the whole JSON file), or null when it could not be parsed. */
|
|
352
375
|
data: Record<string, unknown> | null;
|
|
353
376
|
/**
|
|
@@ -368,6 +391,8 @@ export interface RecordEntry {
|
|
|
368
391
|
blockedBy?: WorkLink[];
|
|
369
392
|
/** For a work kind: each decision the record implements, with its state, or null when no decision has the id. */
|
|
370
393
|
implements?: WorkLink[];
|
|
394
|
+
/** For a work kind with acceptance criteria (#2772): how many of the record's criteria passing evidence meets, or null when it lists none. */
|
|
395
|
+
acceptance?: WorkAcceptance | null;
|
|
371
396
|
}
|
|
372
397
|
export interface ReadRecordsOptions {
|
|
373
398
|
/** Where record paths are reported from, and what `source` reads relative to. */
|
|
@@ -426,6 +451,11 @@ export interface ReadRecordsResult {
|
|
|
426
451
|
* it, the field holds one id or a list of ids. Anything else names none.
|
|
427
452
|
*/
|
|
428
453
|
export declare function supersedesTargets(kind: Pick<RecordKind, "supersedes">, data: Record<string, unknown> | null): string[];
|
|
454
|
+
/**
|
|
455
|
+
* The ids a record's remediates field names (#2774), read the same way
|
|
456
|
+
* {@link supersedesTargets} reads `supersedes`.
|
|
457
|
+
*/
|
|
458
|
+
export declare function remediatesTargets(kind: Pick<RecordKind, "remediates">, data: Record<string, unknown> | null): string[];
|
|
429
459
|
/** Read every record `loaded` locates, through `options.source`. */
|
|
430
460
|
export declare function readRecords(loaded: LoadedRecordKind, options: ReadRecordsOptions): Promise<ReadRecordsResult>;
|
|
431
461
|
//# sourceMappingURL=records.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"records.d.ts","sourceRoot":"","sources":["../../src/workspace/records.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"records.d.ts","sourceRoot":"","sources":["../../src/workspace/records.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAOH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,EAAyB,KAAK,QAA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;KAAE,CAAC;IAC/E,8GAA8G;IAC9G,SAAS,CAAC,EAAE,YAAY,EAAE,CAAC;CAC5B;AA0DD;;;;GAIG;AACH,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,IAAI,CAAC,UAAU,EAAE,YAAY,CAAC,EAAE,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,GAAG,MAAM,EAAE,CAQtH;AAED;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,IAAI,CAAC,UAAU,EAAE,YAAY,CAAC,EAAE,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,GAAG,MAAM,EAAE,CAQtH;AAWD,oEAAoE;AACpE,wBAAsB,WAAW,CAAC,MAAM,EAAE,gBAAgB,EAAE,OAAO,EAAE,kBAAkB,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAgNnH"}
|
|
@@ -69,8 +69,13 @@ export interface StatusGateLedger {
|
|
|
69
69
|
*/
|
|
70
70
|
export type GateLedgerReader = (dir: string, commit: string, cwd: string) => Promise<Map<string, string> | null>;
|
|
71
71
|
export declare const defaultGateLedgerReader: GateLedgerReader;
|
|
72
|
-
/**
|
|
73
|
-
|
|
72
|
+
/**
|
|
73
|
+
* The exact `chant approve` line for a gate. A gate bound to a plan (#2300)
|
|
74
|
+
* gets `--plan <digest>` too (#2832), so running the line back approves the
|
|
75
|
+
* plan this read showed and not whatever happens to be pending by the time
|
|
76
|
+
* someone runs it.
|
|
77
|
+
*/
|
|
78
|
+
export declare function approveCommand(component: string, gate: string, env: string | null, planDigest?: string | null): string;
|
|
74
79
|
/**
|
|
75
80
|
* Every gate in one ledger file, one per gate and environment, for the
|
|
76
81
|
* environments in `envs`. A gate whose facts record no environment (an Op
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"status-gates.d.ts","sourceRoot":"","sources":["../../src/workspace/status-gates.ts"],"names":[],"mappings":"AAAA;;;;;;;;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UAAU,EAAE,CAAC;IAAC,MAAM,EAAE,gBAAgB,CAAA;CAAE,CAAC,CAsB5D"}
|
|
@@ -14,6 +14,9 @@
|
|
|
14
14
|
* - each Op's last run is the newest record in its run ledger,
|
|
15
15
|
* `<env>/runs__<op>.jsonl` under the member's ledger prefix, where `<env>`
|
|
16
16
|
* is the Op's own `labels.Env` or `local`;
|
|
17
|
+
* - `waiting` lists the open decision points the steward waits on (#2749):
|
|
18
|
+
* each Op whose newest run is the steward's own and stopped on a question,
|
|
19
|
+
* as the run ledger records it. The question's state now is `points`'s;
|
|
17
20
|
* - `lease` is the local steward's own lease ref
|
|
18
21
|
* (`refs/chant/lease/[<prefix>]_stewards/<name>`), present while a
|
|
19
22
|
* `chant operator --steward` holds it or until it expires;
|
|
@@ -22,6 +25,7 @@
|
|
|
22
25
|
* ledger of the Op's work kind, or the member's own.
|
|
23
26
|
*/
|
|
24
27
|
import { type StewardForm } from "../op/steward.js";
|
|
28
|
+
import { type ConvergeTickRecord } from "../lifecycle/converge-ledger.js";
|
|
25
29
|
import type { OpRunRecord } from "../op/runtime.js";
|
|
26
30
|
/** Why a member's stewards can't be fully listed. Closed: a new code is a contract change. */
|
|
27
31
|
export declare const STEWARD_REASON_CODES: readonly ["stewards-unreadable", "stewards-conflict", "steward-runs-unreadable"];
|
|
@@ -31,11 +35,55 @@ export interface StatusStewardRun {
|
|
|
31
35
|
status: OpRunRecord["status"];
|
|
32
36
|
started: string;
|
|
33
37
|
ended: string;
|
|
34
|
-
/**
|
|
38
|
+
/**
|
|
39
|
+
* The gate the run stopped at, for a `gated` run: its name, when the run
|
|
40
|
+
* stopped there, the op it is recorded under (the Op's own, or the
|
|
41
|
+
* command's for a step whose command stopped at its own gate, #2779, such
|
|
42
|
+
* as `workspace-upgrade`), and the command that approves it.
|
|
43
|
+
*/
|
|
35
44
|
gate: {
|
|
36
45
|
name: string;
|
|
37
46
|
since: string;
|
|
47
|
+
op: string;
|
|
48
|
+
approve: string;
|
|
38
49
|
} | null;
|
|
50
|
+
/** The open decision point the run stopped on, for a `waiting` run (#2749). */
|
|
51
|
+
point: StatusStewardWait | null;
|
|
52
|
+
}
|
|
53
|
+
/** An open decision point a steward's run stopped on (#2749), as the run ledger records it. */
|
|
54
|
+
export interface StatusStewardWait {
|
|
55
|
+
/** The answer record's id: what `points --open` lists and `points answer` names. */
|
|
56
|
+
id: string;
|
|
57
|
+
point: string;
|
|
58
|
+
/** The question's state when the run stopped. */
|
|
59
|
+
state: "escalated" | "proposed";
|
|
60
|
+
path: string;
|
|
61
|
+
subject: string | null;
|
|
62
|
+
since: string;
|
|
63
|
+
}
|
|
64
|
+
/** A ConvergeOp's newest tick on the converge ledger (#2778). */
|
|
65
|
+
export interface StatusStewardTick {
|
|
66
|
+
/** The tick's id, or null for a tick recorded before ticks had ids. */
|
|
67
|
+
id: string | null;
|
|
68
|
+
timestamp: string;
|
|
69
|
+
/** The tick's one log line. */
|
|
70
|
+
log: string;
|
|
71
|
+
/** Every rule that fired. */
|
|
72
|
+
firedRuleIds: string[];
|
|
73
|
+
/** What each fired rule did, and for which resource on a ConvergeOp with an observer step. */
|
|
74
|
+
outcomes: {
|
|
75
|
+
ruleId: string;
|
|
76
|
+
action: ConvergeTickRecord["outcomes"][number]["action"];
|
|
77
|
+
op: string | null;
|
|
78
|
+
resource: string | null;
|
|
79
|
+
reason: string | null;
|
|
80
|
+
}[];
|
|
81
|
+
/** What the observer step reported, or null for a ConvergeOp that observes a lexicon environment. */
|
|
82
|
+
resources: {
|
|
83
|
+
name: string;
|
|
84
|
+
status: "in-sync" | "drifted" | "unknown";
|
|
85
|
+
detail: string | null;
|
|
86
|
+
}[] | null;
|
|
39
87
|
}
|
|
40
88
|
export interface StatusStewardOp {
|
|
41
89
|
name: string;
|
|
@@ -48,6 +96,8 @@ export interface StatusStewardOp {
|
|
|
48
96
|
env: string;
|
|
49
97
|
/** The newest run in its run ledger, or null when it has none. */
|
|
50
98
|
lastRun: StatusStewardRun | null;
|
|
99
|
+
/** For a ConvergeOp, its newest tick on the converge ledger (#2778); null for any other Op, or before its first tick. */
|
|
100
|
+
lastTick: StatusStewardTick | null;
|
|
51
101
|
/** Whether the Op changes the checkout, and so runs under a work lease on a branch of its own (#2748). */
|
|
52
102
|
changesCheckout: boolean;
|
|
53
103
|
/**
|
|
@@ -100,6 +150,14 @@ export interface StatusSteward {
|
|
|
100
150
|
live: boolean;
|
|
101
151
|
} | null;
|
|
102
152
|
ops: StatusStewardOp[];
|
|
153
|
+
/**
|
|
154
|
+
* The open decision points the steward waits on (#2749): each Op whose
|
|
155
|
+
* newest run is the steward's own and stopped on a question.
|
|
156
|
+
*/
|
|
157
|
+
waiting: (StatusStewardWait & {
|
|
158
|
+
op: string;
|
|
159
|
+
run: string;
|
|
160
|
+
})[];
|
|
103
161
|
}
|
|
104
162
|
export interface MemberStewards {
|
|
105
163
|
stewards: StatusSteward[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"status-stewards.d.ts","sourceRoot":"","sources":["../../src/workspace/status-stewards.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"status-stewards.d.ts","sourceRoot":"","sources":["../../src/workspace/status-stewards.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AAKH,OAAO,EAAoC,KAAK,WAAW,EAAE,MAAM,eAAe,CAAC;AAEnF,OAAO,EAAsB,KAAK,kBAAkB,EAAE,MAAM,8BAA8B,CAAC;AAO3F,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAIjD,8FAA8F;AAC9F,eAAO,MAAM,oBAAoB,kFAOS,CAAC;AAC3C,MAAM,MAAM,iBAAiB,GAAG,CAAC,OAAO,oBAAoB,CAAC,CAAC,MAAM,CAAC,CAAC;AAEtE,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,WAAW,CAAC,QAAQ,CAAC,CAAC;IAC9B,OAAO,E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M,GAAG,IAAI,CAAC;QAAC,QAAQ,EAAE,OAAO,CAAA;KAAE,EAAE,CAAC;IAC3E,iFAAiF;IACjF,KAAK,EAAE;QAAE,MAAM,EAAE,MAAM,CAAC;QAAC,UAAU,EAAE,MAAM,CAAC;QAAC,SAAS,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,OAAO,CAAA;KAAE,GAAG,IAAI,CAAC;IACvF,GAAG,EAAE,eAAe,EAAE,CAAC;IACvB;;;OAGG;IACH,OAAO,EAAE,CAAC,iBAAiB,GAAG;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,CAAC,EAAE,CAAC;CAC9D;AAED,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,aAAa,EAAE,CAAC;IAC1B,OAAO,EAAE;QAAE,IAAI,EAAE,iBAAiB,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;CACzD;AAyED;;;GAGG;AACH,wBAAsB,kBAAkB,CACtC,SAAS,EAAE,MAAM,EACjB,GAAG,EAAE,MAAM,EACX,GAAG,EAAE,MAAM,EACX,IAAI,SAAU,EACd,GAAG,GAAE;IAAE,YAAY,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAAA;KAAE,EAAE,CAAA;CAAE,GAAG,IAAW,GAC7E,OAAO,CAAC,cAAc,CAAC,CAmFzB"}
|
|
@@ -157,6 +157,20 @@ export interface StatusLease extends Omit<WorkLeaseState, "ref"> {
|
|
|
157
157
|
member: string | null;
|
|
158
158
|
ref: string;
|
|
159
159
|
}
|
|
160
|
+
/**
|
|
161
|
+
* One work item's acceptance criteria, counted (#2772): each current record
|
|
162
|
+
* of a declared work kind with acceptance criteria that lists some.
|
|
163
|
+
*/
|
|
164
|
+
export interface StatusAcceptance {
|
|
165
|
+
/** The member that declares the work kind, or null for the workspace's own. */
|
|
166
|
+
member: string | null;
|
|
167
|
+
/** The work kind file, from the workspace root. */
|
|
168
|
+
kind: string;
|
|
169
|
+
item: string;
|
|
170
|
+
state: string | null;
|
|
171
|
+
met: number;
|
|
172
|
+
total: number;
|
|
173
|
+
}
|
|
160
174
|
export type StatusDocument = {
|
|
161
175
|
$schema: string;
|
|
162
176
|
contract: number;
|
|
@@ -175,6 +189,8 @@ export type StatusDocument = {
|
|
|
175
189
|
members: StatusMember[];
|
|
176
190
|
/** Every work lease in the workspace's ledgers, active and expired, by member then item (#2732). A released lease has no ref and is not listed. */
|
|
177
191
|
leases: StatusLease[];
|
|
192
|
+
/** Each work item's acceptance criteria, met of total, by declared kind then item (#2772). Empty when no declared work kind has criteria. */
|
|
193
|
+
acceptance: StatusAcceptance[];
|
|
178
194
|
summary: {
|
|
179
195
|
members: number;
|
|
180
196
|
released: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"status.d.ts","sourceRoot":"","sources":["../../src/workspace/status.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AAMH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAGtD,OAAO,EAAyC,KAAK,aAAa,EAAE,MAAM,6BAA6B,CAAC;AACxG,OAAO,EAAmB,KAAK,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAC7E,OAAO,EAAkB,KAAK,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAE9E,OAAO,EAAgB,KAAK,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACvE,OAAO,
|
|
1
|
+
{"version":3,"file":"status.d.ts","sourceRoot":"","sources":["../../src/workspace/status.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AAMH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAGtD,OAAO,EAAyC,KAAK,aAAa,EAAE,MAAM,6BAA6B,CAAC;AACxG,OAAO,EAAmB,KAAK,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