project-tiny-context-harness 0.8.17 → 0.12.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/README.md +74 -481
- package/assets/agents/AGENTS_CORE.md +11 -87
- package/assets/tools/context_rules.json +54 -0
- package/dist/cli.js +2 -1
- package/dist/commands/context-create.d.ts +1 -0
- package/dist/commands/context-create.js +90 -0
- package/dist/commands/context-inspect.d.ts +1 -0
- package/dist/commands/context-inspect.js +28 -0
- package/dist/commands/context-list.d.ts +1 -0
- package/dist/commands/context-list.js +24 -0
- package/dist/commands/context-move.d.ts +1 -0
- package/dist/commands/context-move.js +78 -0
- package/dist/commands/context-register.d.ts +1 -0
- package/dist/commands/context-register.js +110 -0
- package/dist/commands/context-transaction.d.ts +1 -0
- package/dist/commands/context-transaction.js +84 -0
- package/dist/commands/context.d.ts +1 -0
- package/dist/commands/context.js +40 -0
- package/dist/commands/doctor.d.ts +1 -1
- package/dist/commands/doctor.js +44 -3
- package/dist/commands/index.js +38 -51
- package/dist/commands/init.d.ts +0 -2
- package/dist/commands/init.js +26 -108
- package/dist/commands/upgrade.js +14 -2
- package/dist/commands/validate.js +1 -1
- package/dist/index.d.ts +2 -13
- package/dist/index.js +2 -12
- package/dist/lib/cli-exit.d.ts +14 -0
- package/dist/lib/cli-exit.js +19 -0
- package/dist/lib/config.js +14 -45
- package/dist/lib/constants.d.ts +1 -1
- package/dist/lib/constants.js +1 -1
- package/dist/lib/context-catalog/catalog-default-footprint.d.ts +3 -0
- package/dist/lib/context-catalog/catalog-default-footprint.js +51 -0
- package/dist/lib/context-catalog/catalog-diagnostics.d.ts +9 -0
- package/dist/lib/context-catalog/catalog-diagnostics.js +34 -0
- package/dist/lib/context-catalog/catalog-discovery.d.ts +7 -0
- package/dist/lib/context-catalog/catalog-discovery.js +81 -0
- package/dist/lib/context-catalog/catalog-load.d.ts +8 -0
- package/dist/lib/context-catalog/catalog-load.js +205 -0
- package/dist/lib/context-catalog/catalog-path-validation.d.ts +7 -0
- package/dist/lib/context-catalog/catalog-path-validation.js +72 -0
- package/dist/lib/context-catalog/catalog-paths.d.ts +11 -0
- package/dist/lib/context-catalog/catalog-paths.js +41 -0
- package/dist/lib/context-catalog/catalog-portable-contract.d.ts +15 -0
- package/dist/lib/context-catalog/catalog-portable-contract.js +68 -0
- package/dist/lib/context-catalog/catalog-staged-path-safety.d.ts +1 -0
- package/dist/lib/context-catalog/catalog-staged-path-safety.js +36 -0
- package/dist/lib/context-catalog/catalog-types.d.ts +40 -0
- package/dist/lib/context-catalog/catalog-validation.d.ts +9 -0
- package/dist/lib/context-catalog/catalog-validation.js +156 -0
- package/dist/lib/context-controlling-source.d.ts +4 -0
- package/dist/lib/context-controlling-source.js +106 -0
- package/dist/lib/context-create/context-create-path.d.ts +2 -0
- package/dist/lib/context-create/context-create-path.js +30 -0
- package/dist/lib/context-create/context-create-template.d.ts +2 -0
- package/dist/lib/context-create/context-create-template.js +95 -0
- package/dist/lib/context-create/context-create-types.d.ts +28 -0
- package/dist/lib/context-create/context-create-write.d.ts +1 -0
- package/dist/lib/context-create/context-create-write.js +85 -0
- package/dist/lib/context-create/context-create.d.ts +2 -0
- package/dist/lib/context-create/context-create.js +86 -0
- package/dist/lib/context-default-footprint.d.ts +2 -3
- package/dist/lib/context-default-footprint.js +51 -57
- package/dist/lib/context-doctor/context-doctor-types.d.ts +6 -0
- package/dist/lib/context-doctor/context-doctor-types.js +3 -0
- package/dist/lib/context-export.js +17 -9
- package/dist/lib/context-inspect/context-inspect-projection.d.ts +8 -0
- package/dist/lib/context-inspect/context-inspect-projection.js +48 -0
- package/dist/lib/context-inspect/context-inspect-render.d.ts +2 -0
- package/dist/lib/context-inspect/context-inspect-render.js +21 -0
- package/dist/lib/context-inspect/context-inspect-types.d.ts +29 -0
- package/dist/lib/context-inspect/context-inspect.d.ts +2 -0
- package/dist/lib/context-inspect/context-inspect.js +77 -0
- package/dist/lib/context-manifest-schema.d.ts +2 -1
- package/dist/lib/context-manifest-schema.js +6 -21
- package/dist/lib/context-manifest.js +1 -41
- package/dist/lib/context-markdown/context-markdown-analysis.d.ts +15 -0
- package/dist/lib/context-markdown/context-markdown-analysis.js +253 -0
- package/dist/lib/context-markdown/context-markdown-extract.d.ts +8 -0
- package/dist/lib/context-markdown/context-markdown-extract.js +134 -0
- package/dist/lib/context-markdown/context-markdown-types.d.ts +83 -0
- package/dist/lib/context-move/context-move-input.d.ts +8 -0
- package/dist/lib/context-move/context-move-input.js +17 -0
- package/dist/lib/context-move/context-move-literal-scan.d.ts +20 -0
- package/dist/lib/context-move/context-move-literal-scan.js +213 -0
- package/dist/lib/context-move/context-move-live-validation.d.ts +3 -0
- package/dist/lib/context-move/context-move-live-validation.js +56 -0
- package/dist/lib/context-move/context-move-markdown-plan.d.ts +22 -0
- package/dist/lib/context-move/context-move-markdown-plan.js +39 -0
- package/dist/lib/context-move/context-move-projection.d.ts +3 -0
- package/dist/lib/context-move/context-move-projection.js +11 -0
- package/dist/lib/context-move/context-move-reference-validation.d.ts +11 -0
- package/dist/lib/context-move/context-move-reference-validation.js +64 -0
- package/dist/lib/context-move/context-move-render.d.ts +2 -0
- package/dist/lib/context-move/context-move-render.js +24 -0
- package/dist/lib/context-move/context-move-support.d.ts +10 -0
- package/dist/lib/context-move/context-move-support.js +88 -0
- package/dist/lib/context-move/context-move-transaction-plan.d.ts +24 -0
- package/dist/lib/context-move/context-move-transaction-plan.js +108 -0
- package/dist/lib/context-move/context-move-types.d.ts +74 -0
- package/dist/lib/context-move/context-move.d.ts +8 -0
- package/dist/lib/context-move/context-move.js +181 -0
- package/dist/lib/context-mutation/manifest-lossless-patch.d.ts +28 -0
- package/dist/lib/context-mutation/manifest-lossless-patch.js +219 -0
- package/dist/lib/context-mutation/markdown-link-patch.d.ts +34 -0
- package/dist/lib/context-mutation/markdown-link-patch.js +143 -0
- package/dist/lib/context-mutation/markdown-link-spans.d.ts +10 -0
- package/dist/lib/context-mutation/markdown-link-spans.js +179 -0
- package/dist/lib/context-mutation/mutation-cas.d.ts +13 -0
- package/dist/lib/context-mutation/mutation-cas.js +365 -0
- package/dist/lib/context-mutation/mutation-command-support.d.ts +12 -0
- package/dist/lib/context-mutation/mutation-command-support.js +57 -0
- package/dist/lib/context-mutation/mutation-commit.d.ts +12 -0
- package/dist/lib/context-mutation/mutation-commit.js +89 -0
- package/dist/lib/context-mutation/mutation-directories.d.ts +5 -0
- package/dist/lib/context-mutation/mutation-directories.js +56 -0
- package/dist/lib/context-mutation/mutation-file-state.d.ts +14 -0
- package/dist/lib/context-mutation/mutation-file-state.js +137 -0
- package/dist/lib/context-mutation/mutation-interlock.d.ts +1 -0
- package/dist/lib/context-mutation/mutation-interlock.js +9 -0
- package/dist/lib/context-mutation/mutation-journal-file-validation.d.ts +1 -0
- package/dist/lib/context-mutation/mutation-journal-file-validation.js +106 -0
- package/dist/lib/context-mutation/mutation-journal-io.d.ts +5 -0
- package/dist/lib/context-mutation/mutation-journal-io.js +55 -0
- package/dist/lib/context-mutation/mutation-journal-storage.d.ts +18 -0
- package/dist/lib/context-mutation/mutation-journal-storage.js +283 -0
- package/dist/lib/context-mutation/mutation-journal-validation-support.d.ts +16 -0
- package/dist/lib/context-mutation/mutation-journal-validation-support.js +140 -0
- package/dist/lib/context-mutation/mutation-journal-validation.d.ts +3 -0
- package/dist/lib/context-mutation/mutation-journal-validation.js +177 -0
- package/dist/lib/context-mutation/mutation-journal.d.ts +8 -0
- package/dist/lib/context-mutation/mutation-journal.js +111 -0
- package/dist/lib/context-mutation/mutation-live-validation.d.ts +3 -0
- package/dist/lib/context-mutation/mutation-live-validation.js +51 -0
- package/dist/lib/context-mutation/mutation-recovery.d.ts +4 -0
- package/dist/lib/context-mutation/mutation-recovery.js +189 -0
- package/dist/lib/context-mutation/mutation-staged-fs.d.ts +5 -0
- package/dist/lib/context-mutation/mutation-staged-fs.js +56 -0
- package/dist/lib/context-mutation/mutation-types.d.ts +103 -0
- package/dist/lib/context-register/context-register-input.d.ts +11 -0
- package/dist/lib/context-register/context-register-input.js +43 -0
- package/dist/lib/context-register/context-register-render.d.ts +2 -0
- package/dist/lib/context-register/context-register-render.js +21 -0
- package/dist/lib/context-register/context-register-support.d.ts +6 -0
- package/dist/lib/context-register/context-register-support.js +46 -0
- package/dist/lib/context-register/context-register-types.d.ts +46 -0
- package/dist/lib/context-register/context-register.d.ts +8 -0
- package/dist/lib/context-register/context-register.js +158 -0
- package/dist/lib/context-templates.d.ts +0 -4
- package/dist/lib/context-templates.js +1 -210
- package/dist/lib/doctor.d.ts +2 -1
- package/dist/lib/doctor.js +45 -106
- package/dist/lib/fs.js +1 -1
- package/dist/lib/{long-task-git.js → git.js} +3 -3
- package/dist/lib/init.js +34 -39
- package/dist/lib/maintenance-lock.d.ts +3 -0
- package/dist/lib/maintenance-lock.js +203 -0
- package/dist/lib/maintenance-write.d.ts +3 -0
- package/dist/lib/maintenance-write.js +55 -0
- package/dist/lib/migrations.d.ts +1 -20
- package/dist/lib/migrations.js +48 -714
- package/dist/lib/package-json-config.js +34 -21
- package/dist/lib/package-source.js +27 -14
- package/dist/lib/repository-path-safety.d.ts +3 -0
- package/dist/lib/repository-path-safety.js +23 -3
- package/dist/lib/retirement-assets.d.ts +13 -0
- package/dist/lib/retirement-assets.js +182 -0
- package/dist/lib/retirement-binding.d.ts +10 -0
- package/dist/lib/retirement-binding.js +59 -0
- package/dist/lib/retirement-defaults.d.ts +7 -0
- package/dist/lib/retirement-defaults.js +29 -0
- package/dist/lib/retirement-plan.d.ts +10 -0
- package/dist/lib/retirement-plan.js +96 -0
- package/dist/lib/retirement-preflight.d.ts +2 -0
- package/dist/lib/retirement-preflight.js +13 -0
- package/dist/lib/retirement-references.d.ts +6 -0
- package/dist/lib/retirement-references.js +102 -0
- package/dist/lib/retirement-runner.d.ts +22 -0
- package/dist/lib/retirement-runner.js +217 -0
- package/dist/lib/schema-guard.d.ts +1 -0
- package/dist/lib/schema-guard.js +47 -6
- package/dist/lib/source-files.d.ts +0 -2
- package/dist/lib/source-files.js +0 -21
- package/dist/lib/source-pack-export.js +4 -1
- package/dist/lib/source-pack-manifest.js +93 -38
- package/dist/lib/sync-engine.d.ts +7 -1
- package/dist/lib/sync-engine.js +38 -336
- package/dist/lib/types.d.ts +0 -19
- package/dist/lib/upgrade.d.ts +3 -2
- package/dist/lib/upgrade.js +30 -40
- package/dist/lib/validators.d.ts +4 -1
- package/dist/lib/validators.js +76 -517
- package/dist/public-api-core.d.ts +15 -0
- package/dist/public-api-core.js +15 -0
- package/dist/public-types.d.ts +7 -9
- package/migrations/README.md +22 -82
- package/migrations/schema-4-owned-assets.json +170 -0
- package/package.json +18 -22
- package/source-mappings.yaml +3 -21
- package/assets/README.md +0 -830
- package/assets/README.zh-CN.md +0 -497
- package/assets/agents/.gitkeep +0 -1
- package/assets/agents/long-task-implementation.toml +0 -15
- package/assets/context_templates/architecture.md +0 -37
- package/assets/context_templates/area.md +0 -40
- package/assets/context_templates/context.toml +0 -41
- package/assets/context_templates/deployment.md +0 -35
- package/assets/context_templates/global.md +0 -57
- package/assets/context_templates/product-surface-contract.md +0 -70
- package/assets/context_templates/screen-contract.md +0 -205
- package/assets/context_templates/verification.md +0 -35
- package/assets/github/.gitkeep +0 -1
- package/assets/github/harness.yml +0 -41
- package/assets/make/.gitkeep +0 -1
- package/assets/make/ty-context.mk +0 -48
- package/assets/skills/context_development_engineer/SKILL.md +0 -58
- package/assets/skills/context_development_engineer/references/engineering-design-reasoning.md +0 -93
- package/assets/skills/context_full_project_export/SKILL.md +0 -70
- package/assets/skills/context_harness_upgrade/SKILL.md +0 -60
- package/assets/skills/context_product_plan/SKILL.md +0 -42
- package/assets/skills/context_surface_contract/SKILL.md +0 -205
- package/assets/skills/context_uiux_design/SKILL.md +0 -53
- package/assets/skills/context_uiux_design/references/task-uiux-analysis.md +0 -82
- package/assets/skills/design-resource-authoring/SKILL.md +0 -60
- package/assets/skills/design-resource-authoring/references/downstream-handoff.md +0 -63
- package/assets/skills/design-resource-authoring/references/formal-selected-web-app-handoff.md +0 -114
- package/assets/skills/design-resource-authoring/references/implementation-feasibility.md +0 -111
- package/assets/skills/design-resource-authoring/references/open-design-provider.md +0 -198
- package/assets/skills/design-resource-authoring/references/recovery-and-writeback.md +0 -205
- package/assets/skills/design-resource-authoring/references/resource-selection.md +0 -290
- package/assets/skills/design-system-authoring/SKILL.md +0 -57
- package/assets/skills/design-system-authoring/agents/openai.yaml +0 -6
- package/assets/skills/design-system-authoring/references/authority-adoption.md +0 -48
- package/assets/skills/design-system-authoring/references/open-design-design-system-provider.md +0 -110
- package/assets/skills/long-task-workflow/SKILL.md +0 -75
- package/assets/skills/long-task-workflow/agents/openai.yaml +0 -6
- package/assets/skills/long-task-workflow/references/authority-lifecycle.md +0 -80
- package/assets/skills/long-task-workflow/references/contract-authoring.md +0 -152
- package/assets/skills/long-task-workflow/references/evidence-design.md +0 -121
- package/assets/skills/long-task-workflow/references/source-authoring.md +0 -123
- package/assets/tools/validate_context.py +0 -442
- package/dist/commands/check-modularity.d.ts +0 -1
- package/dist/commands/check-modularity.js +0 -181
- package/dist/commands/composite-campaign.d.ts +0 -1
- package/dist/commands/composite-campaign.js +0 -8
- package/dist/commands/composite-long-task.d.ts +0 -1
- package/dist/commands/composite-long-task.js +0 -8
- package/dist/commands/delivery-set.d.ts +0 -1
- package/dist/commands/delivery-set.js +0 -8
- package/dist/commands/design-resource-recovery.d.ts +0 -1
- package/dist/commands/design-resource-recovery.js +0 -152
- package/dist/commands/design-resource.d.ts +0 -1
- package/dist/commands/design-resource.js +0 -125
- package/dist/commands/disable.d.ts +0 -1
- package/dist/commands/disable.js +0 -15
- package/dist/commands/enable.d.ts +0 -1
- package/dist/commands/enable.js +0 -16
- package/dist/commands/long-task-authoring.d.ts +0 -3
- package/dist/commands/long-task-authoring.js +0 -216
- package/dist/commands/long-task-command-args.d.ts +0 -4
- package/dist/commands/long-task-command-args.js +0 -26
- package/dist/commands/long-task-explain.d.ts +0 -1
- package/dist/commands/long-task-explain.js +0 -52
- package/dist/commands/long-task-revision.d.ts +0 -1
- package/dist/commands/long-task-revision.js +0 -177
- package/dist/commands/long-task.d.ts +0 -1
- package/dist/commands/long-task.js +0 -143
- package/dist/lib/compact-authoring-support.d.ts +0 -22
- package/dist/lib/compact-authoring-support.js +0 -143
- package/dist/lib/compact-shared-structure-authoring.d.ts +0 -5
- package/dist/lib/compact-shared-structure-authoring.js +0 -9
- package/dist/lib/compact-shared-structure-types.d.ts +0 -61
- package/dist/lib/compact-shared-structure-validation.d.ts +0 -2
- package/dist/lib/compact-shared-structure-validation.js +0 -159
- package/dist/lib/compact-shared-structures.d.ts +0 -3
- package/dist/lib/compact-shared-structures.js +0 -204
- package/dist/lib/context-graph-snapshot.d.ts +0 -18
- package/dist/lib/context-graph-snapshot.js +0 -178
- package/dist/lib/design-md.d.ts +0 -12
- package/dist/lib/design-md.js +0 -169
- package/dist/lib/design-resource-fact-enums.d.ts +0 -24
- package/dist/lib/design-resource-fact-enums.js +0 -182
- package/dist/lib/design-resource-fact-locator-extractors.d.ts +0 -8
- package/dist/lib/design-resource-fact-locator-extractors.js +0 -108
- package/dist/lib/design-resource-fact-locator-resolver.d.ts +0 -3
- package/dist/lib/design-resource-fact-locator-resolver.js +0 -112
- package/dist/lib/design-resource-fact-locator-validation.d.ts +0 -5
- package/dist/lib/design-resource-fact-locator-validation.js +0 -16
- package/dist/lib/design-resource-fact-manifest-catalog.d.ts +0 -4
- package/dist/lib/design-resource-fact-manifest-catalog.js +0 -249
- package/dist/lib/design-resource-fact-manifest-model.d.ts +0 -91
- package/dist/lib/design-resource-fact-manifest-model.js +0 -21
- package/dist/lib/design-resource-fact-manifest-shape-axes.d.ts +0 -6
- package/dist/lib/design-resource-fact-manifest-shape-axes.js +0 -159
- package/dist/lib/design-resource-fact-manifest-shape-evidence.d.ts +0 -4
- package/dist/lib/design-resource-fact-manifest-shape-evidence.js +0 -59
- package/dist/lib/design-resource-fact-manifest-shape-facts.d.ts +0 -4
- package/dist/lib/design-resource-fact-manifest-shape-facts.js +0 -109
- package/dist/lib/design-resource-fact-manifest-shape-inspector.d.ts +0 -5
- package/dist/lib/design-resource-fact-manifest-shape-inspector.js +0 -144
- package/dist/lib/design-resource-fact-manifest-shape.d.ts +0 -7
- package/dist/lib/design-resource-fact-manifest-shape.js +0 -75
- package/dist/lib/design-resource-fact-manifest-types.d.ts +0 -3
- package/dist/lib/design-resource-fact-manifest-types.js +0 -3
- package/dist/lib/design-resource-fact-manifest-universe.d.ts +0 -5
- package/dist/lib/design-resource-fact-manifest-universe.js +0 -50
- package/dist/lib/design-resource-fact-manifest-validation.d.ts +0 -5
- package/dist/lib/design-resource-fact-manifest-validation.js +0 -111
- package/dist/lib/design-resource-fact-policy.d.ts +0 -43
- package/dist/lib/design-resource-fact-policy.js +0 -106
- package/dist/lib/design-resource-fact-property-methods.d.ts +0 -3
- package/dist/lib/design-resource-fact-property-methods.js +0 -158
- package/dist/lib/design-resource-fact-shape-primitives.d.ts +0 -3
- package/dist/lib/design-resource-fact-shape-primitives.js +0 -18
- package/dist/lib/design-resource-fact-types.d.ts +0 -164
- package/dist/lib/design-resource-fact-universe-assets.d.ts +0 -4
- package/dist/lib/design-resource-fact-universe-assets.js +0 -71
- package/dist/lib/design-resource-fact-universe-catalog.d.ts +0 -4
- package/dist/lib/design-resource-fact-universe-catalog.js +0 -161
- package/dist/lib/design-resource-fact-universe-conditions.d.ts +0 -2
- package/dist/lib/design-resource-fact-universe-conditions.js +0 -92
- package/dist/lib/design-resource-fact-universe-facts.d.ts +0 -4
- package/dist/lib/design-resource-fact-universe-facts.js +0 -108
- package/dist/lib/design-resource-fact-universe-helpers.d.ts +0 -30
- package/dist/lib/design-resource-fact-universe-helpers.js +0 -171
- package/dist/lib/design-resource-fact-universe-inspector.d.ts +0 -7
- package/dist/lib/design-resource-fact-universe-inspector.js +0 -119
- package/dist/lib/design-resource-fact-universe-proof.d.ts +0 -4
- package/dist/lib/design-resource-fact-universe-proof.js +0 -113
- package/dist/lib/design-resource-fact-universe-subjects.d.ts +0 -5
- package/dist/lib/design-resource-fact-universe-subjects.js +0 -97
- package/dist/lib/design-resource-fact-universe-variations.d.ts +0 -2
- package/dist/lib/design-resource-fact-universe-variations.js +0 -75
- package/dist/lib/design-resource-fact-value-validation.d.ts +0 -2
- package/dist/lib/design-resource-fact-value-validation.js +0 -80
- package/dist/lib/design-resource-handoff-bundle-draft.d.ts +0 -11
- package/dist/lib/design-resource-handoff-bundle-draft.js +0 -40
- package/dist/lib/design-resource-handoff-bundle.d.ts +0 -31
- package/dist/lib/design-resource-handoff-bundle.js +0 -152
- package/dist/lib/design-resource-handoff-file-primitives.d.ts +0 -4
- package/dist/lib/design-resource-handoff-file-primitives.js +0 -16
- package/dist/lib/design-resource-handoff-file-validation.d.ts +0 -2
- package/dist/lib/design-resource-handoff-file-validation.js +0 -47
- package/dist/lib/design-resource-handoff-input-types.d.ts +0 -14
- package/dist/lib/design-resource-handoff-manifest-projection.d.ts +0 -4
- package/dist/lib/design-resource-handoff-manifest-projection.js +0 -38
- package/dist/lib/design-resource-handoff-parser.d.ts +0 -8
- package/dist/lib/design-resource-handoff-parser.js +0 -49
- package/dist/lib/design-resource-handoff-policy.d.ts +0 -4
- package/dist/lib/design-resource-handoff-policy.js +0 -143
- package/dist/lib/design-resource-handoff-set-integrity.d.ts +0 -8
- package/dist/lib/design-resource-handoff-set-integrity.js +0 -94
- package/dist/lib/design-resource-handoff-shape-evidence.d.ts +0 -6
- package/dist/lib/design-resource-handoff-shape-evidence.js +0 -187
- package/dist/lib/design-resource-handoff-shape-primitives.d.ts +0 -14
- package/dist/lib/design-resource-handoff-shape-primitives.js +0 -70
- package/dist/lib/design-resource-handoff-shape-structure.d.ts +0 -5
- package/dist/lib/design-resource-handoff-shape-structure.js +0 -239
- package/dist/lib/design-resource-handoff-shape.d.ts +0 -6
- package/dist/lib/design-resource-handoff-shape.js +0 -180
- package/dist/lib/design-resource-handoff-snapshot.d.ts +0 -6
- package/dist/lib/design-resource-handoff-snapshot.js +0 -25
- package/dist/lib/design-resource-handoff-types.d.ts +0 -261
- package/dist/lib/design-resource-handoff-types.js +0 -68
- package/dist/lib/design-resource-handoff-validation-coverage.d.ts +0 -4
- package/dist/lib/design-resource-handoff-validation-coverage.js +0 -223
- package/dist/lib/design-resource-handoff-validation-fact-cells.d.ts +0 -2
- package/dist/lib/design-resource-handoff-validation-fact-cells.js +0 -60
- package/dist/lib/design-resource-handoff-validation-fact-records.d.ts +0 -2
- package/dist/lib/design-resource-handoff-validation-fact-records.js +0 -90
- package/dist/lib/design-resource-handoff-validation-facts.d.ts +0 -2
- package/dist/lib/design-resource-handoff-validation-facts.js +0 -13
- package/dist/lib/design-resource-handoff-validation-primitives.d.ts +0 -11
- package/dist/lib/design-resource-handoff-validation-primitives.js +0 -26
- package/dist/lib/design-resource-handoff-validation-proofs.d.ts +0 -2
- package/dist/lib/design-resource-handoff-validation-proofs.js +0 -67
- package/dist/lib/design-resource-handoff-validation-resource-closure.d.ts +0 -3
- package/dist/lib/design-resource-handoff-validation-resource-closure.js +0 -88
- package/dist/lib/design-resource-handoff-validation-structure.d.ts +0 -6
- package/dist/lib/design-resource-handoff-validation-structure.js +0 -124
- package/dist/lib/design-resource-handoff-validation.d.ts +0 -8
- package/dist/lib/design-resource-handoff-validation.js +0 -165
- package/dist/lib/design-resource-handoff-web-dependency-validation.d.ts +0 -6
- package/dist/lib/design-resource-handoff-web-dependency-validation.js +0 -130
- package/dist/lib/design-resource-implementation-feasibility-model.d.ts +0 -35
- package/dist/lib/design-resource-implementation-feasibility-model.js +0 -62
- package/dist/lib/design-resource-implementation-feasibility-shape-sections.d.ts +0 -43
- package/dist/lib/design-resource-implementation-feasibility-shape-sections.js +0 -142
- package/dist/lib/design-resource-implementation-feasibility-shape.d.ts +0 -4
- package/dist/lib/design-resource-implementation-feasibility-shape.js +0 -154
- package/dist/lib/design-resource-implementation-feasibility-source-decision-projection.d.ts +0 -24
- package/dist/lib/design-resource-implementation-feasibility-source-decision-projection.js +0 -106
- package/dist/lib/design-resource-implementation-feasibility-source-decision.d.ts +0 -21
- package/dist/lib/design-resource-implementation-feasibility-source-decision.js +0 -75
- package/dist/lib/design-resource-implementation-feasibility-types.d.ts +0 -135
- package/dist/lib/design-resource-implementation-feasibility-types.js +0 -37
- package/dist/lib/design-resource-implementation-feasibility-validation-cells.d.ts +0 -5
- package/dist/lib/design-resource-implementation-feasibility-validation-cells.js +0 -125
- package/dist/lib/design-resource-implementation-feasibility-validation-document.d.ts +0 -4
- package/dist/lib/design-resource-implementation-feasibility-validation-document.js +0 -167
- package/dist/lib/design-resource-implementation-feasibility-validation-facts.d.ts +0 -3
- package/dist/lib/design-resource-implementation-feasibility-validation-facts.js +0 -76
- package/dist/lib/design-resource-implementation-feasibility-validation-realizations.d.ts +0 -8
- package/dist/lib/design-resource-implementation-feasibility-validation-realizations.js +0 -76
- package/dist/lib/design-resource-implementation-feasibility-validation-support.d.ts +0 -10
- package/dist/lib/design-resource-implementation-feasibility-validation-support.js +0 -75
- package/dist/lib/design-resource-implementation-feasibility-validation.d.ts +0 -3
- package/dist/lib/design-resource-implementation-feasibility-validation.js +0 -138
- package/dist/lib/design-resource-reconciliation-codec.d.ts +0 -2
- package/dist/lib/design-resource-reconciliation-codec.js +0 -174
- package/dist/lib/design-resource-reconciliation-types.d.ts +0 -62
- package/dist/lib/design-resource-reconciliation.d.ts +0 -3
- package/dist/lib/design-resource-reconciliation.js +0 -224
- package/dist/lib/design-resource-recovery-authority-policy.d.ts +0 -8
- package/dist/lib/design-resource-recovery-authority-policy.js +0 -123
- package/dist/lib/design-resource-recovery-catalog-resources.d.ts +0 -6
- package/dist/lib/design-resource-recovery-catalog-resources.js +0 -121
- package/dist/lib/design-resource-recovery-catalog-shape.d.ts +0 -3
- package/dist/lib/design-resource-recovery-catalog-shape.js +0 -104
- package/dist/lib/design-resource-recovery-catalog.d.ts +0 -9
- package/dist/lib/design-resource-recovery-catalog.js +0 -103
- package/dist/lib/design-resource-recovery-cleanup.d.ts +0 -2
- package/dist/lib/design-resource-recovery-cleanup.js +0 -11
- package/dist/lib/design-resource-recovery-codec-primitives.d.ts +0 -19
- package/dist/lib/design-resource-recovery-codec-primitives.js +0 -92
- package/dist/lib/design-resource-recovery-codec.d.ts +0 -4
- package/dist/lib/design-resource-recovery-codec.js +0 -93
- package/dist/lib/design-resource-recovery-current.d.ts +0 -9
- package/dist/lib/design-resource-recovery-current.js +0 -41
- package/dist/lib/design-resource-recovery-delta-policy.d.ts +0 -5
- package/dist/lib/design-resource-recovery-delta-policy.js +0 -108
- package/dist/lib/design-resource-recovery-files.d.ts +0 -37
- package/dist/lib/design-resource-recovery-files.js +0 -204
- package/dist/lib/design-resource-recovery-final-disposition-shape.d.ts +0 -2
- package/dist/lib/design-resource-recovery-final-disposition-shape.js +0 -47
- package/dist/lib/design-resource-recovery-patch-types.d.ts +0 -54
- package/dist/lib/design-resource-recovery-replay.d.ts +0 -7
- package/dist/lib/design-resource-recovery-replay.js +0 -112
- package/dist/lib/design-resource-recovery-repository-bindings.d.ts +0 -9
- package/dist/lib/design-resource-recovery-repository-bindings.js +0 -49
- package/dist/lib/design-resource-recovery-schema.d.ts +0 -5
- package/dist/lib/design-resource-recovery-schema.js +0 -5
- package/dist/lib/design-resource-recovery-shape.d.ts +0 -10
- package/dist/lib/design-resource-recovery-shape.js +0 -184
- package/dist/lib/design-resource-recovery-source-authority.d.ts +0 -5
- package/dist/lib/design-resource-recovery-source-authority.js +0 -219
- package/dist/lib/design-resource-recovery-text.d.ts +0 -17
- package/dist/lib/design-resource-recovery-text.js +0 -186
- package/dist/lib/design-resource-recovery-types.d.ts +0 -197
- package/dist/lib/design-resource-recovery-writeback-policy.d.ts +0 -5
- package/dist/lib/design-resource-recovery-writeback-policy.js +0 -326
- package/dist/lib/design-resource-recovery-writeback-shape.d.ts +0 -6
- package/dist/lib/design-resource-recovery-writeback-shape.js +0 -155
- package/dist/lib/design-resource-recovery.d.ts +0 -44
- package/dist/lib/design-resource-recovery.js +0 -216
- package/dist/lib/design-resource-symbolic-applicability-authority.d.ts +0 -7
- package/dist/lib/design-resource-symbolic-applicability-authority.js +0 -19
- package/dist/lib/design-resource-symbolic-applicability-policy.d.ts +0 -12
- package/dist/lib/design-resource-symbolic-applicability-policy.js +0 -79
- package/dist/lib/design-resource-symbolic-applicability-profiles.d.ts +0 -8
- package/dist/lib/design-resource-symbolic-applicability-profiles.js +0 -55
- package/dist/lib/design-resource-symbolic-applicability-shape.d.ts +0 -2
- package/dist/lib/design-resource-symbolic-applicability-shape.js +0 -76
- package/dist/lib/design-resource-symbolic-applicability-validation.d.ts +0 -7
- package/dist/lib/design-resource-symbolic-applicability-validation.js +0 -128
- package/dist/lib/design-resource-symbolic-compilation.d.ts +0 -3
- package/dist/lib/design-resource-symbolic-compilation.js +0 -13
- package/dist/lib/design-resource-symbolic-denotation.d.ts +0 -3
- package/dist/lib/design-resource-symbolic-denotation.js +0 -167
- package/dist/lib/design-resource-symbolic-disposition-validation.d.ts +0 -4
- package/dist/lib/design-resource-symbolic-disposition-validation.js +0 -28
- package/dist/lib/design-resource-symbolic-fact-policy.d.ts +0 -12
- package/dist/lib/design-resource-symbolic-fact-policy.js +0 -12
- package/dist/lib/design-resource-symbolic-fact-shape.d.ts +0 -3
- package/dist/lib/design-resource-symbolic-fact-shape.js +0 -140
- package/dist/lib/design-resource-symbolic-fact-types.d.ts +0 -218
- package/dist/lib/design-resource-symbolic-fact-validation.d.ts +0 -3
- package/dist/lib/design-resource-symbolic-fact-validation.js +0 -99
- package/dist/lib/design-resource-symbolic-indexes.d.ts +0 -23
- package/dist/lib/design-resource-symbolic-indexes.js +0 -54
- package/dist/lib/design-resource-symbolic-manifest-shape.d.ts +0 -3
- package/dist/lib/design-resource-symbolic-manifest-shape.js +0 -155
- package/dist/lib/design-resource-symbolic-manifest-validation.d.ts +0 -6
- package/dist/lib/design-resource-symbolic-manifest-validation.js +0 -132
- package/dist/lib/design-resource-symbolic-noninterference-artifact.d.ts +0 -33
- package/dist/lib/design-resource-symbolic-noninterference-artifact.js +0 -110
- package/dist/lib/design-resource-symbolic-noninterference-equivalence.d.ts +0 -3
- package/dist/lib/design-resource-symbolic-noninterference-equivalence.js +0 -77
- package/dist/lib/design-resource-symbolic-noninterference-recompute.d.ts +0 -4
- package/dist/lib/design-resource-symbolic-noninterference-recompute.js +0 -146
- package/dist/lib/design-resource-symbolic-noninterference-scope.d.ts +0 -7
- package/dist/lib/design-resource-symbolic-noninterference-scope.js +0 -49
- package/dist/lib/design-resource-symbolic-noninterference-shape.d.ts +0 -2
- package/dist/lib/design-resource-symbolic-noninterference-shape.js +0 -152
- package/dist/lib/design-resource-symbolic-noninterference-types.d.ts +0 -103
- package/dist/lib/design-resource-symbolic-noninterference-types.js +0 -1
- package/dist/lib/design-resource-symbolic-noninterference-validation.d.ts +0 -5
- package/dist/lib/design-resource-symbolic-noninterference-validation.js +0 -62
- package/dist/lib/design-resource-symbolic-oracle-fingerprint.d.ts +0 -1
- package/dist/lib/design-resource-symbolic-oracle-fingerprint.js +0 -47
- package/dist/lib/design-resource-symbolic-predicate-shape.d.ts +0 -6
- package/dist/lib/design-resource-symbolic-predicate-shape.js +0 -123
- package/dist/lib/design-resource-symbolic-production-closure.d.ts +0 -4
- package/dist/lib/design-resource-symbolic-production-closure.js +0 -144
- package/dist/lib/design-resource-symbolic-proof-authority-validation.d.ts +0 -10
- package/dist/lib/design-resource-symbolic-proof-authority-validation.js +0 -68
- package/dist/lib/design-resource-symbolic-proof-validation.d.ts +0 -10
- package/dist/lib/design-resource-symbolic-proof-validation.js +0 -89
- package/dist/lib/design-resource-symbolic-region-validation.d.ts +0 -19
- package/dist/lib/design-resource-symbolic-region-validation.js +0 -146
- package/dist/lib/design-resource-symbolic-resource-validation.d.ts +0 -5
- package/dist/lib/design-resource-symbolic-resource-validation.js +0 -90
- package/dist/lib/design-resource-symbolic-rule-shape.d.ts +0 -27
- package/dist/lib/design-resource-symbolic-rule-shape.js +0 -158
- package/dist/lib/design-resource-symbolic-safety-validation.d.ts +0 -6
- package/dist/lib/design-resource-symbolic-safety-validation.js +0 -29
- package/dist/lib/design-resource-symbolic-source-ir-evaluation.d.ts +0 -19
- package/dist/lib/design-resource-symbolic-source-ir-evaluation.js +0 -74
- package/dist/lib/design-resource-symbolic-source-ir-evidence.d.ts +0 -44
- package/dist/lib/design-resource-symbolic-source-ir-evidence.js +0 -88
- package/dist/lib/design-resource-symbolic-source-ir-oracle.d.ts +0 -13
- package/dist/lib/design-resource-symbolic-source-ir-oracle.js +0 -96
- package/dist/lib/design-resource-symbolic-source-ir-proof.d.ts +0 -14
- package/dist/lib/design-resource-symbolic-source-ir-proof.js +0 -98
- package/dist/lib/design-resource-symbolic-source-ir-shape.d.ts +0 -2
- package/dist/lib/design-resource-symbolic-source-ir-shape.js +0 -38
- package/dist/lib/design-resource-symbolic-source-ir-types.d.ts +0 -17
- package/dist/lib/design-resource-symbolic-source-ir-types.js +0 -2
- package/dist/lib/design-resource-symbolic-static-dependency-validation.d.ts +0 -2
- package/dist/lib/design-resource-symbolic-static-dependency-validation.js +0 -83
- package/dist/lib/design-resource-symbolic-structural-closure-validation.d.ts +0 -6
- package/dist/lib/design-resource-symbolic-structural-closure-validation.js +0 -79
- package/dist/lib/design-resource-symbolic-validation-support.d.ts +0 -29
- package/dist/lib/design-resource-symbolic-validation-support.js +0 -111
- package/dist/lib/design-resource-v1-capacity-header.d.ts +0 -8
- package/dist/lib/design-resource-v1-capacity-header.js +0 -231
- package/dist/lib/design-resource-v1-capacity.d.ts +0 -5
- package/dist/lib/design-resource-v1-capacity.js +0 -45
- package/dist/lib/execution-target-capabilities.d.ts +0 -2
- package/dist/lib/execution-target-capabilities.js +0 -45
- package/dist/lib/legacy-managed-scan.d.ts +0 -2
- package/dist/lib/legacy-managed-scan.js +0 -95
- package/dist/lib/legacy-sdlc-migration.d.ts +0 -2
- package/dist/lib/legacy-sdlc-migration.js +0 -199
- package/dist/lib/long-task-acceptance-reference.d.ts +0 -22
- package/dist/lib/long-task-acceptance-reference.js +0 -46
- package/dist/lib/long-task-acceptance-shape.d.ts +0 -5
- package/dist/lib/long-task-acceptance-shape.js +0 -198
- package/dist/lib/long-task-activation-validation.d.ts +0 -21
- package/dist/lib/long-task-activation-validation.js +0 -243
- package/dist/lib/long-task-admitted-observation-records.d.ts +0 -25
- package/dist/lib/long-task-admitted-observation-records.js +0 -40
- package/dist/lib/long-task-admitted-observation.d.ts +0 -93
- package/dist/lib/long-task-admitted-observation.js +0 -201
- package/dist/lib/long-task-applicability-shape.d.ts +0 -4
- package/dist/lib/long-task-applicability-shape.js +0 -54
- package/dist/lib/long-task-artifacts.d.ts +0 -6
- package/dist/lib/long-task-artifacts.js +0 -35
- package/dist/lib/long-task-assertions-v2.d.ts +0 -22
- package/dist/lib/long-task-assertions-v2.js +0 -220
- package/dist/lib/long-task-authoring-authority-preview.d.ts +0 -5
- package/dist/lib/long-task-authoring-authority-preview.js +0 -87
- package/dist/lib/long-task-authoring-preflight-diagnostics.d.ts +0 -8
- package/dist/lib/long-task-authoring-preflight-diagnostics.js +0 -191
- package/dist/lib/long-task-authoring-preflight-repair-order.d.ts +0 -8
- package/dist/lib/long-task-authoring-preflight-repair-order.js +0 -98
- package/dist/lib/long-task-authoring-preflight-types.d.ts +0 -46
- package/dist/lib/long-task-authoring-preflight-types.js +0 -38
- package/dist/lib/long-task-authoring-preflight.d.ts +0 -3
- package/dist/lib/long-task-authoring-preflight.js +0 -86
- package/dist/lib/long-task-authority-material-diff.d.ts +0 -17
- package/dist/lib/long-task-authority-material-diff.js +0 -221
- package/dist/lib/long-task-authority-materials.d.ts +0 -7
- package/dist/lib/long-task-authority-materials.js +0 -166
- package/dist/lib/long-task-authority-policy.d.ts +0 -287
- package/dist/lib/long-task-authority-policy.js +0 -307
- package/dist/lib/long-task-authority-revision-analysis.d.ts +0 -34
- package/dist/lib/long-task-authority-revision-analysis.js +0 -121
- package/dist/lib/long-task-authority-revision-brief.d.ts +0 -3
- package/dist/lib/long-task-authority-revision-brief.js +0 -76
- package/dist/lib/long-task-authority-revision-details.d.ts +0 -21
- package/dist/lib/long-task-authority-revision-details.js +0 -204
- package/dist/lib/long-task-authority-revision-diagnosis.d.ts +0 -24
- package/dist/lib/long-task-authority-revision-diagnosis.js +0 -149
- package/dist/lib/long-task-authority-revision-enforcement.d.ts +0 -5
- package/dist/lib/long-task-authority-revision-enforcement.js +0 -53
- package/dist/lib/long-task-authority-revision-summary.d.ts +0 -14
- package/dist/lib/long-task-authority-revision-summary.js +0 -246
- package/dist/lib/long-task-authority-revision-types.d.ts +0 -119
- package/dist/lib/long-task-authority-revision-types.js +0 -1
- package/dist/lib/long-task-authority-revision.d.ts +0 -4
- package/dist/lib/long-task-authority-revision.js +0 -156
- package/dist/lib/long-task-authority-transition-policy.d.ts +0 -62
- package/dist/lib/long-task-authority-transition-policy.js +0 -62
- package/dist/lib/long-task-authority-types.d.ts +0 -129
- package/dist/lib/long-task-authority-types.js +0 -1
- package/dist/lib/long-task-authority.d.ts +0 -7
- package/dist/lib/long-task-authority.js +0 -200
- package/dist/lib/long-task-boundary-check.d.ts +0 -15
- package/dist/lib/long-task-boundary-check.js +0 -9
- package/dist/lib/long-task-check-evidence-decoder.d.ts +0 -3
- package/dist/lib/long-task-check-evidence-decoder.js +0 -84
- package/dist/lib/long-task-check-execution-policy.d.ts +0 -21
- package/dist/lib/long-task-check-execution-policy.js +0 -48
- package/dist/lib/long-task-check-runner.d.ts +0 -2
- package/dist/lib/long-task-check-runner.js +0 -307
- package/dist/lib/long-task-check-shape.d.ts +0 -2
- package/dist/lib/long-task-check-shape.js +0 -171
- package/dist/lib/long-task-claim-definitions.d.ts +0 -7
- package/dist/lib/long-task-claim-definitions.js +0 -85
- package/dist/lib/long-task-claim-proof-policy.d.ts +0 -4
- package/dist/lib/long-task-claim-proof-policy.js +0 -57
- package/dist/lib/long-task-claims.d.ts +0 -28
- package/dist/lib/long-task-claims.js +0 -373
- package/dist/lib/long-task-codex-agent-profile.d.ts +0 -42
- package/dist/lib/long-task-codex-agent-profile.js +0 -276
- package/dist/lib/long-task-command-process.d.ts +0 -9
- package/dist/lib/long-task-command-process.js +0 -175
- package/dist/lib/long-task-compact-authoring-projections.d.ts +0 -12
- package/dist/lib/long-task-compact-authoring-projections.js +0 -67
- package/dist/lib/long-task-compact-authoring.d.ts +0 -3
- package/dist/lib/long-task-compact-authoring.js +0 -173
- package/dist/lib/long-task-compact-carrier.d.ts +0 -7
- package/dist/lib/long-task-compact-carrier.js +0 -132
- package/dist/lib/long-task-compact-parser.d.ts +0 -14
- package/dist/lib/long-task-compact-parser.js +0 -123
- package/dist/lib/long-task-compact-primitives.d.ts +0 -22
- package/dist/lib/long-task-compact-primitives.js +0 -132
- package/dist/lib/long-task-compact-projections.d.ts +0 -4
- package/dist/lib/long-task-compact-projections.js +0 -153
- package/dist/lib/long-task-compact-structure-targets.d.ts +0 -2
- package/dist/lib/long-task-compact-structure-targets.js +0 -91
- package/dist/lib/long-task-conformance-policy.d.ts +0 -5
- package/dist/lib/long-task-conformance-policy.js +0 -37
- package/dist/lib/long-task-context-authority-topology.d.ts +0 -7
- package/dist/lib/long-task-context-authority-topology.js +0 -37
- package/dist/lib/long-task-context-authority.d.ts +0 -14
- package/dist/lib/long-task-context-authority.js +0 -66
- package/dist/lib/long-task-contract-types.d.ts +0 -266
- package/dist/lib/long-task-contract-types.js +0 -1
- package/dist/lib/long-task-control-fields.d.ts +0 -12
- package/dist/lib/long-task-control-fields.js +0 -66
- package/dist/lib/long-task-control-types.d.ts +0 -1
- package/dist/lib/long-task-control-types.js +0 -1
- package/dist/lib/long-task-counterfactual-claim-policy.d.ts +0 -9
- package/dist/lib/long-task-counterfactual-claim-policy.js +0 -72
- package/dist/lib/long-task-counterfactual-sandbox.d.ts +0 -13
- package/dist/lib/long-task-counterfactual-sandbox.js +0 -115
- package/dist/lib/long-task-counterfactual-types.d.ts +0 -38
- package/dist/lib/long-task-counterfactual-types.js +0 -1
- package/dist/lib/long-task-delivery-compiler.d.ts +0 -13
- package/dist/lib/long-task-delivery-compiler.js +0 -155
- package/dist/lib/long-task-delivery-parser.d.ts +0 -14
- package/dist/lib/long-task-delivery-parser.js +0 -135
- package/dist/lib/long-task-delivery-preflight.d.ts +0 -5
- package/dist/lib/long-task-delivery-preflight.js +0 -175
- package/dist/lib/long-task-delivery-shape.d.ts +0 -6
- package/dist/lib/long-task-delivery-shape.js +0 -6
- package/dist/lib/long-task-delivery-types.d.ts +0 -13
- package/dist/lib/long-task-delivery-types.js +0 -13
- package/dist/lib/long-task-delivery-validation.d.ts +0 -6
- package/dist/lib/long-task-delivery-validation.js +0 -252
- package/dist/lib/long-task-design-feasibility-binding-owners.d.ts +0 -6
- package/dist/lib/long-task-design-feasibility-binding-owners.js +0 -52
- package/dist/lib/long-task-design-feasibility-binding.d.ts +0 -13
- package/dist/lib/long-task-design-feasibility-binding.js +0 -114
- package/dist/lib/long-task-design-feasibility-source-closure.d.ts +0 -11
- package/dist/lib/long-task-design-feasibility-source-closure.js +0 -78
- package/dist/lib/long-task-design-resource-handoff.d.ts +0 -18
- package/dist/lib/long-task-design-resource-handoff.js +0 -241
- package/dist/lib/long-task-design-resource-method-binding.d.ts +0 -15
- package/dist/lib/long-task-design-resource-method-binding.js +0 -297
- package/dist/lib/long-task-design-target-capabilities.d.ts +0 -14
- package/dist/lib/long-task-design-target-capabilities.js +0 -126
- package/dist/lib/long-task-evidence-adapter-policy.d.ts +0 -4
- package/dist/lib/long-task-evidence-adapter-policy.js +0 -15
- package/dist/lib/long-task-evidence-adapter-types.d.ts +0 -1
- package/dist/lib/long-task-evidence-adapter-types.js +0 -1
- package/dist/lib/long-task-evidence-capability-codec.d.ts +0 -96
- package/dist/lib/long-task-evidence-capability-codec.js +0 -892
- package/dist/lib/long-task-evidence-capability-policy.d.ts +0 -9
- package/dist/lib/long-task-evidence-capability-policy.js +0 -345
- package/dist/lib/long-task-evidence-capability-runtime.d.ts +0 -5
- package/dist/lib/long-task-evidence-capability-runtime.js +0 -580
- package/dist/lib/long-task-evidence-capability-types.d.ts +0 -276
- package/dist/lib/long-task-evidence-capability-types.js +0 -1
- package/dist/lib/long-task-evidence-findings.d.ts +0 -5
- package/dist/lib/long-task-evidence-findings.js +0 -120
- package/dist/lib/long-task-evidence-sensitivity-policy.d.ts +0 -13
- package/dist/lib/long-task-evidence-sensitivity-policy.js +0 -166
- package/dist/lib/long-task-evidence-v2.d.ts +0 -5
- package/dist/lib/long-task-evidence-v2.js +0 -525
- package/dist/lib/long-task-exact-comparison.d.ts +0 -16
- package/dist/lib/long-task-exact-comparison.js +0 -28
- package/dist/lib/long-task-execution-observation.d.ts +0 -24
- package/dist/lib/long-task-execution-observation.js +0 -332
- package/dist/lib/long-task-explain-acceptance-link.d.ts +0 -50
- package/dist/lib/long-task-explain-acceptance-link.js +0 -100
- package/dist/lib/long-task-explain-claim-links.d.ts +0 -47
- package/dist/lib/long-task-explain-claim-links.js +0 -90
- package/dist/lib/long-task-explain-source-links.d.ts +0 -99
- package/dist/lib/long-task-explain-source-links.js +0 -51
- package/dist/lib/long-task-final-integrity.d.ts +0 -16
- package/dist/lib/long-task-final-integrity.js +0 -98
- package/dist/lib/long-task-final-v2.d.ts +0 -2
- package/dist/lib/long-task-final-v2.js +0 -151
- package/dist/lib/long-task-finding-context.d.ts +0 -3
- package/dist/lib/long-task-finding-context.js +0 -63
- package/dist/lib/long-task-freshness.d.ts +0 -3
- package/dist/lib/long-task-freshness.js +0 -80
- package/dist/lib/long-task-hook-install.d.ts +0 -26
- package/dist/lib/long-task-hook-install.js +0 -381
- package/dist/lib/long-task-hook-preflight.d.ts +0 -7
- package/dist/lib/long-task-hook-preflight.js +0 -58
- package/dist/lib/long-task-json-pointer-observation.d.ts +0 -59
- package/dist/lib/long-task-json-pointer-observation.js +0 -184
- package/dist/lib/long-task-observation-artifact.d.ts +0 -8
- package/dist/lib/long-task-observation-artifact.js +0 -58
- package/dist/lib/long-task-observation-authority.d.ts +0 -17
- package/dist/lib/long-task-observation-authority.js +0 -348
- package/dist/lib/long-task-observation-ownership.d.ts +0 -2
- package/dist/lib/long-task-observation-ownership.js +0 -22
- package/dist/lib/long-task-outcome-parser.d.ts +0 -4
- package/dist/lib/long-task-outcome-parser.js +0 -143
- package/dist/lib/long-task-paths.d.ts +0 -48
- package/dist/lib/long-task-paths.js +0 -414
- package/dist/lib/long-task-playwright-capability-records.d.ts +0 -7
- package/dist/lib/long-task-playwright-capability-records.js +0 -218
- package/dist/lib/long-task-playwright-case-evidence.d.ts +0 -46
- package/dist/lib/long-task-playwright-case-evidence.js +0 -91
- package/dist/lib/long-task-playwright-case-primitives.d.ts +0 -28
- package/dist/lib/long-task-playwright-case-primitives.js +0 -143
- package/dist/lib/long-task-playwright-counterfactual-policy.d.ts +0 -7
- package/dist/lib/long-task-playwright-counterfactual-policy.js +0 -125
- package/dist/lib/long-task-playwright-evidence.d.ts +0 -8
- package/dist/lib/long-task-playwright-evidence.js +0 -147
- package/dist/lib/long-task-process-observation.d.ts +0 -6
- package/dist/lib/long-task-process-observation.js +0 -117
- package/dist/lib/long-task-process-runtime-closure.d.ts +0 -13
- package/dist/lib/long-task-process-runtime-closure.js +0 -207
- package/dist/lib/long-task-process-table.d.ts +0 -12
- package/dist/lib/long-task-process-table.js +0 -119
- package/dist/lib/long-task-process-tree.d.ts +0 -9
- package/dist/lib/long-task-process-tree.js +0 -138
- package/dist/lib/long-task-product-shape.d.ts +0 -8
- package/dist/lib/long-task-product-shape.js +0 -197
- package/dist/lib/long-task-progress.d.ts +0 -4
- package/dist/lib/long-task-progress.js +0 -120
- package/dist/lib/long-task-protected-files.d.ts +0 -1
- package/dist/lib/long-task-protected-files.js +0 -1
- package/dist/lib/long-task-required-proof-surfaces.d.ts +0 -2
- package/dist/lib/long-task-required-proof-surfaces.js +0 -13
- package/dist/lib/long-task-requirement-shape.d.ts +0 -2
- package/dist/lib/long-task-requirement-shape.js +0 -21
- package/dist/lib/long-task-risk-surfaces.d.ts +0 -2
- package/dist/lib/long-task-risk-surfaces.js +0 -60
- package/dist/lib/long-task-risk-types.d.ts +0 -5
- package/dist/lib/long-task-risk-types.js +0 -12
- package/dist/lib/long-task-risk.d.ts +0 -9
- package/dist/lib/long-task-risk.js +0 -137
- package/dist/lib/long-task-root-shape.d.ts +0 -5
- package/dist/lib/long-task-root-shape.js +0 -182
- package/dist/lib/long-task-runner-environment.d.ts +0 -7
- package/dist/lib/long-task-runner-environment.js +0 -57
- package/dist/lib/long-task-runner-files.d.ts +0 -3
- package/dist/lib/long-task-runner-files.js +0 -39
- package/dist/lib/long-task-runner-freeze.d.ts +0 -4
- package/dist/lib/long-task-runner-freeze.js +0 -303
- package/dist/lib/long-task-runtime-types.d.ts +0 -352
- package/dist/lib/long-task-runtime-types.js +0 -1
- package/dist/lib/long-task-scoped-binding.d.ts +0 -13
- package/dist/lib/long-task-scoped-binding.js +0 -11
- package/dist/lib/long-task-semantic-assurance-policy.d.ts +0 -4
- package/dist/lib/long-task-semantic-assurance-policy.js +0 -52
- package/dist/lib/long-task-semantic-contract-types.d.ts +0 -54
- package/dist/lib/long-task-semantic-contract-types.js +0 -1
- package/dist/lib/long-task-semantic-drift-migration.d.ts +0 -3
- package/dist/lib/long-task-semantic-drift-migration.js +0 -104
- package/dist/lib/long-task-semantic-fact-binding-types.d.ts +0 -65
- package/dist/lib/long-task-semantic-fact-binding-types.js +0 -1
- package/dist/lib/long-task-semantic-fact-closure-primitives.d.ts +0 -5
- package/dist/lib/long-task-semantic-fact-closure-primitives.js +0 -43
- package/dist/lib/long-task-semantic-fact-closure.d.ts +0 -13
- package/dist/lib/long-task-semantic-fact-closure.js +0 -51
- package/dist/lib/long-task-semantic-fact-contract-closure.d.ts +0 -4
- package/dist/lib/long-task-semantic-fact-contract-closure.js +0 -36
- package/dist/lib/long-task-semantic-fact-contract-facts.d.ts +0 -4
- package/dist/lib/long-task-semantic-fact-contract-facts.js +0 -33
- package/dist/lib/long-task-semantic-fact-contract-proofs.d.ts +0 -4
- package/dist/lib/long-task-semantic-fact-contract-proofs.js +0 -106
- package/dist/lib/long-task-semantic-fact-evidence.d.ts +0 -25
- package/dist/lib/long-task-semantic-fact-evidence.js +0 -225
- package/dist/lib/long-task-semantic-fact-input-closure.d.ts +0 -4
- package/dist/lib/long-task-semantic-fact-input-closure.js +0 -101
- package/dist/lib/long-task-semantic-fact-provenance-closure.d.ts +0 -4
- package/dist/lib/long-task-semantic-fact-provenance-closure.js +0 -140
- package/dist/lib/long-task-semantic-fact-shape.d.ts +0 -3
- package/dist/lib/long-task-semantic-fact-shape.js +0 -100
- package/dist/lib/long-task-semantic-fact-value-closure.d.ts +0 -3
- package/dist/lib/long-task-semantic-fact-value-closure.js +0 -110
- package/dist/lib/long-task-semantic-mutation.d.ts +0 -7
- package/dist/lib/long-task-semantic-mutation.js +0 -81
- package/dist/lib/long-task-shape-primitives.d.ts +0 -21
- package/dist/lib/long-task-shape-primitives.js +0 -116
- package/dist/lib/long-task-source-authority-types.d.ts +0 -15
- package/dist/lib/long-task-source-authority-types.js +0 -1
- package/dist/lib/long-task-source-claim-validation.d.ts +0 -5
- package/dist/lib/long-task-source-claim-validation.js +0 -99
- package/dist/lib/long-task-source-continuity.d.ts +0 -4
- package/dist/lib/long-task-source-continuity.js +0 -57
- package/dist/lib/long-task-source-inventory.d.ts +0 -2
- package/dist/lib/long-task-source-inventory.js +0 -21
- package/dist/lib/long-task-source-item-parser.d.ts +0 -11
- package/dist/lib/long-task-source-item-parser.js +0 -108
- package/dist/lib/long-task-source-markers.d.ts +0 -12
- package/dist/lib/long-task-source-markers.js +0 -146
- package/dist/lib/long-task-source-owned-sections.d.ts +0 -29
- package/dist/lib/long-task-source-owned-sections.js +0 -90
- package/dist/lib/long-task-source-shape.d.ts +0 -2
- package/dist/lib/long-task-source-shape.js +0 -56
- package/dist/lib/long-task-source-target-continuity.d.ts +0 -4
- package/dist/lib/long-task-source-target-continuity.js +0 -141
- package/dist/lib/long-task-source-target-index.d.ts +0 -15
- package/dist/lib/long-task-source-target-index.js +0 -91
- package/dist/lib/long-task-source-validation.d.ts +0 -3
- package/dist/lib/long-task-source-validation.js +0 -46
- package/dist/lib/long-task-stage-policy.d.ts +0 -4
- package/dist/lib/long-task-stage-policy.js +0 -126
- package/dist/lib/long-task-state.d.ts +0 -79
- package/dist/lib/long-task-state.js +0 -611
- package/dist/lib/long-task-static-observation-freeze.d.ts +0 -83
- package/dist/lib/long-task-static-observation-freeze.js +0 -428
- package/dist/lib/long-task-status-projection.d.ts +0 -24
- package/dist/lib/long-task-status-projection.js +0 -180
- package/dist/lib/long-task-status-v2.d.ts +0 -57
- package/dist/lib/long-task-status-v2.js +0 -351
- package/dist/lib/long-task-target-policy.d.ts +0 -6
- package/dist/lib/long-task-target-policy.js +0 -150
- package/dist/lib/long-task-technical-shape.d.ts +0 -3
- package/dist/lib/long-task-technical-shape.js +0 -44
- package/dist/lib/long-task-ui-design-policy.d.ts +0 -17
- package/dist/lib/long-task-ui-design-policy.js +0 -225
- package/dist/lib/long-task-ui-surface-policy.d.ts +0 -5
- package/dist/lib/long-task-ui-surface-policy.js +0 -112
- package/dist/lib/long-task-ui-surface-shape.d.ts +0 -2
- package/dist/lib/long-task-ui-surface-shape.js +0 -402
- package/dist/lib/long-task-ui-surface-types.d.ts +0 -134
- package/dist/lib/long-task-ui-surface-types.js +0 -1
- package/dist/lib/long-task-ui-surface-validation.d.ts +0 -13
- package/dist/lib/long-task-ui-surface-validation.js +0 -62
- package/dist/lib/long-task-verification-preview.d.ts +0 -65
- package/dist/lib/long-task-verification-preview.js +0 -120
- package/dist/lib/long-task-verifier-authority.d.ts +0 -12
- package/dist/lib/long-task-verifier-authority.js +0 -49
- package/dist/lib/long-task-verifier-dependency-closure.d.ts +0 -3
- package/dist/lib/long-task-verifier-dependency-closure.js +0 -183
- package/dist/lib/long-task-verifier-identity.d.ts +0 -2
- package/dist/lib/long-task-verifier-identity.js +0 -55
- package/dist/lib/long-task-verifier-v2.d.ts +0 -17
- package/dist/lib/long-task-verifier-v2.js +0 -330
- package/dist/lib/long-task-worker-selection.d.ts +0 -2
- package/dist/lib/long-task-worker-selection.js +0 -7
- package/dist/lib/long-task-workspace-manifest.d.ts +0 -8
- package/dist/lib/long-task-workspace-manifest.js +0 -173
- package/dist/lib/long-task-workspace-runtime-types.d.ts +0 -23
- package/dist/lib/long-task-workspace-runtime-types.js +0 -1
- package/dist/lib/long-task-workspace-scope.d.ts +0 -38
- package/dist/lib/long-task-workspace-scope.js +0 -123
- package/dist/lib/long-task-workspace-snapshot.d.ts +0 -8
- package/dist/lib/long-task-workspace-snapshot.js +0 -176
- package/dist/lib/long-task-workspace.d.ts +0 -5
- package/dist/lib/long-task-workspace.js +0 -4
- package/dist/lib/modularity-capability-migration.d.ts +0 -2
- package/dist/lib/modularity-capability-migration.js +0 -165
- package/dist/lib/modularity-python.d.ts +0 -7
- package/dist/lib/modularity-python.js +0 -191
- package/dist/lib/modularity.d.ts +0 -60
- package/dist/lib/modularity.js +0 -781
- package/dist/lib/profiles.d.ts +0 -13
- package/dist/lib/profiles.js +0 -65
- package/dist/lib/semantic-fact-base-types.d.ts +0 -14
- package/dist/lib/semantic-fact-base-types.js +0 -1
- package/dist/lib/semantic-fact-catalog.d.ts +0 -8
- package/dist/lib/semantic-fact-catalog.js +0 -191
- package/dist/lib/semantic-fact-compact-authoring.d.ts +0 -2
- package/dist/lib/semantic-fact-compact-authoring.js +0 -160
- package/dist/lib/semantic-fact-compact-capacity.d.ts +0 -9
- package/dist/lib/semantic-fact-compact-capacity.js +0 -40
- package/dist/lib/semantic-fact-compact-carrier.d.ts +0 -16
- package/dist/lib/semantic-fact-compact-carrier.js +0 -146
- package/dist/lib/semantic-fact-compact-parser.d.ts +0 -17
- package/dist/lib/semantic-fact-compact-parser.js +0 -168
- package/dist/lib/semantic-fact-compact-revision.d.ts +0 -11
- package/dist/lib/semantic-fact-compact-revision.js +0 -64
- package/dist/lib/semantic-fact-compact-support.d.ts +0 -23
- package/dist/lib/semantic-fact-compact-support.js +0 -159
- package/dist/lib/semantic-fact-condition-shape.d.ts +0 -48
- package/dist/lib/semantic-fact-condition-shape.js +0 -111
- package/dist/lib/semantic-fact-input-shape.d.ts +0 -34
- package/dist/lib/semantic-fact-input-shape.js +0 -111
- package/dist/lib/semantic-fact-inventory-types.d.ts +0 -147
- package/dist/lib/semantic-fact-inventory-types.js +0 -1
- package/dist/lib/semantic-fact-manifest-shape.d.ts +0 -4
- package/dist/lib/semantic-fact-manifest-shape.js +0 -135
- package/dist/lib/semantic-fact-manifest-types.d.ts +0 -58
- package/dist/lib/semantic-fact-manifest-types.js +0 -19
- package/dist/lib/semantic-fact-policy-authority.d.ts +0 -8
- package/dist/lib/semantic-fact-policy-authority.js +0 -79
- package/dist/lib/semantic-fact-policy-census.d.ts +0 -3
- package/dist/lib/semantic-fact-policy-census.js +0 -123
- package/dist/lib/semantic-fact-policy-condition-references.d.ts +0 -7
- package/dist/lib/semantic-fact-policy-condition-references.js +0 -19
- package/dist/lib/semantic-fact-policy-conditions.d.ts +0 -2
- package/dist/lib/semantic-fact-policy-conditions.js +0 -105
- package/dist/lib/semantic-fact-policy-facts.d.ts +0 -3
- package/dist/lib/semantic-fact-policy-facts.js +0 -73
- package/dist/lib/semantic-fact-policy-primitives.d.ts +0 -26
- package/dist/lib/semantic-fact-policy-primitives.js +0 -169
- package/dist/lib/semantic-fact-policy-proofs.d.ts +0 -2
- package/dist/lib/semantic-fact-policy-proofs.js +0 -75
- package/dist/lib/semantic-fact-policy-properties.d.ts +0 -3
- package/dist/lib/semantic-fact-policy-properties.js +0 -84
- package/dist/lib/semantic-fact-policy-units.d.ts +0 -4
- package/dist/lib/semantic-fact-policy-units.js +0 -103
- package/dist/lib/semantic-fact-policy.d.ts +0 -17
- package/dist/lib/semantic-fact-policy.js +0 -41
- package/dist/lib/semantic-fact-proof-shape.d.ts +0 -51
- package/dist/lib/semantic-fact-proof-shape.js +0 -121
- package/dist/lib/semantic-fact-proof-types.d.ts +0 -74
- package/dist/lib/semantic-fact-proof-types.js +0 -1
- package/dist/lib/semantic-fact-property-shape.d.ts +0 -29
- package/dist/lib/semantic-fact-property-shape.js +0 -77
- package/dist/lib/semantic-fact-shape-constants.d.ts +0 -3
- package/dist/lib/semantic-fact-shape-constants.js +0 -38
- package/dist/lib/semantic-fact-shape-primitives.d.ts +0 -15
- package/dist/lib/semantic-fact-shape-primitives.js +0 -68
- package/dist/lib/semantic-fact-source-parser.d.ts +0 -14
- package/dist/lib/semantic-fact-source-parser.js +0 -87
- package/dist/lib/semantic-fact-support-shape.d.ts +0 -21
- package/dist/lib/semantic-fact-support-shape.js +0 -59
- package/dist/lib/semantic-fact-types.d.ts +0 -5
- package/dist/lib/semantic-fact-types.js +0 -5
- package/dist/lib/semantic-fact-unit-shape.d.ts +0 -34
- package/dist/lib/semantic-fact-unit-shape.js +0 -89
- package/dist/lib/semantic-fact-value-shape.d.ts +0 -12
- package/dist/lib/semantic-fact-value-shape.js +0 -39
- package/dist/lib/source-line-scanner.d.ts +0 -3
- package/dist/lib/source-line-scanner.js +0 -42
- package/dist/lib/stable-json.d.ts +0 -2
- package/dist/lib/stable-json.js +0 -21
- package/dist/lib/structural-closure-cost.d.ts +0 -79
- package/dist/lib/structural-closure-cost.js +0 -91
- package/dist/lib/symbolic-denotation-dag-builder.d.ts +0 -25
- package/dist/lib/symbolic-denotation-dag-builder.js +0 -176
- package/dist/lib/symbolic-denotation-domain-validation.d.ts +0 -3
- package/dist/lib/symbolic-denotation-domain-validation.js +0 -56
- package/dist/lib/symbolic-denotation-engine.d.ts +0 -32
- package/dist/lib/symbolic-denotation-engine.js +0 -140
- package/dist/lib/symbolic-denotation-public.d.ts +0 -11
- package/dist/lib/symbolic-denotation-public.js +0 -12
- package/dist/lib/symbolic-denotation-runtime.d.ts +0 -20
- package/dist/lib/symbolic-denotation-runtime.js +0 -90
- package/dist/lib/symbolic-denotation-support.d.ts +0 -11
- package/dist/lib/symbolic-denotation-support.js +0 -49
- package/dist/lib/symbolic-denotation-types.d.ts +0 -133
- package/dist/lib/symbolic-denotation-types.js +0 -18
- package/dist/lib/symbolic-denotation-validation.d.ts +0 -6
- package/dist/lib/symbolic-denotation-validation.js +0 -126
- package/dist/long-task-hook.d.ts +0 -2
- package/dist/long-task-hook.js +0 -103
- package/dist/schemas/design-resource-symbolic-noninterference-artifact-v2.schema.json +0 -289
- package/dist/schemas/design-resource-symbolic-source-ir-v1.schema.json +0 -130
- package/dist/schemas/long-task-delivery-v2/long-task-delivery-v2.schema.json +0 -2190
- package/dist/schemas/long-task-delivery-v2/long-task-outcomes-v2.schema.json +0 -18
- /package/dist/lib/{compact-shared-structure-types.js → context-catalog/catalog-types.js} +0 -0
- /package/dist/lib/{design-resource-fact-types.js → context-create/context-create-types.js} +0 -0
- /package/dist/lib/{design-resource-handoff-input-types.js → context-inspect/context-inspect-types.js} +0 -0
- /package/dist/lib/{design-resource-reconciliation-types.js → context-markdown/context-markdown-types.js} +0 -0
- /package/dist/lib/{design-resource-recovery-patch-types.js → context-move/context-move-types.js} +0 -0
- /package/dist/lib/{design-resource-recovery-types.js → context-mutation/mutation-types.js} +0 -0
- /package/dist/lib/{design-resource-symbolic-fact-types.js → context-register/context-register-types.js} +0 -0
- /package/dist/lib/{long-task-git.d.ts → git.d.ts} +0 -0
|
@@ -1,198 +0,0 @@
|
|
|
1
|
-
# Open Design Provider Orchestration
|
|
2
|
-
|
|
3
|
-
Use Open Design as the generation engine. This Skill supplies a bounded product commission and retrieves results; it does not recreate the provider's prompts, template logic or catalogue.
|
|
4
|
-
|
|
5
|
-
## Execution priority
|
|
6
|
-
|
|
7
|
-
1. **Structured Open Design MCP** for discovery, project/run control and artifact retrieval.
|
|
8
|
-
2. **Open Design CLI or daemon API** when MCP is unavailable or cannot expose a required current capability but equivalent structured behavior is locally available.
|
|
9
|
-
3. **Browser/desktop interaction** only for bootstrap, unavoidable UI-only selection, signed-in provider interaction, visual preview inspection or recovery. Prefer browser-specific control over general Computer Use when both can operate the page.
|
|
10
|
-
|
|
11
|
-
Do not silently install an MCP server/plugin, alter the user's global Open Design/Codex configuration, sign in, create a paid-provider dependency or expand data disclosure. Explain the exact setup need and obtain separate authorization when persistence or a new disclosure path is required.
|
|
12
|
-
|
|
13
|
-
## Live capability discovery
|
|
14
|
-
|
|
15
|
-
Discover rather than remember:
|
|
16
|
-
|
|
17
|
-
- configured agents and models, including whether Open Design's inner agent is Codex CLI;
|
|
18
|
-
- functional skills and plugins;
|
|
19
|
-
- rendering templates or project types;
|
|
20
|
-
- design systems and their selected project binding;
|
|
21
|
-
- specialist paths such as collaborative design platforms, image, video or 3D/WebGL;
|
|
22
|
-
- supported project creation, run, cancellation, file and artifact operations.
|
|
23
|
-
|
|
24
|
-
When live behavior or CLI/MCP semantics materially control the commission, retain the exact provider version and, when available, the released tag/commit plus authoritative documentation locator used for capability interpretation. A mutable default branch, remembered UI behavior or unpinned local checkout is not durable protocol evidence.
|
|
25
|
-
|
|
26
|
-
Current structured tool names may include `list_agents`, `list_skills`, `list_plugins`, `create_project`, `get_project`, `get_active_context`, `start_run`, `get_run`, `cancel_run`, `list_files`, `get_file` and `get_artifact`. Feature-detect them; tool names and provider versions may evolve.
|
|
27
|
-
|
|
28
|
-
Functional skills and rendering templates are different registries. Finding `frontend-design` does not prove that a `mobile-app` or `wireframe-mobile-flow` template is installed, and a remembered template ID is not live capability evidence.
|
|
29
|
-
|
|
30
|
-
## Highest-performance generation selection
|
|
31
|
-
|
|
32
|
-
Open Design quality takes precedence over model-call price for every formal first generation, every major revision and every final-candidate defect repair that requires material regeneration. A major revision changes the adopted visual direction or design system, cross-surface information architecture, primary interaction model, or enough of the selected canonical source/Fact manifest to invalidate the former candidate. Pure discovery, reads, resource enumeration, metadata queries and review of an already sufficient selected resource do not trigger this policy.
|
|
33
|
-
|
|
34
|
-
The durable policy is `highest_available_capability + highest_supported_reasoning_effort`, not a permanent model name. Apply it immediately before each applicable run:
|
|
35
|
-
|
|
36
|
-
1. Discover the live provider/tool schemas and returned agent/model metadata. Determine whether the actual run surface exposes model, reasoning-effort or service-tier inputs and which run/project/result fields can confirm their effective values. Never invent an input or result field that the provider does not expose.
|
|
37
|
-
2. Filter to eligible models before ranking. Eligibility requires every tool, visual/multimodal capability, context capacity, authentication path and data-residency/disclosure boundary required by the commission. An ineligible model cannot win on nominal capability.
|
|
38
|
-
3. Rank eligible models only by the provider's explicit capability order or documented recommended-replacement relation. If that is absent, the sole permitted fallback is one versioned, evidence-linked provider-local mapping owned in this reference; do not duplicate it in the main Skill, Context, README, tests or adapters. Price, model-name shape, publication date, apparent generation number and provider list order are not ranking evidence. This reference currently defines no fallback entries: when live provider evidence cannot order two or more eligible candidates, stop formal generation or major revision with `highest_performance_unverified` instead of guessing.
|
|
39
|
-
4. For the selected model, use its actually declared ordered legal reasoning-effort values and select the highest supported value. Examples such as `max` or `xhigh` illustrate possible highest values; they are not a cross-provider ordering or permanent product vocabulary. If several advertised values cannot be authoritatively ordered, the highest effort is unverified and the applicable generation must fail closed.
|
|
40
|
-
5. Keep service tier distinct from model capability and reasoning effort. Discover and report it when the provider exposes control or provenance, but never use price, latency tier or a service-tier label to rank model capability.
|
|
41
|
-
6. When model selection is controllable, requesting anything below the proved highest eligible model is an invocation error. When reasoning is controllable, requesting anything below the proved highest supported effort is likewise an error. A missing remembered example model is not an error when live evidence selects a different actual highest model.
|
|
42
|
-
7. Compare requested values with the effective model, reasoning effort and service tier reported by the completed run. A mismatch fails the run. If the provider accepts a request but does not expose effective provenance, keep the result `highest_performance_unverified`; do not claim the requested values were used.
|
|
43
|
-
8. If the provider exposes reasoning control but no model control, request the proved highest effort and report that model selection could not be independently enforced. If it exposes neither control nor enough candidates to create an unresolved ranking choice, its current default generation path may be used, but the result remains `highest_performance_unverified`. If it explicitly exposes multiple eligible models and no authoritative order, rule 3 blocks the run.
|
|
44
|
-
|
|
45
|
-
Capability discovery happens at call time so a provider's new highest model or effort can replace an older example without a Skill edit. This is a provider adapter policy, not a scheduler: create no persistent model registry, routing state, retry loop or cross-provider optimizer. Reduce cost by avoiding unnecessary generations, irrelevant resources and separable revisions, or by reusing a sufficient selected resource—never by lowering the generation model or effort.
|
|
46
|
-
|
|
47
|
-
Repository tests can prove only that these branches remain distributed in the managed guidance. Only a normalized live provider trace that freezes provider/version, candidate and eligibility metadata, ranking authority, request fields and effective result provenance can prove the model and effort actually used. Without that trace, report the boundary as unverified.
|
|
48
|
-
|
|
49
|
-
### Rendering-template discovery compatibility
|
|
50
|
-
|
|
51
|
-
Prefer, in order:
|
|
52
|
-
|
|
53
|
-
1. a live `list_design_templates`-style method/resource when the provider exposes one;
|
|
54
|
-
2. an explicit template ID supplied by the current project/user and validated by the provider;
|
|
55
|
-
3. a version-guarded structured daemon query that reads the provider's current registry;
|
|
56
|
-
4. provider UI inspection when no structured registry is exposed;
|
|
57
|
-
5. an honest `unavailable` or degraded-discovery result.
|
|
58
|
-
|
|
59
|
-
Never vendor a fallback template catalogue or guess a template ID from prior runs. Do not implement a transport helper unless the live host truly lacks a safe structured path; any helper may normalize metadata and transport only.
|
|
60
|
-
|
|
61
|
-
### Resource-type capability matching
|
|
62
|
-
|
|
63
|
-
Match the requested artifact archetype to demonstrated live capability rather than a Skill name. Distinguish at least landing/brand pages, dashboards/data workbenches, dense tables/filters/forms, mobile multi-screen flows, component workbenches, complex interaction, formal Web/App handoff and icon/illustration/media work. For every considered capability, establish the target resource type, platform, surface count, state/interaction support, real-render support, bounded revision support, canonical-source retrieval and formal-handoff coverage.
|
|
64
|
-
|
|
65
|
-
A single-frame HTML phone mockup cannot claim a native mobile-App or multi-screen formal handoff. A visually strong capability without retrievable canonical Source may support exploration but not a formal implementation handoff. Give unsupported candidates `unavailable` or `not-needed`; do not wrap a partial output in a stronger profile. This matching is task-local provider adaptation, not a registry or durable ranking.
|
|
66
|
-
|
|
67
|
-
## Conditional Design Authority gate and binding
|
|
68
|
-
|
|
69
|
-
Before any style-bearing commission, read project `DESIGN.md` and its declared authored exact-value token source/generation direction. Style-bearing means the resource materially expresses visual fidelity, brand, typography/color/density, component visual treatment or a production-style prototype. Low-fidelity structure, IA/flow topology and semantics-only behavior/state studies are non-fidelity and do not require the gate.
|
|
70
|
-
|
|
71
|
-
If authority is absent, explicitly `unconfigured`, still a starter, style-only/inspiration-only, or lacks one authored token source/generation direction, stop before creating a project or run. Direct the user to explicitly invoke `$design-system-authoring`; never auto-run it. A combined explicit request authorizes the sequence.
|
|
72
|
-
|
|
73
|
-
For configured style-bearing work:
|
|
74
|
-
|
|
75
|
-
1. read the adopted Open Design design-system ID and digest/provenance from project Design Authority;
|
|
76
|
-
2. confirm `od://design-systems/<id>/DESIGN.md` is readable through MCP;
|
|
77
|
-
3. pass that ID as `designSystem` to `create_project`;
|
|
78
|
-
4. immediately call `get_project` and require `designSystemId` to match;
|
|
79
|
-
5. when reusing a project, check its binding before every new style-bearing run;
|
|
80
|
-
6. on missing/mismatch, prefer a new bounded project with the correct binding when MCP has no safe update method; otherwise feature-detect and verify the provider's structured update.
|
|
81
|
-
|
|
82
|
-
Never silently use the provider's default or a different system. A provider-side mismatch is a synchronization/rebinding issue; it does not erase the canonical project `DESIGN.md`.
|
|
83
|
-
|
|
84
|
-
## Pre-run style-application closure
|
|
85
|
-
|
|
86
|
-
Before submitting a commission or calling `start_run` for any style-bearing generation or material revision, require the task-local closure defined by [resource-selection.md](resource-selection.md). Every applicable current-slice dimension must be `existing-covered`, `projected` or `not-applicable`. A `decision-required`, undispositioned dimension or Source conflict blocks the run before Provider execution; preserve the concrete diagnostic instead of launching a speculative candidate.
|
|
87
|
-
|
|
88
|
-
Validate each disposition at the adapter boundary:
|
|
89
|
-
|
|
90
|
-
- `existing-covered` meaning must arrive through the current commission's existing `inputs.exact_targets`, `inputs.constraints` or corresponding input binding and must match the exact target, slice and declared conditions;
|
|
91
|
-
- only `projected` meaning enters the existing `style_application` object;
|
|
92
|
-
- `not-applicable` stays a reasoned task-local judgment and creates no empty field; and
|
|
93
|
-
- `decision-required` stays unresolved and never becomes Provider-authored application meaning.
|
|
94
|
-
|
|
95
|
-
A verified `designSystemId`, exact-value Token lineage or generic instruction to follow the system proves system binding only. It cannot prove that the current slice's hierarchy, density, container, visible-versus-hit geometry, preservation or prohibited-pattern meaning reached the Provider. The Provider must not complete missing application meaning from a feature list, route tree, generic system, component inventory, screenshot, inspiration, background or task-level UI/UX analysis.
|
|
96
|
-
|
|
97
|
-
Repeat the closure immediately before each material-revision run, using the existing material-revision definition. After the resulting candidate is acquired, rerun the applicable Design suitability subchecks as the independent post-generation review. A packaging, rename or byte-only export proved equivalent to the same canonical source creates neither a new Provider run nor a new design decision. This is a fail-closed adapter precondition inside the existing commission action, not a schema, state, Authority, Gate, readiness result or Provider lifecycle.
|
|
98
|
-
|
|
99
|
-
## Structured commission sequence
|
|
100
|
-
|
|
101
|
-
1. Record provider version, selected agent/model, reasoning effort and service tier when exposed, functional capability, rendering template, adopted design system and relevant plugin/export readiness as reported live. For an applicable generation, retain the eligibility/ranking basis and the request-versus-effective comparison required by the highest-performance policy.
|
|
102
|
-
2. Reuse an existing task-local project only when its scope, prior inputs and required design-system binding match; otherwise create a bounded project. For style-bearing work, pass `designSystem` and verify `get_project.designSystemId` before the run.
|
|
103
|
-
3. Only after the pre-run style-application closure allows execution, start a run with the product-specific commission envelope, including exactly its Source-bound `projected` `style_application` fields, archetype-specific `quality_commission`, provider-native capability identifier and—when the intent is a formal Web/App implementation handoff—the complete prederived authoring obligation universe plus current implementation-substrate observations and allowed realization boundaries from [implementation-feasibility.md](implementation-feasibility.md). Fully current input-bound `existing-covered` meaning permits the style object to be omitted; `not-applicable` and `decision-required` never become empty or invented fields. The quality commission states real-copy/data needs, primary challenges, desired/avoided character, reference roles and design-side shared-family reuse without claiming production reuse. That universe is based on requested scope, product semantics, adopted design system, real technical Source and target environments; it must not be inferred only from provider output. Both application and quality fields are commission content, not a separate persistent Projection, Authority, state, routing record or Provider score.
|
|
104
|
-
4. Poll with a bounded cadence. During a long run, report meaningful progress at least once per minute without flooding the user.
|
|
105
|
-
5. Preserve run IDs and the latest provider diagnostic. Support cancellation when the user requests it and the provider exposes it.
|
|
106
|
-
6. Resolve the actual entry explicitly, retrieve the artifact/source, inspect it according to intent and preserve its immutable identity before later iterations or handoff.
|
|
107
|
-
|
|
108
|
-
Open Design may launch Codex CLI as its configured inner agent. That is provider execution, not recursive invocation of this outer Skill. Do not hardcode a remembered model when live discovery and authoritative ranking can select the current highest eligible model.
|
|
109
|
-
|
|
110
|
-
## Separate three kinds of state
|
|
111
|
-
|
|
112
|
-
### Provider execution state
|
|
113
|
-
|
|
114
|
-
Examples: queued, running, succeeded, failed, cancelled, timed out or unknown.
|
|
115
|
-
|
|
116
|
-
### Artifact readiness
|
|
117
|
-
|
|
118
|
-
Examples: missing, partial, corrupt, retrievable, rendered or snapshot-preserved.
|
|
119
|
-
|
|
120
|
-
### Design suitability
|
|
121
|
-
|
|
122
|
-
Design suitability is one freshly derived umbrella review, not another state machine and never human selection. Review the applicable subchecks at intent-proportional depth:
|
|
123
|
-
|
|
124
|
-
- **scope and Source suitability:** the candidate stays within the hard ceiling and follows current controlling Product/Surface/Screen/Design Source; an outside effect is reported, not generated;
|
|
125
|
-
- **mechanical checks:** promised files/entries are readable, structurally usable and free of obvious corruption, broken references or intent-material runtime defects;
|
|
126
|
-
- **Design-System application checks:** the verified adopted identity, exact-value/token lineage and applicable component-family rules are used rather than merely named;
|
|
127
|
-
- **visual-language checks:** composition, hierarchy, typography, visual rhythm, density, container treatment, color, spacing, content realism, component treatment and other material relationships cohere with the selected Source-bound direction;
|
|
128
|
-
- **distinctiveness and component-authoring checks:** the result answers the product-specific challenges without unsupported template mannerisms, and repeated controls use a coherent design-side component family rather than unrelated per-instance styling;
|
|
129
|
-
- **state/condition coverage checks:** credit only demonstrated states, variations, interactions, viewports, input/accessibility conditions and assets; and
|
|
130
|
-
- **preservation checks:** explicitly preserved Source meaning, exact visual facts and unaffected bindings remain unchanged.
|
|
131
|
-
- **implementation-feasibility checks for formal Web/App handoff:** each material component-family × target × condition profile has at least one real-substrate realization or a Source-backed blocker, without copying exact design values into the technical feasibility document.
|
|
132
|
-
|
|
133
|
-
Report applicable checked and unchecked conditions. A grounded conflict blocks; an ungrounded aesthetic preference is a candidate-comparison observation, not a fabricated Source rule. Examples of derived suitability outcomes may include `unreviewed`, `scope-source-conflict`, `revision-required` or `suitable-for-user-review`; none means selected, formally complete or handoff-ready.
|
|
134
|
-
|
|
135
|
-
Never collapse these into one “success.” A provider success does not prove a good design; a complete artifact can exist even when a provider run later fails.
|
|
136
|
-
|
|
137
|
-
After every material revision, rerun every applicable suitability subcheck against current Source and bytes. A material revision changes the selected visual direction or design system, cross-surface information architecture, primary interaction model, declared state/condition coverage, preservation obligation or enough canonical source/Fact meaning to invalidate the reviewed candidate. A byte-only packaging/export change proven equivalent to the same canonical source does not create a new design decision; a visible or semantic difference does. Always inspect the actual rendered candidate when the resource is renderable. If the first candidate has no material Source, feasibility, mechanical or suitability defect, it may proceed directly to user selection; never manufacture a revision quota. When repair is needed, request the smallest defect-localizing revision that preserves unaffected meaning, then reacquire and review the complete current candidate.
|
|
138
|
-
|
|
139
|
-
Use these qualifiers when needed:
|
|
140
|
-
|
|
141
|
-
- `artifact-ready/run-unreconciled`: a complete retrievable artifact exists, but the provider run remains nonterminal or inconsistent;
|
|
142
|
-
- `artifact-ready/provider-failed`: the artifact remains complete and retrievable, but the provider later reports failure/timeout.
|
|
143
|
-
|
|
144
|
-
In both cases preserve the exact run locator, last update, failure diagnostic and artifact hash. Do not claim provider success or downstream acceptance. Retry only when the promised resource is incomplete/corrupt or the user requests another attempt; do not discard a useful independently inspected artifact merely because the terminal state differs.
|
|
145
|
-
|
|
146
|
-
## Implementation-level output profile
|
|
147
|
-
|
|
148
|
-
Open Design has demonstrated that a complex Web page can emit a machine-readable implementation set such as `index.html`, component/design specifications, tokens and an asset manifest. Capability is not a per-run guarantee. When the selected resource will drive Web/App implementation, make this an explicit commission and retrieval invariant:
|
|
149
|
-
|
|
150
|
-
1. send the complete Expected Fact Universe with the commission. It enumerates every scoped subject and hierarchy, each applicable target-condition axis/value combination, every subject-local `variant × state × interaction_phase × presence_phase × instance_case`, and every standard or justified custom atomic property. The provider must encode every applicable Fact Cell or return an exact non-applicable/excluded/unresolved disposition; `all-states`, one default render, representative samples and broad summaries are not atomic coverage;
|
|
151
|
-
2. request a canonical machine-readable entry whose HTML/CSS/JS/JSON/SVG/tokens/assets or equivalent implementation sources contain the exact geometry, style, content, behavior, motion, accessibility, asset and system-condition values. One comprehensive source may carry many facts; no one-file-per-component rule is implied;
|
|
152
|
-
3. require one machine-readable `design-resource-observable-fact-manifest-v1` inside the canonical dependency closure. It freezes the design-system snapshot; Inspector identity/version/digest or named external TCB and declared capabilities; exact input-resource paths/digests; complete resource/node/declaration/token/asset/relation/variant/state/interaction/dynamic-population Census; condition/variation universes and exclusions; subjects; property catalog; Fact Cells/Facts; typed value locators/digests and effective-value lineage; Fact × required-method proof obligations; evidence, comparator/tolerance/mask, Oracle and render-environment authority; assets, blockers and generation collection counts/digests;
|
|
153
|
-
4. require `traversal: complete_enumeration`, fully enumerated dynamic/lazy/virtualized/portal population, `sampling: forbidden`, `truncation: forbidden` and exact deterministic chunk/count/digest closure. An Inspector `complete` Boolean or a provider claim is insufficient without its Census and identities;
|
|
154
|
-
5. enumerate the complete output set and retrieve every selected entry/dependency without truncation. Preserve exact bytes, media types and SHA-256 digests in repository-local immutable files; include local source modules, styles, tokens, SVG, fonts, images, audio/video, workers and other referenced assets;
|
|
155
|
-
6. record `implementation_web` or `implementation_app`, the canonical entry, every dependency, the Fact manifest and `acquisition: complete`. For Web/App output, require every locally referenced dependency discovered from the frozen source to be present in the declared target set;
|
|
156
|
-
7. use stable IDs/data attributes, Markdown anchors, JSON Pointers, HTML/CSS/JS/SVG selectors, declarations, attributes or bounded whole-file binary locators that shared preflight can resolve. Critical values cannot live only in a bitmap, preview or prose summary;
|
|
157
|
-
8. run the frozen Inspector and require `Expected Fact Universe = Canonical Resource Facts`. Every Census item must map to exact Fact/Fact Cell identities or a source/basis-backed `non_material` disposition. Preserve design-system token, alias, platform/mode/state/instance override and conflict-resolution lineage; exact condition profiles must include viewport geometry, pixel ratio, Safe Area insets and text-scale multiplier;
|
|
158
|
-
9. exercise every property-required verification method against the canonical entry under each claimed condition. A Fact may require multiple independent methods—for example token plus pixel—and each obligation binds method-compatible evidence, comparator parameters, exact/tolerance mode, any narrow authoritative mask, Oracle identity/version/digest and frozen render environment. Compare repeated facts across code, specifications, tokens and asset manifests. Refine any mismatch; if it cannot be resolved, keep the exact Fact Cell `decision_required`/`unavailable` with a blocker;
|
|
159
|
-
10. mark protected observations before downstream use. Sensitive raw UI values must not be persisted in Contract/runtime evidence: the canonical source remains the value owner while later evidence carries an attributable digest-only or redacted representation and policy reference.
|
|
160
|
-
|
|
161
|
-
Alongside, author one separate `design-resource-implementation-feasibility-v1` input per target from real repository technical Source. It must use current no-follow repository directories for component/route owner roots, cover the complete transitive subject closure of every material component-family × condition profile with feasible multi-step/multi-primitive realizations or explicit blockers, and retain candidate costs/risks and customization surfaces without carrying any exact visual values in observation reasons, costs, risks or blocker prose. A decision-required/unavailable substrate observation reaches an affected cell through an exact Source-backed blocker. Leave the required realization unselected unless an exact current marked technical Source Item decision requires one; planned owners and blockers use their corresponding strict decision projections too. Provider output cannot invent any of those decisions. Never put this document or its technical Source records into the canonical resource closure.
|
|
162
|
-
|
|
163
|
-
The authoring Skill then projects the exact manifest identities into the residual handoff and shared preflight enforces `Expected Fact Universe = Canonical Resource Facts = Handoff Indexed Facts`. This is authoring source QA, never production acceptance. If the live Open Design capability cannot generate, expose or retrieve this profile, report the missing capability and keep the formal handoff blocked; provider success does not authorize a coarser replacement.
|
|
164
|
-
|
|
165
|
-
A PNG may be a useful derived visual baseline, but it cannot be the sole source for implementation-level state, interaction, adaptation, accessibility or motion facts. Non-Web resources use the `reference` profile; do not manufacture HTML merely to satisfy this profile.
|
|
166
|
-
|
|
167
|
-
## Explicit entry and immutable identity
|
|
168
|
-
|
|
169
|
-
Provider project metadata may omit or stale its entry file. Resolve in this order:
|
|
170
|
-
|
|
171
|
-
1. validate an explicit project entry path when present;
|
|
172
|
-
2. enumerate project files;
|
|
173
|
-
3. identify the intended provider-native entry from the current run/output rather than guessing;
|
|
174
|
-
4. retrieve that exact file/artifact;
|
|
175
|
-
5. preserve an SHA-256 digest or immutable snapshot before selection/handoff.
|
|
176
|
-
|
|
177
|
-
A preview URL is mutable navigation, not immutable identity. It may be reported for convenience only beside project/run/entry provenance and a digest. If the user explicitly selects the resource for durable use, export or snapshot it to a user-approved location; never silently choose a repository path.
|
|
178
|
-
|
|
179
|
-
## Review proportional to intent
|
|
180
|
-
|
|
181
|
-
- **Exploration:** open/render the requested entry, confirm artifact count/scope and obvious corruption, perform only the decision-material suitability subchecks, then show it. Do not launch a packaging or validator sequence.
|
|
182
|
-
- **Handoff:** additionally perform the method-proportional source QA above, including relevant structure, states/transitions, viewport behavior, accessibility semantics, assets, obvious console/runtime errors, requested interaction hooks, Design-System application, visual language, preservation and real-substrate implementation feasibility. State exactly what was and was not checked.
|
|
183
|
-
- **Selected-source preparation:** require an independent explicit human selection basis, preserve identity/snapshot and prepare downstream metadata. Suitability informs that decision but never makes it, and still does not verify production behavior.
|
|
184
|
-
|
|
185
|
-
Provider self-checks, outer artifact sanity review, user selection, formal source closure and downstream project verification are separate evidence layers. A visual-language or mechanical pass cannot independently establish Artifact readiness, selection, formal completeness, handoff readiness, native rendering, accessibility, responsive coverage, product correctness or acceptance.
|
|
186
|
-
|
|
187
|
-
## Specialist paths
|
|
188
|
-
|
|
189
|
-
Figma, Penpot, OpenPencil, image, video, 3D/WebGL and other providers are optional upstream producers. A Direct Agent authoring the resource is also a legal other Provider when current evidence shows that it satisfies the same bounded archetype, render, revision, canonical-source and formal-handoff capabilities; it receives no exemption from Source, Design suitability or handoff closure. Use any provider only when its collaboration/editability or native inspection value is material and its connector/auth/read/export path is operational. A listed plugin, URL, thumbnail or metadata response is not proof of usable native input. If a requested provider is unavailable, report the missing capability precisely, offer another artifact only when it preserves the requested design decision, and never relabel an export as native editable design. Every selected provider still emits repository-readable immutable resources through the same provider-neutral handoff.
|
|
190
|
-
|
|
191
|
-
## Failure and recovery
|
|
192
|
-
|
|
193
|
-
- Preserve provider diagnostics; do not replace failures with generated placeholders.
|
|
194
|
-
- Avoid unbounded polling or repeated blind reruns.
|
|
195
|
-
- Re-discover capability after provider upgrades or registry mismatches.
|
|
196
|
-
- If structured paths fail but a UI artifact exists, UI inspection may recover it while retaining the degraded-provider qualifier.
|
|
197
|
-
- If the provider is unavailable and no justified fallback exists, return `unavailable` with the minimum setup needed rather than generating with an unrelated image tool and calling it equivalent.
|
|
198
|
-
- Provider recovery and DRA semantic recovery are separate: this reference may re-read the current run/resource identity, while [recovery-and-writeback.md](recovery-and-writeback.md) alone owns Base/Delta replay, the conditional checkpoint and Proposal CAS. Never restore a live Provider state or suitability conclusion from that checkpoint.
|
|
@@ -1,205 +0,0 @@
|
|
|
1
|
-
# DRA Semantic Replay, Recovery And Proposal Writeback
|
|
2
|
-
|
|
3
|
-
Load this reference only for a material generation/revision loop which needs complete semantic replay, a selected-Proposal writeback, current bidirectional audit or real recovery across interruption. It strengthens upstream Source quality and does not become Design Authority, implementation acceptance or Long-Task proof.
|
|
4
|
-
|
|
5
|
-
## Simple path and admission
|
|
6
|
-
|
|
7
|
-
A simple scoped preview creates zero recovery files and persisted recovery bytes, adds no user pause or Provider generation beyond the one requested commission, runs no formal handoff/preflight, performs no Proposal writeback and opens no helper write transaction. Its ordinary requested preview is the commission itself; recovery adds and reports zero tool actions. Keep its temporary reasoning in the current turn.
|
|
8
|
-
|
|
9
|
-
Ordinary conversational review and selection remains legal outside this deterministic path. It creates no approval record or persistent selection state and must be reconfirmed if lost before authorized materialization. Deterministic cross-interruption selection uses only the existing raw-digest-bound marked Source, `ty-dra-authority-v1`, selected-resource binding and conditional checkpoint below; do not invent `review_set_id`, approval status or another checkpoint kind.
|
|
10
|
-
|
|
11
|
-
Without the complete bindings below, an ordinary loop may report only conservative impact analysis from readable Source, identify unverified scope and regenerate conservatively within the hard ceiling or return `decision-required`. It cannot claim that only identified resources are affected. When this recoverable path has a complete current catalog, change and preservation claims remain bounded to its exact Requirements-to-Resource, Resource-to-Requirements, explicitly unchanged, blast-radius and inactive-leakage universes.
|
|
12
|
-
|
|
13
|
-
Use a recovery checkpoint only when interruption would otherwise lose material accepted/rejected/unresolved semantics, immutable Provider identity or a pending CAS writeback. It is versioned, ignored, task-local, non-authoritative and deletable. It is not Source, Context, a Contract, Authority, Evidence, Receipt, Gate, Provider registry, scheduler, acceptance state or completion conclusion. There is no global session registry, event log, heartbeat, polling loop or state-machine service.
|
|
14
|
-
|
|
15
|
-
For deterministic classification, apply four fail-closed invariants before details: validate every semantic key independently; retain every valid accepted/rejected/unresolved decision and its authority row even when a later patch, audit or owner fails; reject deterministic checkpoint input whose claimed Source authority is invalid; and report a requested or pending unsafe reconciliation/writeback as blocked rather than as no action. Provider/resource selection never fills a missing authority row, and one key's authority never covers another key.
|
|
16
|
-
|
|
17
|
-
## Base and replayable Delta
|
|
18
|
-
|
|
19
|
-
Freeze one current Base with:
|
|
20
|
-
|
|
21
|
-
```yaml
|
|
22
|
-
locator: repository/relative/file
|
|
23
|
-
raw_byte_digest: sha256
|
|
24
|
-
encoding: detected-by-helper
|
|
25
|
-
eol_policy: detected-by-helper
|
|
26
|
-
scope_ceiling: bounded-scope-key
|
|
27
|
-
in_scope_keys: []
|
|
28
|
-
explicitly_excluded_keys: []
|
|
29
|
-
```
|
|
30
|
-
|
|
31
|
-
The Base must be repository-readable and raw-digest verifiable: ordinary project Source, a materialized project-native Proposal, or an explicitly authorized disclosure-reviewed recovery snapshot. A Provider resource is recoverable only when its immutable identity can be fetched again and checked. Conversation-only input, expiring external documents, unavailable attachments and sensitive inputs are not recovered from locators. Materialize only with explicit user authorization. Never persist credentials, tokens, secrets, protected raw values or sensitive originals. Otherwise report exactly `cross-session deterministic recovery unavailable`; when no checkpoint exists, its checkpoint disposition is `none`, not rejection of a nonexistent file.
|
|
32
|
-
|
|
33
|
-
Every Delta stores actual replay semantics, never only an ID:
|
|
34
|
-
|
|
35
|
-
```yaml
|
|
36
|
-
delta_id: stable-key
|
|
37
|
-
sequence: 1
|
|
38
|
-
supersedes: []
|
|
39
|
-
proposes_replacement_of: []
|
|
40
|
-
operation: add | replace | remove | preserve
|
|
41
|
-
semantic_kind: exact-visual | product | business | permission | data | algorithm | commercial | safety-security | technical
|
|
42
|
-
target_keys: []
|
|
43
|
-
before_semantics: complete-value-or-null
|
|
44
|
-
after_semantics: complete-value-or-null
|
|
45
|
-
origin: user-direct | necessary-derived | repository-evidence-backed | provider-suggested
|
|
46
|
-
decision_authority: explicit-user | delegated:<bounded-scope-key> | none
|
|
47
|
-
evidence_refs: []
|
|
48
|
-
source_refs: []
|
|
49
|
-
explicitly_unchanged_keys: []
|
|
50
|
-
status: accepted | rejected | unresolved
|
|
51
|
-
```
|
|
52
|
-
|
|
53
|
-
Retain all statuses, exact ordering, one-way supersession and explicit unchanged keys. Only an accepted Delta may supersede an earlier active accepted Delta, and it must replace the same target set, semantic kind and exact prior `after_semantics`; a rejected or unresolved Delta never deactivates accepted meaning. Use `proposes_replacement_of` for a rejected/unresolved proposal which may be decided later. Cross-target or semantic mismatch fails closed.
|
|
54
|
-
|
|
55
|
-
After legal supersession, every stable semantic target key has at most one active accepted Delta owner. Two active accepted Deltas for one target without a legal replacement relationship fail closed. This version deliberately has no generic merge or composition DSL; a future need to compose one semantic key from several Deltas requires a separately admitted mechanism.
|
|
56
|
-
|
|
57
|
-
Derive the complete inactive universe as rejected plus unresolved plus superseded accepted Delta IDs. The current audit supplies exactly one leakage row for every inactive ID with the matching reason and `leaked: false`; missing, extra, duplicate or active-ID rows fail closed. If an inactive meaning remains in the Proposal, selected-resource projection or resulting writeback, reconciliation is blocked.
|
|
58
|
-
|
|
59
|
-
Status inventories contain stable target-key identities, never `key=value` strings; semantic values stay in the Delta rows. The same key can therefore remain in the accepted inventory while a later rejected or unresolved proposal for that key remains visible in its own inventory. A blocked audit or illegal final owner does not rewrite an independently authorized accepted Delta as unresolved.
|
|
60
|
-
|
|
61
|
-
Each `source_ref` resolves through `authority_sources` to one repository-contained Source document, its current raw-byte digest, one actual marked Source item, the item kind and item-text digest. An arbitrary string or conversation-only locator cannot create authority or enter deterministic recovery. For deterministic accepted authority, that same marked Source Item also contains one strict, non-rendered, package-owned single-line `ty-dra-authority-v1` JSON projection covered by the Item text digest. Free text without this projection can continue through ordinary conversational DRA, but it cannot machine-close deterministic recovery authority or enter a checkpoint as accepted authority.
|
|
62
|
-
|
|
63
|
-
An explicit projection uses `mode: explicit-user` and enumerates exact target keys, semantic kinds, allowed origins and the canonical `after_semantics` SHA-256. Its `target_keys` set must equal the bound Delta target set; a coupled `[A, B]` decision cannot be rebound as an independently authorized `[A]` meaning. A delegation projection uses `mode: delegation` and enumerates its stable delegation key plus exact allowed target keys, semantic kinds and origins. `delegated:<id>` names the matching task-local delegation row, and the accepted Delta binds that same decision Source. Delegation is deliberately a bounded superset: every Delta target must be a member of the delegation's allowed targets. Do not substitute an incidental target path for delegation identity. A hierarchical-looking key such as `checkout.confirmation` does not implicitly authorize `checkout.confirmation.fade_duration`, a sibling or a broader target.
|
|
64
|
-
|
|
65
|
-
`origin` records where the meaning arose, not where its Source item happens to be stored. Materializing a direct user choice in the repository leaves it `user-direct`; use `repository-evidence-backed` only when repository evidence itself supplies the meaning. A separate decision Source can authorize a meaning without changing that meaning's origin.
|
|
66
|
-
|
|
67
|
-
A selected resource is evidence and never authorizes itself. An accepted Provider suggestion requires explicit user authority or a delegation which covers its origin, semantic kind and every target. Delegation authorizes bounded choice; it is not automatically the Source for the chosen non-visual meaning. Product capability, business, permission, data, algorithm, commercial and safety/security meaning additionally binds an independent authoritative Source Item, separate from the delegation item, whose own projection simultaneously matches the exact target set, semantic kind, origin and canonical `after_semantics` digest. An unrelated requirement kind cannot fill that slot. A specific explicit-user decision item may carry both meaning and acceptance, but a general bounded-delegation decision alone is not the meaning. Exact visual values may remain exclusively resource-owned, but their adoption authority remains independently Source-bound. A visual-color delegation therefore cannot be rebound to product, business or permission meaning. Provider-added meaning lacking authority remains `unresolved` unless an authoritative decision explicitly rejects it. Rejected/unresolved meaning never enters accepted requirements or writeback.
|
|
68
|
-
|
|
69
|
-
The helper proves consistency between Source-owned structured scope and Delta fields. Interpreting the higher-level semantics of arbitrary free text remains part of the Authoring TCB; the helper does not implement general natural-language entailment.
|
|
70
|
-
|
|
71
|
-
Reconstruct each round only from:
|
|
72
|
-
|
|
73
|
-
```text
|
|
74
|
-
current Base@raw digest
|
|
75
|
-
+ ordered active accepted Delta semantics
|
|
76
|
-
+ current unresolved decisions
|
|
77
|
-
+ current scope/exclusions
|
|
78
|
-
+ current Design Authority identity
|
|
79
|
-
```
|
|
80
|
-
|
|
81
|
-
Never use a prior Agent summary or generated resource as the next Base. Missing semantics, stale Base, invalid sequence/supersession/delegation or an out-of-scope/excluded target fails closed.
|
|
82
|
-
|
|
83
|
-
## Conditional checkpoint and helper
|
|
84
|
-
|
|
85
|
-
Prepare one disclosure-reviewed JSON input using schema `design-resource-recovery-input-v4`, including session identity, Base, `authority_sources`, delegations/Deltas, exact accepted/rejected/unresolved sets, current Design Authority identity, immutable Provider project/run/resource references, `selected_resource_bindings`, one frozen `audit_expectations` catalog and optional writeback. The catalog owns the exact changed, unchanged, resource-decision, blast-radius and inactive-leakage row expectations, including Delta/resource/condition/basis/binding identities. Every resource-decision binding freezes one and only one `final_disposition`: `proposal-written` with its exact operation ID, `resource-owned-exact-visual` with its selected resource/conditions/structured owner, `not-adopted` for rejected or superseded meaning, or `unresolved` for unresolved meaning. Audit observes and verifies this owner; it never selects it. Changing an owner requires checkpoint `update` with digest CAS. The catalog is the only checkpoint audit-universe/owner owner; current audit rows must be set-equal to it rather than merely non-empty. Selected resource bindings declare one unique resource key, generic `repository-snapshot` or `external-immutable` identity, locator, raw-byte digest and exact condition identities. Arbitrary condition strings and duplicate identities fail closed.
|
|
86
|
-
|
|
87
|
-
The existing selected-resource, condition, Design-Authority and authority-Source fields jointly bind deterministic selection to the canonical selected-source digest, target, declared conditions and controlling Source/Design-Authority identity; no new selection field or status is added. Preview URLs, names and exports are derived outputs. A proved equivalent export does not change the selection binding, while a visible or semantic difference requires a new user review/selection and, when retained here, the existing digest-CAS checkpoint update.
|
|
88
|
-
|
|
89
|
-
Create/retain a checkpoint for a real interruption or pending CAS writeback; use `none` when neither exists, and `reject` when a requested new checkpoint, input, destination or existing checkpoint cannot be admitted. Never turn an invalid authority request into `none` merely because no file was written. Then explicitly create it when required:
|
|
90
|
-
|
|
91
|
-
```text
|
|
92
|
-
ty-context design-resource recovery create <session> --input <state.json>
|
|
93
|
-
```
|
|
94
|
-
|
|
95
|
-
When a real recovered loop changes Delta, resource or pending writeback inputs, replace the existing checkpoint only through digest CAS:
|
|
96
|
-
|
|
97
|
-
```text
|
|
98
|
-
ty-context design-resource recovery update <session> --input <state.json> --expected-sha256 <current-checkpoint-sha256>
|
|
99
|
-
```
|
|
100
|
-
|
|
101
|
-
The helper writes the next canonical checkpoint to an exclusive same-directory temporary file, rechecks the current digest, atomically replaces and rereads it. A mismatch retains the old checkpoint and fails closed. Repeated identical input is an idempotent no-write. This creates no session registry.
|
|
102
|
-
|
|
103
|
-
The helper writes only:
|
|
104
|
-
|
|
105
|
-
```text
|
|
106
|
-
tmp/ty-context/design-resource-recovery/<session>/checkpoint.json
|
|
107
|
-
```
|
|
108
|
-
|
|
109
|
-
and requires the path to be ignored and untracked. It validates strict schema/version, canonical bytes, Base identity, complete Delta/delegation semantics, repository containment/no-follow parents, symlink/junction/hardlink and user collision boundaries. The checkpoint adds detected Base encoding/EOL and, when applicable, detected target encoding/EOL. It stores no current activity, live Provider execution, Artifact readiness, Design suitability, next action, readiness/completion or acceptance.
|
|
110
|
-
|
|
111
|
-
Use `inspect` after interruption. It re-reads Base and repository Design Authority, validates raw identities, reconstructs ordered active accepted/rejected/unresolved semantics and derives writeback state. External Provider/resource and external Design Authority identities remain explicitly listed for current revalidation; the helper does not contact or manage Providers.
|
|
112
|
-
|
|
113
|
-
```text
|
|
114
|
-
ty-context design-resource recovery inspect <session> [--json]
|
|
115
|
-
```
|
|
116
|
-
|
|
117
|
-
Unknown schema, corrupt JSON, stale Base/authority or unavailable semantics fails closed. In particular, v3 input/checkpoint/audit and exact-patch-v3 are never silently interpreted as v4/exact-patch-v4; reconstruct current state from Source, Provider identities and Proposal instead of inferring missing bindings or establishing a migration registry. The helper's deterministic boundary is supported repository files and exact bytes; a locator alone is not proof of recoverability.
|
|
118
|
-
|
|
119
|
-
## Current audits and status card
|
|
120
|
-
|
|
121
|
-
Before selection/writeback and after every material revision, re-read current resources and perform three upstream audits:
|
|
122
|
-
|
|
123
|
-
1. **Requirements → Resource:** every frozen active accepted changed key has the catalog's exact Delta, selected immutable resource and condition bindings. Every frozen explicit-unchanged key has exactly the catalog's resource, condition and authority-basis Source bindings. A referenced condition must belong to the selected resource's declared conditions. Missing, extra, duplicate, unresolved, distorted or falsely claimed coverage fails closed.
|
|
124
|
-
2. **Resource → Requirements:** freeze every material resource-decision row and its one final disposition per binding in the checkpoint catalog. Each row binds exact Delta IDs and a separate stable binding ID plus requirement-key/Delta/origin/decision-authority/Source tuple for every key; authorization of one key never covers another. The global `(resource_ref, requirement_key, delta_id)` and `(delta_id, target_key)` identities are unique across all rows; duplicate arrays or cross-row bindings fail before any Map/Set normalization. Every active non-preserve `Delta × target` has exactly one final disposition. `proposal-written` binds one real patch operation ID. `resource-owned-exact-visual` is limited to exact visual meaning and binds one immutable selected resource, exact declared conditions and a structured `selected-source-record` or `external-immutable` owner. Rejected/superseded uses `not-adopted`; unresolved uses `unresolved` and blocks readiness. Provider success, audit choice or a selected file cannot create authority.
|
|
125
|
-
3. **Unexpected Blast Radius and inactive leakage:** the catalog freezes the complete blast-radius universe, including every explicit Base exclusion, and every inactive Delta leakage row. Inspect every blast row for out-of-scope pages, controls, copy, layout, tokens and states, and every leakage row for reappearance of rejected, unresolved or superseded meaning. Missing, extra, duplicate, unexpected or unresolved rows fail closed.
|
|
126
|
-
|
|
127
|
-
Provider execution, Artifact readiness and Design suitability are independent. Provider success, complete fields or repeated values never prove suitability; a valid shared Token or inherited component variant must not be rejected merely because a value repeats. Block direct/Design-Authority conflict, wrong target/condition, missing material state, placeholder-final content, unsupported added meaning, unresolved promotion, stale identity and incomplete formal closure.
|
|
128
|
-
|
|
129
|
-
Derive—not restore—a status card containing Base identity; accepted/rejected/unresolved Delta; current changed and explicitly unchanged keys; Provider run identity; current live Provider execution; current Artifact readiness; freshly audited Design suitability; all three audit findings; current digest-derived writeback CAS state; and next action. A requested status card re-runs the current audits: an executing run or incomplete current resource is `blocked`, not a restored or `not-applicable` audit conclusion. The checkpoint contains none of those live conclusions.
|
|
130
|
-
|
|
131
|
-
Derive status fields with one meaning each:
|
|
132
|
-
|
|
133
|
-
- checkpoint: `none` when no checkpoint exists or is needed, `create` for a real interruption/pending CAS writeback, `retain` for an existing valid checkpoint, and `reject` for a proposed or existing invalid/unsupported checkpoint, input or unsafe destination;
|
|
134
|
-
- write action: `none` when no Proposal writeback/promotion is pending or requested (including a recovery-availability inquiry), `preview` for a safe pending patch not yet approved for apply, `apply` only for pre-digest plus balanced audit, `idempotent-no-write` for expected-post bytes, and `block` when a requested/pending writeback is unauthorized, stale, conflicting or audit-blocked;
|
|
135
|
-
- audit: `not-applicable` only when no current selected/resource surface is available to audit, `blocked` when any current audit cannot balance, and `balanced` only after all three current audits and leakage checks pass.
|
|
136
|
-
|
|
137
|
-
An unauthorized meaning in a selected resource therefore blocks its Proposal promotion/writeback even if the file remains valid visual evidence; an unavailable conversation-only Base with no writeback request reports no write action.
|
|
138
|
-
|
|
139
|
-
Project the decision inventory before projecting the action result. An independently Source-valid accepted Delta stays in the accepted inventory and keeps its authority row when a later patch, resource identity, condition/basis binding, audit row or final owner is invalid; those later defects block reconciliation, readiness and writeback but do not demote or erase the accepted meaning. When balanced reconciliation, promotion, handoff or writeback is requested or imminent, any duplicate identity/cross-row binding, condition/basis mismatch, illegal/multiple/unreadable final owner, inactive leakage or patch mismatch means a blocked result, blocked current audit and blocked write action—not `none` or `unavailable`—with every affected audit direction reported. If the authority Source/projection itself fails target, semantic kind, origin, meaning digest or repository identity, reject the deterministic input/checkpoint and do not accept that meaning. For a deterministic create/update input, this is checkpoint `reject` even when no prior checkpoint exists; normalizing the invalid claimed acceptance into rejected or unresolved meaning does not turn the invalid input into checkpoint `none`. Retain an existing valid checkpoint when an update/cleanup conflict or partial cleanup prevents the requested operation.
|
|
140
|
-
|
|
141
|
-
Apply the table to imminent work, not only completed commands: a valid authorized Delta plus an immutable resource and a real interruption expected before writeback requires checkpoint `create` and write action `preview`; a handoff-ready request with any current audit/authority gap requires write action `block`; and frozen pre/post digests plus a balanced current audit are a pending CAS writeback requiring checkpoint `create` or `retain` and write action `apply`.
|
|
142
|
-
|
|
143
|
-
## Safe writeback and reconciliation
|
|
144
|
-
|
|
145
|
-
Create a writeback only when at least one frozen active binding is `proposal-written`. Freeze target locator, pre-write raw digest, exact `design-resource-exact-patch-v4`, canonical patch digest, expected post bytes/digest, selected resource identities and `proposal_written_delta_ids`. The immutable replay Base and mutable writeback target must be distinct locators; if the current Proposal itself must be updated, first use an explicitly authorized immutable Source/snapshot as Base. The exact patch universe is only the active accepted `Delta × target` bindings frozen as `proposal-written`; resource-owned exact values remain in effective requirements and audit but never enter or get copied into Proposal.
|
|
146
|
-
|
|
147
|
-
Every patch operation has one unique ID, exactly one Delta, one target, one semantic binding and one `source_span` in `utf16-code-unit-v1` coordinates over the original decoded pre-write Proposal. Every non-null before/after semantics has exactly one JSON scalar leaf, and the declared local text projection must cover that leaf. Ordinary string scalars containing CR, LF, NUL or another control character are unsupported; never permit a value such as `red\npermission.admin: true` to escape its scalar carrier.
|
|
148
|
-
|
|
149
|
-
For `replace`, split each local before/after text at its projected scalar. The complete prefix before the scalar and suffix after it must be character-for-character equal; only the projected scalar may change. Adding a permission line, renaming a label or deleting nearby prose inside the same operation is blocked and requires a separately authorized Delta rather than piggybacking on the scalar replacement.
|
|
150
|
-
|
|
151
|
-
Free-text add/remove cannot establish non-interference. `add` requires null before semantics, preserves one exact nonempty insertion anchor and adds exactly one package-canonical single-line `ty-dra-proposal-scalar-v1` carrier plus the current uniform EOL. That carrier contains only `target_key`, `semantic_path` and the canonical JSON scalar value. `remove` projects one before leaf to null, requires empty `after_text` and deletes exactly one already canonical carrier whose target/path/value match the Delta; it cannot widen over an adjacent heading, requirement, explanation or other target. `disabled`, `removed`, `deprecated` or another non-empty substitute is new meaning requiring a separate Delta. If the current Proposal has no supported anchor/carrier, report exactly `deterministic Proposal writeback unavailable`; return a complete revised Proposal for user confirmation or retain the exact value as resource-owned instead of falling back to generic string replacement.
|
|
152
|
-
|
|
153
|
-
Fail closed from the actual patch-v4 operation and Proposal bytes, not from omitted detail in a concise audit summary. A statement that an operation exactly projects its one leaf and that its anchor/carrier, preimage and expected post bytes are current is a positive claim of those named invariants unless another fact contradicts it; do not invent a missing carrier, malformed carrier or free-text fallback merely because the summary does not repeat the serialized carrier. Conversely, a claimed valid operation never overrides an observed parser, target/path/value, anchor, scaffold or span mismatch.
|
|
154
|
-
|
|
155
|
-
For a decision-only review whose supplied facts are an invariant summary rather than the serialized operation, treat these as sufficient positive patch-v4 claims unless another supplied fact names a mismatch: an add with null before semantics, exactly one after scalar, `before_text` used only as a preserved structural anchor, exact after projection and current pre/post bytes; or a remove with exactly one before scalar, null after semantics, empty `after_text`, exact before projection and current post bytes in which the old `before_text` is absent. Such a positive summary is `allow`/balanced and does not itself reveal missing carrier bytes. This interpretation never relaxes create/update: when actual operation bytes are available, the helper must parse and verify the canonical carrier, anchor and source span and fail closed on any mismatch.
|
|
156
|
-
|
|
157
|
-
A carrier, scaffold, projection or source-span defect is a downstream patch defect, not a new authority decision. When the Delta's Source and decision authority remain valid, preserve that Delta in `accepted_keys` and preserve its authority row while returning a blocked disposition/audit/write action and rejecting the invalid checkpoint input. Never erase or demote already accepted meaning merely to express that its proposed patch cannot be applied; only an actual Source/authority failure changes the accepted inventory.
|
|
158
|
-
|
|
159
|
-
Checkpoint create/update resolves every source span against the same original Proposal before mutation. The frozen interval must equal `before_text` and both text digests, and all spans must be pairwise disjoint and non-nested; operations cannot share a character or insertion anchor. Apply sorts original spans by descending offset and replaces only those intervals, so a later operation cannot consume output generated by an earlier operation. Readback calculates each final interval from original offsets and length deltas, checks its exact output plus the whole-file expected digest and thereby conserves untouched prefix, suffix and inter-operation gaps. A source span cannot represent two independent meanings. Inactive, unknown or resource-owned bindings cannot enter the patch, and changing red semantics to purple text without changing the Delta is rejected during create/update. For an active superseder, the declared prior `before_text` projection must also be absent from the computed and reread post-write Proposal; its survival is inactive-meaning leakage. This is a bounded scalar-carrier projection proof, not general NLP entailment or arbitrary text-diff semantics. Preview before mutation:
|
|
160
|
-
|
|
161
|
-
```text
|
|
162
|
-
ty-context design-resource recovery preview <session> [--json]
|
|
163
|
-
```
|
|
164
|
-
|
|
165
|
-
Current target digest determines state:
|
|
166
|
-
|
|
167
|
-
```text
|
|
168
|
-
current == pre-write digest => unapplied
|
|
169
|
-
current == expected post digest => already applied/idempotent
|
|
170
|
-
otherwise => concurrent conflict; fail closed
|
|
171
|
-
```
|
|
172
|
-
|
|
173
|
-
Produce a fresh `design-resource-reconciliation-audit-v4` bound to the same Base, Design Authority, Provider run, selected resource digests, optional expected target digest, current decision sets and the checkpoint's complete audit-expectations catalog. Include Requirements→Resource, per-key Resource→Requirements, blast-radius and inactive-leakage rows. For a Proposal writeback, apply:
|
|
174
|
-
|
|
175
|
-
```text
|
|
176
|
-
ty-context design-resource recovery apply <session> --audit <audit.json>
|
|
177
|
-
```
|
|
178
|
-
|
|
179
|
-
The helper first requires a balanced fresh audit, validates checkpoint-frozen structured downstream owners and CAS, reapplies the exact patch from the frozen original spans in memory, preserves supported UTF-8/BOM or UTF-16 encoding and the existing non-mixed EOL policy, writes a same-directory exclusive temporary file, syncs it, rechecks the target, atomically renames, rereads expected bytes, verifies every operation's calculated final interval—or removed canonical carrier—plus whole-file digest, and reconciles again. An already-post state performs no write. A `selected-source-record` owner must be repository-readable at its bound digest; an external-only Provider locator stays revalidation-pending.
|
|
180
|
-
|
|
181
|
-
When no binding is `proposal-written`, omit writeback and do not invent an empty patch or transaction. Re-read Source, selected resources and downstream owners and reconcile the complete catalog read-only:
|
|
182
|
-
|
|
183
|
-
```text
|
|
184
|
-
ty-context design-resource recovery reconcile <session> --audit <audit.json>
|
|
185
|
-
```
|
|
186
|
-
|
|
187
|
-
Recovery uses only generic repository snapshot/source-record identity. It does not accept a `formal-handoff-target` label, an implementation-feasibility-readiness label, duplicate either formal parser, or persist a selected production strategy. Formal Web/App input closure remains owned by `ty-context design-resource preflight`, while production ownership remains downstream.
|
|
188
|
-
|
|
189
|
-
A valid resource-owned-only case may be `allow` plus `reconciliation-balanced` with `write_action: none`, but the helper-level `handoff_ready` projection remains false. Any later readiness claim waits for the Skill-owned composition of current Provider/resource revalidation, durable final ownership and applicable formal preflight; never infer readiness merely from a balanced read-only reconcile.
|
|
190
|
-
|
|
191
|
-
The helper reports only `reconciliation-balanced`, `writeback-applied`, `writeback-idempotent`, `blocked` or `external-resource-revalidation-pending`. It does not report `handoff-ready`. Missing/extra/duplicate/unresolved/distorted/unsupported coverage, per-key authority mismatch, ambiguous/illegal final ownership, inactive leakage, changed explicit-unchanged meaning, unexpected blast radius or any identity mismatch returns `blocked`. A selected external resource which the helper cannot currently reread keeps external revalidation pending even after a valid Proposal writeback.
|
|
192
|
-
|
|
193
|
-
Same-directory rename, filesystem durability and the remaining same-user pre-rename race are the named Windows/macOS filesystem TCB. This is not hostile-writer linearizability or crash-proof storage. Cleanup failure is explicit. The helper removes only an exact digest-matched valid checkpoint and its now-empty session directory:
|
|
194
|
-
|
|
195
|
-
```text
|
|
196
|
-
ty-context design-resource recovery remove <session> --expected-sha256 <sha256>
|
|
197
|
-
```
|
|
198
|
-
|
|
199
|
-
Before removal it inventories the session directory. It removes the checkpoint and directory only when the directory contains exactly the helper-owned digest-matched checkpoint. Any other entry returns an explicit `partial` result and preserves both the checkpoint and unowned content; a race after checkpoint removal also returns `partial` with the retained entries. It never scans or deletes unrelated `tmp`, `.work_products`, `artifacts` or reports.
|
|
200
|
-
|
|
201
|
-
## Downstream boundary
|
|
202
|
-
|
|
203
|
-
Proposal–Resource reconciliation is upstream diagnostic information. It never replaces the Proposal, selected immutable resources, formal handoff, downstream UI Authority Closure or project implementation checks. A later Long-Task can prove only final Source/Contract bindings, current implementation and current Evidence. Its sole Final Gate cannot prove historical Provider execution, and the checkpoint/audits/status card never enter Long-Task Source, Contract, Authority, Evidence or completion.
|
|
204
|
-
|
|
205
|
-
Only the DRA Skill may derive final `handoff-ready`, and only from helper reconciliation balance plus current Provider/resource revalidation, one durable final owner per active binding, every applicable formal handoff/preflight and no unresolved blocker. This composition is not a new Gate and says nothing about Provider history, subjective optimality, arbitrary natural-language truth or completed product implementation.
|