project-tiny-context-harness 0.11.0 → 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 +73 -543
- package/assets/agents/AGENTS_CORE.md +11 -87
- package/assets/tools/context_rules.json +2 -1
- package/dist/commands/context-inspect.js +19 -89
- package/dist/commands/context-list.d.ts +1 -0
- package/dist/commands/context-list.js +24 -0
- package/dist/commands/context.js +4 -0
- package/dist/commands/doctor.js +1 -18
- package/dist/commands/index.js +33 -63
- 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 +0 -1
- package/dist/index.js +0 -1
- 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 +1 -1
- package/dist/lib/context-catalog/catalog-default-footprint.js +5 -7
- package/dist/lib/context-catalog/catalog-load.js +19 -1
- package/dist/lib/context-catalog/catalog-path-validation.js +10 -0
- package/dist/lib/context-catalog/catalog-validation.js +13 -5
- 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.js +2 -0
- package/dist/lib/context-default-footprint.js +2 -0
- package/dist/lib/context-doctor/context-doctor-types.d.ts +0 -10
- package/dist/lib/context-doctor/context-doctor-types.js +0 -12
- package/dist/lib/context-export.js +17 -9
- package/dist/lib/context-inspect/context-inspect-projection.d.ts +1 -2
- package/dist/lib/context-inspect/context-inspect-projection.js +0 -1
- package/dist/lib/context-inspect/context-inspect-render.js +0 -8
- package/dist/lib/context-inspect/context-inspect-types.d.ts +0 -14
- package/dist/lib/context-inspect/context-inspect.js +0 -27
- package/dist/lib/context-manifest-schema.d.ts +1 -0
- package/dist/lib/context-manifest-schema.js +2 -1
- package/dist/lib/context-manifest.js +1 -41
- package/dist/lib/context-markdown/context-markdown-analysis.js +8 -0
- package/dist/lib/context-markdown/context-markdown-extract.d.ts +2 -1
- package/dist/lib/context-markdown/context-markdown-extract.js +20 -0
- package/dist/lib/context-markdown/context-markdown-types.d.ts +26 -0
- package/dist/lib/context-move/context-move.js +3 -2
- package/dist/lib/context-mutation/manifest-lossless-patch.js +11 -0
- package/dist/lib/context-mutation/mutation-commit.js +2 -2
- 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-recovery.js +3 -3
- package/dist/lib/context-register/context-register.js +3 -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 -2
- package/dist/lib/doctor.js +44 -133
- 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 -755
- 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 +2 -0
- package/dist/lib/repository-path-safety.js +20 -0
- 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 +3 -3
- package/dist/lib/validators.js +72 -401
- package/dist/public-api-core.d.ts +14 -11
- package/dist/public-api-core.js +14 -11
- package/dist/public-types.d.ts +7 -13
- package/migrations/README.md +19 -178
- package/migrations/schema-4-owned-assets.json +170 -0
- package/package.json +14 -20
- package/source-mappings.yaml +3 -39
- package/assets/README.md +0 -944
- package/assets/README.zh-CN.md +0 -556
- 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 -46
- 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/runtime/windows-job-supervisor/formal_process_supervisor_native_helpers.cs +0 -301
- package/assets/runtime/windows-job-supervisor/formal_process_supervisor_native_run.cs +0 -197
- package/assets/runtime/windows-job-supervisor/formal_process_supervisor_native_types.cs +0 -215
- package/assets/runtime/windows-job-supervisor/windows_job_process_supervisor.ps1 +0 -117
- 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 -63
- package/assets/skills/design-resource-authoring/references/authority-delta-assessment.md +0 -52
- package/assets/skills/design-resource-authoring/references/downstream-handoff.md +0 -67
- 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 -63
- package/assets/skills/design-system-authoring/agents/openai.yaml +0 -6
- package/assets/skills/design-system-authoring/references/authority-adoption.md +0 -58
- package/assets/skills/design-system-authoring/references/open-design-design-system-provider.md +0 -114
- 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 -86
- package/assets/skills/long-task-workflow/references/contract-authoring.md +0 -152
- package/assets/skills/long-task-workflow/references/evidence-design.md +0 -132
- package/assets/skills/long-task-workflow/references/source-authoring.md +0 -126
- package/assets/tools/validate_context.py +0 -667
- 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-authority-delta.d.ts +0 -1
- package/dist/commands/design-authority-delta.js +0 -53
- package/dist/commands/design-authority.d.ts +0 -1
- package/dist/commands/design-authority.js +0 -104
- 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 -132
- 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 -234
- 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-workdir.d.ts +0 -2
- package/dist/commands/long-task-workdir.js +0 -23
- package/dist/commands/long-task.d.ts +0 -1
- package/dist/commands/long-task.js +0 -212
- package/dist/commands/route.d.ts +0 -15
- package/dist/commands/route.js +0 -142
- 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-types.js +0 -1
- 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-doctor/context-doctor.d.ts +0 -2
- package/dist/lib/context-doctor/context-doctor.js +0 -130
- package/dist/lib/context-graph-snapshot.d.ts +0 -23
- package/dist/lib/context-graph-snapshot.js +0 -199
- package/dist/lib/context-mutation/mutation-long-task-guard.d.ts +0 -6
- package/dist/lib/context-mutation/mutation-long-task-guard.js +0 -57
- package/dist/lib/context-router/context-route-budget.d.ts +0 -15
- package/dist/lib/context-router/context-route-budget.js +0 -14
- package/dist/lib/context-router/context-route-candidates.d.ts +0 -15
- package/dist/lib/context-router/context-route-candidates.js +0 -112
- package/dist/lib/context-router/context-route-order.d.ts +0 -6
- package/dist/lib/context-router/context-route-order.js +0 -53
- package/dist/lib/context-router/context-route-paths.d.ts +0 -16
- package/dist/lib/context-router/context-route-paths.js +0 -109
- package/dist/lib/context-router/context-route-render.d.ts +0 -2
- package/dist/lib/context-router/context-route-render.js +0 -32
- package/dist/lib/context-router/context-route-scan.d.ts +0 -18
- package/dist/lib/context-router/context-route-scan.js +0 -156
- package/dist/lib/context-router/context-route-selection.d.ts +0 -16
- package/dist/lib/context-router/context-route-selection.js +0 -72
- package/dist/lib/context-router/context-route-terms.d.ts +0 -13
- package/dist/lib/context-router/context-route-terms.js +0 -202
- package/dist/lib/context-router/context-route-types.d.ts +0 -101
- package/dist/lib/context-router/context-route-types.js +0 -1
- package/dist/lib/context-router/context-route.d.ts +0 -2
- package/dist/lib/context-router/context-route.js +0 -127
- package/dist/lib/context-units-migration.d.ts +0 -13
- package/dist/lib/context-units-migration.js +0 -217
- package/dist/lib/design-authority-binding.d.ts +0 -7
- package/dist/lib/design-authority-binding.js +0 -96
- package/dist/lib/design-authority-closure.d.ts +0 -3
- package/dist/lib/design-authority-closure.js +0 -201
- package/dist/lib/design-authority-delta-codec-primitives.d.ts +0 -10
- package/dist/lib/design-authority-delta-codec-primitives.js +0 -58
- package/dist/lib/design-authority-delta-codec.d.ts +0 -2
- package/dist/lib/design-authority-delta-codec.js +0 -193
- package/dist/lib/design-authority-delta-types.d.ts +0 -65
- package/dist/lib/design-authority-delta-types.js +0 -6
- package/dist/lib/design-authority-delta-validation.d.ts +0 -2
- package/dist/lib/design-authority-delta-validation.js +0 -16
- package/dist/lib/design-authority-digest.d.ts +0 -8
- package/dist/lib/design-authority-digest.js +0 -36
- package/dist/lib/design-authority-files.d.ts +0 -9
- package/dist/lib/design-authority-files.js +0 -62
- package/dist/lib/design-authority-format.d.ts +0 -2
- package/dist/lib/design-authority-format.js +0 -93
- package/dist/lib/design-authority-links.d.ts +0 -10
- package/dist/lib/design-authority-links.js +0 -137
- package/dist/lib/design-authority-manifest.d.ts +0 -4
- package/dist/lib/design-authority-manifest.js +0 -144
- package/dist/lib/design-authority-tokens.d.ts +0 -9
- package/dist/lib/design-authority-tokens.js +0 -45
- package/dist/lib/design-authority-types.d.ts +0 -80
- package/dist/lib/design-authority-types.js +0 -23
- package/dist/lib/design-md-tool-adapter.d.ts +0 -9
- package/dist/lib/design-md-tool-adapter.js +0 -152
- package/dist/lib/design-md-tool-normalization.d.ts +0 -7
- package/dist/lib/design-md-tool-normalization.js +0 -78
- package/dist/lib/design-md-tool-types.d.ts +0 -99
- package/dist/lib/design-md-tool-types.js +0 -8
- 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-types.js +0 -1
- 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-input-types.js +0 -1
- package/dist/lib/design-resource-handoff-manifest-projection.d.ts +0 -4
- package/dist/lib/design-resource-handoff-manifest-projection.js +0 -41
- 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 -192
- 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 -264
- 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 -177
- 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-types.js +0 -1
- 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 -63
- 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-patch-types.js +0 -1
- 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 -241
- 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 -200
- package/dist/lib/design-resource-recovery-types.js +0 -1
- 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 -146
- package/dist/lib/design-resource-symbolic-fact-types.d.ts +0 -221
- package/dist/lib/design-resource-symbolic-fact-types.js +0 -1
- package/dist/lib/design-resource-symbolic-fact-validation.d.ts +0 -3
- package/dist/lib/design-resource-symbolic-fact-validation.js +0 -111
- 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-reachability-claims.d.ts +0 -2
- package/dist/lib/long-task-acceptance-reachability-claims.js +0 -279
- package/dist/lib/long-task-acceptance-reachability-design.d.ts +0 -2
- package/dist/lib/long-task-acceptance-reachability-design.js +0 -96
- package/dist/lib/long-task-acceptance-reachability-external.d.ts +0 -9
- package/dist/lib/long-task-acceptance-reachability-external.js +0 -123
- package/dist/lib/long-task-acceptance-reachability-helpers.d.ts +0 -64
- package/dist/lib/long-task-acceptance-reachability-helpers.js +0 -473
- package/dist/lib/long-task-acceptance-reachability-semantic.d.ts +0 -2
- package/dist/lib/long-task-acceptance-reachability-semantic.js +0 -122
- package/dist/lib/long-task-acceptance-reachability-types.d.ts +0 -91
- package/dist/lib/long-task-acceptance-reachability-types.js +0 -1
- package/dist/lib/long-task-acceptance-reachability.d.ts +0 -4
- package/dist/lib/long-task-acceptance-reachability.js +0 -115
- 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 -27
- package/dist/lib/long-task-activation-validation.js +0 -246
- package/dist/lib/long-task-active-authority-lock-context.d.ts +0 -4
- package/dist/lib/long-task-active-authority-lock-context.js +0 -29
- 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-identity.d.ts +0 -25
- package/dist/lib/long-task-applicability-identity.js +0 -60
- 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 -199
- 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 -48
- package/dist/lib/long-task-authoring-preflight-types.js +0 -47
- package/dist/lib/long-task-authoring-preflight.d.ts +0 -3
- package/dist/lib/long-task-authoring-preflight.js +0 -102
- package/dist/lib/long-task-authority-material-diff.d.ts +0 -17
- package/dist/lib/long-task-authority-material-diff.js +0 -225
- package/dist/lib/long-task-authority-materials.d.ts +0 -7
- package/dist/lib/long-task-authority-materials.js +0 -185
- package/dist/lib/long-task-authority-policy.d.ts +0 -290
- package/dist/lib/long-task-authority-policy.js +0 -310
- 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 -205
- 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 -131
- 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 -202
- 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 -176
- package/dist/lib/long-task-claim-definitions.d.ts +0 -7
- package/dist/lib/long-task-claim-definitions.js +0 -83
- 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-claim-semantic-proof-floor.d.ts +0 -3
- package/dist/lib/long-task-claim-semantic-proof-floor.js +0 -78
- package/dist/lib/long-task-claims.d.ts +0 -10
- package/dist/lib/long-task-claims.js +0 -374
- 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 -178
- 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 -176
- 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 -163
- 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-complete-delivery-evidence-types.d.ts +0 -38
- package/dist/lib/long-task-complete-delivery-evidence-types.js +0 -1
- package/dist/lib/long-task-completion-types.d.ts +0 -109
- package/dist/lib/long-task-completion-types.js +0 -1
- package/dist/lib/long-task-conformance-policy.d.ts +0 -6
- package/dist/lib/long-task-conformance-policy.js +0 -44
- package/dist/lib/long-task-context-authority-topology.d.ts +0 -7
- package/dist/lib/long-task-context-authority-topology.js +0 -39
- 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 -317
- 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 -19
- package/dist/lib/long-task-counterfactual-sandbox.js +0 -195
- 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-preflight.d.ts +0 -24
- package/dist/lib/long-task-delivery-compiler-preflight.js +0 -32
- package/dist/lib/long-task-delivery-compiler.d.ts +0 -14
- package/dist/lib/long-task-delivery-compiler.js +0 -170
- package/dist/lib/long-task-delivery-parser.d.ts +0 -17
- package/dist/lib/long-task-delivery-parser.js +0 -153
- 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 -15
- package/dist/lib/long-task-delivery-types.js +0 -15
- package/dist/lib/long-task-delivery-validation.d.ts +0 -11
- package/dist/lib/long-task-delivery-validation.js +0 -267
- 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 -14
- 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 -87
- package/dist/lib/long-task-design-obligation.d.ts +0 -50
- package/dist/lib/long-task-design-obligation.js +0 -99
- package/dist/lib/long-task-design-resource-handoff.d.ts +0 -20
- package/dist/lib/long-task-design-resource-handoff.js +0 -265
- package/dist/lib/long-task-design-resource-method-binding.d.ts +0 -15
- package/dist/lib/long-task-design-resource-method-binding.js +0 -309
- 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-effective-external-takeover.d.ts +0 -15
- package/dist/lib/long-task-effective-external-takeover.js +0 -109
- package/dist/lib/long-task-effective-external-ui-takeover.d.ts +0 -5
- package/dist/lib/long-task-effective-external-ui-takeover.js +0 -117
- 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 -983
- 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 -628
- package/dist/lib/long-task-evidence-capability-types.d.ts +0 -277
- 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 -10
- package/dist/lib/long-task-evidence-v2.js +0 -608
- 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 -31
- package/dist/lib/long-task-execution-observation.js +0 -349
- package/dist/lib/long-task-expected-authority.d.ts +0 -4
- package/dist/lib/long-task-expected-authority.js +0 -126
- 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-external-confirmation-artifacts.d.ts +0 -9
- package/dist/lib/long-task-external-confirmation-artifacts.js +0 -138
- package/dist/lib/long-task-external-confirmation-attestation.d.ts +0 -20
- package/dist/lib/long-task-external-confirmation-attestation.js +0 -115
- package/dist/lib/long-task-external-confirmation-challenge.d.ts +0 -23
- package/dist/lib/long-task-external-confirmation-challenge.js +0 -164
- package/dist/lib/long-task-external-confirmation-context.d.ts +0 -14
- package/dist/lib/long-task-external-confirmation-context.js +0 -53
- package/dist/lib/long-task-external-confirmation-evaluation.d.ts +0 -11
- package/dist/lib/long-task-external-confirmation-evaluation.js +0 -454
- package/dist/lib/long-task-external-confirmation-expected.d.ts +0 -8
- package/dist/lib/long-task-external-confirmation-expected.js +0 -200
- package/dist/lib/long-task-external-confirmation-identity.d.ts +0 -10
- package/dist/lib/long-task-external-confirmation-identity.js +0 -77
- package/dist/lib/long-task-external-confirmation-plan.d.ts +0 -25
- package/dist/lib/long-task-external-confirmation-plan.js +0 -148
- package/dist/lib/long-task-external-confirmation-preparation.d.ts +0 -4
- package/dist/lib/long-task-external-confirmation-preparation.js +0 -100
- package/dist/lib/long-task-external-confirmation-shape.d.ts +0 -8
- package/dist/lib/long-task-external-confirmation-shape.js +0 -387
- package/dist/lib/long-task-external-confirmation-state.d.ts +0 -10
- package/dist/lib/long-task-external-confirmation-state.js +0 -109
- package/dist/lib/long-task-external-confirmation-types.d.ts +0 -195
- package/dist/lib/long-task-external-confirmation-types.js +0 -1
- package/dist/lib/long-task-final-integrity.d.ts +0 -18
- package/dist/lib/long-task-final-integrity.js +0 -109
- package/dist/lib/long-task-final-v2.d.ts +0 -7
- package/dist/lib/long-task-final-v2.js +0 -275
- package/dist/lib/long-task-finalization-identity.d.ts +0 -27
- package/dist/lib/long-task-finalization-identity.js +0 -58
- package/dist/lib/long-task-finding-context.d.ts +0 -3
- package/dist/lib/long-task-finding-context.js +0 -189
- package/dist/lib/long-task-freshness.d.ts +0 -30
- package/dist/lib/long-task-freshness.js +0 -203
- 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-material-input-closure.d.ts +0 -3
- package/dist/lib/long-task-material-input-closure.js +0 -92
- package/dist/lib/long-task-obligation-authority-resolution.d.ts +0 -12
- package/dist/lib/long-task-obligation-authority-resolution.js +0 -57
- package/dist/lib/long-task-obligation-semantic-identity.d.ts +0 -16
- package/dist/lib/long-task-obligation-semantic-identity.js +0 -116
- 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 -28
- package/dist/lib/long-task-observation-authority.js +0 -479
- 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 -9
- package/dist/lib/long-task-process-table.js +0 -87
- package/dist/lib/long-task-process-tree.d.ts +0 -8
- package/dist/lib/long-task-process-tree.js +0 -108
- 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-proof-adequacy.d.ts +0 -12
- package/dist/lib/long-task-proof-adequacy.js +0 -57
- package/dist/lib/long-task-proof-capability-floor.d.ts +0 -6
- package/dist/lib/long-task-proof-capability-floor.js +0 -137
- 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-repair-frontier-checks.d.ts +0 -8
- package/dist/lib/long-task-repair-frontier-checks.js +0 -93
- package/dist/lib/long-task-repair-frontier-groups.d.ts +0 -2
- package/dist/lib/long-task-repair-frontier-groups.js +0 -64
- package/dist/lib/long-task-repair-frontier-utils.d.ts +0 -6
- package/dist/lib/long-task-repair-frontier-utils.js +0 -27
- package/dist/lib/long-task-repair-frontier.d.ts +0 -14
- package/dist/lib/long-task-repair-frontier.js +0 -132
- 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 -10
- package/dist/lib/long-task-risk.js +0 -186
- package/dist/lib/long-task-root-shape.d.ts +0 -5
- package/dist/lib/long-task-root-shape.js +0 -322
- 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 -5
- package/dist/lib/long-task-runner-freeze.js +0 -318
- package/dist/lib/long-task-runtime-types.d.ts +0 -346
- 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 -43
- package/dist/lib/long-task-semantic-contract-types.d.ts +0 -55
- 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 -150
- package/dist/lib/long-task-semantic-fact-binding-types.d.ts +0 -85
- 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 -17
- package/dist/lib/long-task-semantic-fact-closure.js +0 -79
- package/dist/lib/long-task-semantic-fact-contract-closure.d.ts +0 -4
- package/dist/lib/long-task-semantic-fact-contract-closure.js +0 -211
- 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 -123
- 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 -18
- package/dist/lib/long-task-semantic-fact-input-closure.js +0 -224
- 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 -4
- package/dist/lib/long-task-semantic-fact-shape.js +0 -134
- 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-semantic-proof-adequacy.d.ts +0 -2
- package/dist/lib/long-task-semantic-proof-adequacy.js +0 -19
- package/dist/lib/long-task-semantic-proof-profile.d.ts +0 -5
- package/dist/lib/long-task-semantic-proof-profile.js +0 -187
- package/dist/lib/long-task-shape-primitives.d.ts +0 -21
- package/dist/lib/long-task-shape-primitives.js +0 -121
- package/dist/lib/long-task-source-anchors.d.ts +0 -10
- package/dist/lib/long-task-source-anchors.js +0 -102
- package/dist/lib/long-task-source-authority-types.d.ts +0 -61
- 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 -135
- package/dist/lib/long-task-source-conservation-facts.d.ts +0 -8
- package/dist/lib/long-task-source-conservation-facts.js +0 -57
- package/dist/lib/long-task-source-conservation-types.d.ts +0 -34
- package/dist/lib/long-task-source-conservation-types.js +0 -1
- package/dist/lib/long-task-source-conservation.d.ts +0 -7
- package/dist/lib/long-task-source-conservation.js +0 -110
- 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-fragments.d.ts +0 -6
- package/dist/lib/long-task-source-fragments.js +0 -219
- 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-projection-resolution.d.ts +0 -5
- package/dist/lib/long-task-source-projection-resolution.js +0 -57
- package/dist/lib/long-task-source-projection-validation.d.ts +0 -17
- package/dist/lib/long-task-source-projection-validation.js +0 -154
- package/dist/lib/long-task-source-shape.d.ts +0 -2
- package/dist/lib/long-task-source-shape.js +0 -64
- package/dist/lib/long-task-source-supersession.d.ts +0 -5
- package/dist/lib/long-task-source-supersession.js +0 -138
- 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 -9
- package/dist/lib/long-task-stage-policy.js +0 -170
- package/dist/lib/long-task-state.d.ts +0 -93
- package/dist/lib/long-task-state.js +0 -897
- package/dist/lib/long-task-static-observation-freeze.d.ts +0 -83
- package/dist/lib/long-task-static-observation-freeze.js +0 -429
- package/dist/lib/long-task-status-projection.d.ts +0 -26
- package/dist/lib/long-task-status-projection.js +0 -211
- package/dist/lib/long-task-status-v2.d.ts +0 -61
- package/dist/lib/long-task-status-v2.js +0 -363
- package/dist/lib/long-task-target-policy.d.ts +0 -11
- package/dist/lib/long-task-target-policy.js +0 -181
- 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-terminal-finalization.d.ts +0 -12
- package/dist/lib/long-task-terminal-finalization.js +0 -190
- package/dist/lib/long-task-ui-design-policy.d.ts +0 -17
- package/dist/lib/long-task-ui-design-policy.js +0 -236
- 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-counterfactuals.d.ts +0 -11
- package/dist/lib/long-task-verifier-counterfactuals.js +0 -96
- 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-execution.d.ts +0 -9
- package/dist/lib/long-task-verifier-execution.js +0 -67
- package/dist/lib/long-task-verifier-identity.d.ts +0 -2
- package/dist/lib/long-task-verifier-identity.js +0 -66
- package/dist/lib/long-task-verifier-v2.d.ts +0 -17
- package/dist/lib/long-task-verifier-v2.js +0 -317
- package/dist/lib/long-task-windows-job-supervisor-helper.d.ts +0 -1
- package/dist/lib/long-task-windows-job-supervisor-helper.js +0 -104
- package/dist/lib/long-task-windows-job-supervisor-protocol.d.ts +0 -28
- package/dist/lib/long-task-windows-job-supervisor-protocol.js +0 -124
- package/dist/lib/long-task-windows-job-supervisor-result.d.ts +0 -11
- package/dist/lib/long-task-windows-job-supervisor-result.js +0 -152
- package/dist/lib/long-task-windows-job-supervisor.d.ts +0 -2
- package/dist/lib/long-task-windows-job-supervisor.js +0 -126
- 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 -39
- package/dist/lib/long-task-workspace-scope.js +0 -126
- 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 -6
- package/dist/lib/long-task-workspace.js +0 -14
- 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 -39
- package/dist/lib/semantic-fact-input-shape.js +0 -135
- package/dist/lib/semantic-fact-inventory-types.d.ts +0 -153
- 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 -126
- 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/public-api-long-task.d.ts +0 -10
- package/dist/public-api-long-task.js +0 -10
- package/dist/schemas/design-authority-delta-assessment-v1.schema.json +0 -191
- 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 -2354
- package/dist/schemas/long-task-delivery-v2/long-task-outcomes-v2.schema.json +0 -18
- package/dist/schemas/long-task-external-confirmation-record-v1.schema.json +0 -155
- package/dist/schemas/long-task-external-confirmation-record-v2.schema.json +0 -209
- /package/dist/lib/{long-task-git.d.ts → git.d.ts} +0 -0
- /package/dist/lib/{long-task-git.js → git.js} +0 -0
package/README.md
CHANGED
|
@@ -1,602 +1,132 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Tiny Context
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
[](https://github.com/Seven128/project-tiny-context-harness/actions/workflows/package.yml)
|
|
5
|
-
[](https://securityscorecards.dev/viewer/?uri=github.com/Seven128/project-tiny-context-harness)
|
|
6
|
-
[](https://github.com/Seven128/project-tiny-context-harness/blob/main/LICENSE)
|
|
7
|
-
[](https://codespaces.new/Seven128/project-tiny-context-harness)
|
|
3
|
+
Tiny Context preserves durable project facts and installs a short development contract in `AGENTS.md`. It helps a coding agent find project-specific requirements and maintain them without prescribing an engineering workflow.
|
|
8
4
|
|
|
9
|
-
|
|
5
|
+
This source version is **0.12.0**, configuration schema **5**, update mode **upgrade-required** for schema-4 installations. See the [migration notes](https://github.com/Seven128/project-tiny-context-harness/blob/main/packages/ty-context/migrations/README.md).
|
|
10
6
|
|
|
11
|
-
|
|
7
|
+
## Start with little
|
|
12
8
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
Best for:
|
|
16
|
-
|
|
17
|
-
- repositories where coding agents repeatedly rediscover project intent;
|
|
18
|
-
- teams using multiple agents or frequent fresh chats;
|
|
19
|
-
- maintainers who want durable Context and explicit long-task evidence.
|
|
20
|
-
|
|
21
|
-
Not for:
|
|
22
|
-
|
|
23
|
-
- replacing project tests, review, CI or human acceptance;
|
|
24
|
-
- autonomous Tiny Context execution;
|
|
25
|
-
- codebase semantic indexing or external docs retrieval.
|
|
26
|
-
|
|
27
|
-
Concrete shift:
|
|
28
|
-
|
|
29
|
-
```text
|
|
30
|
-
Before: ask a fresh agent to read the repo and tell you what matters.
|
|
31
|
-
After: ask it to read AGENTS.md and project_context/** first, then summarize goal, non-goals, architecture boundaries and validation paths before proposing code.
|
|
32
|
-
```
|
|
33
|
-
|
|
34
|
-
What gets added:
|
|
35
|
-
|
|
36
|
-
```mermaid
|
|
37
|
-
flowchart LR
|
|
38
|
-
A["Fresh agent session"] --> B["AGENTS.md startup router"]
|
|
39
|
-
B --> C["project_context/** durable facts"]
|
|
40
|
-
C --> D["Goal, boundaries, validation paths"]
|
|
41
|
-
D --> E["Implementation and delivery work"]
|
|
42
|
-
F["Tests / CI / review"] --> G["Product quality evidence"]
|
|
43
|
-
C -. "does not own" .-> G
|
|
44
|
-
```
|
|
45
|
-
|
|
46
|
-

|
|
47
|
-
|
|
48
|
-
The demo shows the core loop: initialize `AGENTS.md` and `project_context/**`, run `validate-context`, then ask a fresh agent to recover intent before proposing code. Use the npm install path below, or inspect the no-install previews first.
|
|
49
|
-
|
|
50
|
-
Install:
|
|
9
|
+
Requires Node.js 24 or newer. Install the package version you intend to use, then run its local CLI:
|
|
51
10
|
|
|
52
11
|
```sh
|
|
53
|
-
npm install -
|
|
54
|
-
npx --
|
|
12
|
+
npm install --save-dev project-tiny-context-harness
|
|
13
|
+
npx --no-install ty-context init
|
|
55
14
|
```
|
|
56
15
|
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
- Read the [fresh-agent recovery walkthrough](https://github.com/Seven128/project-tiny-context-harness/blob/main/docs/examples/fresh-agent-recovery.md).
|
|
60
|
-
- Inspect the [Minimal Context sample guide](https://github.com/Seven128/project-tiny-context-harness/blob/main/docs/examples/minimal-context-sample.md).
|
|
61
|
-
- Browse the tiny generated repository at [examples/minimal-context-sample/](https://github.com/Seven128/project-tiny-context-harness/tree/main/examples/minimal-context-sample).
|
|
62
|
-
|
|
63
|
-
## Why It Exists
|
|
16
|
+
For an unreleased source checkout, build and install its actual tarball instead of assuming the published package contains these changes.
|
|
64
17
|
|
|
65
|
-
`
|
|
18
|
+
Plain `init` creates only `AGENTS.md`, `.agent/config.yaml`, `project_context/global.md` and `project_context/context.toml`. It preserves existing files and leaves project facts as TODO until known. Transient file-maintenance locks may create `tmp/ty-context`; they are not task state. Use `--adopt` for an existing project. An explicit `--harness-folder .codex` stores that optional location in `package.json`; changing an existing installation's root requires separate migration.
|
|
66
19
|
|
|
67
|
-
|
|
20
|
+
No architecture, Area, design system, role Skill, Hook, Makefile, tools directory or CI workflow is installed by default. Existing design documents and confirmed decisions remain useful inputs.
|
|
68
21
|
|
|
69
|
-
|
|
22
|
+
`AGENTS.md` is the managed startup entry. A root `AGENTS.override.md` can shadow it; `doctor` reports that observable condition. Hosts and nested instruction scopes can differ: file installation does not prove that the current model loaded or followed the contract. No global host settings are modified.
|
|
70
23
|
|
|
71
|
-
|
|
72
|
-
| ---------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
73
|
-
| **Minimal Context** | Installed by default. Every delivery route reads and updates `project_context/**` as needed. | Durable goals, ownership, architecture/interface/state boundaries and repeatable verification/deployment facts; never a test-pass claim. |
|
|
74
|
-
| **Workflow Contract** | Prompt-level default after `init`, for implementation work of any complexity unless Long-Task is explicitly selected or already bound. There is no Skill command or `delivery-contract.yaml`. | Model-led Context discovery, risk-proportional requirement/architecture judgment, one `Context Delta`, Goal-owned implementation, current project checks, failure repair, evidence-bounded Contract Conformance and Context drift; no exact Fact ledger, validator result, Receipt, persisted state or machine completion. |
|
|
75
|
-
| **Long-Task Workflow** | Enable the profile once, then explicitly select `long-task-workflow`, or resume a valid binding, when machine completion authority, recoverability or auditability is required. Task size alone does not activate it. | One Source-bound Delivery Contract, Authority Lock, recoverable scoped progress, protected revision, exact declared-obligation evidence and a current-snapshot Live Final Gate. |
|
|
24
|
+
## Keep facts that outlive a task
|
|
76
25
|
|
|
77
|
-
|
|
26
|
+
Save goals and non-goals, ownership and dependency boundaries, confirmed decisions with reasons, project constraints and repeatable operation/source entrypoints. Reference precise values in their real source rather than copying code. Context describes intended meaning; implementation may disagree and need repair.
|
|
78
27
|
|
|
79
|
-
|
|
80
|
-
| ----------------------- | ------------------------------------------------- | ---------------------------------------------- |
|
|
81
|
-
| Local or small | Default Workflow Contract | Explicit Long-Task is available |
|
|
82
|
-
| Cross-module or complex | Default Workflow Contract remains valid | Explicit Long-Task |
|
|
28
|
+
There are no mandatory headings, task-progress fields, stable Fact IDs or source-line limits. TODOs and historical test records are allowed. Update Context when durable facts change. Temporary exports and optional handoff notes are not another long-term source of truth.
|
|
83
29
|
|
|
84
|
-
|
|
30
|
+
## Read defaults, then related owners
|
|
85
31
|
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
```powershell
|
|
89
|
-
npx --yes project-tiny-context-harness ty-context init
|
|
90
|
-
# Existing repository:
|
|
91
|
-
npx --yes project-tiny-context-harness ty-context init --adopt
|
|
92
|
-
|
|
93
|
-
npx --yes project-tiny-context-harness ty-context validate-context
|
|
94
|
-
npx --yes project-tiny-context-harness ty-context doctor
|
|
95
|
-
```
|
|
32
|
+
New defaults contain `project_context/global.md` plus explicit project selections. `architecture.md` has no special default status in schema 5. `context.toml` is routing metadata, not default body text.
|
|
96
33
|
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
ty-context
|
|
34
|
+
```sh
|
|
35
|
+
npx --no-install ty-context context list --default
|
|
36
|
+
npx --no-install ty-context context list --default --json
|
|
37
|
+
npx --no-install ty-context context inspect project_context/global.md
|
|
101
38
|
```
|
|
102
39
|
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
When sync first installs or updates Tiny Context entries in `.codex/hooks.json`, it reports: `Codex Hook review required: open /hooks and trust the current Tiny Context project Hook before relying on PreToolUse, SubagentStart, SessionStart or Stop behavior. Tiny Context cannot observe or persist Codex Hook trust.` Review the current project Hook in `/hooks`; trust is host/user-owned and changes can require review again. Installation is not evidence of trust or active enforcement, and trust-bypass flags are not the normal path.
|
|
106
|
-
|
|
107
|
-
## Recommended Usage
|
|
108
|
-
|
|
109
|
-
Start from either a concise product request or a detailed initial proposal authored elsewhere, including Web GPT. That input does not require design authoring or Long-Task; choose the execution route independently.
|
|
40
|
+
The query shows paths, reasons, diagnostics and whether the set is complete. Invalid manifests return a non-success status; partial results are never a complete empty set.
|
|
110
41
|
|
|
111
|
-
|
|
42
|
+
The CLI is optional for reading. Offline, read `global.md` and use the manifest's direct `default_files`, default Area, `read_policy = "default"` nodes and their transitive `default_children`. Direct files and default Areas do not themselves seed child traversal. Child edges preserve existing semantics, including a referenced `never-default` node. Legacy `always`, `optional` and `never-default` names do not imply new selection behavior; diagnostics explain legacy metadata. Do not reinstall the CLI or repeat a query when the set is already known and unchanged. Resolve uncertainty affecting the task; unrelated uncertainty need not freeze all work.
|
|
112
43
|
|
|
113
|
-
|
|
44
|
+
Example optional routing:
|
|
114
45
|
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
3. Prepare a writable project-native initial proposal at a concrete path such as `docs/initial-proposal.md`. It may come from the user, an external service or an explicitly requested applicable proposal capability; `design-resource-authoring` does not author it, and no standalone intermediary authoring stage is required.
|
|
118
|
-
4. Select `$design-resource-authoring` with that path plus the exact development scope and targets. For formal Web/App work it first reads real technical Source. Keep its reconciled proposal, validated residual `design-resource-handoff-v1`, separate implementation-feasibility input, and selected immutable canonical resources, manifest and dependencies.
|
|
119
|
-
5. Select `$long-task-workflow` with the exact paths to all of those inputs, including feasibility Source. It authors the Source-bound Contract Draft. The first Compile/Authority Lock always ends the current turn before implementation and says `After handling the model change, reply exactly: model checkpoint cleared, continue`; a generic continuation does not satisfy the managed prompt protocol, earlier model wording cannot skip this boundary, and Harness cannot observe the next host message or whether the model changed. After the user resumes, the parent identifies qualifying bounded packets before profile/capacity. Absent an explicit user or host prohibition, a qualifying set requires actual host calls for multiple exact `long_task_implementation` workers; host results determine zero-start or partial fallback under the Skill's six-reason rule. Worker count stays dynamic, generic substitutes remain forbidden, and the parent alone owns Source, Contract, Authority, architecture, Context, packet selection, integration, current-candidate checks, formal verification, Final Gate, close and completion.
|
|
46
|
+
```toml
|
|
47
|
+
default_files = ["project_context/architecture.md"]
|
|
120
48
|
|
|
121
|
-
|
|
122
|
-
|
|
49
|
+
[[areas]]
|
|
50
|
+
id = "payments"
|
|
51
|
+
root = "src/payments"
|
|
52
|
+
context = "project_context/areas/payments.md"
|
|
53
|
+
kind = "service"
|
|
123
54
|
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
$long-task-workflow Use docs/initial-proposal.md, <handoff.md>, <feasibility.json>, and the selected canonical resources, manifest and dependencies as Source for one complete implementation delivery.
|
|
55
|
+
[[context]]
|
|
56
|
+
path = "project_context/areas/payments/recovery.md"
|
|
57
|
+
role = "domain"
|
|
58
|
+
read_policy = "on-demand"
|
|
59
|
+
triggers = ["payment recovery"]
|
|
131
60
|
```
|
|
132
61
|
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
Other valid routes remain available:
|
|
136
|
-
|
|
137
|
-
- **Default model-led delivery, no new design resources:** give the request directly to the current coding Goal; the default Workflow Contract applies automatically at any complexity.
|
|
138
|
-
- **Machine-assurance/recoverable delivery, no new design resources:** explicitly select `long-task-workflow` with the request or proposal. It authors the Source-bound Contract Draft; design authoring is not a prerequisite.
|
|
139
|
-
- **Delivery that needs new design resources:** follow the sequence above, then send the revised proposal plus selected immutable resources and the validated handoff to either the default Workflow Contract or `long-task-workflow`, based on recovery and completion-authority needs.
|
|
140
|
-
- **Design-resource-only request:** stop after `design-resource-authoring`; do not create a Long-Task Contract unless implementation delivery was also selected.
|
|
141
|
-
|
|
142
|
-
The design-system Skill is normally used at cold start but never auto-runs. Only style-bearing resource work is gated; low-fidelity structure, IA/flow and semantics-only state studies remain available. A pre-existing planning or proposal document remains ordinary Source, not a recommended intermediate service.
|
|
62
|
+
`default_files` selects literal body files without activating their children. Areas and workspace folders can be sparse. Ordinary search and inspection discover additional owners; reading them does not authorize changing unrelated projects.
|
|
143
63
|
|
|
144
|
-
##
|
|
145
|
-
|
|
146
|
-
| Adjacent tool type | Use it for | Harness stance |
|
|
147
|
-
| ---------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------------------------ |
|
|
148
|
-
| Spec-first kits | Turning a feature idea into structured specs and plans. | Complementary; Harness keeps durable repo facts beyond one feature spec. |
|
|
149
|
-
| BMAD-style workflows and full Tiny Context processes | Role/process ceremony for selected work. | Lighter automatic route; explicit machine assurance stays opt-in. |
|
|
150
|
-
| Task Master-style planners | Backlog decomposition and task state. | Complementary; Harness does not own backlog state. |
|
|
151
|
-
| Context7/Serena-style retrieval | External docs, symbols or repository retrieval. | Complementary; Harness owns local intended boundaries. |
|
|
152
|
-
|
|
153
|
-
## Try It In 60 Seconds
|
|
64
|
+
## Maintain files safely
|
|
154
65
|
|
|
155
66
|
```sh
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
npx --
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
Expected result:
|
|
166
|
-
|
|
167
|
-
```text
|
|
168
|
-
AGENTS.md
|
|
169
|
-
project_context/
|
|
170
|
-
context.toml
|
|
171
|
-
global.md
|
|
172
|
-
architecture.md
|
|
173
|
-
areas/main.md
|
|
174
|
-
areas/main/verification.md
|
|
67
|
+
npx --no-install ty-context context create --path project_context/payments.md --role domain
|
|
68
|
+
npx --no-install ty-context context register --path project_context/payments.md --role domain
|
|
69
|
+
npx --no-install ty-context context register --path project_context/payments.md --role domain --apply
|
|
70
|
+
npx --no-install ty-context context move --from project_context/payments.md --to project_context/billing.md
|
|
71
|
+
npx --no-install ty-context context transaction status
|
|
72
|
+
npx --no-install ty-context context transaction complete
|
|
73
|
+
npx --no-install ty-context context transaction rollback
|
|
74
|
+
npx --no-install ty-context sync
|
|
175
75
|
```
|
|
176
76
|
|
|
177
|
-
|
|
77
|
+
Create publishes an unregistered scaffold. Register and move preview first; `--apply` uses the existing path checks, byte/identity comparisons and recoverable file journal. No force bypass is provided. Context mutations use `context-mutation-journal-v3`; the compatible current recovery parser can read `context-mutation-journal-v2`. Unrecognized pre-v2 journals require manual recovery with a matching old version. An old schema-4 transaction must be settled by its compatible old CLI before schema migration, even if its journal format is otherwise familiar.
|
|
178
78
|
|
|
179
|
-
|
|
180
|
-
Read AGENTS.md and project_context/** first. Summarize the project goal, non-goals, architecture boundaries, validation entry points and next safe action before proposing code changes.
|
|
181
|
-
```
|
|
79
|
+
Sync replaces only the managed startup block and preserves surrounding user prose. Schema mismatches, unfinished upgrades/Context transactions and conflicting writes stop relevant maintenance. Several filesystem replacements are not one atomic transaction; do not overwrite a conflicting file to make recovery pass.
|
|
182
80
|
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
Open <https://codespaces.new/Seven128/project-tiny-context-harness>, or run locally:
|
|
81
|
+
## Check structure, verify products separately
|
|
186
82
|
|
|
187
83
|
```sh
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
npm ci
|
|
191
|
-
npm run smoke:quickstart
|
|
192
|
-
npm run preview:pack
|
|
193
|
-
cd /path/to/your/test-repo
|
|
194
|
-
npm install -D /path/to/project-tiny-context-harness/tmp/ty-context/source-preview/package/project-tiny-context-harness-0.11.0.tgz
|
|
195
|
-
npx --no-install ty-context init --adopt
|
|
196
|
-
make validate-context
|
|
197
|
-
```
|
|
198
|
-
|
|
199
|
-
Use this tarball path for source-preview testing, private review or package development. For normal installs, use `project-tiny-context-harness@latest` from npm. If it fails, open a [Source preview report](https://github.com/Seven128/project-tiny-context-harness/issues/new?template=source_preview_report.yml).
|
|
200
|
-
|
|
201
|
-
## Minimal Context And Default Workflow
|
|
202
|
-
|
|
203
|
-
The default read path is `project_context/global.md`, `project_context/architecture.md`, `project_context/context.toml`, the default area root, then minimum graph-relevant role Context.
|
|
204
|
-
|
|
205
|
-
Only near-universal recovery facts should use `read_policy = "default"`; specialized detail should be task-triggered `on-demand`. `ty-context doctor` retains the deterministic default-footprint report and adds advisory statistics for every registered and unregistered Context Markdown file: default/on-demand/legacy/unregistered bytes, largest on-demand file, file size, line length, trigger fan-out, explicit local Markdown links and opt-in stable-key declarations. `doctor --strict` is default-off and must be adopted explicitly. Genuine recovery facts take precedence over size or line heuristics.
|
|
206
|
-
|
|
207
|
-
Schema v4 preserves all five existing policies. Only `default` is directly selected; a registered `default_children` target is selected transitively regardless of its own policy. Version 0.10 warns about `always`, `optional` and `never-default` but does not reinterpret or migrate them.
|
|
208
|
-
|
|
209
|
-
Explicit `ty-context upgrade` separately converts provably simple pre-v4 `[[context_units]]` tables with a bounded byte patch: it renames the table, removes only retired `id`/`area` fields and preserves untouched bytes/EOL. Complex structures or current/legacy path conflicts are `manual_required`; ordinary `sync` does not migrate them.
|
|
210
|
-
|
|
211
|
-
```bash
|
|
212
|
-
ty-context route --task "change the weather map contract" --path apps/client/src/map.ts --explain
|
|
213
|
-
ty-context context inspect project_context/areas/main/weather.md --task "change the weather map contract"
|
|
214
|
-
ty-context context create --path project_context/areas/main/weather.md --role domain
|
|
215
|
-
ty-context context register --path project_context/areas/main/weather.md --role domain
|
|
216
|
-
ty-context context move --from project_context/deployment.md --to project_context/deployment/index.md
|
|
217
|
-
ty-context context transaction status
|
|
218
|
-
```
|
|
219
|
-
|
|
220
|
-
The experimental `route` command performs a stateless, deterministic literal scan of all eligible `project_context/**`, including labelled unregistered files. It has versioned JSON, fixed candidate/content/output budgets and explicit incomplete results, but it establishes no Authority, changes no default selection and does not replace the Workflow-required bounded search. Those budgets begin after Shared Catalog repository-wide Context discovery and metadata collection, which 0.10 deliberately keeps complete. A future total-discovery cap must be Catalog-owned, propagate typed incompleteness to every consumer and make Router return `complete: false`/exit `4`; a Router-only walker or silently truncated Validate/Doctor result is forbidden. `context inspect` reports ownership/read metadata, default reasons, explicit backlinks, declared-key conflicts and optional route reasons. Both remain read-only.
|
|
221
|
-
|
|
222
|
-
Version 0.10.1 added only `context create`: a collision-safe, unregistered, Role-specific TODO scaffold below `project_context/**`. It reports an unchanged default footprint and never edits the Manifest, authors durable facts, registers the file or force-overwrites a target. A scaffold must receive real owner facts before separate registration and intentionally fails recoverability if registered unchanged.
|
|
223
|
-
|
|
224
|
-
The completed 0.10.x line adds dry-run-first `context register` and `context move` after their separate Gate. Register appends one parser-validated Context block for an existing recoverable file without whole-file TOML serialization. Move preserves one registered Context/Area owner, structured default-child edges and explicit local Context-Markdown links; exact prose/code/config references are reported and block apply until resolved. Both use staged Catalog validation, complete current-byte/mode/file-identity endpoint comparison, synchronized same-directory temporaries, deterministic commit/live validation, the shared Active Authority lock, active Long-Task refusal and `context transaction status|rollback|complete`. Current writes use `context-mutation-journal-v3` with NFC logical/physical path separation and immutable digest-linked generations. `context-mutation-journal-v2` remains recovery-readable with equal logical and physical paths; pre-v2 journals require a version-matched package or explicit manual recovery. Long-Task first Compile, activation and in-place Revision refuse an unfinished journal. Recovery refuses a newly active binding; resolve that conflict only by ending the binding through the legitimate Long-Task lifecycle, completing or rolling back the transaction, then freshly compiling/rebinding and performing any required Revision. These commands provide cooperative recoverable multi-file publication rather than physical cross-file atomicity or hostile-writer mutex, and expose no force or manual-lock-deletion bypass.
|
|
225
|
-
|
|
226
|
-
Classified exits are `0` complete, `2` arguments, `3` blocking Catalog, `4` incomplete route budget, `5` I/O/path safety and `6` internal; ordinary route ambiguity/unresolved output and mutation dry-runs remain exit `0`.
|
|
227
|
-
|
|
228
|
-
### Bounded Context discovery
|
|
229
|
-
|
|
230
|
-
Before deciding `Context Delta`, the Agent combines two low-state routes:
|
|
231
|
-
|
|
232
|
-
1. collect area, role, trigger and graph candidates from `context.toml`;
|
|
233
|
-
2. run one bounded text search over `project_context/**` with a small set of high-signal task terms, including explicit area/module names and relevant API/schema/state/security/verification/deployment language;
|
|
234
|
-
3. merge the candidates and read only semantically relevant files.
|
|
235
|
-
|
|
236
|
-
The bounded search supplements rather than replaces Agent semantic judgment. It creates no vector or persistent index, cache, registry, search state or second authority. It can still miss unrelated synonyms or indirect dependencies, so every implementation delivery still performs Architecture Deliberation and final Conformance.
|
|
237
|
-
|
|
238
|
-
### Sparse Context workspaces and monorepo repositories
|
|
239
|
-
|
|
240
|
-
Monorepos may keep Context centralized while sparsely mirroring only implementation workspaces that own durable non-code facts under `project_context/workspaces/<workspace-id>/**`. Each represented Context workspace maps exactly one repository-relative code root through existing `[[areas]].root` and `context` and may contain several workspace-local Area/role owners. Package-manager workspaces with no durable Context need no empty directory; cross-workspace/repository/shared Areas stay under top-level `project_context/areas/**`. Package-manager/build files remain the complete code-workspace inventory. Single-workspace and non-monorepo projects keep the existing layout and validation path.
|
|
241
|
-
|
|
242
|
-
Prefer a small top-level repository-common default Area in a monorepo; keep workspace-local Context `on-demand` unless it is genuinely near-universal. The default set plus manifest/search candidates is an expandable working set, not read isolation, a maximum or a requirement to read the entire target workspace. Read any additional Area/shared Context, root `DESIGN.md` or code needed for an indirect dependency. Root `DESIGN.md` remains the current shared project Design Authority; Context workspace placement does not create independent design systems.
|
|
243
|
-
|
|
244
|
-
Resolve task-local intended workspace(s) from explicit user/product/path/repository facts. If materially different siblings remain ambiguous, ask one concise target question before product edits; intentional multi-workspace work enumerates every target and supporting/shared scope. After implementation, use a repository-owned changed-path/target-scope verifier on exact task-attributable paths when available, or review the final diff against durable owners during Conformance. Tiny Context adds no `[[workspaces]]` schema, automatic topology scan, forced migration, full-graph default, persistent target state, registry, generic path/import/runtime scanner or duplicate Long-Task scope classifier.
|
|
245
|
-
|
|
246
|
-
The default model-led route at any complexity:
|
|
247
|
-
|
|
248
|
-
1. resolve minimum relevant Context through manifest routing plus bounded Context search;
|
|
249
|
-
2. widen the Context working set when shared or indirect dependencies require it, and disambiguate a genuinely unclear sibling product target before product edits;
|
|
250
|
-
3. identify material requirements, conditions, owners, failure boundaries and acceptance entries at risk-proportional depth without an exact Fact/Obligation ledger;
|
|
251
|
-
4. surface one concise, repository-bound Architecture Deliberation with triggered quality attributes or a concrete preservation basis;
|
|
252
|
-
5. decide `Context Delta: none|required` and update durable facts before code when required;
|
|
253
|
-
6. use the platform's internal plan and implement under Goal-owned boundary-preserving quality guardrails;
|
|
254
|
-
7. run current-candidate project verification, including an available changed-path/target-scope check; localize and repair failures, then rerun checks affected by later changes;
|
|
255
|
-
8. perform evidence-bounded Contract Conformance, including Engineering Quality Conformance and its Architecture Conformance subset, then the separate Context drift check;
|
|
256
|
-
9. hand off `Implemented`, `Verified`, `Unverified`, `Blocked / decision required` and Context status separately.
|
|
257
|
-
|
|
258
|
-
The default workflow has no required plan artifact, target declaration, matrix, verdict, evidence ledger, persistent retrieval index or second plan. Missing, stale, unreadable or conflicting controlling Source, unsupported observation or stale/failed evidence blocks an unqualified claim for the affected scope. Duration, file count and complexity never auto-enable Long-Task.
|
|
259
|
-
|
|
260
|
-
Plan Validator commands no longer exist; existing plan, matrix or verdict files remain ordinary user files.
|
|
261
|
-
|
|
262
|
-
### Engineering Quality And Modularity Guidance
|
|
263
|
-
|
|
264
|
-
Shared Engineering Quality extends the architecture obligation without adding a workflow. Every implementation delivery visibly completes `Architecture Deliberation` before its first implementation edit. Risk changes depth, not occurrence. A small change names the concrete owner/current extension point, confirms durable boundaries and applicable quality attributes remain preserved, and explains why it adds or worsens no debt. Material work additionally covers the unique source of truth, dependency and interface/state/resource-lifecycle boundaries, selected and rejected alternatives, one plausible future change and its extension point, touched technical debt, forbidden shortcuts, project-owned executable checks and triggered failure/load/threat scenarios. Correctness/invariants and maintainability/changeability always receive at least preservation; reliability/resource lifecycle, concurrency/consistency, performance/capacity/cost, security/privacy/safety, compatibility/migration/rollout and operability/observability/testability activate only when material. `Architecture Context Hit`, `Decision Rationale Hit: existing|required|none` and `Modularity Check: none|required|exception` remain internal routing questions; no Task Contract or fixed `plan.md` is required.
|
|
265
|
-
|
|
266
|
-
When foundational machinery, a mature protocol/security boundary, a dependency/shared abstraction or a nearby extension point makes sourcing material, the deliberation adds a risk-triggered Build / Reuse / Buy judgment. It records an allowed solution set, prohibited failure modes and required rationale/evidence rather than one mandatory library or abstraction. Existing owners, standard capabilities, installed dependencies, mature compatible libraries, bounded self-implementation and intentional non-abstraction may all be valid; duplicate owner rules, extension-point bypass, unjustified heavy dependencies, incomplete security reinvention, license/platform incompatibility, forced abstraction and a second source of truth are not. This adds no mandatory open-source/DRY rule, generic score, stage or Gate.
|
|
267
|
-
|
|
268
|
-
Implementation order, methods and feedback cadence remain Goal-owned. The thin discipline is to reuse the owning service/facade/adapter and one source of truth, make the smallest complete change, preserve explicit failure/resource semantics and add abstraction only for a stable concept or evidenced change axis. Exact product/technical predicates remain owned by Semantic Facts and selected UI/UX values by selected-design closure.
|
|
269
|
-
|
|
270
|
-
`context_development_engineer` is content-sensitive rather than generic-coding-sensitive: material owner/source-of-truth, architecture/dependency, API/schema/data/state/lifecycle, complex-alternative, concurrency/recovery, external-integration/shared-abstraction, performance/security/compatibility/migration or architecture-audit judgment loads its on-demand engineering reasoning; generic implement/fix/refactor wording, role/agent mentions and ordinary local code/test/docs/style work do not activate it merely by themselves. The reference separates facts/constraints/assumptions/unknowns, drivers/path dependence, material alternatives, counterfactuals and minimum experiments, then projects the decision into concrete owners, interfaces, data/state/lifecycle/failure and checks. It is not a mandatory method checklist or second workflow.
|
|
271
|
-
|
|
272
|
-
After implementation and project verification, `Engineering Quality Conformance` includes `Architecture Conformance` and checks the current candidate for scope/path escape, owner/dependency violations, owner bypass, duplicate truth, undeclared boundary/lifecycle change, silent failure, applicable resource/concurrency/security/compatibility/operability defects, unsupported performance claims, missing declared checks and new or worsened debt. A performance claim requires workload, metric, baseline or budget, environment, comparator/tolerance and a project-owned benchmark/probe; static shape is not runtime proof. Any candidate or controlling-input change invalidates the result. Default work embeds this closure in Contract Conformance; Long-Task maps every material independently falsifiable invariant into existing Source-backed obligations/constraints/forbidden shortcuts, owners/paths/Bindings, executable Checks and separate Assertions where functional behavior could pass independently. Final Gate is the sole Long-Task carrier and proves only that declared project-check-bound set—not overall code quality. The two carriers never both run for one candidate.
|
|
273
|
-
|
|
274
|
-
Contract Conformance asks whether current Source and Context reached implementation and verification; the separately named Context drift check asks whether implementation or a new decision made durable Context stale. New or worsened debt blocks handoff unless the project has an explicit bounded exception with owner, rationale, tracking and a removal condition. Unrelated legacy debt does not automatically expand task scope, but debt touched, relied on or worsened by the change cannot remain hidden.
|
|
275
|
-
|
|
276
|
-
The visible checkpoint proves only that the reviewable deliberation occurred; it does not expose private chain-of-thought, guarantee the best design or anticipate every unknowable future request. Store stable reasons, rejected alternatives or tradeoffs only in the smallest durable Context surface. The obligation creates no quality plan, stage, matrix, second Authority, Contract field/aspect/Claim/risk type, Gate, state or Receipt. Harness routes repository-native type/compiler/lint/AST/dependency/contract/behavior/benchmark/probe checks rather than becoming a language-generic architecture, quality or performance analyzer.
|
|
277
|
-
|
|
278
|
-
`ty-context check-modularity` is a capability-aware portable risk signal. All selected handwritten source/config formats receive physical-line analysis; JS/TS-family files additionally receive lexical per-function statement/branch, export, state-transition and responsibility heuristics; Python receives a dedicated lexical per-function statement/branch heuristic; every other included format, including Vue without an SFC parser, is line-only. Output names `analysis=js-ts-heuristic|python-heuristic|line-only`; unsupported metrics are `null` internally and `n/a` in CLI output, never zero, and cannot affect risk or regression. This is not complete static analysis, architecture proof or runtime-performance evidence. `validate-code-modularity` and `validate-harness` enforce the supported signals separately from `validate-context`.
|
|
279
|
-
|
|
280
|
-
#### Modularity Policy
|
|
281
|
-
|
|
282
|
-
Newly generated Harness configs default to `strict_except_generated`. Generated/build files remain excluded; `strict_except_generated` rejects configured `modularity.waivers`. Projects with bounded legacy exceptions may opt into `scoped_waivers`, whose entries require `path`, `category`, `owner`, `introduced_at`, `reason`, `tracking_issue` and `expiry_condition`. An explicit `ty-context upgrade` removes only waivers that existed solely for unsupported metrics from the retired cross-language JS heuristic and whose targets have no current supported risk; ordinary `sync` never performs that migration, and every other stale or invalid waiver remains fail-closed.
|
|
283
|
-
|
|
284
|
-
### Product Surface Contract
|
|
285
|
-
|
|
286
|
-
`context_surface_contract` compiles durable screen/page/CLI responsibility using existing `contract`, area/subdomain and verification roles. `product-surface-contract.md` owns cross-surface/main-versus-drilldown responsibility; optional on-demand `screen-contract.md` goes deeper for one screen's target user/context reference, primary task outcome/work object/loop, operation-object-feedback relationship, critical visible context, entry/exit/shared state, information hierarchy, semantic regions, repeated-scroll/context-switch boundary, client/size-class topology, navigation/variants, material controls and target/verification references. `context_uiux_design` may load a non-authoritative task-analysis method for material new-page/flow/complex-control, hierarchy/topology, task-feedback, client adaptation, recovery/state/accessibility or UI/UX audit reasoning, but durable Design Authority remains its only owner role and Surface/Screen Source still owns page duty. Analysis or Skill activation alone grants no write authority; an already-authorized implementation may update the smallest Surface owner only when the current Goal independently decides `Context Delta: required`. Local style/copy/icon/image fixes, exact-target local alignment and single-control previews remain lightweight.
|
|
287
|
-
|
|
288
|
-
For material UI, **UI Authority Closure** reconciles each stable surface/control/target key as covered by existing Context, requiring a Context update, task-local, explicitly out of scope or genuinely decision-required. Design Source Projection sends durable cross-surface and Screen/Control/state meaning to existing Product Surface or Screen/interaction Context, durable visual-system/token/motion-policy/rationale meaning to `DESIGN.md`, exact composition/value/condition/asset facts to versioned targets, repeatable proof routes to verification Context and delivery-local coverage/provenance/blockers to task or Contract Source. Conflicts fail closed; current code, timestamps, YAML or implementation screenshots do not silently win.
|
|
289
|
-
|
|
290
|
-
### Non-UI Semantic Completeness
|
|
291
|
-
|
|
292
|
-
Both development paths preserve all expressed, logically entailed, explicitly delegated or evidence-backed non-UI authority. This covers product and business meaning as well as technical, backend and architecture meaning; current code cannot silently redefine it. Default work understands material requirements and conditions at risk-proportional depth and reports its evidence boundary, while Long-Task turns the complete declared scope into exact machine obligations.
|
|
293
|
-
|
|
294
|
-
Long-Task Source authoring inventories every material request fragment, attachment, controlling Context unit, canonical specification, external constraint, repository-preservation source and delegated instruction. Its standard catalog is a mandatory floor: goals/scope/glossary; actors/roles/tenants/entitlements; business rules/calculations; entities/fields/relations; commands/queries/workflows/state/time; validation/output/error/API/protocol/event/job; persistence/cache/search/transactions/consistency/concurrency/idempotency; faults/retry/degradation/recovery/backup; configuration/flags/secrets; compatibility/migration/rollout; performance/capacity/cost/reliability/SLO; security/privacy/safety/compliance; observability/deployment/operations; integrations/notification/file/media/localization/commercial; hardware; AI/ML; architecture ownership/boundaries/debt. Domain-specific families, properties, condition axes and proof methods extend this floor.
|
|
295
|
-
|
|
296
|
-
In Long-Task, every applicable subject, typed relation and static/dynamic population receives a stable identity. Applicable actor/role/tenant/version/environment/state/input/boundary/locale/time/concurrency/dependency/failure/migration/rollout/threat/custom conditions are first-class atomic values and exact combinations. Every atomic property is specified or carries an exact basis-backed N/A/exclusion; unresolved, unavailable, conflicting or unreadable meaning blocks. Aggregate strings such as `all-states`, default paths, representative/pairwise samples and ungrounded N/A cannot stand for atomic cells.
|
|
297
|
-
|
|
298
|
-
One Long-Task semantic Fact binds `Outcome × subject/relation/population × exact condition × atomic property × typed expected predicate`, together with owner, Source locator/digest, provenance, quantifier, observation boundary and sensitivity. Fact identity is separate from proof obligation: every Fact expands to all required methods and the furthest independently failing boundary, with frozen comparator/parameters/tolerance/mask, Oracle capability/identity, environment and protected-value policy. Exact values remain in Source or owning Context; downstream carriers retain identities and comparison authority rather than becoming a second semantic value source.
|
|
299
|
-
|
|
300
|
-
Default work creates no Expected Fact Universe, stable Fact/Obligation keys, exact set equality, complete Cartesian expansion, frozen Oracle graph or per-Fact result ledger. It identifies material requirements, conditions, owners, failure boundaries and acceptance entries; runs attributable checks after the last relevant change; repairs failures; and reports `Implemented`, `Verified`, `Unverified` and `Blocked / decision required` separately. Explicit Long-Task persists one Source `semantic-fact-manifest-v1`, requires `Expected = Source Indexed = Contract Indexed Facts`, maps every machine obligation to one single-Fact Assertion and typed `semantic_fact` result (or to a named External Confirmation), and enforces exact expectation/result equality in its existing Final Gate. Missing, extra, duplicate, unresolved, unmapped, unimplemented, unexecuted, stale, failed, proxy-only, reused or indistinguishable Long-Task rows block machine acceptance.
|
|
301
|
-
|
|
302
|
-
This mechanism cannot discover intent the user never expressed or prove an arbitrary Inspector/Oracle semantically sound. It may complete only necessary derivations and explicitly delegated defensible choices; real product, legal, security, commercial, safety or externally owned decisions remain blocking. Durable meaning still goes to its existing Context owner, code remains current implementation truth, and no second plan, registry, Authority, Gate or prescribed implementation sequence is introduced.
|
|
303
|
-
|
|
304
|
-
### Visual Delivery Guidance
|
|
305
|
-
|
|
306
|
-
Both development paths preserve selected design Source authority within its declared scope and conditions, but they do not share a formal proof level. Formal handoff preflight still proves complete machine-readable input; default work then opens affected targets/conditions and real-substrate feasibility Source, selects the production strategy in Architecture Deliberation, routes it to current-candidate project checks, and reports conditions not established. Long-Task additionally provides exact per-Fact/Rule machine closure through existing Source, bindings and its sole Final Gate. Neither route infers unexpressed behavior or proves that the user supplied every desired requirement. Open Design can produce implementation-rich HTML/CSS/JS, specifications, tokens and assets, but capability is not a per-run guarantee: for a selected Web/App implementation handoff, `design-resource-authoring` must explicitly commission and completely retrieve one machine-readable canonical entry plus its exact dependency closure, freeze every file with a digest and expose stable typed locators. Before formal publication, it exercises every declared verification method on those immutable bytes and blocks unresolved conflicts among code, specs, tokens and assets. That is source QA, not production acceptance. PNG may be a visual baseline, never the sole implementation source.
|
|
307
|
-
|
|
308
|
-
The provider-neutral handoff is a residual semantic and binding layer, not a textual copy of CSS, another value authority or another complete Fact index. Before formal Web/App generation, `design-resource-authoring` derives an Expected Fact Universe from scope, adopted Design Authority and a frozen Inspector/Census obligation. The atomic unit is an applicable `subject × selected target × condition combination × variation combination × property` Fact Cell. Subjects include surfaces, regions, overlays, component families/instances, controls, every anatomy part/slot/primitive, text, icons, media, assets and relations. Conditions are first-class across 33 standard condition axes (platform/runtime/device/viewport/density/safe area/window/fold/display/color/localization/content/data/text scale/input/assistive and accessibility preferences/system UI/IME/permission/capability/connectivity/lifecycle); variation is first-class across five variation axes: `variant`, `state`, `interaction_phase`, `presence_phase` and `instance_case`. Properties use 217 standard atomic keys across geometry, layout, scroll, typography, color, decoration, content, icon, media, interaction/navigation, motion/feedback, responsive, accessibility, asset, system and relation families, plus explicitly defined custom properties.
|
|
309
|
-
|
|
310
|
-
The generated canonical implementation source remains the sole owner of exact values. Its dependency closure contains a `design-resource-observable-fact-manifest-v1` with stable subject/property/Fact IDs, typed locators, located-value digests, units/rounding/pixel-snapping rules, token/effective-value lineage, dynamic population/relations/assets, required proof methods, comparator parameters/tolerance/mask, Oracle identity/capability and render environment. A frozen Inspector enumerates the complete resource/node/declaration/token/asset/relation/custom-property/variant/state/interaction/dynamic-population Census; complete-generation counts and digests prove that no sampling or truncation occurred. Each applicable Fact Cell is either covered by one atomic Fact or carries an explicit blocking/non-applicable disposition with Source/basis/rationale. Aggregate labels such as “all states” cannot stand for atomic values, and a default page/shared style cannot be used to infer another applicable combination.
|
|
311
|
-
|
|
312
|
-
Formal Web/App handoff also indexes one separate `design-resource-implementation-feasibility-v1` JSON Source per target. It records current platform, framework/runtime, UI system, token/theming adapter, component-owner roots and route-owner roots; non-observed dispositions carry a reason instead of an invented value. Every material component-family × target × condition profile binds the complete matching V1 Fact or intersecting V2 Rule set and has capability/feasibility-Source-backed reuse/compose/extend/theme/create candidates or an explicit blocker. Composite multi-primitive strategies, per-platform candidates and authorized planned owners are valid. Browser-only capability cannot be relabeled as a native-App/React Native substrate. Exact design values remain canonical-resource owned and are rejected from feasibility prose; DRA cannot select a required production realization without independent technical authority. V1 uses an exact condition partition and symbolic V2 uses reachable, disjoint and exhaustive regions. New V1 bundle publication requires the input; direct preflight keeps legacy implementation handoffs readable and reports `technical feasibility not declared` when absent, while a `reference` target may omit it without that limitation.
|
|
313
|
-
|
|
314
|
-
Unresolved substrate observations are target-wide: every `decision_required` or `unavailable` observation is named by an exact blocker in every material family × condition cell, blocker/projection observation-ref sets are equal, and zero-family vacuity fails. Candidate cells require observed component-owner roots. Across observation reasons, costs, risks and blocker descriptions, compact, spaced and singular/plural `millisecond|msec|ms|second|sec|s` durations use one classifier: motion context always blocks, explicit build/compile/test/startup/latency/timeout/network/benchmark/runtime/render cost context is valid, and an otherwise context-free time literal fails closed. Exact motion or ambiguous time values remain canonical-resource data.
|
|
315
|
-
|
|
316
|
-
Long-Task proves every `file`/`path_glob` target and carrier, every `verified` carrier and every planned non-empty carrier wholly inside observed component/route roots; partial or unknown containment fails. Empty component refs stay invalid under standalone Contract validation. Complete activation defers that check only when every target is modern blocker-only, with a valid route and exact blocker closure; legacy cannot borrow the exception. Pure-legacy surfaces retain historical non-empty component-Binding compatibility but gain no feasibility claim. Once a surface contains any modern feasibility target, every component Binding must be consumed by a modern candidate-bearing cell's actual unique match; legacy consumes none, extra mixed-surface Bindings fail and explicitly matched modern targets may share a Binding. Open target-blocking External Confirmation reaches `blocked_external`, never `machine_accepted`, without changing the sole Final Gate.
|
|
317
|
-
|
|
318
|
-
Ready handoff requires exact set equality: `Expected Fact Universe = Canonical Resource Facts = Handoff Indexed Facts`, together with complete material-with-facts or honestly supporting-only resource closure. The canonical per-target manifest is the sole complete Fact/Census/proof index. New authoring keeps the shipped `design-resource-handoff-v1` marker and adds `representation: manifest_backed`; YAML carries only residual Source/scope/resource/target/closure/coverage/proposal binding, and preflight hydrates the same complete V1 object from the frozen manifest. Older embedded V1 remains read-compatible. UI symbolic V2 is explicit opt-in; V1 remains the default. An opted-in target uses `design-resource-handoff-v2`, `representation: symbolic_rules_v2` and `design-resource-observable-rule-manifest-v2`; constant located expected values and mutually exclusive canonical regions preserve exact point meaning. Applicability either keeps legacy exact remainder rows or uses package-owned property profiles, frozen Inspector custom-property closure and explicit unique instance exceptions, while every logical subject-property point retains one disposition. Fact Rule, required-method semantic obligation and set-valued non-interference certificate identities remain separate. `ready` is emitted only after unresolved dispositions and blockers are absent, V1 proof policies pass, and an `exact_target`'s full-target layout and pixel region unions each cover the complete reachable domain. Omitted axes require both Source-side and production-side proof through frozen closed-world static dependency closure, restricted-IR exact equivalence or finite complete-domain exhaustive equivalence; dynamic/reflected/unfrozen/external or sampled dependencies block. Preflight resolves immutable resources and exact locators, recomputes canonical DAG/region/certificate identity and rejects missing, overlapping, gapped, unresolved, unsupported, stale or value-conflicting input. Exploration remains schema-free.
|
|
319
|
-
|
|
320
|
-
Every non-interference method requires a digest-identified frozen executable Oracle with the exact `symbolic_noninterference.<side>.<method>` capability. On the Source side, the complete Inspector input set contains exactly one canonical, non-executable `design-resource-symbolic-source-ir-v1` resource for each admitted scope. The package binds that IR to the current target, certificate and Rule scope, reparses its current bytes and derives the dependency DAG, canonical predicate or complete finite-domain evaluation itself. Submitted graph nodes, Rule roots, side/axis-erased predicates, evaluation claims and passed verdicts are only Oracle-output caches; preflight requires `current recomputation = artifact bytes = proof binding/cache`, and the artifact is not part of the semantic input closure. Static non-interference therefore cannot be accepted from an axis list or manufactured from Rule references. JavaScript, CSS cascade or implicit DOM semantics, executable templates, dynamic loading/fetch/import, reflection, computed access, unfrozen extensions and external runtime/device dependencies block until a package-owned complete extractor exists. The production side retains its conservative package-parsed static HTML plus inert JSON subset. Both sides bind Oracle implementation closure/version/capability, environment, every input path and declared/current digest, current Source-manifest or production-target snapshot, exact Rule/certificate scope, omitted axes, derived method result, artifact path/digest and attributable failure witness. Source and production proof digests enter certificate identity and the existing current Final-Gate certificate expectation/result; extraction outside the admitted representations remains an explicit TCB boundary.
|
|
321
|
-
|
|
322
|
-
Capacity changes representation, never the information universe. Before draft generation DSA freezes the explicit manifest path set, target/scope identities, file SHA-256 and exact collection counts/identity digests, then authors one small manifest-backed target file and calls `ty-context design-resource bundle` with an actual UTF-8 ceiling. The descriptor does not repeat manifest-owned axes/conditions/subjects/variations/properties/lineage/Fact Cells/Facts/evidence/proofs/Oracles/environments/assets/blockers. Bundle rejects embedded/full-array or multi-target drafts, over-budget descriptors, missing/extra/duplicate targets and any manifest/preflight drift; validates one target at a time from one resource snapshot; and atomically publishes the complete set through a same-volume command-owned temporary directory. It never overwrites, post-hoc splits or rewrites a target. V1 admission uses stat plus a bounded prefix capacity header before full parse/hydration and never truncates or expands then deduplicates. If truthful data exceeds V1 capacity, diagnostics may recommend an explicit V2 target but do not switch it automatically.
|
|
323
|
-
|
|
324
|
-
V1/V2 equivalence is pointwise over the full `subject/relation × target × reachable condition/variation × applicable atomic property × population/quantifier` universe and includes disposition, located expected semantics and complete proof-obligation denotation; physical V1 ground-row identity is not required. One manifest compilation session shares axis partitions, predicate/Boolean memoization and DAG hash-consing; tuple/profile/Rule indexes avoid per-point full-array scans. Set-valued certificates carry exact Rule and omitted-axis sets without physical Rule × axis edges, and canonical work remains independent of theoretical ground cardinality. The deterministic package fixture covers 639 subjects, 217 properties, 53 axes and 5,245 variations while preserving all 138,663 logical subject-property dispositions without 137,385 N/A rows. One Contract may mix V1 and V2 targets under the existing sole current-snapshot Final Gate. Purpose-fulfillment efficiency non-degradation is a package mechanism-change admission property, not an AcceptedDeliveryTerminal condition. Non-UI symbolic admission remains out of scope; machine-observer and verifier/runner trust-boundary closure is mandatory rather than deferred Provider/P0 work.
|
|
325
|
-
|
|
326
|
-
Those inputs remain Source. The default Workflow opens affected exact targets or constraints and their declared conditions, routes them through production owners and cold-start journeys, runs applicable project-native visual, interaction, accessibility or runtime checks on the final candidate and reports every condition those checks did not establish. It does not rebuild the complete UI Fact Cell universe or per-Fact-by-method production result ledger. Long-Task projects the exact expected universe into existing Claims/Assertions/Checks/Bindings: every method/condition cell carries exact `fact_refs` and one `fact_expectations` row per Fact/proof obligation. A current `fact_results` row may close that cell only when a package-admitted observer supplies its Actual and Harness comparison; otherwise the cell remains a blocking External Confirmation and Final Gate fabricates no result. The current slice does not admit UI layout/pixel/accessibility/motion, browser/native/device, protected or tolerance/mask observations. These carriers are mutually exclusive. Generation success, screenshots, hashes, Census and handoff preflight prove input completeness or integrity only, never production conformance.
|
|
327
|
-
|
|
328
|
-
The default Workflow performs UI Authority Closure and a conditional Design Authority Check before a material product, design, implementation or acceptance decision. It traverses affected stable keys to exactly one canonical adoption record, then actively opens every selected `exact-target` or `constraint`; a reference-index or handoff-index mention alone is not consumption. `DESIGN.md` canonically records project/system/component-family targets, while the owning Screen Contract records one-screen/interaction-specific targets. The canonical record owns interpretation, selection basis, readable immutable locator/digest, declared condition coverage and editable upstream owner/locator/update route; other layers keep only the stable key, canonical owner/anchor and local applicability. Missing, unreadable, stale or conflicting resources fail closed. Updates create a new immutable version instead of overwriting the adopted baseline. An unconfigured starter, candidate, style-only prose or inspiration does not authorize invented production layout, and a configured project visual system does not claim every page is implementation-ready. Explicit project design-system adoption routes to `design-system-authoring`; standalone resource generation routes to `design-resource-authoring`. Implementation with sufficient authority, local style fixes and throwaway prototypes remain lightweight.
|
|
329
|
-
|
|
330
|
-
For selected implementation handoff files, DSA first publishes the exact target set with `ty-context design-resource bundle`; both development paths rerun `ty-context design-resource preflight <handoff.md>` on every published file. Incomplete acquisition, missing or undeclared dependencies or targets, duplicate targets, unsafe paths, stale manifest/file digests, fictional locators, non-frozen or incomplete Census, sampled/truncated generation, aggregate axis values, mismatched Expected/Canonical/Handoff Fact sets, missing required methods, invalid comparator/Oracle/environment binding, unresolved design-system lineage, uncovered applicable cells, absent exact-target layout/pixel facts, unsupported evidence and unresolved meaning all fail closed. Each workflow must still open the resources and prove the production implementation on the real entry.
|
|
331
|
-
|
|
332
|
-
In Long-Task projection, every Claim-bearing Assertion remains single-Claim. For each selected-design verification method, the target's root conformance Assertion and that method's independent Assertion jointly cover the Source Claims referenced by its Facts or Rules; the union closes coverage without collapsing method capabilities, evidence, results or failure attribution.
|
|
333
|
-
|
|
334
|
-
Repository patterns accept parentheses only as escaped literal route-group characters—never regex groups or extglob—while preserving existing `*`, `**`, `?` and rejecting unsupported `[]`/`{}` syntax.
|
|
335
|
-
|
|
336
|
-
For material work under either existing execution route, `context_uiux_design` applies non-authoritative task-level UI/UX analysis and keeps risk-proportional coverage reasoning task-local. Product/Surface/Screen Source remains the durable owner of page duty and interaction topology, while `DESIGN.md` and selected exact-target/constraint Source own visual-system and selected-design facts. With a valid Long-Task binding, `long-task-workflow` alone owns Source/Contract lifecycle, formal verification, Final Gate and completion; the UI/UX Skill may also contribute Design Authority closure but creates no second plan, lifecycle, Authority, Gate or acceptance path. `context_development_engineer` traces every affected selected target and declared condition through stable surface/control keys to the production route/component owner, cold-start real-user journey and applicable rendered/interactive checks. A first useful runnable production slice is a recommended real-entry feedback point when early localization is worth the cost, never an implementation gate; the final candidate always reruns the affected cold-start journey. Source-required combinations cannot be silently pruned, but default work reports conditions it did not establish instead of claiming exact machine closure. Resource hashes, manifests and counts prove integrity only; an implementation screenshot cannot become its own target or implementation-conformance proof.
|
|
337
|
-
|
|
338
|
-
An explicit Long-Task is the strong authority carrier of the same shared obligation. It resolves missing/conflicting UI authority before Compile, then closes all 22 canonical fields of every real Product Control through `field_coverage`; that semantic Control projection is independent of, and never caps, the finer design Fact universe. Selected targets freeze the canonical manifest identity/digest and project every atomic Fact/required-method pair into a `fact_expectations` row with subject/target/condition/variation/property identity, expected located-value digest, comparator/parameters/tolerance/mask, Oracle identity/capabilities, environment and sensitivity. Only a package-admitted observer may supply the matching `fact_results` Actual/comparison row. In the current slice, project `design_conformance`, `design_method` and `fact_results` records are diagnostic; affected UI/design obligations remain blocking External Confirmations rather than machine proof. Product `surface_bindings`, Control Claims/relations and root-entry journeys continue to carry product semantics, while existing Claim, Assertion, Check, Stage, Binding, revision and Final Gate mechanisms remain the sole Long-Task lifecycle and closure. Every blocker preserves exact Source-item/method/capability lineage and cannot be dismissed in-band; scope removal requires revised Source/Contract authority.
|
|
339
|
-
|
|
340
|
-
Combined design-and-implementation work may author candidates in ordinary Outcomes/Stages, but a candidate or planned target cannot authorize fidelity implementation. Selection must become real marked Context-reachable Source plus the owning Context/`DESIGN.md` reference and, after Authority Lock, an adopted Authority Revision. Browser visual ACs may use `ui_browser` for diagnostic localization, but current machine closure remains External Confirmation; a browser proxy, detached route or deep link cannot prove a native/root journey that can fail independently. Resource integrity and `visual_render` cannot satisfy selected-target implementation conformance. Frozen baselines are verifier inputs, generated actual renders/diffs are current artifacts, and subjective approval remains external. No `uiux_delivery` block, visual Claim type, resource registry, risk level, lifecycle state, Gate, required design directory, per-Control screenshot matrix or universal pixel threshold is added.
|
|
341
|
-
|
|
342
|
-
`ty-context doctor` keeps its compatible `missing | unconfigured | configured` project-level status and adds advisory complete-closure, token-projection, extra-file and normative-link diagnostics. Structural bundle errors remain visible without turning visual judgment into a machine claim. Doctor does not infer surface implementation readiness; that still requires the owning Screen/Control meaning, selected target/constraints and project-owned verification.
|
|
343
|
-
|
|
344
|
-
Static guidance tests prove routing text, positive/negative analysis rules, distribution, projection and canonical ownership—not real host Skill activation, Agent adherence, map-design quality, runtime cost, performance or ROI. The optional delivery-mechanism benchmark provides a fixed fresh-agent UI/UX Context/target-recovery task with routing gold and a hidden production oracle; only independent paired runs may support effectiveness or ROI conclusions.
|
|
345
|
-
|
|
346
|
-
### Explicit Design System Authoring
|
|
347
|
-
|
|
348
|
-
Use `design-system-authoring` only on an explicit request to `bootstrap`, `revise` or `reconcile` the project design system/style. A DRA `authority_delta_candidate`, missing `DESIGN.md` or ordinary UI work never invokes it automatically. The Skill owns Open Design capability discovery and provider execution; the package-local `@google/design.md` adapter performs deterministic lint/parse/export/diff only and is not a generator or runtime provider.
|
|
349
|
-
|
|
350
|
-
Root `DESIGN.md` is the unique Authority entry, human revision owner and first-bundle editable exact-Token owner. Bundle adoption writes the exact `<!-- ty-context-design-authority-format: bundle-v1 -->` declaration as the first non-empty Markdown body line after supported YAML front matter and creates the sparse `design_system/authority.manifest.json`; marker and manifest are required as a pair. The manifest owns only sorted closure membership and `closure_digest`; it contains no revision, direction or Token values. Pair mismatch, invalid marker placement/duplication/spelling and non-portable physical path casing fail closure. `design_system/tokens.json` is deterministic DTCG output from supported DESIGN front matter, not an independently edited Authority. Component, pattern, motion and platform children exist only for real reusable rules; a true unmarked project without a manifest remains a compatible one-file closure.
|
|
351
|
-
|
|
352
|
-
Machine freshness uses the entry plus complete closure digest, never the human revision alone. Closure inspection rejects unsafe/duplicate paths, case collisions, symlink or hardlink aliases, invalid UTF-8/BOM, generated-Token drift and incomplete normative local links. A child change invalidates DRA recovery/handoff and Long-Task binding even if revision text is unchanged:
|
|
353
|
-
|
|
354
|
-
```bash
|
|
355
|
-
ty-context design-authority inspect --format json
|
|
356
|
-
ty-context design-authority tokens
|
|
357
|
-
ty-context design-authority tokens --from-entry
|
|
84
|
+
npx --no-install ty-context validate-context
|
|
85
|
+
npx --no-install ty-context doctor
|
|
358
86
|
```
|
|
359
87
|
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
### Optional Design Resource Authoring
|
|
363
|
-
|
|
364
|
-
Use `design-resource-authoring` only for an explicit request to generate, iterate or prepare standalone design resources, prepare resources for a named development scope, or use Open Design. It accepts raw notes or an initial proposal, product/technical plans, a visual brief, screenshots, existing resources or another pre-existing planning document. No standalone intermediary authoring document is either prerequisite or recommended middle stage.
|
|
365
|
-
|
|
366
|
-
The Skill makes the explicit output or development content its hard ceiling; a local slice includes only necessary surrounding context. Before page/flow/complex-control generation it separately consumes controlling Product/Surface/Screen Source for target user/context, client/host, page duty, primary task outcome, primary work object/task loop, operation-object-feedback and applicable state/recovery/accessibility meaning, and `DESIGN.md` plus selected exact-target/constraint Source for visual-system and selected-design conditions. Non-authoritative task-level UI/UX analysis may inform candidate comparison but cannot supply missing product or surface meaning. The Provider must not infer that meaning from a feature list, screenshot, route tree, component inventory or analysis output. For an implementation handoff it accounts for material UI/UX meaning through relevant surfaces/flows/regions/components/controls and applicable visual/content, state, interaction/feedback/motion, responsive/platform/input, accessibility and asset conditions, then subtracts only explicit selected-source coverage. It discovers current Open Design capabilities and assigns every considered resource a reasoned `selected`, `optional`, `not-needed`, `unavailable` or `decision-required` disposition.
|
|
367
|
-
|
|
368
|
-
Inside that ceiling, DRA records selected existing coverage, new gaps and preservation obligations. An outside-ceiling effect returns existing `decision-required` with reason `scope-expansion-required`; only the user can expand the ceiling. A durable Product/Surface/Screen/Design change updates its actual owner before generation resumes. Style-bearing commissions carry Source-derived `style_application` fields only where needed plus an archetype-specific `quality_commission` for primary challenges, desired/avoided visual character, real copy/data, reference roles and design-side shared-family reuse. These are task-local Provider inputs, not files, states, scores, Authorities or routing records.
|
|
369
|
-
|
|
370
|
-
After a task direction is selected, DRA performs one non-authoritative Authority Delta Assessment against the exact current closure: `consistent_with_current_authority`, `task_local_variance` or `authority_delta_candidate`. A one-task variance declares `precedent: forbidden`; a reusable local variance must reach a named Screen Contract owner. A system delta is only a pure candidate packet and stops DRA until the user separately invokes DSA `reconcile`. The strict optional JSON form is read-only validated with `ty-context design-resource authority-delta validate <assessment.json> --json`; it cannot select, adopt, write Authority or invoke a provider. After adoption, the handoff binds the new closure and reruns affected preflight/resource checks.
|
|
371
|
-
|
|
372
|
-
Formal generation, a major design revision and critical regeneration use the highest eligible live model and that model's highest supported reasoning effort. Eligibility first preserves required tools, visual/context capability, authentication and data boundaries; provider capability ordering or documented replacement evidence establishes rank. The Skill never guesses from price, model name, release date or list order. An unrankable choice fails closed as `highest_performance_unverified`; an uncontrollable or unobservable provider result is reported with the same qualification and is never described as a confirmed highest-tier run. This policy creates no model registry, scheduler or persistent routing state.
|
|
373
|
-
|
|
374
|
-
For formal Web/App implementation output, “complete” defaults to the finest applicable observable Fact granularity described above. Before commissioning generation, the Skill builds the Expected Fact Universe, freezes the Inspector/Census obligation, and reads real technical Source for the platform, framework/runtime, UI system, token/theming adapter, component owners and route owners. It passes those constraints and the adopted design-system identity into a live capability matched to the resource archetype, then requires the returned canonical source/manifest to express every applicable cell. It separately authors the feasibility document described above; every material family/condition has a candidate or blocker, while production-owner selection remains downstream. It does not defer missing anatomy-part, state, responsive/platform/text-scale, motion, accessibility, asset or basic implementability decisions to downstream implementation.
|
|
375
|
-
|
|
376
|
-
High-fidelity/branded output, visual direction, typography/color/density, component visual treatment and production-style prototypes are style-bearing. If Design Authority is unconfigured or lacks one authored token source/direction, the Skill stops before project/run creation and tells the user to explicitly select `design-system-authoring`; it never auto-initializes. Low-fidelity structure, IA/flow and semantics-only state studies remain non-fidelity. Style-bearing Open Design projects pass the adopted ID through `create_project.designSystem` and verify `get_project.designSystemId`.
|
|
377
|
-
|
|
378
|
-
It commissions only the smallest sufficient artifact/file set through structured MCP with bounded fallback; this minimizes packaging, never information granularity. One canonical HTML/CSS/JS prototype plus manifest, tokens/assets and an inspectable state/component workbench may carry thousands of atomic Facts. Repeated controls may map to one component family and only unique/complex uncovered controls need dedicated studies. Static/default views do not imply unseen behavior. No prototype, low/high-fidelity pair, component board, provider-native input, one-file-per-control rule, artifact count or directory is mandatory, and Tiny Context copies no provider prompt/template or catalogue. Designs carry user-visible interaction semantics, not sole ownership of business/data/permission/algorithmic rules.
|
|
379
|
-
|
|
380
|
-
For implementation Web/App output, the Skill requires the complete canonical entry/dependency set and addressable declared facts described above. Figma remains useful when an existing design team needs native Components/Variables/Variants, shared libraries, Dev Mode or Code Connect; Penpot when open/self-hosted multi-user design infrastructure is itself required; OpenPencil as a local static-layout sidecar while its prototype/motion model remains incomplete. Default conversion from complete Open Design source to another representation is not required because it adds synchronization and operating cost without closing a new enforcement gap.
|
|
381
|
-
|
|
382
|
-
Provider execution, Artifact readiness and Design suitability stay separate. Suitability inspects at least one real render for formal high-fidelity work and proportionally reviews scope/Source, mechanical integrity, Design-System application, visual craft/language, product distinctiveness, content realism, design-side component reuse, technical feasibility, state/condition coverage and preservation. A first candidate with no material grounded defect may proceed directly to selection; a material defect triggers the highest-impact smallest patch, rerender and affected re-review, never a cosmetic revision quota. Suitability never performs human selection or independently establishes readiness. Provider behavior relied on durably is pinned to an immutable version/tag/commit instead of a floating branch.
|
|
383
|
-
|
|
384
|
-
Exploration returns a visible scoped candidate after minimal sanity review and requires no handoff schema. `Design Resource Review & Selection Stop` lets the user correct, select, reject, leave unresolved, expand scope or route a durable owner change; it is not an approval record, Gate, acceptance or formal-completeness claim. Ordinary conversational selection creates no persistent state; deterministic cross-interruption selection reuses existing marked Source, authority, selected-source and recovery-checkpoint owners. Selection binds the canonical selected-source digest, target, declared conditions and controlling Source/Design-Authority identity. Equivalent derived exports preserve selection; visible or semantic differences return to suitability and review. After a selected formal Web/App direction completes canonical source/dependency/Census/manifest/preflight closure, any newly visible decision returns to the same stop; only stable closure is followed by one consolidated idempotent proposal reconciliation and provider-neutral marked handoff. V1 manifest-backed authoring remains the default; only an explicit per-target symbolic opt-in emits the strict V2 Rule manifest/handoff. Shared preflight cannot call incomplete, unaddressable, unresolved, unsupported or stale input ready. Outside the one explicitly authorized proposal writeback target, the Skill never edits caller-owned planning/proposal Source, Context, `DESIGN.md`, production code or a Delivery Contract.
|
|
385
|
-
|
|
386
|
-
Material DRA revision loops replay from a raw-digest-bound Base plus complete ordered Delta semantics. Deterministic accepted authority additionally requires a strict `ty-dra-authority-v1` projection inside the same digest-covered marked Source Item: explicit choices bind exact target/kind/origin/meaning digest, while delegation binds only its exact choice scope and never becomes a non-visual meaning Source. Every semantic target has at most one active accepted Delta owner; rejected, unresolved and superseded Deltas form an exact leakage universe. One v3 audit-expectations catalog freezes changed/unchanged/resource-decision/blast-radius/leakage rows plus selected-resource conditions, and current audit rows must be set-equal without duplicate identities. Exact-patch-v2 binds every active non-preserve `Delta × target` once to its Proposal text span and semantic digests; every such binding has exactly one `proposal-written` or structured, repository-readable `resource-owned-exact-visual` owner. A real cross-interruption need may explicitly `create` one ignored, task-local, non-authoritative checkpoint; `update` replaces it only through caller-supplied checkpoint digest CAS, while `inspect` and `preview` rederive current state. `apply` uses pre/post raw-byte CAS and reread reconciliation, reporting applied, idempotent, blocked or external-resource revalidation pending—not handoff readiness. `remove` fully deletes only after inventory proves the directory contains the digest-matched helper checkpoint; otherwise it returns `partial` and preserves unowned content. A simple preview creates no checkpoint, persisted bytes, pause, Provider run, formal handoff, Proposal write or helper transaction. The checkpoint and reconciliation are upstream recovery/diagnostic data, never Design Authority, Long-Task Source/Evidence or completion proof.
|
|
387
|
-
|
|
388
|
-
Actual generation remains with configured Open Design/Product Design, Figma, image-generation, prototype or human systems. Their outputs enter the default Workflow or Long-Task as ordinary external Source. Candidates and inspiration authorize no fidelity. An adopted exact target/constraint becomes Context-reachable Source: owning Context/`DESIGN.md` maps its stable key to declared conditions, a stable immutable identity/digest and an editable upstream owner/locator/update route. `context_uiux_design` performs downstream UI Authority Closure; implementation renders and diffs remain evidence rather than self-authorizing targets.
|
|
389
|
-
|
|
390
|
-
Maintainers may set `TY_CONTEXT_OPEN_DESIGN_MCP_COMMAND` plus optional `TY_CONTEXT_OPEN_DESIGN_MCP_ARGS_JSON` and run `npm run smoke:open-design` for an opt-in, read-only discovery smoke. The source workspace's existing delivery-benchmark owner also contains an opt-in DRA visual diagnostic with eight fixed cases, five pinned routes, blinded randomized review and repeated descriptive observations; it has no admission, publication, ranking, routing or design-selection effect. Normal tests use a local mock MCP and do not depend on Open Design or nondeterministic output.
|
|
391
|
-
|
|
392
|
-
### Retired Standalone Authoring Compatibility
|
|
393
|
-
|
|
394
|
-
Retired standalone authoring pointers are no longer installed or package-managed. Upgrade removes only byte-exact former package content; modified same-name content is preserved for manual review, and ordinary sync does not maintain a deletion registry. `long-task-workflow` opens the non-authoritative Contract Draft immediately and converges mixed-input inventory/synthesis, stable-key/Product Control-level meaning, preference/research/delegation traceability, Source markers/provenance, acceptance/risk completeness and Contract mapping in one loop. This semantic Control projection does not cap the separate complete-observable-design-fact inventory for selected resources. Existing planning/proposal documents remain ordinary Source; no standalone or internal Source-authoring stage, handoff, schema, gate, state or second plan is created.
|
|
395
|
-
|
|
396
|
-
## Single-Goal Rolling Delivery
|
|
397
|
-
|
|
398
|
-
The explicit Long-Task Workflow uses one currently selected platform-native execution Goal, one user-selected repository and verification/convergence workspace, one complete `long-task-delivery-v2` Contract and one Final Gate. Harness does not persist a Goal identifier: compaction may continue inside that Goal, while a later Goal/session restores semantic state rather than the prior physical Turn. Outcomes are independently decidable acceptance units; Delivery Set orchestration and top-level Contract splitting inside one selected delivery are retired.
|
|
399
|
-
|
|
400
|
-
Its proof claim is conditional: complete and accurate Source at the declared observable granularity, meaning-preserving projection and complete applicability expansion make `AcceptedDeliveryTerminal` either a fresh `machine_accepted` result when no blocking external fulfillment is required, or a fresh `delivery_accepted` result when every blocking external obligation also has a valid exact record. Machine obligations still require frozen Expected authority, package-admitted current Actual, Harness-computed comparison/verdict, attributable static-production or direct-process observation, causal Counterfactual evidence and current Final-Gate snapshot proof. Every blocking External Record v2 carries exact per-obligation identity/evidence, a current challenge, whole-candidate identity, immutable artifact snapshots and a detached Ed25519 signature verified against a protected Source-bound public key. That verifies possession of the bound key, not a real-world identity beyond the Source binding. Record v1 and legacy `machine_accepted_external_pending` are audit-only and cannot close. Harness cannot discover undeclared requirements or prove arbitrary physical/external observation sound.
|
|
401
|
-
|
|
402
|
-
Compile conserves Source meaning below the Source-item level. From the existing Semantic Fact Manifest it derives one internal view of every Source item and every strict-UTF-8 material attachment, canonical specification, repository-preservation input, external constraint, delegated instruction and textual design resource; it never guesses text from extensions, and unreadable or ambiguous text blocks. It covers headings, material paragraphs, nested list/table/quotation/Given-When-Then rows, fenced code/configuration and textual HTML, then proves all nonblank lines equal the disjoint union of Fragment lines and allowed pure separators. Every Fragment has one explicit `fact_bearing`, `supporting_basis`, `superseded`, `decision_required` or `scope_excluded` disposition. Reverse delivery-Fact provenance, anchors, semantic-cell identity and Claim modal polarity prevent supporting, supersession or exclusion from hiding an independent requirement. A `source_integrity` Fact cannot replace `delivery_semantic` meaning, and this remains part of the existing Source inventory and Semantic Fact Manifest rather than another ledger.
|
|
403
|
-
|
|
404
|
-
Proof adequacy is independent from Check success. Closed method and standard-property profiles are unioned with observation-scope, quantifier, Claim-kind and Control-field floors; prose keyword matches remain advisory only. Presence proves only existence, while transition/sequence, product effect, boundary provenance, durable readback, identity/data state, population, fault/recovery, concurrency/idempotency, performance/capacity and selected-design/runtime semantics retain stronger typed capabilities. A new unclassified standard property fails closed; a `custom.*` method or custom property without a standard profile cannot machine-close. A Check with no Claim-bearing Assertions is diagnostic only. Preflight resolves candidates per exact Claim/Fact × method × applicability obligation: machine/external overlap, duplicate same-kind routes and no route are unreachable, and broad `impact_claims` never removes a machine Assertion. Claim-bearing Expected still comes only from Source/Context/canonical or compiled Fact authority.
|
|
405
|
-
|
|
406
|
-
Compile derives an internal `CompiledObservationAuthority` for every machine Claim or Fact × required-method obligation; it is not a new Contract Authority, state or registry. `package_static_json_exact` reads plain exact implementation/configuration content only from a UTF-8 JSON production carrier that exists in the pre-run snapshot, retains its no-follow identity/digest after the runner, matches the Binding and is not Source/Context/Contract/expected/evidence/report/status/verifier output; prepare-all mutation observation plus pre/post identity/hash rejects transient/persistent swaps, and the adapter proves no runtime consumption. `package_process_json_exact` supports only a Source-backed `runtime_family: process`, `role: product` target and a direct root `project_binary` whose target and complete argv match that authority. Each required target has one canonical Source technical-obligation target covering key, role, family, root, complete argv and capabilities. Compile derives one declaration-stable runtime closure containing the exact Source-backed root, exact Claim/Counterfactual production carriers and only finite argv values that match a production Binding by exact path or pattern. Each argv member remains the exact child-visible token; the closed grammar examines an independent token or explicit `--name=value` without splitting spaces, stripping quotes or rewriting backslashes. Raw token and derived locator remain distinct. Quote-bearing, POSIX/UNC absolute, drive-prefixed, slash/backslash-platform-ambiguous, scheme-shaped colon prefixes outside the exact lowercase decimal `node:<number>` allowlist and unsupported compound forms fail closed unless explicitly routed to the external boundary. Cwd resolution precedes repository containment, so in-repository parent traversal is valid while a true escape is not. Glob-owned, extensionless and space-containing files remain valid; unmatched safe values and the exact lowercase decimal `node:<number>` and digits-only `<hours>:<minutes>` colon scalars are allowed but not copied. Compile neither broadly role-scans nor copies all `input_paths`; role separation covers actual closure members. Global Checks use internal scoped Binding records `{ outcome_key, local_key, binding_ref, binding }` with `<outcome>.<binding>`, preserving logical refs while deduplicating identical physical paths without changing authored Contract Bindings or adding a registry. Exact planned closure members may be absent through Compile but must materialize at Final Gate. The closure excludes Source/Context/Contract/canonical expected, verification inputs, expected outputs/artifacts, evidence/status/report/comparison/Receipt/Long-Task workdir and historical session/evidence. Harness copies only that closure into an OS-temporary snapshot, binds its identity into host attestation and forwards unchanged argv. Compatible Cross-Check and implicit-preserved Facts share one bounded `ty-context-product-observation-v1` stdout envelope while retaining independent result identities. An unsupported embedded dependency or Claim requires External Confirmation. Project results remain v3; no v4, shell/URI/dependency parser or general UI/native observer is introduced.
|
|
407
|
-
|
|
408
|
-
Project-submitted v3 actual/value digest, comparison, `passed`, verdict and capability records are compatibility diagnostics only and never own Actual or completion. Current package derivation covers exact/presence plus host `target_runtime`; `interaction_trace`, `state_delta`, `design_conformance` and every capability without package derivation require blocking External Confirmation. Custom/`named_external_tcb` Oracle, wrapper, browser/native/device, layout/pixel/accessibility/motion, protected, tolerance/mask and custom-locator observation are likewise unsupported. Machine Counterfactuals require package-admitted baseline/mutated observations with the same compiled closure identity, a mutation target in its production-carrier set, exact affected/preserved/allowed-fan-out accounting, equal obligation universes and host-derived process liveness; absence of admitted observation never skips validation. Migration never silently changes the observer choice, and target/closure TCB changes invalidate prior Active Authority, Progress, Evidence and Receipt acceptance.
|
|
409
|
-
|
|
410
|
-
Unsupported scope uses the existing External Confirmation owner rather than a dummy verifier. `task.target_profile.completion_authority` is `machine_only` or `declared_authorities`; legacy omission deterministically defaults to the fail-safe `machine_only` route and Preflight reports migration guidance. A blocking External Confirmation under `declared_authorities` must name its actor/owner with Ed25519 identity assurance, target, environment, Given/When scenario, evidence requirements and exact per-obligation rows with Claim, applicability, Fact/proof/method/capability and Expected-authority lineage. `impact_claims` validates declared Claim coverage only; it does not select authority. An external-only Outcome sets `success_path_required: false`; a Stage Gate may omit its machine Check only when a `blocks_target: true` confirmation owns that gate's exact result obligation. Missing decomposition/result lineage, aggregate approval, a non-blocking confirmation or a machine success path without a real success Check fails Preflight/Compile. A valid unfulfilled route is `blocked_external`; only authenticated exact fresh fulfillment plus a complete passing Final Gate becomes `delivery_accepted`.
|
|
411
|
-
|
|
412
|
-
This direct-process path is bounded containment, not an absolute hostile-code sandbox. Windows contained execution uses the byte-identified package-owned PowerShell 5.1/7 and C# helper to create the declared executable suspended, assign it to a fresh `KILL_ON_JOB_CLOSE` Job, resume only after assignment, bound streams/timeout/overflow and accept evidence only after `ActiveProcesses == 0`. Short roots cannot outrun descendant enrollment, helper/protocol/identity drift fails closed and there is no PID/CIM polling fallback. Non-Windows retains the process-group/tree path; ordinary non-contained spawn is unchanged. The wider TCB still includes host OS/filesystem/process APIs, Node, snapshot copy/no-follow/digest checks and stdout decoding. This does not prevent malicious code from escaping the copied closure or using ambient resources; use an external sandbox or External Confirmation when that adversary boundary matters.
|
|
413
|
-
|
|
414
|
-
Raw/revised proposals, selected design resources and mixed attachments enter one Source-bound Contract Draft loop immediately. Complete input coverage, stable keys, Product Control-level meaning, selected-resource design facts, acceptance/risk, direct/derived/delegated/evidence-backed provenance, Source ownership and Contract mapping converge together. Every non-empty line in declared Markdown Source belongs to one Material `ty-source-item`, one validated `design-resource-handoff-v1` or `design-resource-handoff-v2` formal block, or a closed-grammar background block containing only text-free anchors/horizontal rules or fixed-field `ty-source-provenance` comments. Text-bearing headings, free-form provenance, arbitrary background prose and unclassified text fail closed unless classified as Material. At least one marked technical obligation carries `aspect=architecture` and maps to an independently provable architecture obligation. Unknown decision-changing preferences still trigger one targeted clarification before Preflight/Compile can succeed; defensible recommendations are written into real Source rather than hidden in YAML, while high-risk actions remain external confirmations. A pre-existing planning document's structure never blocks authoring.
|
|
415
|
-
|
|
416
|
-
Before the first successful formal Compile, `delivery-contract.yaml` is one non-authoritative Contract Draft. `long-task-workflow` opens it at entry and revises the same Draft across Source refinement, repository/Context reads, mapping and Preflight repairs; a complete Contract need not fit one response. Source completeness is a convergence condition for Preflight/Compile, not a prior phase. There is no standalone Contract Draft Skill or Authoring State.
|
|
417
|
-
|
|
418
|
-
The Long-Task Skill keeps objective/boundary/activity routing in its main file and loads one-level Source-bound Draft/Contract-mapping, evidence-design and authority-lifecycle references as applicable. Draft input repair and Contract mapping are concurrent activities, not serial phases. This is instruction packaging only, not a second authority. It performs the shared Architecture Deliberation and applicable-quality routing during Draft authoring. Declared independently falsifiable architecture or engineering-quality invariants use existing Source-backed obligations/constraints/forbidden shortcuts, owner/path/Binding boundaries, project-owned executable Checks and separate Assertions when functional behavior could pass independently. Final Gate is the sole Long-Task Engineering Quality/Architecture Conformance carrier and proves only that declared project-check-bound set.
|
|
88
|
+
Checks cover manifest parsing, registered and direct-default paths, duplicate identities, portability/path safety and explicitly declared local dependencies using this existing syntax:
|
|
419
89
|
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
When a declared result can pass on a proxy surface while failing in its target runtime, the earliest owning Outcome carries either an admitted direct-process root Check or blocking External Confirmation. A project payload, report, screenshot, binary, log, historical run, new session id or proxy cannot be runtime authority. Applicability and all Claim/proof cells remain independently attributable; project capability records are diagnostic, and only currently admitted exact/presence and host `target_runtime` results can satisfy their matching all-of cells. Every unsupported capability remains external. Every behavioral machine Assertion has a same-Check Counterfactual whose admitted affected Facts change, preserved Facts/liveness do not, other changes are explicit fan-out and obligation universes are equal. A Binding/path is not reachability proof: static mutation proves only that structure; runtime reachability requires Harness mutation → direct product-root execution → package-observed Actual change. Evidence/status/report/Receipt/verifier outputs cannot be production carriers. Existing minimal invalidation-envelope, targeted-feedback and current Final-Gate rules remain; no generic reachability scanner, implementation Gate, scheduler or state is added.
|
|
423
|
-
|
|
424
|
-
Direct-process Compile uses one declaration-stable closure of the exact Source-backed root, exact production carriers and finite argv values that match a production Binding by exact path or pattern. Every argv member stays the exact child-visible token. The closed grammar examines an independent token or explicit `--name=value`, never splits whitespace, unwraps quotes or rewrites backslashes, and keeps the raw token separate from its cwd-resolved repository locator. Quote-bearing, POSIX/UNC absolute, drive-prefixed, platform-ambiguous, scheme-shaped colon prefixes outside the exact lowercase decimal `node:<number>` allowlist and unsupported compound forms fail closed unless explicitly routed to the external boundary. Cwd-contained parent traversal, glob-owned, extensionless and space-containing paths remain valid; unmatched safe values and the exact lowercase decimal `node:<number>` and digits-only `<hours>:<minutes>` colon scalars are allowed without copying. Compile neither broadly role-scans nor copies all `input_paths`; role separation covers actual closure members. Global Checks use internal scoped Binding records `{ outcome_key, local_key, binding_ref, binding }` with `<outcome>.<binding>`, preserving logical refs while deduplicating identical physical paths without changing authored Contract Bindings or adding a registry. Exact planned closure members may be absent during Preflight/Compile but must exist at Final Gate. Compatible Cross-Check Facts reuse one Raw Execution/stdout envelope while keeping independent exact results.
|
|
425
|
-
|
|
426
|
-
Global and Outcome applicability profiles bind the exact target, journey role, atomic dimensions, Given condition/input/state refs and ordered When refs. Every Claim-bearing Assertion remains local to one matching profile and every actually applicable proof-surface cell remains mandatory.
|
|
427
|
-
|
|
428
|
-
Long-Task Anti-Degradation Assurance protects current causal-chain truth, cross-version interception strength and the adjacent `F = Implementation Freedom Boundary`. Current-implementation Context must match the indexed code/runtime, which must still realize the two necessary meaning-capture and fail-closed final-proof responsibilities under the explicit theorem boundary. `F` is an efficiency/anti-process-bloat invariant, not a third responsibility or theorem premise: within Source/Contract, architecture, safety, forbidden-shortcut and irreversible/external-action boundaries, implementation order, methods, feedback cadence, concrete packet decomposition and dynamic worker count remain Goal-owned. The current positive-default rule requires multiple exact workers only for the bounded qualifying predicate above and otherwise requires one admitted solo reason; Harness adds no development phase/method Gate, per-edit mandate, fixed allocation, agent scheduler/state or delegation proof. Weakening the protected purpose, key logic, either responsibility, theorem boundary or `F` requires an explicit project-owner design-purpose decision and replacement proof. A new development-stage constraint must also close a distinct path that final proof or a lighter project-owned check cannot cover and demonstrate positive net ROI—specifically evidenced high total-cost ROI and high efficiency—after the hard safety and proof constraints. High means a significant stable margin, not a global/local optimum. Once validity, relative non-degradation, must-allow behavior, structural-cost limits and applicable measured total-cost thresholds close, construction stops unless a new real counterexample, repeated material cost hot spot or evidence of significant additional net benefit appears. Existing Context, indexes, tests, critical sentinels, routing and parity gates carry this assurance without another Authority, Gate or state; they cannot infer omitted requirements or guarantee immutability against deliberate fully authorized joint weakening.
|
|
429
|
-
|
|
430
|
-
Mechanism/release claims progress only through designed, implemented, known-counterexample protection, and high-quality realization within an explicit TCB. This observer revision remains Level 3. R9/R10 each preserve unused non-closure must-allow, non-closure-read runtime-isolation rejection and explicit bound-closure role-conflict Compile rejection as three independent proofs. The raw-argv incident is instead owned by its focused regression, complete current-candidate lifecycle matrix and independent audit; the historical ROI workload does not prove it and adds no `CASE_ID`. A complete committed attack candidate plus owner diagnostic proves the Compile boundary; a legal-neighbor Authority followed by freshness rejection on that same candidate separately proves Final-Gate non-reuse. `active_task_missing`, dirty-candidate rejection and a fresh Compile rejection are not substitutes. The current machine report owns the exact attack/control population without another registry. Level 4 keeps the unchanged complete total-cost ROI theorem, independent capability-audit requirement and separate explicit project-owner promotion. No surrogate tokenizer, prose, test count, fresh-Agent pair, observed lifecycle win or sanitized fixture can promote it.
|
|
431
|
-
|
|
432
|
-
The repository-owned eight-Fact A/B/C benchmark records each fixture's committed candidate identity and requires it to remain clean and unchanged. Real-process v5 always collects all five A/B/C repeat orders. One package materializer alone performs detached checkout, install, build, source-parity verification and script-disabled pack and binds exact commit/tree/lockfile/runtime. Workload/collection owns only raw and `observed_lifecycle_*` facts; aggregate/attestation status is `not_evaluated`; the formal-v2 packet maps paths only. After validating the actual manifest-v2 run set, the existing verifier creates the immutable artifact index and alone derives evidence admission, normalization, exclusive event ownership, `total_roi_supported`, `total_roi_positive` and formal status. Packet-authored bytes, roles, digests, verification flags, normalized values, monetary incident totals or event IDs are rejected. The verifier binds exact A/B/C materialized-package, benchmark implementation, acquisition runtime/TCB, scenario, collector, precollection, retention and redaction identities. The delivery-specific policy uses 1 NCU=CNY 1, CNY 200/50 hourly active/wait proxies, a ten-delivery cycle, five-pair median projection for repeatable costs, once-per-cycle maintenance/recovery, once-only introduction/adoption/migration and one controlled-incident benefit median. Provider/compute/storage derive from prelocked invoice/official-price sources and incident benefit from raw time/usage. Benefit must be at least 1.25 times positive incremental cost; at least 4/5 paired nets must be positive and sample CV at most 20%. Missing evidence remains unsupported. Provider-event v1-v2, the other listed formal v1 schemas, real-process v1-v4 and manifest v1 require recollection; machine measurement, independent audit and explicit project-owner promotion remain separate.
|
|
433
|
-
|
|
434
|
-
The exact current schema matrix is accounting-policy, evidence-packet, precollection-plan, raw-event, scenario-catalog and source-manifest v2; Provider event v3; real-process v5; and run-set manifest v2. Provider-event v1-v2, the other listed formal v1 schemas, real-process v1-v4 and manifest v1 require recollection; `next` is unassigned.
|
|
435
|
-
|
|
436
|
-
Formal collection prelocks one fixed eleven-scenario catalog as the sole source/zero-policy owner; collectors declare capabilities only and sources are only `required|forbidden`. Human time comes from a runner interaction recorder, compute from the complete Job-contained process tree, State from an exact runner payload/ledger plus prefrozen retention, and Provider usage from invocation-bound Provider correlation. A module-private-branded acquisition runtime constructs those owners and rejects missing sources, sampling/default-zero proxies, ordinary-spawn fallback and stream overflow. Every event binds a unique raw output and the scenario gold comparison remains verifier-owned. Provider acquisition now captures the exact prompt in the parent and launches only the candidate-owned isolated Node worker through a sanitized, runtime-TCB-v2-bound envelope. The worker alone owns `node:https`, bounded response streaming and the fixed parser; protocol-owned request/response/stdout/stderr/deadline/abort/output-token limits and complete temporary-root cleanup fail closed. The event binds response digest plus parser/worker identities without claiming an independent reparse of unretained response bytes. Provider readiness means only that local configuration, credential presence and launch support permit one controlled attempt.
|
|
437
|
-
|
|
438
|
-
The catalog derives 86 executions and 586 formal artifacts. Formal capacity is 650 files/364.625 MiB and complete run-set capacity is 4,379 files/974.3125 MiB. The Evidence Candidate freezes every code/schema/Context/test/package-version/protocol byte. Its Promotion Commit must be the direct child, add only four fixed package-/TCB-external governance records and preserve materialized-package, benchmark and runtime/TCB identities. Real collection is `external_pending` until authorized original/sanitized incident provenance, invocation-bound Provider/price evidence and a State-retention Source exist; synthetic fixtures cannot promote Level 3. Package 0.8.15 is the historical frozen Evidence Candidate identity. Package 0.8.18 is the published predecessor. Package 0.9.0 is the prior unpromoted Level-3 candidate. Package 0.11.0 is the current Level-3 package candidate, inherits none of the prior candidates' evidence, production-checks the finite benchmark local-dependency closure—including `npm_command_spec.mjs`, the Provider protocol/worker sources and the Promotion commit-boundary owner—and requires collection/Promotion verifier execution from the exact repository checkout. This completes the scoped Level-4 mechanism logic only: capability remains Level 3, `level_4_claimed=false`, no formal-positive or Promotion exists, public `independent_evidence_admitted` means packet structure/source binding only, and complete/positive ROI remain owned by `total_roi_supported`/`total_roi_positive`.
|
|
439
|
-
|
|
440
|
-
The mechanism's own Final-Gate Oracle consumes fixed-test-ID machine reports and compares complete wrong-candidate and correct-control workflow statuses. Runtime capability requires `wrong candidate != machine_accepted` and `correct candidate == machine_accepted` through the real lifecycle; command exit plus token/string presence proves documentation consistency only. A separate ROI verifier never contributes to a safety Fact verdict.
|
|
441
|
-
|
|
442
|
-
Workflow mechanism admission is lexicographic: Safety/Coverage → Semantic Granularity → Proof Strength/TCB plus non-bypassable Authority/fail-closed/current-final-snapshot proof → Structural Closure Cost Non-Degradation → Total-cost ROI. Its objective is **Fine-Grained Semantic Purpose-Fulfillment Efficiency**: fully attain the declared fine-grained semantic/proof effect with evidenced high efficiency and high total-cost ROI while removing cost unrelated to independent semantic units, necessary proof, trust boundaries or adapters. Logical Fact/obligation granularity may be finer than persistence; unrelated Cartesian axes, derivable repetition and copied shared metadata are not valid long-term cost drivers. Cost never compensates for weaker granularity, proof or drift detection. High means a significant stable margin over the complete verified cost set, not exhaustive comparison or an optimum claim; it permits consideration rather than automatic adoption and remains subject to the sufficiency stop rule above.
|
|
443
|
-
|
|
444
|
-
The package-owned non-UI Compact Carrier uses shared catalogs, selectors, Fact sets, proof templates, projections and explicit exceptions without adding an Authority, state or Gate. Materialization feeds the existing validators and sole Final Gate. Fact and obligation exact sets remain independent; typed results bind stable `obligation_key + obligation_revision_digest` before projection to stable `fact_key + fact_revision_digest`. Fact revisions include normalized meaning plus explicitly linked current input revisions, while obligation revisions include normalized proof meaning plus the current Fact revision. Bounded arrays and `Map` indexes may materialize measured sets, never the theoretical ground universe. Expanded input remains compatibility-readable, but one adopted Source or Contract persists exactly one representation and migration removes the equivalent mechanical expansion.
|
|
445
|
-
|
|
446
|
-
### One-time execution-model checkpoint
|
|
447
|
-
|
|
448
|
-
The first successful Compile creates Authority Lock and returns:
|
|
449
|
-
|
|
450
|
-
```json
|
|
451
|
-
{
|
|
452
|
-
"execution_model_checkpoint": {
|
|
453
|
-
"required": true,
|
|
454
|
-
"phase": "post_authority_lock_pre_implementation",
|
|
455
|
-
"action": "change_model_in_host_then_continue",
|
|
456
|
-
"resume_token": "model checkpoint cleared, continue",
|
|
457
|
-
"turn_boundary": "end_current_turn",
|
|
458
|
-
"blocked_until_resume": [
|
|
459
|
-
"product_implementation",
|
|
460
|
-
"file_edits",
|
|
461
|
-
"build",
|
|
462
|
-
"test_execution"
|
|
463
|
-
],
|
|
464
|
-
"model_change_owner": "host_or_user",
|
|
465
|
-
"model_change_observable_by_harness": false,
|
|
466
|
-
"generic_continue_satisfies": false,
|
|
467
|
-
"message": "After handling the model change, reply exactly: model checkpoint cleared, continue."
|
|
468
|
-
}
|
|
469
|
-
}
|
|
90
|
+
```html
|
|
91
|
+
<!-- ty-context-controlling-source domain="technical" path="docs/api.md" -->
|
|
470
92
|
```
|
|
471
93
|
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
Harness cannot switch the host-selected model. It creates no checkpoint file, acknowledgement state, model route, model-tier scheduler or automatic model switch. The checkpoint is a one-time host affordance enabled by locked Authority and Final Gate protection; it is not acceptance evidence. Once resumed, the parent applies the Skill's packet-first positive-default rule: a qualifying set requires actual calls for multiple exact `long_task_implementation` workers, while host results determine zero-start or partial fallback. Count remains dynamic, and the parent retains every authority, architecture, Context, integration, current-candidate check, formal-verification, Final-Gate, close and completion responsibility.
|
|
475
|
-
|
|
476
|
-
Post-lock revisions separate authority change from user decision while retaining exact identity, old-Authority continuity, compare-and-swap adoption, evidence invalidation and the complete Final Gate. Formally monotonic strengthening; raw Source/Context snapshot changes with unchanged locked Claims/targets/proof obligations; operational Runner/input/environment repair; repository-bound scope expansion; risk strengthening; and equivalent Counterfactual coverage with the same carrier, mutation and Check and no lost Claim/assertion-failure coverage auto-adopt. Product/Source Claim/target/external-confirmation changes, lost scenario/Claim/Evidence Capability/failure interception, forbidden or owner-Context removal, runner type/effect changes, verifier-kernel changes and unknown reasons are preview-only and require the exact revision identity; risk downgrade is rejected. A verifier-content identity change invalidates prior evidence and remains fail-closed when semantic preservation lacks independent previous-Authority or trusted release proof, but the digest delta alone is not reported as a concrete acceptance/proof reduction; the brief names changed verifier files and the unproven-preservation boundary. `diagnose-revision` remains side-effect-free and can exercise eligible scope candidates, so withdrawn/replaced candidates coalesce in the same `delivery-contract.yaml` and never ask. The final pending decision begins with a plain-language Authority Revision introduction and separates `user_decision_reasons` from mechanically bounded changes. Present it first. An explicit current-task instruction that exactly covers every listed decision reason may be mechanically relayed without a second question; generic continue, blanket approval, recommendation or Agent inference does not count. Exact identity, previous-Authority continuity, evidence invalidation and the complete Final Gate apply to every adoption, which reports `delivery_completed_by_this_event: false`, returns to rolling implementation or repair and never means delivery completion.
|
|
477
|
-
|
|
478
|
-
```text
|
|
479
|
-
ty-context long-task init <workdir>
|
|
480
|
-
ty-context long-task preflight <workdir>
|
|
481
|
-
ty-context long-task compile <workdir>
|
|
482
|
-
ty-context long-task compile <workdir> --revise
|
|
483
|
-
ty-context long-task diagnose-revision <workdir> [--outcome <key>] [--check <key>]
|
|
484
|
-
ty-context long-task approve-authority-revision <workdir> --revision <sha>
|
|
485
|
-
ty-context long-task explain <workdir>
|
|
486
|
-
ty-context long-task verify <workdir> [--outcome <key>] [--check <key>] [--explain]
|
|
487
|
-
ty-context long-task status <workdir>
|
|
488
|
-
ty-context long-task resume <workdir>
|
|
489
|
-
ty-context long-task doctor <workdir>
|
|
490
|
-
ty-context long-task external prepare <workdir> [--confirmation <key>]
|
|
491
|
-
ty-context long-task external submit <workdir> --confirmation <key> --record <path>
|
|
492
|
-
ty-context long-task external status <workdir>
|
|
493
|
-
ty-context long-task external rotate <workdir> --confirmation <key>
|
|
494
|
-
ty-context long-task external revoke <workdir> --confirmation <key>
|
|
495
|
-
ty-context long-task final-gate <workdir>
|
|
496
|
-
ty-context long-task stop-check <workdir> [--message <text>]
|
|
497
|
-
ty-context long-task close <workdir>
|
|
498
|
-
ty-context long-task abandon <workdir> [--force-corrupt-state]
|
|
499
|
-
```
|
|
500
|
-
|
|
501
|
-
Compact authoring omits only deterministic defaults and normalizes identically to the expanded form; full Context remains explicit and mandatory. `preflight` is a read-only aggregated closed-grammar Source/background and architecture obligation, REQ/CTRL field-and-relation closure, OBL/AC, atomic applicability, Population universe, target and blocker capability, per-method design record/primary-observation artifact, supported direct-literal verifier dependency, narrow semantic witness and repository check. Before first Authority Lock, Preflight and direct Compile both classify every HEAD-relative changed path as protected, expected change, allowed support, forbidden or unclassified; forbidden and unclassified paths block, so Compile cannot bypass Preflight. During first enable, only exact current package-asset files for configured managed destinations plus exact config/hook files are temporarily protected; managed directory roots and broad `.codex/**` are never exempt. Compile then generates Global plus Outcome Result/Requirement/Control-field/Control-relation/Non-completing/Technical Claims at exact applicability, rejects uncovered cells and makes the first successful formal Compile the Authority Lock. Every Compile result includes a lifecycle event, `delivery_completed_by_this_event: false`, `native_goal_effect: none` and a next action. The first Compile result emits the unconditional `execution_model_checkpoint.required: true` terminal-turn contract; later Compile revisions emit `required: false`. Every later authority change still compares with active authority regardless of progress, Receipt/cache deletion or implementation restoration. Source/full Context/Product/Acceptance/Global/verifier content, resolved runners and recursively frozen verification inputs are frozen in the common-dir Active Authority V3 record; no acknowledgement or model route is persisted.
|
|
502
|
-
|
|
503
|
-
`diagnose-revision` performs a side-effect-free candidate Compile and only exercises existing active Check identities whose runner/verifier authority is unchanged. Its output explicitly denies acceptance, Progress and pending-state writes. `compile --revise` auto-adopts mechanically bounded revisions; for a user-decision revision it emits `authority_revision_pending`, the exact decision id, deterministic material summary, `user_decision_reasons` and the self-contained human `decision_brief` before failing closed. Approving a different or stale id is rejected. Adoption emits `authority_revision_adopted` and returns to rolling execution rather than completion.
|
|
504
|
-
|
|
505
|
-
Targeted verify rechecks active task/revision/compiled/worktree identity and applies the same workspace categories against the immutable baseline before writing scoped Progress. `verify --explain` groups selected Main Raw Executions, lists applicable Counterfactual calls and declared retry bounds, but runs nothing and writes no Progress. Counterfactual Findings first enter the owning Check Result, invalidate an otherwise passed Check, clear Claim Proofs and remain visible in status/resume; Global Checks reuse the same Progress type without a Global Outcome state. Final Gate first rejects stale accepted inputs, then recompiles and hashes Contract/fragments, Source, full Controlling Context, verifier/runner, recursively frozen local dependencies, verification inputs and workdir inputs before and after all Checks; any protected-input or Active Authority race fails closed. Stop/close clear only the accepted identity through CAS. Commit, migration, clear and abandon share one active-state lock. `abandon --force-corrupt-state` is reserved for corrupt continuity or stale lock cleanup and preserves Contract, Source, Context and Git content.
|
|
506
|
-
|
|
507
|
-
`status` and read-only `resume` report the current fresh Final Receipt as `final_workflow_status` (or `null` after drift), the active Contract's complete `external_confirmations` and their live per-obligation evaluations. Their non-persisted `repair_frontier` groups Findings by root, names affected Source fragments/Facts/proofs, Expected and Actual evidence, implementation/verification owners, minimum diagnostic reruns and still-fresh diagnostic Progress. It has no acceptance authority and protects Source, Expected, Claims, proof authority, external scope, comparator and applicability from repair without Authority Revision. Legacy `ready_for_implementation` is only a compatibility alias and never gates implementation order. `progress_passing` is targeted repair evidence rather than “Outcome complete”; `progress_stale` is a freshness fact rather than a current pass or immediate rerun command, and `final_workflow_status: null` means unfinished.
|
|
508
|
-
|
|
509
|
-
`external prepare` emits current-candidate packets, the current challenge, Source-bound actor/key identity, signable canonical payload digest, exact obligation Expected/method/capabilities and evidence requirements while explicitly denying acceptance. `external submit` validates a strict `long-task-external-confirmation-record-v2` in fail-closed order against Active Authority/freshness, whole candidate, challenge, actor, Ed25519 signature, exact obligation/result-kind sets, immutable artifact snapshots and objective comparators before atomic storage. `external status` re-evaluates identity/signature/challenge/artifact integrity; `external rotate` changes the challenge; `external revoke` removes the named record and rotates its challenge. These mutations share the Active Authority lock with finalization. Failed/unable rows, declared-only actors and Record v1 remain non-accepting.
|
|
510
|
-
|
|
511
|
-
Programmatic v2 producers can import `parseExternalConfirmationRecordV2`, `externalConfirmationRecordV2Hash` and `externalConfirmationV2SignablePayload` from the package root, sign that canonical payload outside Harness with the actor-held private key and submit the complete record. Harness exposes verification but no private-key reader or v2 signing command/helper. The v1 parser/hash/`signExternalConfirmationRecordV1` exports remain legacy audit compatibility only; their local hash is not authentication and can never fulfill a blocking obligation.
|
|
512
|
-
|
|
513
|
-
Final Gate runs the complete machine set once, then enters one short existing-lock Finalization CAS without rerunning machine Checks. Under that lock it rechecks Authority, candidate/workspace fingerprint, compiled/verifier freshness, external records/challenges/signatures/artifacts/evaluations and exact Finalization Identity. Final Receipt v3 binds `finalization_identity_sha256` and emits only `machine_accepted`, `delivery_accepted`, `blocked_external` or `needs_work`. Stop/close use the same transaction to publish the Receipt and clear only a fresh accepted identity; any covered race remains non-accepted, preserves Authority and cannot leave a fresh accepted Receipt. Historical v3 Receipts without that identity, legacy `machine_accepted_external_pending`, pending rows, failed/unable results and invalid/stale records never close. Final/Stop/close report `acceptance_scope: declared_delivery_authority` and `native_goal_effect: none`; close additionally reports `closed_scope: complete_long_task_authority`.
|
|
94
|
+
Allowed domains are product, technical, design, acceptance and external. This declaration requests local UTF-8 file validation. Arbitrary prose paths, ordinary Markdown links, examples, remote links and future generated outputs are not mandatory existence checks. Validation does not run generators, access the network, establish factual truth or certify product quality.
|
|
514
95
|
|
|
515
|
-
|
|
96
|
+
Use project tests and actual observations appropriate to the change. The short contract asks agents to preserve user requirements, work within authorization, implement and verify, repair failures, maintain changed facts and report material uncertainty. It requires no separate Skill, fixed report or completion Gate.
|
|
516
97
|
|
|
517
|
-
|
|
98
|
+
For CI, add `ty-context validate-context` to your own workflow. Tiny Context does not remove independent project lint, tests or security requirements.
|
|
518
99
|
|
|
519
|
-
|
|
100
|
+
## Upgrade explicitly
|
|
520
101
|
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
## Workflow Route And Long-Task Evidence
|
|
526
|
-
|
|
527
|
-
Workflow selection is not a risk level. The default model-led route remains available at any complexity. Explicitly select Long-Task when stable machine obligations, current-snapshot machine completion authority, cross-session recovery or auditability are required; task duration, file count and complexity never activate it automatically. Long-Task may reduce routine process supervision but does not eliminate user-reserved decisions or External Confirmation and is not necessarily faster or cheaper than default work.
|
|
528
|
-
|
|
529
|
-
Inside an active Long-Task, the existing `risk.requested_level: auto | standard | strict` proof floor remains unchanged. `auto` computes the floor, `standard` requests standard proof and `strict` raises proof on affected public API/schema, persistent data, migration, security/permission, irreversible, full-population or weak-observability critical-path Outcomes; multi-repository delivery remains rejected. Users may raise risk to strict. Explicit `standard` below the computed floor fails. Strict negative, counterfactual, population, security, environment and rollback/recovery proof remains compiler-enforced as applicable. Scope escape returns a `scope_escape` Finding for revision and recompilation in the same Goal.
|
|
530
|
-
|
|
531
|
-
Agent prose, command exit, handwritten state, historical pass and project payload cannot create accepted. Runner kind still selects `playwright_json_v1` or `structured_json_v2`, but decoding is not observation authority. Every machine obligation must compile to pre-run-frozen static JSON exact or Harness-direct process JSON exact; unsupported browser/native/device/layout/pixel/accessibility/motion/protected/tolerance/mask/custom/wrapper proof remains blocking External Confirmation. Project actual/pass/verdict/capability rows are diagnostics and must agree when present. V1 ground, V2 symbolic, non-UI, static and process exact use one Harness evaluator; actual mismatch fails and result identity is recomputed. Every behavioral machine Assertion requires package-observed same-Check sensitivity with explicit affected/preserved/fan-out sets, equal obligation universes and host-derived liveness. Findings and Explain trace Source → Claim/applicability → compiled observer authority → package Actual → Harness comparison → current Final Gate.
|
|
532
|
-
|
|
533
|
-
## Upgrade And Compatibility
|
|
534
|
-
|
|
535
|
-
```powershell
|
|
536
|
-
ty-context upgrade
|
|
537
|
-
ty-context sync
|
|
102
|
+
```sh
|
|
103
|
+
npx --no-install ty-context upgrade --check
|
|
104
|
+
# Stop relevant old host sessions before acknowledging this precondition:
|
|
105
|
+
npx --no-install ty-context upgrade --sessions-stopped
|
|
538
106
|
```
|
|
539
107
|
|
|
540
|
-
|
|
108
|
+
Automatic retirement supports the pinned schema-4/package-0.11.0 baseline. It preserves the exact normalized default body path set, backs up planned changes, removes exact owned old assets, preserves mixed user content and only retires the current worktree's binding. Backups and pending recovery live under `tmp/ty-context`, outside host-discovered Skills and default Context. Interrupted upgrades resume through the same explicit command; ordinary sync refuses unfinished publication.
|
|
541
109
|
|
|
542
|
-
|
|
110
|
+
A pending old Context transaction blocks retirement before schema or manifest changes. Use the installed compatible **0.11.0** recovery tool; never substitute `@latest`. If its old binding conflicts, use its legitimate abandon/end path first, without requiring Final Gate or deleting locks. Unreadable journals are errors, not absence.
|
|
543
111
|
|
|
544
|
-
|
|
112
|
+
Software migration and project-information review are reported separately. Modified executable guidance blocks replacement. Historical records remain untouched. Current declared symbolic/compiler-dependent resources and recognized retired build commands need extraction or replacement with provenance before switching. Ordinary Markdown and direct JSON/YAML values remain readable; there is no general legacy compiler or structured-ID adapter. Review current task inputs, selected resources and other build entrypoints that the bounded inspection does not interpret. Do not regenerate a design to replace a lost adopted decision.
|
|
545
113
|
|
|
546
|
-
|
|
114
|
+
Long-Task, DSA/DRA, role workflows, design preflight/acceptance, observer proofs, routing rankings and modularity gates are retired. Old command names fail with a retirement diagnostic; they do not return a weaker success. New schema guards cannot repair old binaries retroactively: some old commands may change profile configuration before rejecting schema 5. Baseline old bare init can also select a different root before checking schema and reinstall old startup assets. Fixed-root old sync/init reject schema 5; this does not protect against root reselection. Such mixed installations/configuration are unsupported and rejected by new writes. Start a fresh host session after migration so previously loaded instructions do not continue to apply.
|
|
547
115
|
|
|
548
|
-
|
|
116
|
+
## Export and maintain the package
|
|
549
117
|
|
|
550
|
-
|
|
118
|
+
`ty-context export-context --help` lists temporary full/code/source-pack exports and their scope. Export output is not Context or product evidence; review redaction warnings before sharing.
|
|
551
119
|
|
|
552
|
-
|
|
120
|
+
Source-pack updates only its recorded, unchanged generated files. It preserves unlisted user files and unowned historical directories, and refuses to overwrite edited generated output. Export sets are not atomic multi-file transactions.
|
|
553
121
|
|
|
554
|
-
|
|
122
|
+
In this source repository:
|
|
555
123
|
|
|
556
|
-
```
|
|
557
|
-
npm
|
|
558
|
-
npm run typecheck --workspace project-tiny-context-harness
|
|
124
|
+
```sh
|
|
125
|
+
npm ci
|
|
559
126
|
npm run build --workspace project-tiny-context-harness
|
|
560
|
-
npm run test:affected:list
|
|
561
|
-
npm run test:affected
|
|
562
|
-
npm run verify:active-source-portability
|
|
563
|
-
npm run test:long-task:trust
|
|
564
|
-
npm run test:long-task-performance --workspace project-tiny-context-harness
|
|
565
127
|
npm test
|
|
566
|
-
|
|
567
|
-
npm run preview:pack
|
|
568
|
-
npm run launch:check
|
|
128
|
+
node packages/ty-context/dist/cli.js package sync-source
|
|
569
129
|
node packages/ty-context/dist/cli.js package check-source
|
|
570
|
-
make validate-harness
|
|
571
130
|
```
|
|
572
131
|
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
`verify:active-source-portability` scans only declared current owners: managed guidance/assets, public executable docs, durable Context, source mappings and runtime-resolved Source. Add a current delivery file with `-- --active-source <repository-relative-file>`. It rejects real machine user-home locators without enumerating all Git files, rewriting frozen Contracts/Receipts/fixtures or deleting anything.
|
|
576
|
-
|
|
577
|
-
The modularity gate is the capability-aware `ty-context check-modularity`. Scoped waivers require `owner`, `introduced_at`, `reason`, `tracking_issue` and `expiry_condition`; unsupported metrics never appear as passing zeroes.
|
|
578
|
-
|
|
579
|
-
The synchronized local preview tarball is named `project-tiny-context-harness-0.11.0.tgz`.
|
|
580
|
-
|
|
581
|
-
## Community And Further Reading
|
|
582
|
-
|
|
583
|
-
Feedback from real repositories is especially useful. Open an [adoption report](https://github.com/Seven128/project-tiny-context-harness/issues/new?template=adoption_report.yml) with the recovery problem and what remained unclear.
|
|
584
|
-
|
|
585
|
-
Early feedback and starter issues:
|
|
586
|
-
|
|
587
|
-
- Report a [Context recovery gap](https://github.com/Seven128/project-tiny-context-harness/issues/new?template=context_gap.yml) through `context_gap.yml`.
|
|
588
|
-
- Share results in the pinned [adoption reports issue](https://github.com/Seven128/project-tiny-context-harness/issues/4).
|
|
589
|
-
- Pick a starter issue: [demo](https://github.com/Seven128/project-tiny-context-harness/issues/5), [sample walkthrough](https://github.com/Seven128/project-tiny-context-harness/issues/6), [benchmark rerun](https://github.com/Seven128/project-tiny-context-harness/issues/7) or [launch FAQ](https://github.com/Seven128/project-tiny-context-harness/issues/8).
|
|
590
|
-
- Keep claims narrow: recovery evidence is useful; benchmark speedup claims need fresh Minimal Context benchmark runs.
|
|
591
|
-
|
|
592
|
-
Read the [roadmap](https://github.com/Seven128/project-tiny-context-harness/blob/main/docs/roadmap.md), [Benchmarking And Evidence](https://github.com/Seven128/project-tiny-context-harness/blob/main/docs/benchmarking.md), [comparison guide](https://github.com/Seven128/project-tiny-context-harness/blob/main/docs/comparison.md), [adoption guide](https://github.com/Seven128/project-tiny-context-harness/blob/main/docs/adopt-existing-repo.md), [agent surface recipes](https://github.com/Seven128/project-tiny-context-harness/blob/main/docs/agent-surface-recipes.md) and [FAQ](https://github.com/Seven128/project-tiny-context-harness/blob/main/docs/faq.md).
|
|
593
|
-
|
|
594
|
-
For concrete examples, see the [fresh-agent recovery walkthrough](https://github.com/Seven128/project-tiny-context-harness/blob/main/docs/examples/fresh-agent-recovery.md), [Minimal Context sample guide](https://github.com/Seven128/project-tiny-context-harness/blob/main/docs/examples/minimal-context-sample.md) and [browseable sample repository](https://github.com/Seven128/project-tiny-context-harness/tree/main/examples/minimal-context-sample). The longer argument is [Fresh coding-agent sessions need project memory, not more ceremony](https://github.com/Seven128/project-tiny-context-harness/blob/main/docs/articles/fresh-agent-project-memory.md).
|
|
595
|
-
|
|
596
|
-
## Honest Limits
|
|
597
|
-
|
|
598
|
-
Tiny Context does not create or restore a platform Goal, prove that every requirement was declared, guarantee bounded keyword search finds every synonym or indirect dependency, switch the host-selected model, provide a parallel mutation/delegation runtime, observe platform tokens/model calls, or own Git/PR/CI/deployment/human product confirmation. The default Workflow provides model-led, evidence-bounded conformance, not exact declared-scope zero-drift proof or machine completion authority; unverified and externally pending scope must remain explicit. When the package-managed Skill's bounded predicate holds, the platform Goal must make actual host calls for multiple exact `long_task_implementation` workers; Harness never allocates, persists or treats that dispatch as evidence. The installed package verifier and Git metadata are trusted; external platforms own network isolation, and deliberate same-user/admin tampering remains outside the local threat model.
|
|
599
|
-
|
|
600
|
-
## License
|
|
601
|
-
|
|
602
|
-
MIT
|
|
132
|
+
Canonical guidance and Context rules live in `.codex/ty-context-managed`; source mappings derive package assets and README. Regression includes Context/file safety, actual pinned old-version recovery and tarball consumers. Tests prove those behaviors and distributed text, not model compliance or an unmeasured efficiency gain.
|