@vedprakash-m/tenet 0.0.0-stage → 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/LICENSE +202 -0
- package/README.md +104 -2
- package/dist/cli.d.ts +53 -0
- package/dist/cli.js +389 -0
- package/dist/cli.js.map +1 -0
- package/dist/commands/bless.d.ts +2 -0
- package/dist/commands/bless.js +27 -0
- package/dist/commands/bless.js.map +1 -0
- package/dist/commands/board.d.ts +32 -0
- package/dist/commands/board.js +31 -0
- package/dist/commands/board.js.map +1 -0
- package/dist/commands/check.d.ts +2 -0
- package/dist/commands/check.js +35 -0
- package/dist/commands/check.js.map +1 -0
- package/dist/commands/context.d.ts +45 -0
- package/dist/commands/context.js +49 -0
- package/dist/commands/context.js.map +1 -0
- package/dist/commands/doctor.d.ts +8 -0
- package/dist/commands/doctor.js +47 -0
- package/dist/commands/doctor.js.map +1 -0
- package/dist/commands/fix.d.ts +2 -0
- package/dist/commands/fix.js +25 -0
- package/dist/commands/fix.js.map +1 -0
- package/dist/commands/index.d.ts +12 -0
- package/dist/commands/index.js +13 -0
- package/dist/commands/index.js.map +1 -0
- package/dist/commands/init.d.ts +11 -0
- package/dist/commands/init.js +215 -0
- package/dist/commands/init.js.map +1 -0
- package/dist/commands/onboard.d.ts +45 -0
- package/dist/commands/onboard.js +66 -0
- package/dist/commands/onboard.js.map +1 -0
- package/dist/commands/remove.d.ts +8 -0
- package/dist/commands/remove.js +56 -0
- package/dist/commands/remove.js.map +1 -0
- package/dist/commands/split.d.ts +2 -0
- package/dist/commands/split.js +20 -0
- package/dist/commands/split.js.map +1 -0
- package/dist/commands/upgrade.d.ts +8 -0
- package/dist/commands/upgrade.js +69 -0
- package/dist/commands/upgrade.js.map +1 -0
- package/dist/commands/verify.d.ts +33 -0
- package/dist/commands/verify.js +147 -0
- package/dist/commands/verify.js.map +1 -0
- package/dist/context/index.d.ts +61 -0
- package/dist/context/index.js +401 -0
- package/dist/context/index.js.map +1 -0
- package/dist/core/clock.d.ts +3 -0
- package/dist/core/clock.js +16 -0
- package/dist/core/clock.js.map +1 -0
- package/dist/core/commands.d.ts +38 -0
- package/dist/core/commands.js +2 -0
- package/dist/core/commands.js.map +1 -0
- package/dist/core/fs.d.ts +7 -0
- package/dist/core/fs.js +97 -0
- package/dist/core/fs.js.map +1 -0
- package/dist/core/git.d.ts +11 -0
- package/dist/core/git.js +223 -0
- package/dist/core/git.js.map +1 -0
- package/dist/core/hash.d.ts +6 -0
- package/dist/core/hash.js +123 -0
- package/dist/core/hash.js.map +1 -0
- package/dist/core/messages.d.ts +276 -0
- package/dist/core/messages.js +289 -0
- package/dist/core/messages.js.map +1 -0
- package/dist/core/output.d.ts +22 -0
- package/dist/core/output.js +78 -0
- package/dist/core/output.js.map +1 -0
- package/dist/core/schema.d.ts +14 -0
- package/dist/core/schema.js +138 -0
- package/dist/core/schema.js.map +1 -0
- package/dist/core/yaml.d.ts +1 -0
- package/dist/core/yaml.js +16 -0
- package/dist/core/yaml.js.map +1 -0
- package/dist/install/doctor.d.ts +3 -0
- package/dist/install/doctor.js +365 -0
- package/dist/install/doctor.js.map +1 -0
- package/dist/install/environment.d.ts +4 -0
- package/dist/install/environment.js +47 -0
- package/dist/install/environment.js.map +1 -0
- package/dist/install/hosts.d.ts +5 -0
- package/dist/install/hosts.js +105 -0
- package/dist/install/hosts.js.map +1 -0
- package/dist/install/init.d.ts +2 -0
- package/dist/install/init.js +80 -0
- package/dist/install/init.js.map +1 -0
- package/dist/install/integrity.d.ts +24 -0
- package/dist/install/integrity.js +200 -0
- package/dist/install/integrity.js.map +1 -0
- package/dist/install/manifest.d.ts +27 -0
- package/dist/install/manifest.js +276 -0
- package/dist/install/manifest.js.map +1 -0
- package/dist/install/preflight.d.ts +3 -0
- package/dist/install/preflight.js +558 -0
- package/dist/install/preflight.js.map +1 -0
- package/dist/install/remove.d.ts +2 -0
- package/dist/install/remove.js +668 -0
- package/dist/install/remove.js.map +1 -0
- package/dist/install/types.d.ts +303 -0
- package/dist/install/types.js +2 -0
- package/dist/install/types.js.map +1 -0
- package/dist/install/upgrade.d.ts +2 -0
- package/dist/install/upgrade.js +307 -0
- package/dist/install/upgrade.js.map +1 -0
- package/dist/install/writes.d.ts +15 -0
- package/dist/install/writes.js +1200 -0
- package/dist/install/writes.js.map +1 -0
- package/dist/mcp/index.d.ts +13 -0
- package/dist/mcp/index.js +437 -0
- package/dist/mcp/index.js.map +1 -0
- package/dist/onboard/assignment.d.ts +22 -0
- package/dist/onboard/assignment.js +102 -0
- package/dist/onboard/assignment.js.map +1 -0
- package/dist/onboard/bless.d.ts +104 -0
- package/dist/onboard/bless.js +729 -0
- package/dist/onboard/bless.js.map +1 -0
- package/dist/onboard/card.d.ts +31 -0
- package/dist/onboard/card.js +175 -0
- package/dist/onboard/card.js.map +1 -0
- package/dist/onboard/findings.d.ts +3 -0
- package/dist/onboard/findings.js +185 -0
- package/dist/onboard/findings.js.map +1 -0
- package/dist/onboard/inventory.d.ts +21 -0
- package/dist/onboard/inventory.js +302 -0
- package/dist/onboard/inventory.js.map +1 -0
- package/dist/onboard/preflight.d.ts +32 -0
- package/dist/onboard/preflight.js +156 -0
- package/dist/onboard/preflight.js.map +1 -0
- package/dist/onboard/refresh.d.ts +28 -0
- package/dist/onboard/refresh.js +65 -0
- package/dist/onboard/refresh.js.map +1 -0
- package/dist/policy/errors.d.ts +12 -0
- package/dist/policy/errors.js +25 -0
- package/dist/policy/errors.js.map +1 -0
- package/dist/policy/index.d.ts +4 -0
- package/dist/policy/index.js +4 -0
- package/dist/policy/index.js.map +1 -0
- package/dist/policy/kit.d.ts +12 -0
- package/dist/policy/kit.js +162 -0
- package/dist/policy/kit.js.map +1 -0
- package/dist/policy/load.d.ts +15 -0
- package/dist/policy/load.js +415 -0
- package/dist/policy/load.js.map +1 -0
- package/dist/policy/selectors.d.ts +2 -0
- package/dist/policy/selectors.js +43 -0
- package/dist/policy/selectors.js.map +1 -0
- package/dist/policy/types.d.ts +40 -0
- package/dist/policy/types.js +2 -0
- package/dist/policy/types.js.map +1 -0
- package/dist/reports/acceptance.d.ts +2 -0
- package/dist/reports/acceptance.js +79 -0
- package/dist/reports/acceptance.js.map +1 -0
- package/dist/reports/declared.d.ts +6 -0
- package/dist/reports/declared.js +114 -0
- package/dist/reports/declared.js.map +1 -0
- package/dist/reports/errors.d.ts +8 -0
- package/dist/reports/errors.js +12 -0
- package/dist/reports/errors.js.map +1 -0
- package/dist/reports/index.d.ts +8 -0
- package/dist/reports/index.js +8 -0
- package/dist/reports/index.js.map +1 -0
- package/dist/reports/items.d.ts +6 -0
- package/dist/reports/items.js +85 -0
- package/dist/reports/items.js.map +1 -0
- package/dist/reports/read-types.d.ts +7 -0
- package/dist/reports/read-types.js +2 -0
- package/dist/reports/read-types.js.map +1 -0
- package/dist/reports/read.d.ts +3 -0
- package/dist/reports/read.js +96 -0
- package/dist/reports/read.js.map +1 -0
- package/dist/reports/registry.d.ts +32 -0
- package/dist/reports/registry.js +372 -0
- package/dist/reports/registry.js.map +1 -0
- package/dist/reports/scan.d.ts +23 -0
- package/dist/reports/scan.js +406 -0
- package/dist/reports/scan.js.map +1 -0
- package/dist/reports/tags.d.ts +4 -0
- package/dist/reports/tags.js +53 -0
- package/dist/reports/tags.js.map +1 -0
- package/dist/reports/types.d.ts +90 -0
- package/dist/reports/types.js +2 -0
- package/dist/reports/types.js.map +1 -0
- package/dist/reports/weakening.d.ts +5 -0
- package/dist/reports/weakening.js +260 -0
- package/dist/reports/weakening.js.map +1 -0
- package/dist/sdk.d.ts +8 -0
- package/dist/sdk.js +8 -0
- package/dist/sdk.js.map +1 -0
- package/dist/specs/anchors.d.ts +44 -0
- package/dist/specs/anchors.js +171 -0
- package/dist/specs/anchors.js.map +1 -0
- package/dist/specs/check.d.ts +19 -0
- package/dist/specs/check.js +656 -0
- package/dist/specs/check.js.map +1 -0
- package/dist/specs/citations.d.ts +5 -0
- package/dist/specs/citations.js +65 -0
- package/dist/specs/citations.js.map +1 -0
- package/dist/specs/deltas.d.ts +10 -0
- package/dist/specs/deltas.js +110 -0
- package/dist/specs/deltas.js.map +1 -0
- package/dist/specs/fix.d.ts +11 -0
- package/dist/specs/fix.js +583 -0
- package/dist/specs/fix.js.map +1 -0
- package/dist/specs/flags.d.ts +25 -0
- package/dist/specs/flags.js +100 -0
- package/dist/specs/flags.js.map +1 -0
- package/dist/specs/ladder.d.ts +13 -0
- package/dist/specs/ladder.js +105 -0
- package/dist/specs/ladder.js.map +1 -0
- package/dist/specs/parse.d.ts +58 -0
- package/dist/specs/parse.js +565 -0
- package/dist/specs/parse.js.map +1 -0
- package/dist/specs/sections.d.ts +2 -0
- package/dist/specs/sections.js +36 -0
- package/dist/specs/sections.js.map +1 -0
- package/dist/specs/split.d.ts +8 -0
- package/dist/specs/split.js +264 -0
- package/dist/specs/split.js.map +1 -0
- package/dist/specs/touched.d.ts +11 -0
- package/dist/specs/touched.js +376 -0
- package/dist/specs/touched.js.map +1 -0
- package/dist/types/generated.d.ts +547 -0
- package/dist/types/generated.js +4 -0
- package/dist/types/generated.js.map +1 -0
- package/dist/verify/bundle.d.ts +104 -0
- package/dist/verify/bundle.js +212 -0
- package/dist/verify/bundle.js.map +1 -0
- package/dist/verify/card.d.ts +7 -0
- package/dist/verify/card.js +105 -0
- package/dist/verify/card.js.map +1 -0
- package/dist/verify/forge.d.ts +56 -0
- package/dist/verify/forge.js +173 -0
- package/dist/verify/forge.js.map +1 -0
- package/dist/verify/record.d.ts +63 -0
- package/dist/verify/record.js +539 -0
- package/dist/verify/record.js.map +1 -0
- package/dist/verify/records.d.ts +33 -0
- package/dist/verify/records.js +107 -0
- package/dist/verify/records.js.map +1 -0
- package/dist/verify/run-checks.d.ts +22 -0
- package/dist/verify/run-checks.js +149 -0
- package/dist/verify/run-checks.js.map +1 -0
- package/dist/views/specs-board.d.ts +43 -0
- package/dist/views/specs-board.js +427 -0
- package/dist/views/specs-board.js.map +1 -0
- package/kit/CHANGELOG.md +42 -0
- package/kit/README.md +18 -0
- package/kit/TENET.md +83 -0
- package/kit/agents/drafter.md +78 -0
- package/kit/agents/spec-reviewer.md +75 -0
- package/kit/defaults/tenet.yaml +25 -0
- package/kit/hooks/pre-commit +7 -0
- package/kit/packs/minimal/pack.yaml +54 -0
- package/kit/practices/default.md +6 -0
- package/kit/schemas/agent-card.json +280 -0
- package/kit/schemas/assignment.json +128 -0
- package/kit/schemas/board.json +563 -0
- package/kit/schemas/bundle.json +148 -0
- package/kit/schemas/finding.json +59 -0
- package/kit/schemas/interview.json +48 -0
- package/kit/schemas/inventory.json +409 -0
- package/kit/schemas/lock.json +37 -0
- package/kit/schemas/manifest-local.json +31 -0
- package/kit/schemas/manifest.json +109 -0
- package/kit/schemas/pack.json +190 -0
- package/kit/schemas/packet.json +94 -0
- package/kit/schemas/proof-card.json +526 -0
- package/kit/schemas/results/bless.json +14 -0
- package/kit/schemas/results/board.json +169 -0
- package/kit/schemas/results/check.json +42 -0
- package/kit/schemas/results/context.json +169 -0
- package/kit/schemas/results/doctor.json +22 -0
- package/kit/schemas/results/fix.json +33 -0
- package/kit/schemas/results/init.json +102 -0
- package/kit/schemas/results/mcp.json +173 -0
- package/kit/schemas/results/onboard.json +72 -0
- package/kit/schemas/results/remove.json +34 -0
- package/kit/schemas/results/split.json +21 -0
- package/kit/schemas/results/upgrade.json +23 -0
- package/kit/schemas/results/verify.json +34 -0
- package/kit/schemas/spec-front-matter.json +218 -0
- package/kit/schemas/tenet-yaml.json +356 -0
- package/kit/schemas/test-report.json +77 -0
- package/kit/skills/draft-specs/SKILL.md +38 -0
- package/kit/skills/review-with-findings/SKILL.md +21 -0
- package/kit/skills/work-a-change/SKILL.md +30 -0
- package/kit/templates/agents-block.md +47 -0
- package/kit/templates/design.md +43 -0
- package/kit/templates/escalation.md +34 -0
- package/kit/templates/experience.md +33 -0
- package/kit/templates/intent.md +56 -0
- package/kit/templates/plan.md +35 -0
- package/kit/templates/pull-request.md +25 -0
- package/kit/templates/requirements.md +43 -0
- package/kit/templates/vision.md +69 -0
- package/kit/workflows/existing-ci-step.yml +83 -0
- package/kit/workflows/tenet-tests.yml +88 -0
- package/kit/workflows/tenet.yml +87 -0
- package/package.json +67 -4
- package/pkg/conformance/alg-02/README.md +18 -0
- package/pkg/conformance/alg-02/n01-duplicate-slug/expected.json +5 -0
- package/pkg/conformance/alg-02/n01-duplicate-slug/input.json +5 -0
- package/pkg/conformance/alg-02/n02-ambiguous-rename/expected.json +12 -0
- package/pkg/conformance/alg-02/n02-ambiguous-rename/input.json +20 -0
- package/pkg/conformance/alg-02/n03-missing-front/expected.json +12 -0
- package/pkg/conformance/alg-02/n03-missing-front/input.json +5 -0
- package/pkg/conformance/alg-02/n04-invalid-origin/expected.json +4 -0
- package/pkg/conformance/alg-02/n04-invalid-origin/input.json +9 -0
- package/pkg/conformance/alg-02/p01-leading-preamble/expected.json +15 -0
- package/pkg/conformance/alg-02/p01-leading-preamble/input.json +5 -0
- package/pkg/conformance/alg-02/p02-four-backtick-fence/expected.json +11 -0
- package/pkg/conformance/alg-02/p02-four-backtick-fence/input.json +5 -0
- package/pkg/conformance/alg-02/p03-unicode-and-empty-slug/expected.json +14 -0
- package/pkg/conformance/alg-02/p03-unicode-and-empty-slug/input.json +5 -0
- package/pkg/conformance/alg-02/p04-normalized-bodies/expected.json +6 -0
- package/pkg/conformance/alg-02/p04-normalized-bodies/input.json +7 -0
- package/pkg/conformance/alg-02/p05-rename-digest/expected.json +10 -0
- package/pkg/conformance/alg-02/p05-rename-digest/input.json +16 -0
- package/pkg/conformance/alg-02/p06-requirement-prefix/expected.json +14 -0
- package/pkg/conformance/alg-02/p06-requirement-prefix/input.json +7 -0
- package/pkg/conformance/alg-03/README.md +20 -0
- package/pkg/conformance/alg-03/n01-ambiguous-relocation/expected.json +3 -0
- package/pkg/conformance/alg-03/n01-ambiguous-relocation/input.json +8 -0
- package/pkg/conformance/alg-03/n02-missing-source/expected.json +5 -0
- package/pkg/conformance/alg-03/n02-missing-source/input.json +12 -0
- package/pkg/conformance/alg-03/n03-edited-intent/expected.json +5 -0
- package/pkg/conformance/alg-03/n03-edited-intent/input.json +14 -0
- package/pkg/conformance/alg-03/n04-unblessed-stale-metadata/expected.json +3 -0
- package/pkg/conformance/alg-03/n04-unblessed-stale-metadata/input.json +12 -0
- package/pkg/conformance/alg-03/n05-ambiguous-moved-anchor/expected.json +5 -0
- package/pkg/conformance/alg-03/n05-ambiguous-moved-anchor/input.json +14 -0
- package/pkg/conformance/alg-03/p01-path-anchor/expected.json +8 -0
- package/pkg/conformance/alg-03/p01-path-anchor/input.json +15 -0
- package/pkg/conformance/alg-03/p02-peer-test-anchor/expected.json +8 -0
- package/pkg/conformance/alg-03/p02-peer-test-anchor/input.json +15 -0
- package/pkg/conformance/alg-03/p03-doc-anchor/expected.json +8 -0
- package/pkg/conformance/alg-03/p03-doc-anchor/input.json +15 -0
- package/pkg/conformance/alg-03/p04-unique-relocation/expected.json +4 -0
- package/pkg/conformance/alg-03/p04-unique-relocation/input.json +8 -0
- package/pkg/conformance/alg-03/p05-clean-moved-anchor/expected.json +3 -0
- package/pkg/conformance/alg-03/p05-clean-moved-anchor/input.json +14 -0
- package/pkg/conformance/alg-03/p06-owner-precedence/expected.json +5 -0
- package/pkg/conformance/alg-03/p06-owner-precedence/input.json +7 -0
- package/pkg/conformance/alg-03/p07-owner-last-match/expected.json +6 -0
- package/pkg/conformance/alg-03/p07-owner-last-match/input.json +6 -0
- package/pkg/conformance/alg-04/README.md +19 -0
- package/pkg/conformance/alg-04/n01-missing-file/expected.json +10 -0
- package/pkg/conformance/alg-04/n01-missing-file/input.json +6 -0
- package/pkg/conformance/alg-04/n02-backward-range/expected.json +10 -0
- package/pkg/conformance/alg-04/n02-backward-range/input.json +8 -0
- package/pkg/conformance/alg-04/n03-missing-heading/expected.json +10 -0
- package/pkg/conformance/alg-04/n03-missing-heading/input.json +8 -0
- package/pkg/conformance/alg-04/n04-reversed-test-segments/expected.json +10 -0
- package/pkg/conformance/alg-04/n04-reversed-test-segments/input.json +8 -0
- package/pkg/conformance/alg-04/n05-out-of-range/expected.json +10 -0
- package/pkg/conformance/alg-04/n05-out-of-range/input.json +8 -0
- package/pkg/conformance/alg-04/p01-single-line/expected.json +3 -0
- package/pkg/conformance/alg-04/p01-single-line/input.json +8 -0
- package/pkg/conformance/alg-04/p02-full-range/expected.json +3 -0
- package/pkg/conformance/alg-04/p02-full-range/input.json +8 -0
- package/pkg/conformance/alg-04/p03-doc-heading/expected.json +3 -0
- package/pkg/conformance/alg-04/p03-doc-heading/input.json +8 -0
- package/pkg/conformance/alg-04/p04-nested-test/expected.json +3 -0
- package/pkg/conformance/alg-04/p04-nested-test/input.json +8 -0
- package/pkg/conformance/alg-04/p05-python-test/expected.json +3 -0
- package/pkg/conformance/alg-04/p05-python-test/input.json +8 -0
- package/pkg/conformance/alg-04/p06-go-test/expected.json +3 -0
- package/pkg/conformance/alg-04/p06-go-test/input.json +8 -0
- package/pkg/conformance/alg-08/cases.json +263 -0
- package/pkg/conformance/alg-09/cases.json +95 -0
- package/pkg/conformance/alg-10/README.md +24 -0
- package/pkg/conformance/alg-10/n01-no-blessed-material/expected.json +7 -0
- package/pkg/conformance/alg-10/n01-no-blessed-material/input.json +23 -0
- package/pkg/conformance/alg-10/n02-rejected-section/expected.json +7 -0
- package/pkg/conformance/alg-10/n02-rejected-section/input.json +24 -0
- package/pkg/conformance/alg-10/n03-broken-blessed-copy/expected.json +7 -0
- package/pkg/conformance/alg-10/n03-broken-blessed-copy/input.json +27 -0
- package/pkg/conformance/alg-10/n04-local-omitted/expected.json +12 -0
- package/pkg/conformance/alg-10/n04-local-omitted/input.json +27 -0
- package/pkg/conformance/alg-10/n05-over-budget-explicit-id/expected.json +10 -0
- package/pkg/conformance/alg-10/n05-over-budget-explicit-id/input.json +26 -0
- package/pkg/conformance/alg-10/n06-unknown-method/expected.json +11 -0
- package/pkg/conformance/alg-10/n06-unknown-method/input.json +32 -0
- package/pkg/conformance/alg-10/p01-path-admitted/expected.json +14 -0
- package/pkg/conformance/alg-10/p01-path-admitted/input.json +26 -0
- package/pkg/conformance/alg-10/p02-retry-once-source-changed/expected.json +15 -0
- package/pkg/conformance/alg-10/p02-retry-once-source-changed/input.json +26 -0
- package/pkg/conformance/alg-10/p03-id-and-path-deduplicate/expected.json +13 -0
- package/pkg/conformance/alg-10/p03-id-and-path-deduplicate/input.json +30 -0
- package/pkg/conformance/alg-10/p04-include-draft-with-blessing/expected.json +17 -0
- package/pkg/conformance/alg-10/p04-include-draft-with-blessing/input.json +27 -0
- package/pkg/conformance/alg-10/p05-no-inputs-global-and-index/expected.json +16 -0
- package/pkg/conformance/alg-10/p05-no-inputs-global-and-index/input.json +21 -0
- package/pkg/conformance/alg-10/p06-checked-policy-rule/expected.json +20 -0
- package/pkg/conformance/alg-10/p06-checked-policy-rule/input.json +26 -0
- package/pkg/conformance/alg-10/p07-mcp-session/expected.json +60 -0
- package/pkg/conformance/alg-10/p07-mcp-session/input.json +65 -0
- package/pkg/conformance/alg-10/p08-applies-to-prose/expected.json +12 -0
- package/pkg/conformance/alg-10/p08-applies-to-prose/input.json +25 -0
- package/pkg/conformance/alg-10/p09-global-beyond-reserve/expected.json +14 -0
- package/pkg/conformance/alg-10/p09-global-beyond-reserve/input.json +27 -0
- package/pkg/conformance/alg-10/p10-query-case-insensitive/expected.json +11 -0
- package/pkg/conformance/alg-10/p10-query-case-insensitive/input.json +23 -0
- package/pkg/conformance/alg-11/README.md +29 -0
- package/pkg/conformance/alg-11/n01-no-commits-refused/expected.json +11 -0
- package/pkg/conformance/alg-11/n01-no-commits-refused/input.json +13 -0
- package/pkg/conformance/alg-11/n02-secrets-and-env-skipped/expected.json +153 -0
- package/pkg/conformance/alg-11/n02-secrets-and-env-skipped/input.json +20 -0
- package/pkg/conformance/alg-11/n03-generated-vendored-and-tests-excluded-from-size/expected.json +171 -0
- package/pkg/conformance/alg-11/n03-generated-vendored-and-tests-excluded-from-size/input.json +22 -0
- package/pkg/conformance/alg-11/n04-binary-oversize-and-onboard-exclude-skipped/expected.json +137 -0
- package/pkg/conformance/alg-11/n04-binary-oversize-and-onboard-exclude-skipped/input.json +20 -0
- package/pkg/conformance/alg-11/n05-uncommitted-worktree-source-ignored/expected.json +124 -0
- package/pkg/conformance/alg-11/n05-uncommitted-worktree-source-ignored/input.json +17 -0
- package/pkg/conformance/alg-11/p01-small-one-file-service/expected.json +145 -0
- package/pkg/conformance/alg-11/p01-small-one-file-service/input.json +18 -0
- package/pkg/conformance/alg-11/p02-four-codeowners-areas-separate/expected.json +255 -0
- package/pkg/conformance/alg-11/p02-four-codeowners-areas-separate/input.json +17 -0
- package/pkg/conformance/alg-11/p03-twenty-thousand-lines-separate/expected.json +169 -0
- package/pkg/conformance/alg-11/p03-twenty-thousand-lines-separate/input.json +14 -0
- package/pkg/conformance/alg-11/p04-merge-small-unit-into-neighbor/expected.json +186 -0
- package/pkg/conformance/alg-11/p04-merge-small-unit-into-neighbor/input.json +15 -0
- package/pkg/conformance/alg-11/p05-layout-override/expected.json +128 -0
- package/pkg/conformance/alg-11/p05-layout-override/input.json +14 -0
- package/pkg/conformance/alg-11/p06-cli-kind-and-instruction-files/expected.json +154 -0
- package/pkg/conformance/alg-11/p06-cli-kind-and-instruction-files/input.json +18 -0
- package/pkg/conformance/alg-11/p07-local-test-report-in-observations/expected.json +131 -0
- package/pkg/conformance/alg-11/p07-local-test-report-in-observations/input.json +17 -0
- package/pkg/conformance/alg-11/p08-first-findings-all-four-kinds/expected.json +207 -0
- package/pkg/conformance/alg-11/p08-first-findings-all-four-kinds/input.json +20 -0
- package/pkg/conformance/alg-14/README.md +21 -0
- package/pkg/conformance/alg-14/n01-draft-implements/expected.json +3 -0
- package/pkg/conformance/alg-14/n01-draft-implements/input.json +12 -0
- package/pkg/conformance/alg-14/n02-outside-replacement/expected.json +8 -0
- package/pkg/conformance/alg-14/n02-outside-replacement/input.json +12 -0
- package/pkg/conformance/alg-14/n03-insertion-at-end/expected.json +8 -0
- package/pkg/conformance/alg-14/n03-insertion-at-end/input.json +12 -0
- package/pkg/conformance/alg-14/n04-same-owner-different-rule/expected.json +3 -0
- package/pkg/conformance/alg-14/n04-same-owner-different-rule/input.json +16 -0
- package/pkg/conformance/alg-14/n05-missing-implements/expected.json +3 -0
- package/pkg/conformance/alg-14/n05-missing-implements/input.json +12 -0
- package/pkg/conformance/alg-14/p01-implements-first/expected.json +8 -0
- package/pkg/conformance/alg-14/p01-implements-first/input.json +14 -0
- package/pkg/conformance/alg-14/p02-overlapping-replacement/expected.json +8 -0
- package/pkg/conformance/alg-14/p02-overlapping-replacement/input.json +12 -0
- package/pkg/conformance/alg-14/p03-interior-insertion/expected.json +8 -0
- package/pkg/conformance/alg-14/p03-interior-insertion/input.json +12 -0
- package/pkg/conformance/alg-14/p04-text-changed/expected.json +8 -0
- package/pkg/conformance/alg-14/p04-text-changed/input.json +10 -0
- package/pkg/conformance/alg-14/p05-same-folder/expected.json +8 -0
- package/pkg/conformance/alg-14/p05-same-folder/input.json +14 -0
- package/pkg/conformance/alg-14/p06-codeowners-priority/expected.json +8 -0
- package/pkg/conformance/alg-14/p06-codeowners-priority/input.json +18 -0
- package/pkg/conformance/alg-14/p07-same-area-cap/expected.json +44 -0
- package/pkg/conformance/alg-14/p07-same-area-cap/input.json +14 -0
- package/pkg/conformance/alg-14/p08-deleted-document/expected.json +8 -0
- package/pkg/conformance/alg-14/p08-deleted-document/input.json +13 -0
- package/pkg/conformance/board/README.md +19 -0
- package/pkg/conformance/board/n01-no-specifications/expected.json +8 -0
- package/pkg/conformance/board/n01-no-specifications/expected.md +1 -0
- package/pkg/conformance/board/n01-no-specifications/input.json +19 -0
- package/pkg/conformance/board/n02-broken-citation/expected.json +14 -0
- package/pkg/conformance/board/n02-broken-citation/expected.md +1 -0
- package/pkg/conformance/board/n02-broken-citation/input.json +24 -0
- package/pkg/conformance/board/n03-untested-requirement/expected.json +12 -0
- package/pkg/conformance/board/n03-untested-requirement/expected.md +1 -0
- package/pkg/conformance/board/n03-untested-requirement/input.json +23 -0
- package/pkg/conformance/board/n04-over-budget/expected.json +14 -0
- package/pkg/conformance/board/n04-over-budget/expected.md +1 -0
- package/pkg/conformance/board/n04-over-budget/input.json +20 -0
- package/pkg/conformance/board/p01-fresh-draft/expected.json +22 -0
- package/pkg/conformance/board/p01-fresh-draft/expected.md +2 -0
- package/pkg/conformance/board/p01-fresh-draft/input.json +20 -0
- package/pkg/conformance/board/p02-half-blessed/expected.json +34 -0
- package/pkg/conformance/board/p02-half-blessed/expected.md +3 -0
- package/pkg/conformance/board/p02-half-blessed/input.json +25 -0
- package/pkg/conformance/board/p03-sources-changed/expected.json +18 -0
- package/pkg/conformance/board/p03-sources-changed/expected.md +2 -0
- package/pkg/conformance/board/p03-sources-changed/input.json +24 -0
- package/pkg/conformance/board/p04-clean-all/expected.json +17 -0
- package/pkg/conformance/board/p04-clean-all/expected.md +1 -0
- package/pkg/conformance/board/p04-clean-all/input.json +25 -0
- package/pkg/conformance/board/p05-clean-default/expected.json +7 -0
- package/pkg/conformance/board/p05-clean-default/expected.md +1 -0
- package/pkg/conformance/board/p05-clean-default/input.json +25 -0
- package/pkg/conformance/board/p06-edited-only/expected.json +18 -0
- package/pkg/conformance/board/p06-edited-only/expected.md +2 -0
- package/pkg/conformance/board/p06-edited-only/input.json +23 -0
- package/pkg/conformance/board/p07-ux-part-2/expected.json +47 -0
- package/pkg/conformance/board/p07-ux-part-2/expected.md +7 -0
- package/pkg/conformance/board/p07-ux-part-2/input.json +26 -0
- package/pkg/conformance/card/README.md +34 -0
- package/pkg/conformance/card/n01-no-acceptance-block/expected.json +62 -0
- package/pkg/conformance/card/n01-no-acceptance-block/expected.md +7 -0
- package/pkg/conformance/card/n01-no-acceptance-block/input.json +94 -0
- package/pkg/conformance/card/n02-malformed-acceptance-block/expected.json +64 -0
- package/pkg/conformance/card/n02-malformed-acceptance-block/expected.md +8 -0
- package/pkg/conformance/card/n02-malformed-acceptance-block/input.json +99 -0
- package/pkg/conformance/card/n03-report-missing-not-checked/expected.json +85 -0
- package/pkg/conformance/card/n03-report-missing-not-checked/expected.md +9 -0
- package/pkg/conformance/card/n03-report-missing-not-checked/input.json +97 -0
- package/pkg/conformance/card/n04-nonzero-exit-after-passing-report/expected.json +84 -0
- package/pkg/conformance/card/n04-nonzero-exit-after-passing-report/expected.md +8 -0
- package/pkg/conformance/card/n04-nonzero-exit-after-passing-report/input.json +99 -0
- package/pkg/conformance/card/n05-bundle-refused-and-records-not-kept/expected.json +83 -0
- package/pkg/conformance/card/n05-bundle-refused-and-records-not-kept/expected.md +8 -0
- package/pkg/conformance/card/n05-bundle-refused-and-records-not-kept/input.json +98 -0
- package/pkg/conformance/card/n06-policy-load-failure-fallback/expected.json +93 -0
- package/pkg/conformance/card/n06-policy-load-failure-fallback/expected.md +9 -0
- package/pkg/conformance/card/n06-policy-load-failure-fallback/input.json +105 -0
- package/pkg/conformance/card/p01-clean-pass-success/expected.json +93 -0
- package/pkg/conformance/card/p01-clean-pass-success/expected.md +8 -0
- package/pkg/conformance/card/p01-clean-pass-success/input.json +101 -0
- package/pkg/conformance/card/p02-no-blessed-intent-badge/expected.json +62 -0
- package/pkg/conformance/card/p02-no-blessed-intent-badge/expected.md +5 -0
- package/pkg/conformance/card/p02-no-blessed-intent-badge/input.json +92 -0
- package/pkg/conformance/card/p03-matrix-shards-and-retry-merge/expected.json +93 -0
- package/pkg/conformance/card/p03-matrix-shards-and-retry-merge/expected.md +8 -0
- package/pkg/conformance/card/p03-matrix-shards-and-retry-merge/input.json +137 -0
- package/pkg/conformance/card/p04-blessings-changed-and-requirement-deltas/expected.json +122 -0
- package/pkg/conformance/card/p04-blessings-changed-and-requirement-deltas/expected.md +11 -0
- package/pkg/conformance/card/p04-blessings-changed-and-requirement-deltas/input.json +102 -0
- package/pkg/conformance/card/p05-workflow-and-protected-surfaces-would-block/expected.json +88 -0
- package/pkg/conformance/card/p05-workflow-and-protected-surfaces-would-block/expected.md +8 -0
- package/pkg/conformance/card/p05-workflow-and-protected-surfaces-would-block/input.json +101 -0
- package/pkg/conformance/card/p06-test-weakening-would-block/expected.json +99 -0
- package/pkg/conformance/card/p06-test-weakening-would-block/expected.md +8 -0
- package/pkg/conformance/card/p06-test-weakening-would-block/input.json +101 -0
- package/pkg/conformance/card/p07-only-skipped-cases/expected.json +80 -0
- package/pkg/conformance/card/p07-only-skipped-cases/expected.md +7 -0
- package/pkg/conformance/card/p07-only-skipped-cases/input.json +99 -0
- package/pkg/conformance/card/p08-coverage-not-confirmed/expected.json +80 -0
- package/pkg/conformance/card/p08-coverage-not-confirmed/expected.md +7 -0
- package/pkg/conformance/card/p08-coverage-not-confirmed/input.json +99 -0
- package/pkg/conformance/check/README.md +26 -0
- package/pkg/conformance/check/n01-missing-citation-file/expected.json +15 -0
- package/pkg/conformance/check/n01-missing-citation-file/input.json +25 -0
- package/pkg/conformance/check/n02-citation-out-of-range/expected.json +15 -0
- package/pkg/conformance/check/n02-citation-out-of-range/input.json +26 -0
- package/pkg/conformance/check/n03-missing-citation-heading/expected.json +15 -0
- package/pkg/conformance/check/n03-missing-citation-heading/input.json +26 -0
- package/pkg/conformance/check/n04-missing-citation-test/expected.json +15 -0
- package/pkg/conformance/check/n04-missing-citation-test/input.json +26 -0
- package/pkg/conformance/check/n05-changed-blessed-copy/expected.json +12 -0
- package/pkg/conformance/check/n05-changed-blessed-copy/input.json +29 -0
- package/pkg/conformance/check/n06-missing-blessed-copy/expected.json +12 -0
- package/pkg/conformance/check/n06-missing-blessed-copy/input.json +27 -0
- package/pkg/conformance/check/n07-two-blessed-ids/expected.json +12 -0
- package/pkg/conformance/check/n07-two-blessed-ids/input.json +32 -0
- package/pkg/conformance/check/n08-uncovered-vision/expected.json +8 -0
- package/pkg/conformance/check/n08-uncovered-vision/input.json +27 -0
- package/pkg/conformance/check/n09-ci-budget-crossing/expected.json +13 -0
- package/pkg/conformance/check/n09-ci-budget-crossing/input.json +47 -0
- package/pkg/conformance/check/n10-kit-edited/expected.json +12 -0
- package/pkg/conformance/check/n10-kit-edited/input.json +31 -0
- package/pkg/conformance/check/n11-lock-version-mismatch/expected.json +13 -0
- package/pkg/conformance/check/n11-lock-version-mismatch/input.json +31 -0
- package/pkg/conformance/check/n12-local-budget-warning/expected.json +10 -0
- package/pkg/conformance/check/n12-local-budget-warning/input.json +29 -0
- package/pkg/conformance/check/p01-covered-vision/expected.json +6 -0
- package/pkg/conformance/check/p01-covered-vision/input.json +29 -0
- package/pkg/conformance/check/p02-path-citation/expected.json +6 -0
- package/pkg/conformance/check/p02-path-citation/input.json +26 -0
- package/pkg/conformance/check/p03-doc-and-test-citations/expected.json +6 -0
- package/pkg/conformance/check/p03-doc-and-test-citations/input.json +27 -0
- package/pkg/conformance/check/p04-valid-blessed-copy/expected.json +6 -0
- package/pkg/conformance/check/p04-valid-blessed-copy/input.json +30 -0
- package/pkg/conformance/check/p05-unique-across-documents/expected.json +6 -0
- package/pkg/conformance/check/p05-unique-across-documents/input.json +32 -0
- package/pkg/conformance/check/p06-matching-lock-and-kit/expected.json +6 -0
- package/pkg/conformance/check/p06-matching-lock-and-kit/input.json +31 -0
- package/pkg/conformance/install/.gitattributes +1 -0
- package/pkg/conformance/install/README.md +40 -0
- package/pkg/conformance/install/environment.json +29 -0
- package/pkg/conformance/install/n01-git-executable-missing/args.json +17 -0
- package/pkg/conformance/install/n01-git-executable-missing/before/README.md +1 -0
- package/pkg/conformance/install/n02-not-a-git-repository/args.json +15 -0
- package/pkg/conformance/install/n02-not-a-git-repository/before/README.md +1 -0
- package/pkg/conformance/install/n02-not-a-git-repository/expected/01-init/result.json +4 -0
- package/pkg/conformance/install/n03-remove-recorded-parent-path/args.json +14 -0
- package/pkg/conformance/install/n03-remove-recorded-parent-path/before/.tenet/manifest.json +12 -0
- package/pkg/conformance/install/n03-remove-recorded-parent-path/before/README.md +1 -0
- package/pkg/conformance/install/n03-remove-recorded-parent-path/before/tenet.yaml +1 -0
- package/pkg/conformance/install/n03-remove-recorded-parent-path/expected/01-remove/result.json +4 -0
- package/pkg/conformance/install/n04-init-symlink-outside/args.json +22 -0
- package/pkg/conformance/install/n04-init-symlink-outside/before/package-lock.json +15 -0
- package/pkg/conformance/install/n04-init-symlink-outside/before/package.json +11 -0
- package/pkg/conformance/install/n04-init-symlink-outside/before/src/retry.ts +1 -0
- package/pkg/conformance/install/n04-init-symlink-outside/before/test/retry.test.ts +3 -0
- package/pkg/conformance/install/n04-init-symlink-outside/expected/01-init/result.json +4 -0
- package/pkg/conformance/install/n05-conflicting-created-workflow/args.json +12 -0
- package/pkg/conformance/install/n05-conflicting-created-workflow/before/.github/workflows/tenet.yml +3 -0
- package/pkg/conformance/install/n05-conflicting-created-workflow/before/package-lock.json +15 -0
- package/pkg/conformance/install/n05-conflicting-created-workflow/before/package.json +11 -0
- package/pkg/conformance/install/n05-conflicting-created-workflow/before/src/retry.ts +1 -0
- package/pkg/conformance/install/n05-conflicting-created-workflow/before/test/retry.test.ts +3 -0
- package/pkg/conformance/install/n05-conflicting-created-workflow/expected/01-init/result.json +4 -0
- package/pkg/conformance/install/n06-interrupted-plan-drift/args.json +27 -0
- package/pkg/conformance/install/n06-interrupted-plan-drift/before/AGENTS.md +1 -0
- package/pkg/conformance/install/n06-interrupted-plan-drift/before/package-lock.json +15 -0
- package/pkg/conformance/install/n06-interrupted-plan-drift/before/package.json +11 -0
- package/pkg/conformance/install/n06-interrupted-plan-drift/before/src/retry.ts +1 -0
- package/pkg/conformance/install/n06-interrupted-plan-drift/before/test/retry.test.ts +3 -0
- package/pkg/conformance/install/n07-doctor-missing-lock/args.json +11 -0
- package/pkg/conformance/install/n07-doctor-missing-lock/before/README.md +1 -0
- package/pkg/conformance/install/n07-doctor-missing-lock/before/tenet.yaml +2 -0
- package/pkg/conformance/install/n07-doctor-missing-lock/expected/01-doctor/tree/README.md +1 -0
- package/pkg/conformance/install/n07-doctor-missing-lock/expected/01-doctor/tree/tenet.yaml +2 -0
- package/pkg/conformance/install/n08-preflight-declined/args.json +14 -0
- package/pkg/conformance/install/n08-preflight-declined/before/AGENTS.md +1 -0
- package/pkg/conformance/install/n08-preflight-declined/before/package-lock.json +15 -0
- package/pkg/conformance/install/n08-preflight-declined/before/package.json +11 -0
- package/pkg/conformance/install/n08-preflight-declined/before/src/retry.ts +1 -0
- package/pkg/conformance/install/n08-preflight-declined/before/test/retry.test.ts +3 -0
- package/pkg/conformance/install/n08-preflight-declined/expected/01-init/tree/AGENTS.md +1 -0
- package/pkg/conformance/install/n08-preflight-declined/expected/01-init/tree/package-lock.json +15 -0
- package/pkg/conformance/install/n08-preflight-declined/expected/01-init/tree/package.json +11 -0
- package/pkg/conformance/install/n08-preflight-declined/expected/01-init/tree/src/retry.ts +1 -0
- package/pkg/conformance/install/n08-preflight-declined/expected/01-init/tree/test/retry.test.ts +3 -0
- package/pkg/conformance/install/p01-empty/args.json +15 -0
- package/pkg/conformance/install/p01-empty/before/.gitkeep +0 -0
- package/pkg/conformance/install/p02-node-vitest/args.json +12 -0
- package/pkg/conformance/install/p02-node-vitest/before/.nvmrc +1 -0
- package/pkg/conformance/install/p02-node-vitest/before/package-lock.json +15 -0
- package/pkg/conformance/install/p02-node-vitest/before/package.json +11 -0
- package/pkg/conformance/install/p02-node-vitest/before/src/retry.ts +1 -0
- package/pkg/conformance/install/p02-node-vitest/before/test/retry.test.ts +3 -0
- package/pkg/conformance/install/p03-node-existing-ci/args.json +12 -0
- package/pkg/conformance/install/p03-node-existing-ci/before/.github/workflows/ci.yml +10 -0
- package/pkg/conformance/install/p03-node-existing-ci/before/package-lock.json +15 -0
- package/pkg/conformance/install/p03-node-existing-ci/before/package.json +11 -0
- package/pkg/conformance/install/p03-node-existing-ci/before/src/retry.ts +1 -0
- package/pkg/conformance/install/p03-node-existing-ci/before/test/retry.test.ts +3 -0
- package/pkg/conformance/install/p04-node-matrix/args.json +12 -0
- package/pkg/conformance/install/p04-node-matrix/before/.github/workflows/ci.yml +13 -0
- package/pkg/conformance/install/p04-node-matrix/before/package-lock.json +15 -0
- package/pkg/conformance/install/p04-node-matrix/before/package.json +11 -0
- package/pkg/conformance/install/p04-node-matrix/before/src/retry.ts +1 -0
- package/pkg/conformance/install/p04-node-matrix/before/test/retry.test.ts +3 -0
- package/pkg/conformance/install/p05-python-pytest/args.json +12 -0
- package/pkg/conformance/install/p05-python-pytest/before/.python-version +1 -0
- package/pkg/conformance/install/p05-python-pytest/before/requirements.txt +1 -0
- package/pkg/conformance/install/p05-python-pytest/before/tests/test_retry.py +2 -0
- package/pkg/conformance/install/p06-go/args.json +12 -0
- package/pkg/conformance/install/p06-go/before/go.mod +3 -0
- package/pkg/conformance/install/p06-go/before/retry_test.go +5 -0
- package/pkg/conformance/install/p07-existing-agents-md/args.json +12 -0
- package/pkg/conformance/install/p07-existing-agents-md/before/AGENTS.md +7 -0
- package/pkg/conformance/install/p07-existing-agents-md/before/package-lock.json +15 -0
- package/pkg/conformance/install/p07-existing-agents-md/before/package.json +11 -0
- package/pkg/conformance/install/p07-existing-agents-md/before/src/retry.ts +1 -0
- package/pkg/conformance/install/p07-existing-agents-md/before/test/retry.test.ts +3 -0
- package/pkg/conformance/install/p08-existing-mcp/args.json +12 -0
- package/pkg/conformance/install/p08-existing-mcp/before/.mcp.json +18 -0
- package/pkg/conformance/install/p08-existing-mcp/before/CLAUDE.md +1 -0
- package/pkg/conformance/install/p08-existing-mcp/before/package-lock.json +15 -0
- package/pkg/conformance/install/p08-existing-mcp/before/package.json +11 -0
- package/pkg/conformance/install/p08-existing-mcp/before/src/retry.ts +1 -0
- package/pkg/conformance/install/p08-existing-mcp/before/test/retry.test.ts +3 -0
- package/pkg/conformance/install/p09-init-repeat-upgrade-remove/args.json +33 -0
- package/pkg/conformance/install/p09-init-repeat-upgrade-remove/before/.gitattributes +1 -0
- package/pkg/conformance/install/p09-init-repeat-upgrade-remove/before/.github/pull_request_template.md +1 -0
- package/pkg/conformance/install/p09-init-repeat-upgrade-remove/before/.mcp.json +18 -0
- package/pkg/conformance/install/p09-init-repeat-upgrade-remove/before/AGENTS.md +3 -0
- package/pkg/conformance/install/p09-init-repeat-upgrade-remove/before/CLAUDE.md +3 -0
- package/pkg/conformance/install/p09-init-repeat-upgrade-remove/before/package-lock.json +15 -0
- package/pkg/conformance/install/p09-init-repeat-upgrade-remove/before/package.json +11 -0
- package/pkg/conformance/install/p09-init-repeat-upgrade-remove/before/src/retry.ts +1 -0
- package/pkg/conformance/install/p09-init-repeat-upgrade-remove/before/tenet/intent.md +3 -0
- package/pkg/conformance/install/p09-init-repeat-upgrade-remove/before/test/retry.test.ts +3 -0
- package/pkg/conformance/install/p09-init-repeat-upgrade-remove/expected/04-remove/tree/.gitattributes +1 -0
- package/pkg/conformance/install/p09-init-repeat-upgrade-remove/expected/04-remove/tree/.github/pull_request_template.md +1 -0
- package/pkg/conformance/install/p09-init-repeat-upgrade-remove/expected/04-remove/tree/.mcp.json +18 -0
- package/pkg/conformance/install/p09-init-repeat-upgrade-remove/expected/04-remove/tree/AGENTS.md +3 -0
- package/pkg/conformance/install/p09-init-repeat-upgrade-remove/expected/04-remove/tree/CLAUDE.md +3 -0
- package/pkg/conformance/install/p09-init-repeat-upgrade-remove/expected/04-remove/tree/package-lock.json +15 -0
- package/pkg/conformance/install/p09-init-repeat-upgrade-remove/expected/04-remove/tree/package.json +11 -0
- package/pkg/conformance/install/p09-init-repeat-upgrade-remove/expected/04-remove/tree/src/retry.ts +1 -0
- package/pkg/conformance/install/p09-init-repeat-upgrade-remove/expected/04-remove/tree/tenet/intent.md +3 -0
- package/pkg/conformance/install/p09-init-repeat-upgrade-remove/expected/04-remove/tree/test/retry.test.ts +3 -0
- package/pkg/conformance/install/p10-remove-keeps-user-edits/args.json +24 -0
- package/pkg/conformance/install/p10-remove-keeps-user-edits/before/.mcp.json +18 -0
- package/pkg/conformance/install/p10-remove-keeps-user-edits/before/CLAUDE.md +1 -0
- package/pkg/conformance/install/p10-remove-keeps-user-edits/before/package-lock.json +15 -0
- package/pkg/conformance/install/p10-remove-keeps-user-edits/before/package.json +11 -0
- package/pkg/conformance/install/p10-remove-keeps-user-edits/before/src/retry.ts +1 -0
- package/pkg/conformance/install/p10-remove-keeps-user-edits/before/tenet/intent.md +1 -0
- package/pkg/conformance/install/p10-remove-keeps-user-edits/before/test/retry.test.ts +3 -0
- package/pkg/conformance/install/p10-remove-keeps-user-edits/expected/02-remove/tree/.mcp.json +16 -0
- package/pkg/conformance/install/p10-remove-keeps-user-edits/expected/02-remove/tree/CLAUDE.md +1 -0
- package/pkg/conformance/install/p10-remove-keeps-user-edits/expected/02-remove/tree/package-lock.json +15 -0
- package/pkg/conformance/install/p10-remove-keeps-user-edits/expected/02-remove/tree/package.json +11 -0
- package/pkg/conformance/install/p10-remove-keeps-user-edits/expected/02-remove/tree/src/retry.ts +1 -0
- package/pkg/conformance/install/p10-remove-keeps-user-edits/expected/02-remove/tree/tenet/intent.md +1 -0
- package/pkg/conformance/install/p10-remove-keeps-user-edits/expected/02-remove/tree/tenet.yaml +2 -0
- package/pkg/conformance/install/p10-remove-keeps-user-edits/expected/02-remove/tree/test/retry.test.ts +3 -0
- package/pkg/conformance/install/p11-interrupted-install-resumes/args.json +24 -0
- package/pkg/conformance/install/p11-interrupted-install-resumes/before/.mcp.json +18 -0
- package/pkg/conformance/install/p11-interrupted-install-resumes/before/CLAUDE.md +1 -0
- package/pkg/conformance/install/p11-interrupted-install-resumes/before/package-lock.json +15 -0
- package/pkg/conformance/install/p11-interrupted-install-resumes/before/package.json +11 -0
- package/pkg/conformance/install/p11-interrupted-install-resumes/before/src/retry.ts +1 -0
- package/pkg/conformance/install/p11-interrupted-install-resumes/before/test/retry.test.ts +3 -0
- package/pkg/conformance/install/p12-windows-local-host/args.json +26 -0
- package/pkg/conformance/install/p12-windows-local-host/before/.vscode/mcp.json +10 -0
- package/pkg/conformance/install/p12-windows-local-host/before/CLAUDE.md +1 -0
- package/pkg/conformance/install/p12-windows-local-host/before/package-lock.json +15 -0
- package/pkg/conformance/install/p12-windows-local-host/before/package.json +11 -0
- package/pkg/conformance/install/p12-windows-local-host/before/src/retry.ts +1 -0
- package/pkg/conformance/install/p12-windows-local-host/before/test/retry.test.ts +3 -0
- package/pkg/conformance/install/p13-existing-ci-with-services/args.json +12 -0
- package/pkg/conformance/install/p13-existing-ci-with-services/before/.github/workflows/ci.yml +16 -0
- package/pkg/conformance/install/p13-existing-ci-with-services/before/package-lock.json +15 -0
- package/pkg/conformance/install/p13-existing-ci-with-services/before/package.json +11 -0
- package/pkg/conformance/install/p13-existing-ci-with-services/before/src/retry.ts +1 -0
- package/pkg/conformance/install/p13-existing-ci-with-services/before/test/retry.test.ts +3 -0
- package/pkg/conformance/install/p14-reusable-workflow/args.json +12 -0
- package/pkg/conformance/install/p14-reusable-workflow/before/.github/workflows/ci.yml +5 -0
- package/pkg/conformance/install/p14-reusable-workflow/before/.github/workflows/reusable.yml +10 -0
- package/pkg/conformance/install/p14-reusable-workflow/before/package-lock.json +15 -0
- package/pkg/conformance/install/p14-reusable-workflow/before/package.json +11 -0
- package/pkg/conformance/install/p14-reusable-workflow/before/src/retry.ts +1 -0
- package/pkg/conformance/install/p14-reusable-workflow/before/test/retry.test.ts +3 -0
- package/pkg/conformance/install/p15-non-github-forge/args.json +15 -0
- package/pkg/conformance/install/p15-non-github-forge/before/package-lock.json +15 -0
- package/pkg/conformance/install/p15-non-github-forge/before/package.json +11 -0
- package/pkg/conformance/install/p15-non-github-forge/before/src/retry.ts +1 -0
- package/pkg/conformance/install/p15-non-github-forge/before/test/retry.test.ts +3 -0
- package/pkg/conformance/install/p16-vendor-fresh-clone/args.json +20 -0
- package/pkg/conformance/install/p16-vendor-fresh-clone/before/package-lock.json +15 -0
- package/pkg/conformance/install/p16-vendor-fresh-clone/before/package.json +11 -0
- package/pkg/conformance/install/p16-vendor-fresh-clone/before/src/retry.ts +1 -0
- package/pkg/conformance/install/p16-vendor-fresh-clone/before/test/retry.test.ts +3 -0
- package/pkg/conformance/install/p17-upgrade-pins-and-policy/args.json +24 -0
- package/pkg/conformance/install/p17-upgrade-pins-and-policy/before/.cursor/mcp.json +10 -0
- package/pkg/conformance/install/p17-upgrade-pins-and-policy/before/.mcp.json +18 -0
- package/pkg/conformance/install/p17-upgrade-pins-and-policy/before/CLAUDE.md +1 -0
- package/pkg/conformance/install/p17-upgrade-pins-and-policy/before/package-lock.json +15 -0
- package/pkg/conformance/install/p17-upgrade-pins-and-policy/before/package.json +11 -0
- package/pkg/conformance/install/p17-upgrade-pins-and-policy/before/src/retry.ts +1 -0
- package/pkg/conformance/install/p17-upgrade-pins-and-policy/before/test/retry.test.ts +3 -0
- package/pkg/conformance/install/p18-accepted-reporter-edit/args.json +15 -0
- package/pkg/conformance/install/p18-accepted-reporter-edit/before/.github/workflows/ci.yml +9 -0
- package/pkg/conformance/install/p18-accepted-reporter-edit/before/package-lock.json +15 -0
- package/pkg/conformance/install/p18-accepted-reporter-edit/before/package.json +11 -0
- package/pkg/conformance/install/p18-accepted-reporter-edit/before/src/retry.ts +1 -0
- package/pkg/conformance/install/p18-accepted-reporter-edit/before/test/retry.test.ts +3 -0
- package/pkg/conformance/scenarios/README.md +34 -0
- package/pkg/conformance/scenarios/s01-tagged-test-never-ran/before/kit/TENET.md +3 -0
- package/pkg/conformance/scenarios/s01-tagged-test-never-ran/before/src/retry.ts +3 -0
- package/pkg/conformance/scenarios/s01-tagged-test-never-ran/before/tenet/blessed/tenet__intent.md/requirements.md +1 -0
- package/pkg/conformance/scenarios/s01-tagged-test-never-ran/before/tenet/blessed/tenet__intent.md/requirements.md.anchors.json +10 -0
- package/pkg/conformance/scenarios/s01-tagged-test-never-ran/before/tenet/intent.md +7 -0
- package/pkg/conformance/scenarios/s01-tagged-test-never-ran/before/tenet.lock +7 -0
- package/pkg/conformance/scenarios/s01-tagged-test-never-ran/before/tenet.yaml +20 -0
- package/pkg/conformance/scenarios/s01-tagged-test-never-ran/before/test/retry.test.ts +2 -0
- package/pkg/conformance/scenarios/s01-tagged-test-never-ran/expected/04-card.md +9 -0
- package/pkg/conformance/scenarios/s01-tagged-test-never-ran/expected/04-verify.json +92 -0
- package/pkg/conformance/scenarios/s01-tagged-test-never-ran/steps.json +88 -0
- package/pkg/conformance/scenarios/s02-implements-changed-same-commit/before/kit/TENET.md +3 -0
- package/pkg/conformance/scenarios/s02-implements-changed-same-commit/before/src/retry.ts +6 -0
- package/pkg/conformance/scenarios/s02-implements-changed-same-commit/before/tenet/blessed/tenet__intent.md/requirements.md +2 -0
- package/pkg/conformance/scenarios/s02-implements-changed-same-commit/before/tenet/blessed/tenet__intent.md/requirements.md.anchors.json +15 -0
- package/pkg/conformance/scenarios/s02-implements-changed-same-commit/before/tenet/intent.md +8 -0
- package/pkg/conformance/scenarios/s02-implements-changed-same-commit/before/tenet.lock +7 -0
- package/pkg/conformance/scenarios/s02-implements-changed-same-commit/before/tenet.yaml +20 -0
- package/pkg/conformance/scenarios/s02-implements-changed-same-commit/before/test/retry.test.ts +2 -0
- package/pkg/conformance/scenarios/s02-implements-changed-same-commit/expected/04-card.md +9 -0
- package/pkg/conformance/scenarios/s02-implements-changed-same-commit/expected/04-verify.json +92 -0
- package/pkg/conformance/scenarios/s02-implements-changed-same-commit/expected/05-card.md +10 -0
- package/pkg/conformance/scenarios/s02-implements-changed-same-commit/expected/05-verify.json +107 -0
- package/pkg/conformance/scenarios/s02-implements-changed-same-commit/steps.json +101 -0
- package/pkg/conformance/scenarios/s03-advisory-and-enforced-failure/before/kit/TENET.md +3 -0
- package/pkg/conformance/scenarios/s03-advisory-and-enforced-failure/before/tenet/intent.md +7 -0
- package/pkg/conformance/scenarios/s03-advisory-and-enforced-failure/before/tenet.lock +7 -0
- package/pkg/conformance/scenarios/s03-advisory-and-enforced-failure/before/tenet.yaml +24 -0
- package/pkg/conformance/scenarios/s03-advisory-and-enforced-failure/expected/01-gate-fixture.json +48 -0
- package/pkg/conformance/scenarios/s03-advisory-and-enforced-failure/expected/02-check.json +106 -0
- package/pkg/conformance/scenarios/s03-advisory-and-enforced-failure/steps.json +79 -0
- package/pkg/conformance/scenarios/s04-reject-edit-to-blessed-section/before/kit/TENET.md +3 -0
- package/pkg/conformance/scenarios/s04-reject-edit-to-blessed-section/before/src/retry.ts +3 -0
- package/pkg/conformance/scenarios/s04-reject-edit-to-blessed-section/before/tenet/blessed/tenet__specs__prd.md/requirements.md +1 -0
- package/pkg/conformance/scenarios/s04-reject-edit-to-blessed-section/before/tenet/blessed/tenet__specs__prd.md/requirements.md.anchors.json +7 -0
- package/pkg/conformance/scenarios/s04-reject-edit-to-blessed-section/before/tenet/blessed/tenet__vision.md/vision.md +1 -0
- package/pkg/conformance/scenarios/s04-reject-edit-to-blessed-section/before/tenet/blessed/tenet__vision.md/vision.md.anchors.json +1 -0
- package/pkg/conformance/scenarios/s04-reject-edit-to-blessed-section/before/tenet/specs/plan.md +7 -0
- package/pkg/conformance/scenarios/s04-reject-edit-to-blessed-section/before/tenet/specs/prd.md +7 -0
- package/pkg/conformance/scenarios/s04-reject-edit-to-blessed-section/before/tenet/specs/tech-spec.md +7 -0
- package/pkg/conformance/scenarios/s04-reject-edit-to-blessed-section/before/tenet/specs/ux-spec.md +7 -0
- package/pkg/conformance/scenarios/s04-reject-edit-to-blessed-section/before/tenet/vision.md +7 -0
- package/pkg/conformance/scenarios/s04-reject-edit-to-blessed-section/before/tenet.lock +7 -0
- package/pkg/conformance/scenarios/s04-reject-edit-to-blessed-section/before/tenet.yaml +20 -0
- package/pkg/conformance/scenarios/s04-reject-edit-to-blessed-section/expected/02-board.json +72 -0
- package/pkg/conformance/scenarios/s04-reject-edit-to-blessed-section/expected/03-context.json +46 -0
- package/pkg/conformance/scenarios/s04-reject-edit-to-blessed-section/expected/04-mcp.json +71 -0
- package/pkg/conformance/scenarios/s04-reject-edit-to-blessed-section/expected/05-bless.json +13 -0
- package/pkg/conformance/scenarios/s04-reject-edit-to-blessed-section/expected/06-context-sdk.json +38 -0
- package/pkg/conformance/scenarios/s04-reject-edit-to-blessed-section/steps.json +98 -0
- package/pkg/conformance/scenarios/s05-global-rule-budget-pressure/before/kit/TENET.md +3 -0
- package/pkg/conformance/scenarios/s05-global-rule-budget-pressure/before/src/checkout/pay.ts +1 -0
- package/pkg/conformance/scenarios/s05-global-rule-budget-pressure/before/tenet/blessed/tenet__specs__prd.md/requirements.md +3 -0
- package/pkg/conformance/scenarios/s05-global-rule-budget-pressure/before/tenet/blessed/tenet__specs__prd.md/requirements.md.anchors.json +5 -0
- package/pkg/conformance/scenarios/s05-global-rule-budget-pressure/before/tenet/blessed/tenet__vision.md/vision.md +1 -0
- package/pkg/conformance/scenarios/s05-global-rule-budget-pressure/before/tenet/blessed/tenet__vision.md/vision.md.anchors.json +1 -0
- package/pkg/conformance/scenarios/s05-global-rule-budget-pressure/before/tenet/specs/plan.md +7 -0
- package/pkg/conformance/scenarios/s05-global-rule-budget-pressure/before/tenet/specs/prd.md +9 -0
- package/pkg/conformance/scenarios/s05-global-rule-budget-pressure/before/tenet/specs/tech-spec.md +7 -0
- package/pkg/conformance/scenarios/s05-global-rule-budget-pressure/before/tenet/specs/ux-spec.md +7 -0
- package/pkg/conformance/scenarios/s05-global-rule-budget-pressure/before/tenet/vision.md +7 -0
- package/pkg/conformance/scenarios/s05-global-rule-budget-pressure/before/tenet.lock +7 -0
- package/pkg/conformance/scenarios/s05-global-rule-budget-pressure/before/tenet.yaml +20 -0
- package/pkg/conformance/scenarios/s05-global-rule-budget-pressure/expected/01-context-tight.json +54 -0
- package/pkg/conformance/scenarios/s05-global-rule-budget-pressure/expected/02-mcp.json +79 -0
- package/pkg/conformance/scenarios/s05-global-rule-budget-pressure/expected/03-context-explicit.json +52 -0
- package/pkg/conformance/scenarios/s05-global-rule-budget-pressure/expected/04-context-zero.json +17 -0
- package/pkg/conformance/scenarios/s05-global-rule-budget-pressure/steps.json +79 -0
- package/pkg/conformance/scenarios/s06-change-to-shared-helper/before/CODEOWNERS +2 -0
- package/pkg/conformance/scenarios/s06-change-to-shared-helper/before/kit/TENET.md +3 -0
- package/pkg/conformance/scenarios/s06-change-to-shared-helper/before/src/api/handler.ts +2007 -0
- package/pkg/conformance/scenarios/s06-change-to-shared-helper/before/src/billing/charge.ts +2007 -0
- package/pkg/conformance/scenarios/s06-change-to-shared-helper/before/src/shared/http.ts +3 -0
- package/pkg/conformance/scenarios/s06-change-to-shared-helper/before/tenet/blessed/tenet__intent.md/requirements.md +2 -0
- package/pkg/conformance/scenarios/s06-change-to-shared-helper/before/tenet/blessed/tenet__intent.md/requirements.md.anchors.json +11 -0
- package/pkg/conformance/scenarios/s06-change-to-shared-helper/before/tenet/intent.md +8 -0
- package/pkg/conformance/scenarios/s06-change-to-shared-helper/before/tenet.lock +7 -0
- package/pkg/conformance/scenarios/s06-change-to-shared-helper/before/tenet.yaml +20 -0
- package/pkg/conformance/scenarios/s06-change-to-shared-helper/expected/01-onboard-initial.json +240 -0
- package/pkg/conformance/scenarios/s06-change-to-shared-helper/expected/05-onboard-refresh.json +252 -0
- package/pkg/conformance/scenarios/s06-change-to-shared-helper/expected/06-card.md +8 -0
- package/pkg/conformance/scenarios/s06-change-to-shared-helper/expected/06-verify.json +77 -0
- package/pkg/conformance/scenarios/s06-change-to-shared-helper/steps.json +122 -0
- package/pkg/conformance/scenarios/s07-install-interrupted-part-way/before/.mcp.json +10 -0
- package/pkg/conformance/scenarios/s07-install-interrupted-part-way/before/AGENTS.md +3 -0
- package/pkg/conformance/scenarios/s07-install-interrupted-part-way/before/package.json +11 -0
- package/pkg/conformance/scenarios/s07-install-interrupted-part-way/before/src/index.ts +1 -0
- package/pkg/conformance/scenarios/s07-install-interrupted-part-way/before/test/index.test.ts +2 -0
- package/pkg/conformance/scenarios/s07-install-interrupted-part-way/expected/01-interrupted-init.json +4 -0
- package/pkg/conformance/scenarios/s07-install-interrupted-part-way/expected/02-init-resume.json +75 -0
- package/pkg/conformance/scenarios/s07-install-interrupted-part-way/expected/03-doctor.json +40 -0
- package/pkg/conformance/scenarios/s07-install-interrupted-part-way/expected/04-remove.json +44 -0
- package/pkg/conformance/scenarios/s07-install-interrupted-part-way/steps.json +56 -0
- package/pkg/conformance/scenarios/s08-blessing-fresh-clone-squash-merge/before/kit/TENET.md +3 -0
- package/pkg/conformance/scenarios/s08-blessing-fresh-clone-squash-merge/before/src/retry.ts +3 -0
- package/pkg/conformance/scenarios/s08-blessing-fresh-clone-squash-merge/before/tenet/blessed/tenet__specs__prd.md/requirements.md +1 -0
- package/pkg/conformance/scenarios/s08-blessing-fresh-clone-squash-merge/before/tenet/blessed/tenet__specs__prd.md/requirements.md.anchors.json +7 -0
- package/pkg/conformance/scenarios/s08-blessing-fresh-clone-squash-merge/before/tenet/blessed/tenet__vision.md/vision.md +1 -0
- package/pkg/conformance/scenarios/s08-blessing-fresh-clone-squash-merge/before/tenet/blessed/tenet__vision.md/vision.md.anchors.json +1 -0
- package/pkg/conformance/scenarios/s08-blessing-fresh-clone-squash-merge/before/tenet/specs/plan.md +7 -0
- package/pkg/conformance/scenarios/s08-blessing-fresh-clone-squash-merge/before/tenet/specs/prd.md +7 -0
- package/pkg/conformance/scenarios/s08-blessing-fresh-clone-squash-merge/before/tenet/specs/tech-spec.md +7 -0
- package/pkg/conformance/scenarios/s08-blessing-fresh-clone-squash-merge/before/tenet/specs/ux-spec.md +7 -0
- package/pkg/conformance/scenarios/s08-blessing-fresh-clone-squash-merge/before/tenet/vision.md +7 -0
- package/pkg/conformance/scenarios/s08-blessing-fresh-clone-squash-merge/before/tenet.lock +7 -0
- package/pkg/conformance/scenarios/s08-blessing-fresh-clone-squash-merge/before/tenet.yaml +20 -0
- package/pkg/conformance/scenarios/s08-blessing-fresh-clone-squash-merge/expected/02-context-clean.json +38 -0
- package/pkg/conformance/scenarios/s08-blessing-fresh-clone-squash-merge/expected/04-context-drift.json +40 -0
- package/pkg/conformance/scenarios/s08-blessing-fresh-clone-squash-merge/expected/05-bless.json +13 -0
- package/pkg/conformance/scenarios/s08-blessing-fresh-clone-squash-merge/expected/05-log-entry.json +15 -0
- package/pkg/conformance/scenarios/s08-blessing-fresh-clone-squash-merge/steps.json +80 -0
- package/pkg/conformance/scenarios/s09-renamed-heading/before/kit/TENET.md +3 -0
- package/pkg/conformance/scenarios/s09-renamed-heading/before/src/retry.ts +3 -0
- package/pkg/conformance/scenarios/s09-renamed-heading/before/tenet/blessed/tenet__specs__prd.md/checkout-retries.md +1 -0
- package/pkg/conformance/scenarios/s09-renamed-heading/before/tenet/blessed/tenet__specs__prd.md/checkout-retries.md.anchors.json +5 -0
- package/pkg/conformance/scenarios/s09-renamed-heading/before/tenet/blessed/tenet__vision.md/vision.md +1 -0
- package/pkg/conformance/scenarios/s09-renamed-heading/before/tenet/blessed/tenet__vision.md/vision.md.anchors.json +1 -0
- package/pkg/conformance/scenarios/s09-renamed-heading/before/tenet/specs/plan.md +7 -0
- package/pkg/conformance/scenarios/s09-renamed-heading/before/tenet/specs/prd.md +7 -0
- package/pkg/conformance/scenarios/s09-renamed-heading/before/tenet/specs/tech-spec.md +7 -0
- package/pkg/conformance/scenarios/s09-renamed-heading/before/tenet/specs/ux-spec.md +7 -0
- package/pkg/conformance/scenarios/s09-renamed-heading/before/tenet/vision.md +7 -0
- package/pkg/conformance/scenarios/s09-renamed-heading/before/tenet.lock +7 -0
- package/pkg/conformance/scenarios/s09-renamed-heading/before/tenet.yaml +20 -0
- package/pkg/conformance/scenarios/s09-renamed-heading/before/test/retry.test.ts +2 -0
- package/pkg/conformance/scenarios/s09-renamed-heading/expected/02-fix.json +34 -0
- package/pkg/conformance/scenarios/s09-renamed-heading/expected/03-check.json +14 -0
- package/pkg/conformance/scenarios/s09-renamed-heading/expected/04-board.json +56 -0
- package/pkg/conformance/scenarios/s09-renamed-heading/expected/05-context.json +38 -0
- package/pkg/conformance/scenarios/s09-renamed-heading/steps.json +58 -0
- package/pkg/conformance/scenarios/s10-pr-closed-without-merging/before/kit/TENET.md +3 -0
- package/pkg/conformance/scenarios/s10-pr-closed-without-merging/before/src/retry.ts +3 -0
- package/pkg/conformance/scenarios/s10-pr-closed-without-merging/before/tenet/blessed/tenet__intent.md/requirements.md +1 -0
- package/pkg/conformance/scenarios/s10-pr-closed-without-merging/before/tenet/blessed/tenet__intent.md/requirements.md.anchors.json +7 -0
- package/pkg/conformance/scenarios/s10-pr-closed-without-merging/before/tenet/intent.md +7 -0
- package/pkg/conformance/scenarios/s10-pr-closed-without-merging/before/tenet.lock +7 -0
- package/pkg/conformance/scenarios/s10-pr-closed-without-merging/before/tenet.yaml +20 -0
- package/pkg/conformance/scenarios/s10-pr-closed-without-merging/expected/04-card.md +8 -0
- package/pkg/conformance/scenarios/s10-pr-closed-without-merging/expected/04-verify.json +77 -0
- package/pkg/conformance/scenarios/s10-pr-closed-without-merging/expected/05-verify-closed.json +6 -0
- package/pkg/conformance/scenarios/s10-pr-closed-without-merging/steps.json +108 -0
- package/pkg/conformance/scenarios/s11-readme-walkthrough/before/README.md +3 -0
- package/pkg/conformance/scenarios/s11-readme-walkthrough/before/package.json +8 -0
- package/pkg/conformance/scenarios/s11-readme-walkthrough/before/src/retry.ts +3 -0
- package/pkg/conformance/scenarios/s11-readme-walkthrough/before/test/retry.test.ts +2 -0
- package/pkg/conformance/scenarios/s11-readme-walkthrough/expected/01-init.json +75 -0
- package/pkg/conformance/scenarios/s11-readme-walkthrough/expected/02-onboard-inventory.json +141 -0
- package/pkg/conformance/scenarios/s11-readme-walkthrough/expected/06-card.md +7 -0
- package/pkg/conformance/scenarios/s11-readme-walkthrough/expected/06-onboard-card.json +10 -0
- package/pkg/conformance/scenarios/s11-readme-walkthrough/expected/07-bless.json +13 -0
- package/pkg/conformance/scenarios/s11-readme-walkthrough/expected/08-remove.json +57 -0
- package/pkg/conformance/scenarios/s11-readme-walkthrough/steps.json +93 -0
- package/pkg/conformance/scenarios/s12-ux-walkthrough-existing/before/.claude/settings.json +1 -0
- package/pkg/conformance/scenarios/s12-ux-walkthrough-existing/before/.github/workflows/ci.yml +8 -0
- package/pkg/conformance/scenarios/s12-ux-walkthrough-existing/before/CODEOWNERS +1 -0
- package/pkg/conformance/scenarios/s12-ux-walkthrough-existing/before/README.md +3 -0
- package/pkg/conformance/scenarios/s12-ux-walkthrough-existing/before/docs/adr/0001-retries.md +1 -0
- package/pkg/conformance/scenarios/s12-ux-walkthrough-existing/before/docs/adr/0002-timeouts.md +1 -0
- package/pkg/conformance/scenarios/s12-ux-walkthrough-existing/before/docs/architecture.md +3 -0
- package/pkg/conformance/scenarios/s12-ux-walkthrough-existing/before/package.json +11 -0
- package/pkg/conformance/scenarios/s12-ux-walkthrough-existing/before/src/retry.ts +6 -0
- package/pkg/conformance/scenarios/s12-ux-walkthrough-existing/before/test/checkout.retry.test.ts +4 -0
- package/pkg/conformance/scenarios/s12-ux-walkthrough-existing/expected/01-init.json +103 -0
- package/pkg/conformance/scenarios/s12-ux-walkthrough-existing/expected/02-onboard-inventory.json +233 -0
- package/pkg/conformance/scenarios/s12-ux-walkthrough-existing/expected/06-card.md +9 -0
- package/pkg/conformance/scenarios/s12-ux-walkthrough-existing/expected/06-onboard-card.json +10 -0
- package/pkg/conformance/scenarios/s12-ux-walkthrough-existing/expected/07-bless.json +13 -0
- package/pkg/conformance/scenarios/s12-ux-walkthrough-existing/expected/08-board.json +34 -0
- package/pkg/conformance/scenarios/s12-ux-walkthrough-existing/steps.json +98 -0
- package/pkg/conformance/scenarios/s13-ux-walkthrough-new/before/.gitkeep +0 -0
- package/pkg/conformance/scenarios/s13-ux-walkthrough-new/expected/01-init.json +82 -0
- package/pkg/conformance/scenarios/s13-ux-walkthrough-new/expected/04-onboard-inventory.json +188 -0
- package/pkg/conformance/scenarios/s13-ux-walkthrough-new/expected/05-card.md +12 -0
- package/pkg/conformance/scenarios/s13-ux-walkthrough-new/expected/05-onboard-card.json +10 -0
- package/pkg/conformance/scenarios/s13-ux-walkthrough-new/expected/06-bless.json +13 -0
- package/pkg/conformance/scenarios/s13-ux-walkthrough-new/steps.json +76 -0
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: draft-specs
|
|
3
|
+
description: Draft grounded project specifications from the repository inventory and Owner interview answers during onboarding, without blessing or resolving conflicts.
|
|
4
|
+
---
|
|
5
|
+
# Draft Specifications (`draft-specs`)
|
|
6
|
+
|
|
7
|
+
Follow these steps in order when onboarding a repository to Tenet:
|
|
8
|
+
|
|
9
|
+
1. **Build the inventory and assignment.**
|
|
10
|
+
Run `tenet onboard` and read `.tenet/onboard/assignment.json`.
|
|
11
|
+
|
|
12
|
+
2. **Interview the Owner.**
|
|
13
|
+
Ask the Owner the interview questions for `assignment.project_kind` (at most 10 questions, grouped cleanly; if `project_kind` is unlisted, ask generic questions covering purpose, primary users, never-dos and priorities). Record every answer in `.tenet/onboard/interview.json` under `{questions: [{id, text, answer, answered_at}]}` with UTC timestamps.
|
|
14
|
+
|
|
15
|
+
3. **Draft each unit in order.**
|
|
16
|
+
For each drafting unit in `.tenet/onboard/assignment.json`, in order (or, in an empty repository with no source files or docs, draft purely from `asked` interview answers and `"undecided, needs the Owner"` without inventing `observed` or `documented` statements):
|
|
17
|
+
- Read its slice of `.tenet/onboard/inventory.json` and the files it names.
|
|
18
|
+
- Draft its specification sections into `assignment.output.paths` (`tenet/intent.md` for `one-file`, or separate view files under `tenet/` for `separate`); write nowhere else.
|
|
19
|
+
- Cite every `observed` or `documented` statement (`path:start-end`, `test: <file> > <name>`, or `doc: <path>#<slug>`).
|
|
20
|
+
- Mark cross-cutting never-dos `scope: global`.
|
|
21
|
+
- Give prose sections `applies_to` path globs.
|
|
22
|
+
- List disagreements between sources as open `- [ ] CF-<n> (section: <slug>) ...` items under `## Conflicts`; never choose a side.
|
|
23
|
+
- Write `undecided, needs the Owner` where nothing in code, docs, or answers tells you.
|
|
24
|
+
- From existing instruction files (inventory kind `instructions`, such as `copilot-instructions.md`, `CLAUDE.md`, `GEMINI.md`, or editor rules): turn project rules into requirements (`origin: documented`, `scope: global`, citing the file) and working rules into a `## Working rules` design section, without copying anything that is a secret or a personal detail.
|
|
25
|
+
|
|
26
|
+
4. **Normalize IDs and verify citations.**
|
|
27
|
+
Run `tenet fix`, then `tenet check`, and fix every citation finding until checks pass on the draft.
|
|
28
|
+
|
|
29
|
+
5. **Run a self-check pass.**
|
|
30
|
+
Review each drafted statement against its citation. List any statement whose citation does not support it, then either correct the statement/citation or mark it `origin: inferred`. Label this pass in the pull request as a **self-check** (an independent review requires a separate `spec-reviewer` assignment).
|
|
31
|
+
|
|
32
|
+
6. **Commit and render the onboarding card.**
|
|
33
|
+
Commit the drafted specifications (never commit `.tenet/onboard/`), run `tenet onboard --card` (which records `drafted_at_rev`), and open one pull request named **"Set up Tenet"** with the generated card as its description.
|
|
34
|
+
|
|
35
|
+
**Rules:**
|
|
36
|
+
- Never bless a section or edit blessing front-matter fields or `{records}/blessed/`.
|
|
37
|
+
- Never resolve a `CF-` conflict.
|
|
38
|
+
- Never copy secrets, credentials, or personal details into specifications.
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: review-with-findings
|
|
3
|
+
description: Review a pull request against Tenet's proof card and touched blessed requirements, reporting structured findings without approving self-authored work.
|
|
4
|
+
---
|
|
5
|
+
# Review with Findings (`review-with-findings`)
|
|
6
|
+
|
|
7
|
+
Use this skill when reviewing a pull request in a Tenet repository:
|
|
8
|
+
|
|
9
|
+
1. **Read the proof card first.**
|
|
10
|
+
Inspect the `Tenet` check run card on the pull request before reading code diffs: note which commit was tested, the blessed requirements touched (`implements`, `cited-code-changed`, `text-changed`, `same-area`), item test counts and authorship (`written-here`, `tag-added-here`, `unknown`), coverage status, weakening checks, protected paths, and spec deltas.
|
|
11
|
+
|
|
12
|
+
2. **Compare blessed intent against the change.**
|
|
13
|
+
For every touched requirement, read its **blessed text** (remember that `edited` or `sources-changed` requirements still enforce their blessed text). Check whether the implementation, tests, and any proposed spec edits satisfy the blessed text rather than merely matching new code to new tests.
|
|
14
|
+
|
|
15
|
+
3. **Report each finding in the `review` shape.**
|
|
16
|
+
For every issue you find, state:
|
|
17
|
+
- Classification: `introduced` (added by this change), `exposed` (pre-existing issue surfaced by this change), `inherited` (already in unchanged code), or `uncertain`
|
|
18
|
+
- Evidence: exact `file:line` location or reproducible failing case, quoting both the requirement/criterion and the code or test under review
|
|
19
|
+
|
|
20
|
+
4. **Respect independence rules.**
|
|
21
|
+
Never approve work you wrote. Do not approve or dismiss missing tests (`no-test`, `not-run`, `coverage: not-confirmed`) as "proven" — state explicitly what was checked and what still needs human judgment.
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: work-a-change
|
|
3
|
+
description: Implement a code or spec change using Tenet blessed context, pull-request acceptance items, tagged tests, and local verification.
|
|
4
|
+
---
|
|
5
|
+
# Work a Change (`work-a-change`)
|
|
6
|
+
|
|
7
|
+
Follow these steps in order for every change:
|
|
8
|
+
|
|
9
|
+
1. **Get blessed context.**
|
|
10
|
+
Before changing code, call the MCP tool `tenet_context` (or run `tenet context --paths <paths>`) for the paths you will touch. Read every blessed requirement it returns, including `scope: global` rules. If `omitted` lists any IDs, fetch them by ID. If a requirement is flagged `edited` or `sources-changed`, follow its **blessed text** and note the dependency in your pull request. Draft sections are hints only.
|
|
11
|
+
|
|
12
|
+
2. **Prepare the pull request.**
|
|
13
|
+
If the host can open a draft pull request early, open it now; otherwise write the pull request description when ready.
|
|
14
|
+
|
|
15
|
+
3. **Write `## Acceptance`.**
|
|
16
|
+
Add an `## Acceptance` block naming `Implements: <ID>, ...` (any blessed requirement IDs this change addresses) and one line per testable item, numbered from 1 in this pull request:
|
|
17
|
+
- `- [AB-1] <what must hold>`
|
|
18
|
+
- `- [AB-2] <what must hold>`
|
|
19
|
+
|
|
20
|
+
4. **Implement and write tagged tests.**
|
|
21
|
+
Write the code and add tests tagged with `[AB-1]` (or `tenet_AB_1` / `tenet.case` per `AGENTS.md`). A test that should continue proving a requirement across future changes also carries `[<prefix>-<n>]`. Never delete, skip, or weaken an existing test to make checks pass; if an existing test is wrong, explain why in the pull request.
|
|
22
|
+
|
|
23
|
+
5. **Run checks locally.**
|
|
24
|
+
Run every check configured in `tenet.yaml` locally and run `tenet check`.
|
|
25
|
+
|
|
26
|
+
6. **Propose spec fixes alongside code.**
|
|
27
|
+
Where code shows a specification is wrong or incomplete, edit the specification file in the same pull request and explain why (never touch `{records}/blessed/` or blessing front-matter fields).
|
|
28
|
+
|
|
29
|
+
7. **Follow the stop rules.**
|
|
30
|
+
Stop and ask your question in the pull request if a requirement conflicts with the task, the same check fails three times, or passing requires changing an existing test, acceptance item, or specification.
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
<!-- tenet:begin v{version} -->
|
|
2
|
+
## Working with Tenet
|
|
3
|
+
|
|
4
|
+
This repository's intent lives in specifications: {documents with their levels}.
|
|
5
|
+
Blessed text is the source of truth. Drafts are hints only.
|
|
6
|
+
|
|
7
|
+
Before you change code:
|
|
8
|
+
1. Get context for the paths you will touch: the MCP tool `tenet_context`, or
|
|
9
|
+
`tenet context --paths <paths>`. Read every blessed requirement it returns,
|
|
10
|
+
including the global rules. If it lists omitted IDs, ask for them by ID.
|
|
11
|
+
2. A requirement flagged `edited` or `sources-changed` still applies as blessed.
|
|
12
|
+
Say so in your pull request if your change depends on it.
|
|
13
|
+
|
|
14
|
+
Every pull request:
|
|
15
|
+
- Has a `## Acceptance` section: an `Implements: {prefix}-12, {prefix}-14` line, then
|
|
16
|
+
one line per item, `- [AB-1] what must hold`. Number items from 1 in each pull
|
|
17
|
+
request. (A packet keeps this block in its `definition.md`.)
|
|
18
|
+
- Tags each test that shows an item: {tagging line for the detected runner}.
|
|
19
|
+
A test that should keep proving a requirement also carries `[{prefix}-12]`.
|
|
20
|
+
- Never deletes, skips or weakens a test to make a check pass. If a test is wrong,
|
|
21
|
+
explain why in the pull request.
|
|
22
|
+
|
|
23
|
+
Specifications:
|
|
24
|
+
- To change {L0–L2 documents}, edit the specification file in this pull request
|
|
25
|
+
and say why. The edit is a proposal: the blessed text stays in force until its
|
|
26
|
+
owner blesses the change. Never bless.
|
|
27
|
+
- A change to `tenet.yaml` (for example a new check) is also a proposal: make it
|
|
28
|
+
in this pull request and say why; it counts once the Owner approves it.
|
|
29
|
+
- Never edit `{records}/blessed/`, blessing fields in front matter, `tenet.lock`
|
|
30
|
+
or Tenet's workflows.
|
|
31
|
+
|
|
32
|
+
Working rules:
|
|
33
|
+
{working rules}
|
|
34
|
+
|
|
35
|
+
Stop and write your question in the pull request when a requirement conflicts
|
|
36
|
+
with the task, the same check fails three times, or passing would need a changed
|
|
37
|
+
test, acceptance item or specification.
|
|
38
|
+
<!-- tenet:end -->
|
|
39
|
+
|
|
40
|
+
<!-- Tagging lines filled for `{tagging line for the detected runner}` (non-normative binding reference):
|
|
41
|
+
- vitest / jest / node:test / mocha: `it("[AB-1] retries once after a timeout", ...)`
|
|
42
|
+
- pytest: `def test_retries_once_tenet_AB_1():` or `record_property("tenet.case", "AB-1")` in the test body
|
|
43
|
+
- go: `t.Run("[AB-1] retries once", ...)` (reported as `TestRetry/[AB-1]_retries_once`)
|
|
44
|
+
- junit: `@Test` then `void retriesOnce_tenet_AB_1()` (or property `tenet.case`)
|
|
45
|
+
- rust: `#[test]` then `fn retries_once_tenet_AB_1()`
|
|
46
|
+
- other: `tenet_<ID with underscores>` in the test name, or the `tenet.case` property
|
|
47
|
+
-->
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
---
|
|
2
|
+
tenet: {spec: 1, doc: tech-spec, level: L2, version: "0.1", owner: "<owner>"}
|
|
3
|
+
sections:
|
|
4
|
+
architecture: {state: draft, digest: null, blessed_digest: null, blessed_at_rev: null, applies_to: ["src/**"], flags: []}
|
|
5
|
+
working-rules: {state: draft, digest: null, blessed_digest: null, blessed_at_rev: null, applies_to: ["**"], flags: []}
|
|
6
|
+
conflicts: {state: draft, digest: null, blessed_digest: null, blessed_at_rev: null, anchors: {}, flags: []}
|
|
7
|
+
open-questions: {state: draft, digest: null, blessed_digest: null, blessed_at_rev: null, anchors: {}, flags: []}
|
|
8
|
+
completeness-checklist: {state: draft, digest: null, blessed_digest: null, blessed_at_rev: null, applies_to: ["**"], flags: []}
|
|
9
|
+
---
|
|
10
|
+
# <Project> technical specification
|
|
11
|
+
|
|
12
|
+
> Level L2 · Version 0.1 · Implements `tenet/specs/prd.md` · Owner: `<owner>` · Budget: 12,000 tokens
|
|
13
|
+
|
|
14
|
+
## Architecture
|
|
15
|
+
|
|
16
|
+
<!-- Give each design prose section `applies_to` in front matter so `tenet context` returns it for matching paths. -->
|
|
17
|
+
|
|
18
|
+
Module boundaries:
|
|
19
|
+
- `src/checkout/` owns retry orchestration and idempotency key generation; only `src/gateway/` opens outbound payment connections.
|
|
20
|
+
|
|
21
|
+
<!-- Worked traceable statement: -->
|
|
22
|
+
- R-4 Outbound gateway calls pass a per-attempt idempotency key derived from the order ID. {origin: observed; cites: src/checkout/retry.ts:24-31; serves: V-M1}
|
|
23
|
+
|
|
24
|
+
## Working rules
|
|
25
|
+
|
|
26
|
+
<!-- Imported from existing instruction files during onboarding (`onboarding.md §1`) or authored for this project. -->
|
|
27
|
+
|
|
28
|
+
- Keep changes small and verify every changed path with tests before opening a pull request.
|
|
29
|
+
|
|
30
|
+
## Conflicts
|
|
31
|
+
|
|
32
|
+
<!-- List disagreements discovered between architecture docs and code as `- [ ] CF-<n> (section: <slug>) ... | 1: ... | 2: ...` -->
|
|
33
|
+
|
|
34
|
+
## Open questions
|
|
35
|
+
|
|
36
|
+
<!-- List unresolved design questions as `- [ ] Q-<n> (section: <slug>) ...` -->
|
|
37
|
+
|
|
38
|
+
## Completeness checklist
|
|
39
|
+
|
|
40
|
+
- [ ] Every prose section declares `applies_to` globs in front matter
|
|
41
|
+
- [ ] Module boundaries and invariants are explicit; `<!-- invariant -->` or `<!-- provisional -->` marks owner-locked sections
|
|
42
|
+
- [ ] Every `observed` or `documented` statement cites source files or documents (`tenet check` passes)
|
|
43
|
+
- [ ] Document stays under 90% of its token budget (split parts if needed)
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
---
|
|
2
|
+
tenet: {spec: 1, doc: escalation, level: L2, version: "0.1", owner: "<owner>"}
|
|
3
|
+
sections:
|
|
4
|
+
what-was-attempted: {level: L2, state: draft, digest: null, blessed_digest: null, blessed_at_rev: null, applies_to: ["**"], flags: []}
|
|
5
|
+
where-it-rubs: {level: L2, state: draft, digest: null, blessed_digest: null, blessed_at_rev: null, applies_to: ["**"], flags: []}
|
|
6
|
+
resolution: {level: L2, state: draft, digest: null, blessed_digest: null, blessed_at_rev: null, applies_to: ["**"], flags: []}
|
|
7
|
+
completeness-checklist: {level: L2, state: draft, digest: null, blessed_digest: null, blessed_at_rev: null, applies_to: ["**"], flags: []}
|
|
8
|
+
---
|
|
9
|
+
# Escalation: <one-line summary>
|
|
10
|
+
|
|
11
|
+
> Work item: `<CP-... or pr-...>` · Stop signal: `<3 failing evaluations | conflicting requirements | change needs spec or test change | over appetite>` · Lowest level that can decide: `<env | agent | L4 | L3 | L2 | L1 | L0 | owner>`
|
|
12
|
+
|
|
13
|
+
## What was attempted
|
|
14
|
+
|
|
15
|
+
<!-- Worked example (replace with this escalation's facts): -->
|
|
16
|
+
- Run on `pr-42` attempted a third retry after gateway 504; CI evaluation failed 3 consecutive times on `R-1`.
|
|
17
|
+
|
|
18
|
+
## Where it rubs
|
|
19
|
+
|
|
20
|
+
- `R-1` (blessed, L1): "A payment request that times out is retried at most once, never twice."
|
|
21
|
+
- `pr-42` task request: "Retry 504 responses up to three times."
|
|
22
|
+
|
|
23
|
+
## Resolution
|
|
24
|
+
|
|
25
|
+
1. Stop: keep `pr-42` paused until decided.
|
|
26
|
+
2. Keep `R-1` (max one retry) and narrow `pr-42`.
|
|
27
|
+
3. Propose an update to `R-1` for 504 responses for owner approval.
|
|
28
|
+
|
|
29
|
+
## Completeness checklist
|
|
30
|
+
|
|
31
|
+
- [ ] Quotes exact conflicting specification lines with their IDs (`R-...`, `V-...`, `AB-...`)
|
|
32
|
+
- [ ] Names the stop signal and evidence (evaluation IDs, failing checks or runs)
|
|
33
|
+
- [ ] Names the lowest level (`env`, `agent`, `L4`–`L0`, or `owner`) that can resolve it
|
|
34
|
+
- [ ] Lists `stop` as the first option
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
---
|
|
2
|
+
tenet: {spec: 1, doc: ux-spec, level: L2, version: "0.1", owner: "<owner>"}
|
|
3
|
+
sections:
|
|
4
|
+
journeys: {state: draft, digest: null, blessed_digest: null, blessed_at_rev: null, applies_to: ["src/ui/**", "src/cli/**"], flags: []}
|
|
5
|
+
output-and-errors: {state: draft, digest: null, blessed_digest: null, blessed_at_rev: null, applies_to: ["src/**"], flags: []}
|
|
6
|
+
wording: {state: draft, digest: null, blessed_digest: null, blessed_at_rev: null, applies_to: ["**"], flags: []}
|
|
7
|
+
completeness-checklist: {state: draft, digest: null, blessed_digest: null, blessed_at_rev: null, applies_to: ["**"], flags: []}
|
|
8
|
+
---
|
|
9
|
+
# <Project> experience specification
|
|
10
|
+
|
|
11
|
+
> Level L2 · Version 0.1 · Implements `tenet/specs/prd.md` · Owner: `<owner>` · Budget: 6,000 tokens
|
|
12
|
+
|
|
13
|
+
## Journeys
|
|
14
|
+
|
|
15
|
+
<!-- Worked example (replace with user journeys for this project): -->
|
|
16
|
+
1. A returning shopper confirms payment once and waits at most one retry window before seeing either a confirmation receipt or one actionable error message.
|
|
17
|
+
|
|
18
|
+
## Output and errors
|
|
19
|
+
|
|
20
|
+
- R-5 Every user-facing error states what happened, why, and the next action in plain words. {origin: asked; serves: V-V1; scope: global}
|
|
21
|
+
|
|
22
|
+
## Wording
|
|
23
|
+
|
|
24
|
+
| Prefer | Avoid |
|
|
25
|
+
|---|---|
|
|
26
|
+
| Payment could not be confirmed; your card was not charged | Unexpected upstream timeout (504) |
|
|
27
|
+
|
|
28
|
+
## Completeness checklist
|
|
29
|
+
|
|
30
|
+
- [ ] Primary user journeys cover first run, daily use, and failure recovery
|
|
31
|
+
- [ ] Output and error rules follow plain wording and declare `applies_to` in front matter
|
|
32
|
+
- [ ] Every requirement line carries `origin:`, `serves:` and citations where `observed`/`documented`
|
|
33
|
+
- [ ] Document stays under 90% of its token budget
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
---
|
|
2
|
+
tenet: {spec: 1, doc: intent, level: L1, version: "0.1", owner: "<owner>"}
|
|
3
|
+
sections:
|
|
4
|
+
vision: {level: L0, state: draft, digest: null, blessed_digest: null, blessed_at_rev: null, anchors: {}, flags: []}
|
|
5
|
+
requirements: {level: L1, state: draft, digest: null, blessed_digest: null, blessed_at_rev: null, anchors: {}, flags: []}
|
|
6
|
+
design: {level: L2, state: draft, digest: null, blessed_digest: null, blessed_at_rev: null, applies_to: ["src/**"], flags: []}
|
|
7
|
+
experience: {level: L2, state: draft, digest: null, blessed_digest: null, blessed_at_rev: null, applies_to: ["src/**"], flags: []}
|
|
8
|
+
plan: {level: L2, state: draft, digest: null, blessed_digest: null, blessed_at_rev: null, applies_to: ["src/**"], flags: []}
|
|
9
|
+
conflicts: {level: L2, state: draft, digest: null, blessed_digest: null, blessed_at_rev: null, anchors: {}, flags: []}
|
|
10
|
+
open-questions: {level: L2, state: draft, digest: null, blessed_digest: null, blessed_at_rev: null, anchors: {}, flags: []}
|
|
11
|
+
completeness-checklist: {level: L2, state: draft, digest: null, blessed_digest: null, blessed_at_rev: null, applies_to: ["**"], flags: []}
|
|
12
|
+
---
|
|
13
|
+
# <Project> intent
|
|
14
|
+
|
|
15
|
+
> One-file starter specification (split sections later with `tenet split`). Run `tenet fix` to assign IDs and compute digests.
|
|
16
|
+
|
|
17
|
+
## Vision
|
|
18
|
+
|
|
19
|
+
<!-- Purpose, primary users, north star, value table, boundaries. Never name tools, files or vendors here. -->
|
|
20
|
+
|
|
21
|
+
| ID | Purpose or boundary | Serves / Target | Origin |
|
|
22
|
+
|---|---|---|---|
|
|
23
|
+
| V-1 | Checkout recovers cleanly from transient gateway timeouts for returning shoppers. | ≤1% checkout timeout failure | asked |
|
|
24
|
+
|
|
25
|
+
## Requirements
|
|
26
|
+
|
|
27
|
+
- R-1 A payment request that times out is retried at most once, never twice. {origin: asked; serves: V-1}
|
|
28
|
+
- R-2 Card numbers and verification codes are never written to logs or error messages. {origin: asked; serves: V-1; scope: global}
|
|
29
|
+
|
|
30
|
+
## Design
|
|
31
|
+
|
|
32
|
+
- Requests enter `src/checkout/gateway.ts`, use `src/checkout/retry.ts` for timeout handling, and emit structured events without card payloads.
|
|
33
|
+
|
|
34
|
+
## Experience
|
|
35
|
+
|
|
36
|
+
- Checkout shows a single waiting indicator during a retry and displays one plain message when payment cannot complete.
|
|
37
|
+
|
|
38
|
+
## Plan
|
|
39
|
+
|
|
40
|
+
- First slice: implement single-retry timeout handling (`R-1`) and verify no card data is logged (`R-2`).
|
|
41
|
+
|
|
42
|
+
## Conflicts
|
|
43
|
+
|
|
44
|
+
<!-- List source disagreements as `- [ ] CF-1 (section: <slug>) ... | 1: ... | 2: ...` -->
|
|
45
|
+
|
|
46
|
+
## Open questions
|
|
47
|
+
|
|
48
|
+
<!-- List unresolved questions as `- [ ] Q-1 (section: <slug>) ...` -->
|
|
49
|
+
|
|
50
|
+
## Completeness checklist
|
|
51
|
+
|
|
52
|
+
- [ ] Vision states purpose, primary users, measurable targets and never-dos with no tool or file names
|
|
53
|
+
- [ ] Every requirement has an ID (`tenet fix`), `serves:`, valid `origin:` (`observed`, `documented`, `asked`, or `inferred`) and citation where `observed`/`documented`
|
|
54
|
+
- [ ] Cross-cutting never-dos carry `scope: global`
|
|
55
|
+
- [ ] Prose sections declare `applies_to` path globs in front matter
|
|
56
|
+
- [ ] All open `CF-` conflicts are settled and no `origin: inferred` statement remains before `tenet bless`
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
---
|
|
2
|
+
tenet: {spec: 1, doc: plan, level: L2, version: "0.1", owner: "<owner>"}
|
|
3
|
+
sections:
|
|
4
|
+
milestones: {state: draft, digest: null, blessed_digest: null, blessed_at_rev: null, applies_to: ["**"], flags: []}
|
|
5
|
+
waves: {state: draft, digest: null, blessed_digest: null, blessed_at_rev: null, applies_to: ["**"], flags: []}
|
|
6
|
+
open-work: {state: draft, digest: null, blessed_digest: null, blessed_at_rev: null, applies_to: ["**"], flags: []}
|
|
7
|
+
completeness-checklist: {state: draft, digest: null, blessed_digest: null, blessed_at_rev: null, applies_to: ["**"], flags: []}
|
|
8
|
+
---
|
|
9
|
+
# <Project> plan
|
|
10
|
+
|
|
11
|
+
> Level L2 · Version 0.1 · Implements `tenet/specs/prd.md` · Owner: `<owner>` · Budget: 6,000 tokens
|
|
12
|
+
|
|
13
|
+
## Milestones
|
|
14
|
+
|
|
15
|
+
| Milestone | Scope | Gate | Status |
|
|
16
|
+
|---|---|---|---|
|
|
17
|
+
| M1 | Single-retry timeout handling and log redaction | All tagged acceptance tests pass on CI | planned |
|
|
18
|
+
|
|
19
|
+
## Waves
|
|
20
|
+
|
|
21
|
+
| Wave | Work items | Needs |
|
|
22
|
+
|---|---|---|
|
|
23
|
+
| W1 | Retry idempotency key and timeout handler | — |
|
|
24
|
+
|
|
25
|
+
## Open work
|
|
26
|
+
|
|
27
|
+
<!-- Worked example statement: -->
|
|
28
|
+
- R-6 Implement `retryOnce` idempotency guard and unit tests before adding async webhooks. {origin: documented; cites: doc: docs/roadmap.md#q4; serves: V-V1}
|
|
29
|
+
|
|
30
|
+
## Completeness checklist
|
|
31
|
+
|
|
32
|
+
- [ ] Every milestone has an objective release gate separate from future horizons
|
|
33
|
+
- [ ] Waves have explicit `Needs` with no dependency cycles
|
|
34
|
+
- [ ] Referenced issues or docs resolve (`tenet check` passes)
|
|
35
|
+
- [ ] Document stays under 90% of its token budget
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
<!-- Summary of what changed and why. -->
|
|
2
|
+
|
|
3
|
+
<!-- tenet:begin v{version} -->
|
|
4
|
+
## Acceptance
|
|
5
|
+
Implements: R-1
|
|
6
|
+
- [AB-1] <what must hold>
|
|
7
|
+
<!-- tenet:end -->
|
|
8
|
+
|
|
9
|
+
## Spec change
|
|
10
|
+
<!-- Optional: if code showed a specification is wrong or incomplete, explain why you edited that specification file in this pull request. Never edit blessing fields or {records}/blessed/. -->
|
|
11
|
+
|
|
12
|
+
<!--
|
|
13
|
+
Worked example (contracts.md §2):
|
|
14
|
+
|
|
15
|
+
## Acceptance
|
|
16
|
+
Implements: R-12, R-14
|
|
17
|
+
- [AB-1] one retry after a timeout
|
|
18
|
+
- [ ] [AB-2] no retry on explicit gateway decline
|
|
19
|
+
|
|
20
|
+
Completeness checklist:
|
|
21
|
+
- [ ] `Implements:` lists blessed requirement IDs touched by this pull request (if any)
|
|
22
|
+
- [ ] Every `- [AB-n]` item is numbered sequentially from 1 within this pull request
|
|
23
|
+
- [ ] Each item is backed by tests tagged `[AB-n]`, `tenet_AB_n`, or `tenet.case` added in this pull request
|
|
24
|
+
- [ ] Any spec edits in this pull request are explained under `## Spec change`
|
|
25
|
+
-->
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
---
|
|
2
|
+
tenet: {spec: 1, doc: prd, level: L1, version: "0.1", owner: "<owner>"}
|
|
3
|
+
sections:
|
|
4
|
+
scope: {state: draft, digest: null, blessed_digest: null, blessed_at_rev: null, applies_to: ["src/**"], flags: []}
|
|
5
|
+
requirements: {state: draft, digest: null, blessed_digest: null, blessed_at_rev: null, anchors: {}, flags: []}
|
|
6
|
+
conflicts: {state: draft, digest: null, blessed_digest: null, blessed_at_rev: null, anchors: {}, flags: []}
|
|
7
|
+
open-questions: {state: draft, digest: null, blessed_digest: null, blessed_at_rev: null, anchors: {}, flags: []}
|
|
8
|
+
completeness-checklist: {state: draft, digest: null, blessed_digest: null, blessed_at_rev: null, applies_to: ["**"], flags: []}
|
|
9
|
+
---
|
|
10
|
+
# <Project> product requirements
|
|
11
|
+
|
|
12
|
+
> Level L1 · Version 0.1 · Serves `tenet/vision.md` · Owner: `<owner>` · Budget: 9,000 tokens
|
|
13
|
+
|
|
14
|
+
## Scope
|
|
15
|
+
|
|
16
|
+
In scope: checkout payment execution and retry policy. Out of scope: ledger reconciliation UI.
|
|
17
|
+
|
|
18
|
+
## Requirements
|
|
19
|
+
|
|
20
|
+
<!-- Requirements may be list items OR table rows whose first column is `ID` (onboarding.md §1). -->
|
|
21
|
+
|
|
22
|
+
- R-1 A payment request that times out is retried once, never twice. {origin: observed; cites: src/checkout/retry.ts:10-22; serves: V-V1, V-P1}
|
|
23
|
+
- R-2 Raw card numbers are never written to application logs. {origin: asked; serves: V-B1; scope: global}
|
|
24
|
+
|
|
25
|
+
| ID | Requirement | Serves | Origin | Cites | Scope |
|
|
26
|
+
|---|---|---|---|---|---|
|
|
27
|
+
| R-3 | Explicit gateway declines fail immediately without retry. | V-P1 | documented | doc: docs/payments.md#decline-policy | — |
|
|
28
|
+
|
|
29
|
+
## Conflicts
|
|
30
|
+
|
|
31
|
+
- [ ] CF-1 (section: requirements) Docs state two retries; `src/checkout/retry.ts:12` retries once. | 1: retry once | 2: retry twice
|
|
32
|
+
|
|
33
|
+
## Open questions
|
|
34
|
+
|
|
35
|
+
- [ ] Q-1 (section: requirements) Should idempotency keys expire after 24h or 7d?
|
|
36
|
+
|
|
37
|
+
## Completeness checklist
|
|
38
|
+
|
|
39
|
+
- [ ] Every requirement has a unique ID (assigned by `tenet fix`), `serves:` pointing to vision items, and a valid `origin`
|
|
40
|
+
- [ ] Every `observed` or `documented` statement cites existing lines, a test (`test: file > name`), or a heading (`doc: path#slug`)
|
|
41
|
+
- [ ] Every cross-cutting never-do carries `scope: global`
|
|
42
|
+
- [ ] Every `CF-` conflict is settled and no `origin: inferred` statement stays before `tenet bless`
|
|
43
|
+
- [ ] Document size stays under 90% of its token budget
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
---
|
|
2
|
+
tenet: {spec: 1, doc: vision, level: L0, version: "0.1", owner: "<owner>"}
|
|
3
|
+
sections:
|
|
4
|
+
purpose: {state: draft, digest: null, blessed_digest: null, blessed_at_rev: null, anchors: {}, flags: []}
|
|
5
|
+
north-star: {state: draft, digest: null, blessed_digest: null, blessed_at_rev: null, anchors: {}, flags: []}
|
|
6
|
+
value: {state: draft, digest: null, blessed_digest: null, blessed_at_rev: null, anchors: {}, flags: []}
|
|
7
|
+
principles: {state: draft, digest: null, blessed_digest: null, blessed_at_rev: null, anchors: {}, flags: []}
|
|
8
|
+
horizons: {state: draft, digest: null, blessed_digest: null, blessed_at_rev: null, anchors: {}, flags: []}
|
|
9
|
+
outcome-metrics: {state: draft, digest: null, blessed_digest: null, blessed_at_rev: null, anchors: {}, flags: []}
|
|
10
|
+
boundaries: {state: draft, digest: null, blessed_digest: null, blessed_at_rev: null, anchors: {}, flags: []}
|
|
11
|
+
not-yet-in-scope: {state: draft, digest: null, blessed_digest: null, blessed_at_rev: null, anchors: {}, flags: []}
|
|
12
|
+
completeness-checklist: {state: draft, digest: null, blessed_digest: null, blessed_at_rev: null, applies_to: ["**"], flags: []}
|
|
13
|
+
---
|
|
14
|
+
# <Project> vision
|
|
15
|
+
|
|
16
|
+
> Level L0 · Version 0.1 · Owner: `<owner>` · Changes only by L0 decision, ratified by the Owner · Budget: 4,000 tokens
|
|
17
|
+
>
|
|
18
|
+
> Rule: no sentence here names a tool, file, table, command or vendor.
|
|
19
|
+
|
|
20
|
+
## Purpose
|
|
21
|
+
|
|
22
|
+
<!-- Worked example (replace with your project's purpose): -->
|
|
23
|
+
Returning shoppers abandon checkout when transient payment timeouts either drop orders silently or charge cards twice. `<Project>` ensures checkout behavior matches explicit reliability and safety commitments owned by the product team.
|
|
24
|
+
|
|
25
|
+
## North star
|
|
26
|
+
|
|
27
|
+
**Every checkout attempt produces one predictable outcome and zero duplicate charges.**
|
|
28
|
+
|
|
29
|
+
## Value
|
|
30
|
+
|
|
31
|
+
| ID | Who | Gets |
|
|
32
|
+
|---|---|---|
|
|
33
|
+
| V-V1 | Shoppers | One clear payment outcome without double charges |
|
|
34
|
+
|
|
35
|
+
## Principles
|
|
36
|
+
|
|
37
|
+
| ID | Principle |
|
|
38
|
+
|---|---|
|
|
39
|
+
| V-P1 | Prefer failing clearly over risking a duplicate payment |
|
|
40
|
+
|
|
41
|
+
## Horizons
|
|
42
|
+
|
|
43
|
+
| ID | Horizon | Achieved when |
|
|
44
|
+
|---|---|---|
|
|
45
|
+
| V-H1 | Reliable checkout baseline | Over 30 consecutive days, timeout recovery rate is ≥99% with 0 duplicate charges |
|
|
46
|
+
|
|
47
|
+
## Outcome metrics
|
|
48
|
+
|
|
49
|
+
| ID | Metric | Definition | Baseline | Target (horizon) |
|
|
50
|
+
|---|---|---|---|---|
|
|
51
|
+
| V-M1 | Duplicate charge rate | Confirmed duplicate settlements per 10,000 checkouts | Recorded at launch | 0 (V-H1) |
|
|
52
|
+
|
|
53
|
+
## Boundaries
|
|
54
|
+
|
|
55
|
+
| ID | `<Project>` never |
|
|
56
|
+
|---|---|
|
|
57
|
+
| V-B1 | Retries a payment after an explicit decline or stores raw card numbers |
|
|
58
|
+
|
|
59
|
+
## Not yet in scope
|
|
60
|
+
|
|
61
|
+
<!-- List active vision items deferred beyond current requirements, if any. -->
|
|
62
|
+
|
|
63
|
+
## Completeness checklist
|
|
64
|
+
|
|
65
|
+
- [ ] Every value (`V-V*`) maps to at least one metric (`V-M*`)
|
|
66
|
+
- [ ] Every metric has a definition, baseline source and target
|
|
67
|
+
- [ ] Every horizon (`V-H*`) has a numeric "achieved when" criterion
|
|
68
|
+
- [ ] No sentence names a specific tool, file, command or vendor
|
|
69
|
+
- [ ] Every blessed `V-` item is served by a blessed requirement or listed under `## Not yet in scope`
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
# tenet:begin v<version>
|
|
2
|
+
# Tenet package pin: <locked>
|
|
3
|
+
- if: always()
|
|
4
|
+
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5
|
|
5
|
+
with: {node-version: "22"}
|
|
6
|
+
- if: always()
|
|
7
|
+
name: Install Tenet from the target lock
|
|
8
|
+
shell: bash
|
|
9
|
+
env: {TENET_GITHUB_TOKEN: "${{ github.token }}"}
|
|
10
|
+
run: |
|
|
11
|
+
node --input-type=module <<'TENET_BOOTSTRAP'
|
|
12
|
+
import { execFileSync } from "node:child_process";
|
|
13
|
+
import { createHash } from "node:crypto";
|
|
14
|
+
import { mkdirSync, readFileSync } from "node:fs";
|
|
15
|
+
import path from "node:path";
|
|
16
|
+
|
|
17
|
+
const event = JSON.parse(readFileSync(process.env.GITHUB_EVENT_PATH, "utf8"));
|
|
18
|
+
const run = event.workflow_run;
|
|
19
|
+
const git = (...args) => execFileSync("git", args, { encoding: "utf8", stdio: ["ignore", "pipe", "pipe"] }).trim();
|
|
20
|
+
let base = event.pull_request?.base?.sha ?? run?.pull_requests?.[0]?.base?.sha ?? event.before;
|
|
21
|
+
if (!base && run?.event === "pull_request") {
|
|
22
|
+
const repo = process.env.GITHUB_REPOSITORY;
|
|
23
|
+
if (!/^[A-Za-z0-9_.-]+\/[A-Za-z0-9_.-]+$/.test(repo)) throw new Error("Invalid repository.");
|
|
24
|
+
for (let page = 1; ; page += 1) {
|
|
25
|
+
const url = new URL(process.env.GITHUB_API_URL + "/repos/" + repo + "/pulls");
|
|
26
|
+
url.searchParams.set("state", "open");
|
|
27
|
+
url.searchParams.set("per_page", "100");
|
|
28
|
+
url.searchParams.set("page", String(page));
|
|
29
|
+
const response = await fetch(url, {
|
|
30
|
+
headers: { authorization: "Bearer " + process.env.TENET_GITHUB_TOKEN, accept: "application/vnd.github+json" },
|
|
31
|
+
redirect: "error", signal: AbortSignal.timeout(30_000),
|
|
32
|
+
});
|
|
33
|
+
if (!response.ok) throw new Error("Could not find the target lock.");
|
|
34
|
+
const pulls = await response.json();
|
|
35
|
+
base = pulls.find((pull) => pull.head.sha === run.head_sha)?.base?.sha;
|
|
36
|
+
if (base || pulls.length < 100) break;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
base ??= git("rev-parse", "HEAD");
|
|
40
|
+
if (!/^(?!0+$)(?:[a-f0-9]{40}|[a-f0-9]{64})$/.test(base)) throw new Error("Invalid target revision.");
|
|
41
|
+
let raw;
|
|
42
|
+
try { raw = git("show", base + ":tenet.lock"); }
|
|
43
|
+
catch {
|
|
44
|
+
git("fetch", "--no-tags", "--filter=blob:none", "origin", base);
|
|
45
|
+
raw = git("show", base + ":tenet.lock");
|
|
46
|
+
}
|
|
47
|
+
let lock;
|
|
48
|
+
try { lock = JSON.parse(raw); }
|
|
49
|
+
catch {
|
|
50
|
+
lock = Object.create(null);
|
|
51
|
+
for (const row of raw.split(/\r?\n/)) {
|
|
52
|
+
if (!row.trim() || /^\s*(?:#|---$)/.test(row)) continue;
|
|
53
|
+
const entry = /^([a-z_0-9]+):\s*(['"]?)([^'"\s#]+)\2\s*(?:#.*)?$/.exec(row);
|
|
54
|
+
if (!entry || Object.hasOwn(lock, entry[1])) throw new Error("Invalid target lock.");
|
|
55
|
+
lock[entry[1]] = entry[3];
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
if (String(lock.schema_version) !== "1" ||
|
|
59
|
+
lock.package !== "@vedprakash-m/tenet" ||
|
|
60
|
+
!/^\d+\.\d+\.\d+(?:-[0-9A-Za-z.-]+)?$/.test(lock.version) ||
|
|
61
|
+
!/^sha512-[A-Za-z0-9+/]{86}==$/.test(lock.integrity)) throw new Error("Invalid target lock.");
|
|
62
|
+
const directory = path.join(process.env.RUNNER_TEMP, "tenet-tool");
|
|
63
|
+
mkdirSync(directory, { recursive: true });
|
|
64
|
+
const npm = (...args) => execFileSync(process.platform === "win32" ? "npm.cmd" : "npm", args, {
|
|
65
|
+
cwd: directory, encoding: "utf8", windowsHide: true, shell: process.platform === "win32",
|
|
66
|
+
});
|
|
67
|
+
const packed = JSON.parse(npm("pack", "--ignore-scripts", "--json", lock.package + "@" + lock.version))[0];
|
|
68
|
+
if (!/^vedprakash-m-tenet-[A-Za-z0-9.-]+\.tgz$/.test(packed.filename)) throw new Error("Invalid package filename.");
|
|
69
|
+
const actual = "sha512-" + createHash("sha512").update(readFileSync(path.join(directory, packed.filename))).digest("base64");
|
|
70
|
+
if (actual !== lock.integrity) throw new Error("Tenet package integrity differs from the target lock.");
|
|
71
|
+
npm("install", "--no-save", "--ignore-scripts", "--no-audit", "--no-fund", "./" + packed.filename);
|
|
72
|
+
TENET_BOOTSTRAP
|
|
73
|
+
- if: always()
|
|
74
|
+
name: Collect test reports
|
|
75
|
+
shell: bash
|
|
76
|
+
run: node "$RUNNER_TEMP/tenet-tool/node_modules/@vedprakash-m/tenet/dist/cli.js" verify --bundle
|
|
77
|
+
env:
|
|
78
|
+
TENET_TEST_OUTCOME: "${{ steps.<id>.outcome }}"
|
|
79
|
+
TENET_JOB_INDEX: "${{ strategy.job-index || 0 }}"
|
|
80
|
+
- if: always()
|
|
81
|
+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
|
|
82
|
+
with: {name: "tenet-bundle-${{ github.job }}-${{ strategy.job-index }}", path: tenet-bundle/, if-no-files-found: error, retention-days: 7}
|
|
83
|
+
# tenet:end
|