project-tiny-context-harness 0.11.0 → 0.12.1
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 +106 -521
- package/assets/agents/AGENTS_CORE.md +12 -87
- package/assets/skills/design-resource/SKILL.md +40 -0
- package/assets/skills/design-resource/agents/openai.yaml +7 -0
- package/assets/skills/design-resource/references/adoption.md +56 -0
- package/assets/skills/design-resource/references/stitch.md +54 -0
- 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 +6 -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
|
@@ -1,90 +1,15 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Tiny Context development contract
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Tiny Context preserves durable project facts and this short development contract. It does not manage tasks or certify product completion.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
- Understand the user's requirements, default Context and relevant owners. Use clear source material directly; clarify real gaps without manufacturing plans, design documents or handoffs.
|
|
6
|
+
- Start with `project_context/global.md` and project-declared defaults. `ty-context context list --default` is optional. Without the CLI, read the manifest directly: default Areas, `read_policy = "default"` nodes and their transitive `default_children`; `default_files` selects files without traversing their children. Pre-schema-5 projects also default to architecture.md. Do not install a CLI over the network merely to read files, or repeat unchanged reads. A failed query is not an empty set: resolve uncertainties material to the current change and report the remainder.
|
|
7
|
+
- Identify relevant owners from the affected implementation and follow their dependencies and current controlling sources, without waiting for a trigger keyword. Reading other workspaces does not authorize editing them. Stay within the user's scope, preserve unrelated changes and respect project business, technical and safety constraints. Distinguish requirements from current implementation; do not rewrite requirements to conceal conflicts.
|
|
8
|
+
- Choose implementation order, tools, decomposition and parallelism as appropriate. Before adding or materially extending a capability, inspect its owners, consumers, state/data responsibility and dependency direction. Reuse suitable capabilities from the project and target platform. Extract a shared unit when consumers must evolve together in the same responsibility, including a shared role already required on first implementation; migrate affected consumers within scope. Avoid speculative abstraction and unification based only on appearance, size or repetition. Complete the required change.
|
|
9
|
+
- Before adopting a new dependency or building substantial custom machinery, consider suitable mature alternatives. Reuse decisions whose conditions still hold; bound investigation to material gaps in target support, behavior, customization, maintenance, license and integration cost. Use a small runtime trial when needed to resolve uncertainty. Suitability, not popularity, decides; justified custom implementation remains valid. Local fixes do not trigger a new selection exercise.
|
|
10
|
+
- UI may be implemented and iterated directly from conversation, references and code; an independent design system or formal handoff is not a prerequisite. Reuse confirmed direction and shared components. For affected UI with adopted resources, follow the owner's current reference and scope, actually view current visual references and inspect relevant prototypes or source and behavior descriptions. Adopted resources are requirements within their declared scope. Implement faithfully in the target runtime, compare actual results under relevant comparable conditions and repair deviations. Resolve and report inaccessible inputs, conflicts or platform limits; continue independent work. Do not silently replace confirmed designs. Ordinary repairs reuse current resources without regeneration or renewed adoption; authorized design changes update affected resources and owners.
|
|
11
|
+
- Choose checks based on requirements, risk and project rules, including changed boundaries, affected consumers and relevant lifecycle/failure behavior. Reuse existing tests, add meaningful regressions when needed and observe actual outputs. Derive expectations from requirements rather than copying implementation. Repair failures and rerun affected checks after relevant input changes; do not repeatedly broaden checks without a new change, failure or specific concern.
|
|
12
|
+
- Update the owning Context only when durable project facts change. Keep project-specific goals, boundaries, confirmed decisions (including adopted/rejected choices), reasons, material reassessment conditions and useful entrypoints; reference exact values rather than duplicating code. Keep current resource references and scope with their owner, resources outside Context, and indices as navigation; repair relevant stale references. Optional cross-session handoff information and temporary investigation records stay task-local, outside durable Context.
|
|
13
|
+
- Report implementation, decisive tradeoffs, actual checks and material unresolved items honestly. Explain unverified scope and necessary human action. Installed instructions, structural validation, design adoption, static previews, historical results, tool success and subagent summaries do not establish current product correctness or agent compliance.
|
|
6
14
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
When foundational machinery, a mature protocol/security boundary, a dependency/shared abstraction or a nearby extension point makes sourcing material, include a risk-triggered `Build / Reuse / Buy` judgment. Record an allowed solution set, prohibited failure modes and required rationale/evidence; do not prescribe one library or abstraction. Reusing an owner, the standard library, an installed dependency, a mature compatible external library, a bounded self-implementation and intentional non-abstraction may all be valid. Enumerate every materially supported member before selection; choosing one never removes another supported member from the allowed set or turns it into a prohibited failure. Judge the task's viable set, not one rejected proposal: when at least one supported allowed choice exists, allow and select one; block only when no supported allowed choice exists, and reserve decision-required for a genuine external choice. Reject duplicate owner-held rules, extension-point bypass, unjustified heavy dependencies, plainly incomplete security-sensitive reinvention, license/platform incompatibility, forced abstraction over merely similar semantics and a second source of truth. This adds no mandatory open-source/DRY rule, quality score, stage or Gate.
|
|
10
|
-
|
|
11
|
-
Implementation order, method and feedback cadence remain Goal-owned. Reuse the owning service/facade/adapter and one source of truth, keep the change minimal but complete, preserve explicit failure and resource-lifecycle semantics, and add abstraction only for a stable concept or evidenced change axis. These are guardrails, not a phase, per-edit mandate or proof that code is globally clean.
|
|
12
|
-
|
|
13
|
-
After implementation and project verification, perform one current-candidate `Engineering Quality Conformance` that includes `Architecture Conformance` and every triggered falsifiable invariant. Default work embeds it in Contract Conformance; an active Long-Task embeds it only in Final Gate through existing Source-backed obligations/constraints/forbidden shortcuts, owner/path/Bindings, executable Checks and independent Assertions when functional behavior could pass separately. Never schedule both carriers, and recheck after any candidate or controlling-input change. Final Gate proves only that declared project-check-bound set, not overall code quality. A performance claim additionally requires a workload, metric, baseline or budget, environment, comparator/tolerance and project-owned measurement; static shape is not runtime proof. New/worsened debt, duplicate truth, wrong dependency direction, owner bypass, silent failure, resource-lifecycle defect, scope escape, unsupported quality claim or forbidden shortcut blocks handoff unless a bounded project-owned exception records owner, rationale, tracking and removal condition. This creates no quality artifact, matrix, second Authority, Contract field/aspect/Claim/risk type, Gate, workflow state or generic analyzer.
|
|
14
|
-
|
|
15
|
-
## Default Workflow Contract
|
|
16
|
-
|
|
17
|
-
Unless a valid Long-Task binding is active or the user explicitly selects Long-Task, this prompt-level protocol applies automatically regardless of duration, complexity or file count. It guides model-led Agent execution but creates no validator result, exact Fact/Obligation ledger, Receipt, persisted phase state or machine-completion authority.
|
|
18
|
-
|
|
19
|
-
1. Read `project_context/global.md`, `project_context/architecture.md`, `project_context/context.toml` and the default area root, then collect graph/trigger candidates.
|
|
20
|
-
2. Before deciding `Context Delta`, run one bounded text search over `project_context/**` using a small high-signal set: explicit area/module names plus relevant API/schema/state/security/verification/deployment terms. Merge matches with manifest candidates, read relevant Context and widen whenever another Area/shared dependency becomes relevant; search supplements rather than replaces semantic judgment.
|
|
21
|
-
3. In a monorepo or otherwise multi-target repository, separate the expandable read scope from the task-local intended workspace(s). An optional sparse `project_context/workspaces/<workspace-id>/**` directory maps each represented Context workspace to one code root through existing manifest `root/context`; workspace-local Areas own semantic responsibilities inside it, cross-workspace Areas stay top-level, and code workspaces without durable Context need no empty mirror. Keep the monorepo default Area small and repository-common; workspace-local Context stays `on-demand` unless genuinely near-universal. This structure/default/read policy is neither a read ACL nor edit authorization. Resolve intended workspaces from explicit user/product/path/repository facts; if materially different siblings remain ambiguous, ask one concise target question before product edits. Enumerate intentional multi-workspace targets and supporting/shared scope.
|
|
22
|
-
4. For every material non-UI product or technical change, understand all explicit user, Context, specification and selected-constraint requirements at risk-proportional depth. Identify affected owners, material conditions, failure boundaries and real acceptance entries; do not let current code redefine Source or turn missing authority into an implementation default. This is task reasoning, not an Expected Fact Universe or proof ledger.
|
|
23
|
-
5. For UI/product-surface work, confirm information/action/feedback ownership and use `context_surface_contract` when durable responsibility is unclear or changes. Root `DESIGN.md` remains the current shared project Design Authority; Context workspace placement does not create independent design systems. For material UI, reconcile affected stable surface/control/target keys as Context-covered, requiring a Context update, task-local, out of scope or decision-required; traverse owning Context and `DESIGN.md`; and open every affected selected `exact-target` or `constraint`. Missing, stale, unreadable or conflicting authority fails closed for the affected claim. Local fixes and explicit non-fidelity prototypes stay lightweight.
|
|
24
|
-
6. Complete `Architecture Deliberation`, including applicable-quality routing or a concrete preservation basis, then decide exactly one `Context Delta: none|required`. Update owning Context before code for durable product ownership, architecture, API/schema/data, state/recovery, dependency, security, product-surface responsibility or repeatable verification/deployment change. Local fixes preserving durable semantics are `none`.
|
|
25
|
-
7. Use the agent/platform internal plan. Keep `Architecture Context Hit`, `Decision Rationale Hit: existing|required|none` and `Modularity Check: none|required|exception` as internal routing questions, not artifacts or extra deltas.
|
|
26
|
-
8. Implement precisely under the Goal-owned quality guardrails and run project-owned verification. When a check fails or exposes a missed requirement, wrong owner, design mismatch, scope escape, Context drift, stale evidence or new debt, localize it to the requirement/owner/module/check, repair it and rerun affected checks. After the last relevant code, configuration, Source or controlling-Context change, rerun every affected check on the current candidate; historical CI, pre-fix results, delegated reports and prose inspection are not current evidence. When the repository exposes a changed-path/target-scope check, run it against the intended/supporting targets and exact task-attributable paths; otherwise review the final diff against durable owners during Conformance. Do not attribute unrelated pre-existing dirty paths to the task without provenance. Perform evidence-bounded Contract Conformance including `Engineering Quality Conformance`, its `Architecture Conformance` subset and any applicable source/design checks below, then run the separate Context drift check. Report `Implemented`, `Verified`, `Unverified`, `Blocked / decision required`, engineering/architecture conformance and Context status; never fold unverified or externally pending scope into a complete claim. For material UI, use the first useful independently runnable production slice as a recommended real-entry feedback point when its expected early-localization value exceeds the run cost; it is not a prerequisite for expanding implementation. Always rerun the affected cold-start journey on the final candidate. Detached routes, specimens and deep links remain supplemental.
|
|
27
|
-
|
|
28
|
-
The default workflow never requires a plan artifact, target declaration, matrix, verdict, evidence ledger or result document. Optional scratch is not Context or proof. Bounded Context search creates no index, cache, state or second authority; it also creates no read isolation. Missing, stale, unreadable or conflicting controlling Source, a materially ambiguous target, an unsupported observation boundary or a failed/stale check blocks an unqualified handoff for the affected scope: widen reading or verification only as discovered dependencies and risk require, then report any remaining qualification. Do not make the full Context graph the default or add a required Context directory for every package-manager workspace, workspace/applicability schema, automatic topology scan, migration, target registry, generic path/import/runtime scanner or duplicate Long-Task scope classifier.
|
|
29
|
-
|
|
30
|
-
## Non-UI Source And Assurance Boundary
|
|
31
|
-
|
|
32
|
-
Both routes preserve Source authority: explicit product, business, API, data, state, failure, security, privacy, compatibility, performance, operational and architecture requirements cannot be silently omitted or redefined from current code. Genuine user/product/legal/security/commercial/safety/external choices remain decision-required. Default work identifies material requirements, conditions, owners and acceptance boundaries at risk-proportional depth, implements them through their real owners, uses attributable current-candidate project checks and reports anything not established. It does not maintain stable Fact/Obligation identities, exact set equality, a universal condition expansion, frozen Oracle/environment rows or a complete result ledger.
|
|
33
|
-
|
|
34
|
-
An active Long-Task owns the exact non-UI semantic carrier instead. Its package-managed Skill and progressive references preserve the complete Source inventory/Census, standard plus custom semantic families, atomic Fact and condition identities, Fact×required-method obligations, comparison authority, current typed results and sole Final-Gate equality. Never run a nested default semantic closure. Durable meaning still belongs in its existing owning Context; Source remains task authority, code remains implementation truth and Contract stores bindings rather than copied values. Neither route can discover unexpressed intent or prove an arbitrary Oracle semantically sound.
|
|
35
|
-
|
|
36
|
-
Every machine-closing Long-Task Claim or Fact×method obligation must compile to a package-admitted current-Actual channel. The first bounded slice is plain exact JSON only: either a static implementation/configuration carrier that existed in the pre-run snapshot and is byte/identity unchanged after the runner, or a `process` product root directly spawned and observed by Harness through one temporary `ty-context-product-observation-v1` envelope. Harness owns comparison/result identity/verdict and process-runtime derivation. Custom/named project Oracles, wrappers, project actual/pass/verdict/runtime/interaction/state rows, historical sessions, browser/native/device/layout/pixel/accessibility/motion, protected values, tolerance/mask and custom locators cannot machine-close the obligation and require blocking External Confirmation. A machine Counterfactual without admitted baseline/mutated actual fails; static structure never proves runtime reachability. Public project results remain v3, and this compiled projection adds no Contract Authority, Gate, state or Observer registry.
|
|
37
|
-
|
|
38
|
-
## Selected-Design Conformance Obligation
|
|
39
|
-
|
|
40
|
-
This obligation activates only for a selected implementation handoff. Run `ty-context design-resource preflight <handoff.md>` before UI Authority Closure. A formal Web/App target needs one completely acquired machine-readable canonical entry, its exact dependency closure and one frozen-Inspector observable-Fact manifest. Authoring derives the complete scoped `subject × target × condition × variation × atomic property` Expected Fact Universe before generation; complete Census, axis/combination/property expansion, explicit N/A/exclusions and non-sampling/non-truncation must prove `Expected Fact Universe = Canonical Resource Facts = Handoff Indexed Facts`. Product Control and eight-dimension roll-ups are not the Fact ceiling. Preserve exact located values and design-system lineage in canonical resources, every property-required Fact × method obligation, comparator/tolerance/mask, Oracle/environment and sensitive-observation policy; an exact target also needs full-target layout and pixel Facts for every condition. Deliberately partial input remains a constraint or blocking unresolved. Incomplete acquisition, aggregate labels, unreadable Census/locators, missing/extra Fact Cells or proofs, unresolved conflicts/blockers, unsupported evidence or stale digests fail closed. Preflight proves input completeness/integrity relative to the named Inspector/Oracle TCB, never production conformance.
|
|
41
|
-
|
|
42
|
-
UI symbolic V2 is explicit opt-in; V1 remains the default. A V2 target must preserve the complete extensional `subject/relation × target × reachable condition/variation × applicable atomic property × population/quantifier` denotation, with constant located Rule values, mutually exclusive exhaustive regions and distinct Fact Rule, proof-obligation and set-valued certificate identities. Applicability may retain exact physical remainder partitions or use package-owned subject property profiles plus frozen Inspector custom-property closure and explicit unique instance exceptions; every logical subject-property point still has exactly one disposition. An omitted axis requires 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. One Contract may mix V1 and V2 targets; bind V1 to exact Fact results and V2 to exact Rule-method-region plus freshly recomputed certificate results in the existing sole Final Gate. V1 admission uses stat/bounded-prefix capacity checks and fails rather than truncating or silently switching. 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.
|
|
43
|
-
|
|
44
|
-
Every non-interference proof needs a digest-identified frozen executable Oracle with the exact `symbolic_noninterference.<side>.<method>` capability. Source proof uses one canonical package-owned restricted Source IR in the complete current Inspector inputs; the package binds its current bytes to target/certificate/Rule scope and derives the DAG, predicate or complete finite-domain evaluation itself. Submitted graph/predicate/evaluation/pass fields and the immutable artifact are cache/bindings only: preflight requires current recomputation, artifact bytes and proof cache to agree, while excluding the artifact from semantic inputs. Executable/CSS/implicit-DOM/template/dynamic/reflected/computed/unfrozen/external Source blocks. Production remains limited to the package-parsed static HTML plus inert JSON subset. Both sides bind implementation closure/version/capability, environment, exact current inputs, side snapshot, scopes, omitted axes, method result, artifact and witness; their proof digests bind the existing current Final-Gate certificate result. Extraction outside admitted representations remains an explicit TCB boundary.
|
|
45
|
-
|
|
46
|
-
Every adopted target has exactly one canonical record: `DESIGN.md` for project/system/component-family scope or the owning Screen Contract for one-screen/interaction scope. It owns interpretation, selection basis, immutable locator/digest, conditions and editable-upstream update route; other layers keep only a stable key, owner/anchor and local applicability. Use the on-demand UI/UX Skill for Design Source Projection. Never overwrite an adopted baseline; create a new immutable version and update its canonical record.
|
|
47
|
-
|
|
48
|
-
Externally authored resources remain ordinary Source. Authoring Skills do not change Context, code or Contract and do not claim acceptance.
|
|
49
|
-
|
|
50
|
-
For every external product, architecture, technical or acceptance constraint, internally classify it as Context-covered, requiring a Context update, task-local, out of scope or decision-required. Conformance confirms it reached the correct owner and verification.
|
|
51
|
-
|
|
52
|
-
Default work opens every affected selected `exact-target` or `constraint` and its declared conditions, routes it to the real production owner and cold-start journey, and runs applicable project-native visual, interaction, accessibility or runtime checks on the final candidate. It reports conditions those checks did not establish and does not claim that preflight input integrity proves production conformance. It does not rebuild the complete Fact Cell universe or retain per-Fact-by-method result rows. An active Long-Task instead projects the exact obligation into existing Source/Claims/Assertions/bindings, `fact_expectations`, `fact_results` and Final Gate and never also runs a default closure.
|
|
53
|
-
|
|
54
|
-
## Long-Task Routing
|
|
55
|
-
|
|
56
|
-
Route by required assurance, not task size. Select Long-Task when stable machine obligations, current-snapshot machine completion authority, cross-compaction/session recovery or auditability are explicitly required; its extra authoring and verification cost is not a promise of lower time or token use. A small consequential rule may use it and a complex cross-module change may remain default. Do not infer long-task mode from duration, complexity, file count or agent preference.
|
|
57
|
-
|
|
58
|
-
1. A valid Git common-dir active record plus matching worktree Git-config marker resumes with `ty-context long-task resume <workdir>` in the currently selected host execution Goal; directly load and follow the installed package-managed `long-task-workflow` Skill. This recovery path does not depend on implicit invocation.
|
|
59
|
-
2. An explicit selection of the logical `long-task-workflow` Skill authors or resumes exactly one complete `long-task-delivery-v2` Contract. In Codex, select it with `$long-task-workflow` or through `/skills`.
|
|
60
|
-
3. Otherwise remain on the default Workflow Contract.
|
|
61
|
-
|
|
62
|
-
“One native Goal” is selected and owned by the host/user and means the currently selected host execution Goal for this delivery and workspace. Harness does not create, persist or reconnect a Goal identifier. Compaction may continue inside the Goal; a later physical Goal/session restores semantic workflow state through `resume` rather than reconnecting a prior Turn.
|
|
63
|
-
|
|
64
|
-
The loaded Skill and its progressive references own Source/Contract authoring, Control/applicability closure, selected-design projection, evidence design, protected revision, rolling repair and lifecycle commands. Do not duplicate those low-frequency rules in this startup router. During Draft/proof/lifecycle work, read the applicable Skill reference and use `ty-context long-task help` for CLI syntax.
|
|
65
|
-
|
|
66
|
-
After the first Authority Lock, `execution_model_checkpoint.required: true` is an unconditional terminal-turn boundary. Stop before product implementation, edits, builds or tests even when an earlier message stated a model strategy. Tell a Chinese-speaking user exactly `处理好模型更换后,请仅回复:模型切换卡点解除,继续`; use `After handling the model change, reply exactly: model checkpoint cleared, continue` in English. A generic continuation does not satisfy the package-managed prompt protocol. Harness cannot observe the next host message or verify the host model change; later revisions do not repeat the pause and no acknowledgement, model route or checkpoint state is recorded.
|
|
67
|
-
|
|
68
|
-
Long-Task Final Gate is the sole `Engineering Quality Conformance`, `Architecture Conformance` and selected-design closure owner. It source-recompiles and reruns every declared Check on one current snapshot, and revalidates every exact external-fulfillment record against the same candidate and Authority; targeted Progress, prose, historical tests, Receipts, compiled cache, external records by themselves or Agent judgment never create acceptance. It proves the declared falsifiable project-check-bound invariants, not overall code quality. `AcceptedDeliveryTerminal` is exactly a fresh `machine_accepted` when no blocking external fulfillment is required or a fresh `delivery_accepted` when every blocking external obligation is also freshly and exactly fulfilled. `blocked_external`, `needs_work` and legacy `machine_accepted_external_pending` never complete the platform-native Goal.
|
|
69
|
-
|
|
70
|
-
The `F = Implementation Freedom Boundary` keeps implementation order, methods, local feedback cadence, concrete packet decomposition and dynamic worker count Goal-owned within Source/Contract, architecture, safety, forbidden-shortcut and external-action boundaries. After the checkpoint, follow the loaded Skill's packet-first positive-default policy: a qualifying packet set requires actual calls for multiple exact fixed-profile workers; zero-start and partial-delegation outcomes use its admitted reason and integration rules. Harness creates no development method Gate, per-edit mandate, fixed agent allocation, scheduler/delegation state or proof from delegated reports; all proof-bearing output converges into the selected verification workspace.
|
|
71
|
-
|
|
72
|
-
Long-Task Anti-Degradation Assurance requires mechanism changes to preserve or strengthen coverage, false-negative resistance, fail-closed Authority and final-snapshot proof before total-cost ROI matters. Admission targets evidenced high ROI and high efficiency with a significant stable margin, not a global/local optimum; the complete formal cost theorem is unchanged and `observed_lifecycle_*` facts have no admission meaning. 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 significant additional-benefit evidence appears. Replacing the controlling purpose requires an explicit project-owner design-purpose decision plus replacement proof.
|
|
73
|
-
|
|
74
|
-
Tiny Context does not create or restore platform Goals, invoke models, spawn agents, call an App Server, create branches/worktrees, merge, push, open PRs, deploy or manage process trees. `ty-context enable long-task` installs the sole Long-Task Workflow Skill and package-owned lifecycle Hooks; an exact `.codex` root may also receive the optional fixed Codex worker profile. Retired standalone authoring pointers are not installed. `design-system-authoring` is explicit-only.
|
|
75
|
-
|
|
76
|
-
## Durable Facts And Generated Surfaces
|
|
77
|
-
|
|
78
|
-
- Context is intended ownership/boundary/contract truth; code is current implementation truth. Treat disagreement as drift, missing work or stale Context.
|
|
79
|
-
- Long-term facts live only in `project_context/**` or `DESIGN.md`. Selected targets remain Context-reachable Source/verifier inputs; generated screenshots/diffs/logs/raw evidence/runtime state/Receipts do not become Context.
|
|
80
|
-
- Managed `AGENTS.md` blocks, `<harnessRoot>/ty-context-managed/**` and package-managed Skills are generated and sync-overwritten.
|
|
81
|
-
- Explicit upgrades use `context_harness_upgrade`; package sync never imports retired orchestration or development-period authority state.
|
|
82
|
-
|
|
83
|
-
## Verification
|
|
84
|
-
|
|
85
|
-
- `make validate-context`: Context recoverability.
|
|
86
|
-
- `make validate-harness`: Context plus touched-source modularity.
|
|
87
|
-
- `ty-context doctor`: installation health plus advisory default/all-Context diagnostics and Design Authority status.
|
|
88
|
-
- `node packages/ty-context/dist/cli.js package check-source`: managed-source/package parity in this source workspace.
|
|
89
|
-
|
|
90
|
-
Every handoff reports exactly one of `Context: updated ...` or `Context: no durable fact change`. Never claim tests, deployment or acceptance from Context alone.
|
|
15
|
+
This contract applies to authorized implementation, including code, configuration, tests, documents and resources. Reading, discussion and audit do not themselves authorize edits. User scope, host safety requirements and more specific valid project constraints take precedence. No role workflow, mandatory intermediate artifact, model checkpoint or machine acceptance Gate is required.
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: design-resource
|
|
3
|
+
description: Create and revise design resources with Stitch, preserve editable sources, and package or adopt scoped project references. Use for resource work; implementing or repairing an already adopted design does not require invoking this skill.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Design resources
|
|
7
|
+
|
|
8
|
+
Deliver resources that people and agents can inspect and continue editing. Use Stitch for visual generation and design revisions, following the user's design direction and project constraints. This capability selects the tool; project Context supplies design rules, style and business meaning. It adds no fixed target platform or task workflow.
|
|
9
|
+
|
|
10
|
+
## Project extensions
|
|
11
|
+
|
|
12
|
+
This capability can be used directly or composed into an existing project resource Skill. Apply relevant project-declared target-platform, reference, export and integration methods alongside it; reuse an already loaded extension without creating a circular read. Keep Stitch as the generator and visual editor; a wrapper must not silently substitute another provider. A project Skill may reference this installed entry and then supply its own methods instead of copying the generic instructions. Resolve this entry's relative references from its own directory. This is instruction composition, not an automatic extension loader.
|
|
13
|
+
|
|
14
|
+
Project Context owns confirmed style, design principles, business and interaction rules, scope and decisions with reasons. Tool operations, design methods and repeatable procedures belong in the project's Skill. Keep exact tokens, component definitions and resource entities in their actual source files or design tools, with Context pointing to those owners. Project-specific constraints refine this general capability; handle a material conflict explicitly under the user's requirements rather than silently replacing either source.
|
|
15
|
+
|
|
16
|
+
## Create or revise resources
|
|
17
|
+
|
|
18
|
+
Read the user input, default Context, affected owners, existing design rules and necessary implementation. Separate constraints to preserve, confirmed choices, requested changes and open exploration. Follow owners from the affected page, component or capability even when the request does not mention design resources. Existing project organization is sufficient; no new design document is a prerequisite.
|
|
19
|
+
|
|
20
|
+
Continue a selected direction. Choose the number of alternatives, iterations and covered pages or states from the task; a selection is not necessarily formal adoption. Do not manufacture another revision when none is requested.
|
|
21
|
+
|
|
22
|
+
For generation or visual revision, read [Stitch MCP operations](references/stitch.md). Discover and use the official Stitch MCP first, verifying current tool schemas and project/screen identifiers. When a required operation is unavailable there, use the authenticated official Stitch website if available. If neither route works, report the specific missing capability and preserve a usable input bundle; do not silently switch generators. Existing-resource inspection, packaging and adoption can continue without making a generation connection a prerequisite.
|
|
23
|
+
|
|
24
|
+
Verify actual editing and export support. Preserve available editable sources, stable project links and supported exports. Other tools may inspect, package or perform a requested downstream conversion; they do not replace Stitch generation or disguise later repairs as Stitch originals. A screenshot, HTML prototype and native design nodes have different capabilities; label them accurately and verify any requested conversion by opening its result.
|
|
25
|
+
|
|
26
|
+
Keep key inputs, reference origins and intended use, original outputs and necessary before/after versions with the resource or task material. Distinguish generated originals from later human or agent revisions. Inspect the current rendered result; an older preview does not represent a changed source. Keep prompts and detailed run records outside durable Context, with model, usage or hashes only when the task needs them.
|
|
27
|
+
|
|
28
|
+
## Make the result usable
|
|
29
|
+
|
|
30
|
+
Check what the task requires: files and links open, available sources can be edited, exports render, and the delivered content covers the stated scope. Actually view relevant visual outputs; inspect adopted motion or interaction through an available prototype, or its source and behavior notes as appropriate. Report inaccessible inputs and missing assets, fonts, permissions, states or runnable prototypes with their affected scope. Continue independent work when possible. Do not invent an editable source for a screenshot-only result or claim an unperformed check.
|
|
31
|
+
|
|
32
|
+
Use the project's existing resource location; `docs/design-resources/` is an optional default. Keep resource entities outside Context. A useful entry links the available source, current visual references, assets and their origins, necessary behavior notes, coverage, limitations and comparison conditions. Create only the directories and records needed for that handover; an external design file can remain a stable link, with obtainable local exports when useful for continued access.
|
|
33
|
+
|
|
34
|
+
Record comparison conditions that materially affect the result, such as viewport, fonts, data state, theme, safe areas and dynamic state. Identify which illustrative data, backgrounds, system chrome or decorative simulations are outside the implementation scope. Project adaptation rules determine responsive behavior; do not assume that different screens should be scaled into one reference image.
|
|
35
|
+
|
|
36
|
+
## Adopt within the authorized scope
|
|
37
|
+
|
|
38
|
+
For adoption or changes to current resource references, read [adoption and Context ownership](references/adoption.md). Preserve the distinction between a candidate, a preferred direction and an adopted requirement. Existing explicit authorization is sufficient to apply adoption; clarify only unresolved decisions or scope that matter to the change.
|
|
39
|
+
|
|
40
|
+
Hand over a current entry that lets development find the relevant materials without replaying exploration history. Implementers follow the project's startup contract and affected owners; they do not need to run this generation skill again for ordinary repairs. Resource adoption and structural checks establish neither aesthetic approval nor verified production implementation.
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
# Adoption and Context ownership
|
|
2
|
+
|
|
3
|
+
Use the existing owner and manifest mechanisms. Adoption changes the project's implementation requirements only within its confirmed scope; it is not a new registry, approval workflow or task state machine.
|
|
4
|
+
|
|
5
|
+
## Current basis and scope
|
|
6
|
+
|
|
7
|
+
A candidate is an exploration. A preferred direction guides further work. An adopted resource is a current requirement within its declared scope. A newer file, generation success or attractive preview cannot make that decision. Use the user's existing authorization; do not ask again for an already approved adoption. If adoption is undecided, retain the current basis and report the candidate without silently changing requirements.
|
|
8
|
+
|
|
9
|
+
The affected Context owner keeps the current entry, object and applicable platform, component or region, state and theme, as needed to distinguish it from other requirements. One scope has one current basis; an entry may map several nonconflicting scopes to different resources. Partial adoption replaces only the affected scope and preserves the remaining valid references. Shared component resources belong to the shared owner; page owners link there instead of repeating its rules.
|
|
10
|
+
|
|
11
|
+
Resolve affected authority conflicts as part of authorized adoption. Business meaning, shared design rules, accessibility and platform constraints retain their respective owners. Update superseded decisions and stale navigation within scope; neither an image nor an old rule silently overrides the others. Distinguish an approved requirement from an implementation that has not yet caught up. If the decision needed to resolve a conflict is not authorized or clear, explain that conflict and preserve the unresolved requirement rather than fabricating agreement.
|
|
12
|
+
|
|
13
|
+
## Resource location and entry
|
|
14
|
+
|
|
15
|
+
Use an existing equivalent layout when present. This is an example, not required scaffolding:
|
|
16
|
+
|
|
17
|
+
```text
|
|
18
|
+
project_context/areas/<area>/<owner>.md
|
|
19
|
+
docs/design-resources/<surface>/<component>/
|
|
20
|
+
ADOPTED.md # Current entry mapping resources to scopes
|
|
21
|
+
adopted/<resource>/
|
|
22
|
+
README.md # Opening, coverage, behavior, comparison conditions
|
|
23
|
+
source/ # Available editable sources or prototype
|
|
24
|
+
reference/ # Current visual or motion references
|
|
25
|
+
assets/ # Necessary assets and origins
|
|
26
|
+
candidates/<run>/ # Exploration and revision material when needed
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
The names, folders and local-file layout are optional. Stable external project links are valid resources; preserve available exports when needed to reduce access or remote-change risk. Do not imply a local export is editable or that it matches the current remote version without checking.
|
|
30
|
+
|
|
31
|
+
Context holds durable adoption references, scope, confirmed decisions, reasons and authority boundaries. Source files, images, videos, asset lists, prompts, generation history and comparison evidence stay with resources or task material. Task progress and implementation migration notes stay task-local. Global Context needs only useful brief navigation; resource directories do not become default Context because an owner links to them.
|
|
32
|
+
|
|
33
|
+
## Reuse the existing source declaration
|
|
34
|
+
|
|
35
|
+
An existing component or feature owner may include this declaration and prose, adapted to the project's actual scope:
|
|
36
|
+
|
|
37
|
+
```markdown
|
|
38
|
+
<!-- ty-context-controlling-source domain="design" path="docs/design-resources/web/results/ADOPTED.md" -->
|
|
39
|
+
|
|
40
|
+
The current result-list composition and assets are requirements for desktop,
|
|
41
|
+
light theme and populated results, through the entry above. This owner retains
|
|
42
|
+
business and state meaning; shared visual rules belong to the existing shared
|
|
43
|
+
design owner. Other regions, themes and states retain their current requirements.
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
The path is repository-relative and names a local UTF-8 entry, not an image or design binary. Register the owner only as needed using the existing manifest. Declare a shared entry once in its owning Context; other owners link that owner, since duplicate declarations of the same target are diagnosed even within the same domain. Ordinary historical or candidate links are not controlling declarations. A required local text dependency can be explicitly declared from Context; links or declarations inside a resource entry outside Context are not recursively validated. Media files and remote resources require the appropriate explicit checks when the task needs them.
|
|
47
|
+
|
|
48
|
+
Development follows defaults and affected owners to the current entry, then reads relevant sources and behavior notes and actually views the current visuals. Scope does not depend on the user saying a trigger keyword. Missing current inputs are reported as specific missing constraints, never reinterpreted as an unconstrained design. Access limitations can leave a portion unverified while independent work continues.
|
|
49
|
+
|
|
50
|
+
## Implementation and evidence boundary
|
|
51
|
+
|
|
52
|
+
Within the adopted scope, implement faithfully in the target runtime and compare the actual UI and relevant behavior under the entry's material comparison conditions. Check owned layout, typography, colors, icons, assets and interaction as relevant. Report and resolve platform limitations and conflicts. Ordinary fixes follow existing adopted resources; authorized design changes update resources and their owners. Never revise design requirements just to make current code pass a comparison.
|
|
53
|
+
|
|
54
|
+
`validate-context` checks declared local paths, canonical identities, safety, UTF-8 readability and supported ownership conflicts. It does not recursively load images or prototypes, check remote access, run design tools, infer natural-language scope collisions or establish resource-bundle completeness. Overlapping design scopes need review; existing duplicate/domain diagnostics concern declarations of the same target, not semantic design agreement.
|
|
55
|
+
|
|
56
|
+
Neither these files nor a successful check prove user approval, agent viewing, a preview's correspondence to current code, aesthetic quality, working interaction or production completion. Report the actual resource and implementation checks separately. Do not add a design preflight, fixed handoff document, hash gate or completion certificate.
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# Stitch MCP operations
|
|
2
|
+
|
|
3
|
+
Use this reference when generating or visually revising design resources. Stitch is the selected provider: prefer its official MCP connection, with its authenticated official website as a fallback for a needed operation. Keep project style, business and interaction requirements in their existing Context owners. Reading or adopting existing resources does not require a new Stitch submission.
|
|
4
|
+
|
|
5
|
+
## Connect and discover
|
|
6
|
+
|
|
7
|
+
Discover the host's available Stitch tools and read their descriptions and input schemas before calling them. Tool prefixes vary by host; the operation names below are discovery targets, not a promise that a particular prefixed function exists. If the host offers deferred tool discovery, use it before concluding that the connection is absent. With an existing MCP client, use its normal initialization and `tools/list`; do not build a new adapter or install another agent CLI just for this capability.
|
|
8
|
+
|
|
9
|
+
The endpoint is `https://stitch.googleapis.com/mcp` over Streamable HTTP. The official extension supports a Stitch API key through `X-Goog-Api-Key`, or Google credentials with a quota project. Reuse an authorized connection and the host's supported secret storage; do not copy keys, tokens or authentication headers into prompts, resource records, code or terminal output. `agents/openai.yaml` provides a dependency hint for supporting hosts; copying this Skill does not authenticate a connection or modify host configuration. See [API-key connection](https://github.com/gemini-cli-extensions/stitch/blob/e22b3aac9a43bce2d740c5172844e9a2eebba37f/gemini-extension-apikey.json), [Google-credentials connection](https://github.com/gemini-cli-extensions/stitch/blob/e22b3aac9a43bce2d740c5172844e9a2eebba37f/gemini-extension-adc.json) and [current setup](https://stitch.withgoogle.com/docs/mcp/setup).
|
|
10
|
+
|
|
11
|
+
Verify the needed connection through a relevant read, such as the known project or its screens, before submitting generation. A listed tool is not evidence of account access. If connection setup is needed, follow the current official instructions and task authorization. If a missing login or permission cannot be resolved, explain the exact prerequisite and continue independent work. Do not silently use a different generator.
|
|
12
|
+
|
|
13
|
+
## Choose the operation and target
|
|
14
|
+
|
|
15
|
+
The Google Labs published SDK manifest provides the following call shapes. It is a reference snapshot, not a guaranteed live service schema; use the connected tool's current schema and supported values. Do not hardcode a model list or create a design system merely because an optional parameter exists. [Published tool manifest](https://github.com/google-labs-code/stitch-sdk/blob/575a9fb6319bd9d1ce8175e4a89e5958e024bbfd/packages/sdk/generated/tools-manifest.json)
|
|
16
|
+
|
|
17
|
+
| Intent | Operation and arguments to verify |
|
|
18
|
+
| --- | --- |
|
|
19
|
+
| Find the intended existing project | `list_projects` with optional `filter`; `get_project` with `name: projects/{projectId}` |
|
|
20
|
+
| Create a project when the task needs one | `create_project` with optional `title`; retain its returned identity |
|
|
21
|
+
| Find and read selected screens | `list_screens` with `projectId`; `get_screen` with `name: projects/{projectId}/screens/{screenId}` |
|
|
22
|
+
| Generate an initial screen | `generate_screen_from_text` with `projectId`, `prompt`; optional `deviceType`, `modelId`, `designSystem` only when appropriate and supported |
|
|
23
|
+
| Revise the chosen screen | `edit_screens` with `projectId`, `selectedScreenIds`, `prompt`; optional supported device/model settings |
|
|
24
|
+
| Explore requested alternatives of selected screens | `generate_variants` with `projectId`, `selectedScreenIds`, `prompt`, `variantOptions` |
|
|
25
|
+
|
|
26
|
+
Use returned identities and the user's selected scope. Names are resource paths; project and selected-screen IDs are bare IDs where the live schema requests them. The published `get_screen` schema also requires deprecated `projectId` and `screenId` alongside `name`; if the live schema does too, supply consistent values for all three. Never guess an ID or use the most recent unrelated screen as the target. Inspect selected screens before editing and retain the before version.
|
|
27
|
+
|
|
28
|
+
For a new design, reuse the intended project or create a task-appropriate one. For continuation, edit the selected screen instead of restarting generation. Variants are an explicit exploration choice: choose any `variantCount`, `creativeRange` and `aspects` from the user's requested scope and live schema, not a fixed comparison ritual. Preserve additional returned candidates without silently adopting or expanding work to them. [Stitch generation and revision examples](https://github.com/google-labs-code/stitch-skills/blob/0337446dadde6f8c94210444e2aa9d546126480f/plugins/stitch-design/skills/generate-design/SKILL.md)
|
|
29
|
+
|
|
30
|
+
## Submit useful inputs
|
|
31
|
+
|
|
32
|
+
Separate content/actions that must remain, confirmed visual direction, requested changes, disliked problems and still-open exploration. Identify a reference's relevant region and purpose; liking one region does not approve the whole candidate. Label agent inferences and technical findings separately from user preferences. Send these focused inputs to Stitch, preserving confirmed design values without inventing a full typography/spacing system as a prerequisite. Do not include unrelated task history or another tool's commands.
|
|
33
|
+
|
|
34
|
+
A path written into a text prompt does not upload an image. When image input is required, inspect the actual upload or attachment capability. Use a supported Stitch upload and its returned asset/screen identity, or the official website's real upload/paste flow. Confirm the correct reference reached the target. Do not add invented local-file or image-data parameters to text-generation/edit tools. If the operation cannot be automated, retain a ready-to-submit prompt, reference files and their intended use; report what was not submitted. [Upstream image-import route](https://github.com/google-labs-code/stitch-skills/blob/0337446dadde6f8c94210444e2aa9d546126480f/plugins/stitch-design/skills/upload-to-stitch/SKILL.md)
|
|
35
|
+
|
|
36
|
+
Use the request's page/state count and budget. Keep already selected directions and unchanged requirements. A user's selection without a requested modification does not require another generation or revision. Tool choice itself grants no additional publication, purchase or production-edit authority.
|
|
37
|
+
|
|
38
|
+
## Observe writes and recover uncertain outcomes
|
|
39
|
+
|
|
40
|
+
Before a write, retain the target project, selected screen identities, submitted input and known before state. Read the tool result, including MCP `isError`, service messages and available structured content. Transport success is not design success. Preserve returned project/session/screen identifiers, relevant progress and every produced design; suggestions in a response are not authorization to launch more work.
|
|
41
|
+
|
|
42
|
+
Generation and visual-edit calls may keep running after a timeout or connection loss. Do not automatically resubmit an uncertain write. Retain and follow any live host operation handle. When an output screen is known, refresh it; when none was returned, inspect the target project's screens to locate the actual output. An empty or unchanged read alone does not prove the write never ran. Use the current tool's recovery instructions: the published generation/variant guidance describes reads at 30-second intervals, bounded to ten checks. If that bound ends without a resolved outcome, report it as unresolved, retain the recovery identifiers and continue independent work. Do not turn a monitoring timeout into a new generation. [Tool recovery descriptions](https://github.com/google-labs-code/stitch-sdk/blob/575a9fb6319bd9d1ce8175e4a89e5958e024bbfd/packages/sdk/generated/tools-manifest.json)
|
|
43
|
+
|
|
44
|
+
For a confirmed rejection before submission, fix the specific cause and retry only if safe, within the task budget and allowed by the live tool. Keep technical recovery distinct from a requested visual revision; stop repeating a failed technical attempt. A retry allowance does not override Stitch's no-resubmission guidance for uncertain generation/edit outcomes.
|
|
45
|
+
|
|
46
|
+
## Retrieve, inspect and preserve real outputs
|
|
47
|
+
|
|
48
|
+
Refresh edited screens before judging the result. Some clients cache screen data; an old URL or success message does not prove that the requested change persisted. The published result shape can contain `outputComponents[].design.screens[]`; `get_screen` returns screen data directly. Inspect the actual result shape, preserve every returned design and use returned `htmlCode.downloadUrl` and `screenshot.downloadUrl` when present. These are URLs, not already saved files. Use available download capabilities to materialize the exact files and verify the saved content. [Screen result handling](https://github.com/google-labs-code/stitch-sdk/blob/575a9fb6319bd9d1ce8175e4a89e5958e024bbfd/packages/sdk/generated/src/screen.ts), [SDK resource access](https://github.com/google-labs-code/stitch-sdk/blob/575a9fb6319bd9d1ce8175e4a89e5958e024bbfd/README.md)
|
|
49
|
+
|
|
50
|
+
Keep original Stitch files, actual submitted prompts, reference origins/purpose and needed before/after versions. Record stable project links when actually available; do not manufacture share links or publish a project to obtain one. Use transient download credentials only for retrieval and redact them from saved transport records. Preserve original generation dimensions and explain any difference from the requested comparison conditions. View current screenshots and render current HTML when relevant; inspect completeness, clipping, readability, assets, hit regions and supported interaction against the task's requirements. Do not remove information or shrink an entire design merely to make a comparison look cleaner.
|
|
51
|
+
|
|
52
|
+
For an edit, verify both the requested change and the features that should have stayed. Save subsequent manual or agent code repairs as distinct revisions, not as untouched Stitch output. HTML can be editable without being a native design-node document. Report screenshot-only delivery or missing exports honestly. A requested downstream conversion is separate work: preserve the Stitch original and open/check the converted result before claiming that format. Another design tool is not a prerequisite or substitute for Stitch generation.
|
|
53
|
+
|
|
54
|
+
Keep optional model/mode and usage observations task-local when they help. The host model and Stitch service model are different; do not infer the latter from the former. Unknown usage remains unknown, and an account-wide quota change is not evidence of the cost of one screen. Product defects, user preference, source editability, adoption and production verification remain separate conclusions. Use [adoption and Context ownership](adoption.md) when applying an authorized adoption.
|
|
@@ -1,98 +1,28 @@
|
|
|
1
|
-
import { CLI_EXIT_CODES, CliCommandError } from "../lib/cli-exit.js";
|
|
2
1
|
import { inspectContext } from "../lib/context-inspect/context-inspect.js";
|
|
3
2
|
import { renderContextInspectText } from "../lib/context-inspect/context-inspect-render.js";
|
|
3
|
+
import { CliCommandError, CLI_EXIT_CODES } from "../lib/cli-exit.js";
|
|
4
4
|
export async function contextInspect(args) {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
console.log(contextInspectHelp());
|
|
5
|
+
if (args.includes("--help") || args.includes("-h")) {
|
|
6
|
+
console.log("context inspect <project_context/file.md> [--format text|json]");
|
|
8
7
|
return;
|
|
9
8
|
}
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
throw error;
|
|
26
|
-
throw new CliCommandError(CLI_EXIT_CODES.internal, `context inspect failed internally: ${message(error)}`, { cause: error });
|
|
27
|
-
}
|
|
28
|
-
if (options.format === "json")
|
|
29
|
-
process.stdout.write(`${JSON.stringify(result, null, 2)}\n`);
|
|
9
|
+
const [target, ...rest] = args;
|
|
10
|
+
const json = rest.length === 1 && rest[0] === "--json";
|
|
11
|
+
if (!target ||
|
|
12
|
+
(!json &&
|
|
13
|
+
rest.length &&
|
|
14
|
+
(rest.length !== 2 ||
|
|
15
|
+
rest[0] !== "--format" ||
|
|
16
|
+
!["text", "json"].includes(rest[1]))))
|
|
17
|
+
throw new CliCommandError(CLI_EXIT_CODES.arguments, "Usage: context inspect <path> [--format text|json] [--json]. Ranking/route options have retired.");
|
|
18
|
+
const result = await inspectContext({
|
|
19
|
+
project_root: process.cwd(),
|
|
20
|
+
context_path: target,
|
|
21
|
+
});
|
|
22
|
+
if (json || rest[1] === "json")
|
|
23
|
+
console.log(JSON.stringify(result, null, 2));
|
|
30
24
|
else
|
|
31
|
-
|
|
25
|
+
console.log(renderContextInspectText(result));
|
|
32
26
|
if (result.diagnostics.some((entry) => entry.severity === "error"))
|
|
33
27
|
process.exitCode = CLI_EXIT_CODES.catalog;
|
|
34
|
-
else if (result.route && !result.route.complete)
|
|
35
|
-
process.exitCode = CLI_EXIT_CODES.incomplete;
|
|
36
|
-
}
|
|
37
|
-
function parseInspectArgs(args) {
|
|
38
|
-
const options = {
|
|
39
|
-
route_paths: [],
|
|
40
|
-
terms: [],
|
|
41
|
-
case_sensitive: false,
|
|
42
|
-
format: "text",
|
|
43
|
-
help: false,
|
|
44
|
-
};
|
|
45
|
-
for (let index = 0; index < args.length; index += 1) {
|
|
46
|
-
const argument = args[index];
|
|
47
|
-
if (argument === "--help" || argument === "-h")
|
|
48
|
-
options.help = true;
|
|
49
|
-
else if (argument === "--json")
|
|
50
|
-
options.format = "json";
|
|
51
|
-
else if (argument === "--case-sensitive")
|
|
52
|
-
options.case_sensitive = true;
|
|
53
|
-
else if (argument === "--task")
|
|
54
|
-
index = readValue(args, index, argument, (value) => {
|
|
55
|
-
options.task = value;
|
|
56
|
-
});
|
|
57
|
-
else if (argument === "--route-path")
|
|
58
|
-
index = readValue(args, index, argument, (value) => {
|
|
59
|
-
options.route_paths.push(value);
|
|
60
|
-
});
|
|
61
|
-
else if (argument === "--term")
|
|
62
|
-
index = readValue(args, index, argument, (value) => {
|
|
63
|
-
options.terms.push(value);
|
|
64
|
-
});
|
|
65
|
-
else if (argument === "--format")
|
|
66
|
-
index = readValue(args, index, argument, (value) => {
|
|
67
|
-
if (value !== "text" && value !== "json")
|
|
68
|
-
throw new CliCommandError(CLI_EXIT_CODES.arguments, "context inspect --format must be text or json");
|
|
69
|
-
options.format = value;
|
|
70
|
-
});
|
|
71
|
-
else if (argument.startsWith("--"))
|
|
72
|
-
throw new CliCommandError(CLI_EXIT_CODES.arguments, `unknown context inspect argument: ${argument}`);
|
|
73
|
-
else if (options.target)
|
|
74
|
-
throw new CliCommandError(CLI_EXIT_CODES.arguments, "context inspect accepts exactly one Context path");
|
|
75
|
-
else
|
|
76
|
-
options.target = argument;
|
|
77
|
-
}
|
|
78
|
-
return options;
|
|
79
|
-
}
|
|
80
|
-
function readValue(args, index, flag, apply) {
|
|
81
|
-
const value = args[index + 1];
|
|
82
|
-
if (value === undefined || value.startsWith("--") || value.length === 0)
|
|
83
|
-
throw new CliCommandError(CLI_EXIT_CODES.arguments, `context inspect ${flag} requires a value`);
|
|
84
|
-
apply(value);
|
|
85
|
-
return index + 1;
|
|
86
|
-
}
|
|
87
|
-
function contextInspectHelp() {
|
|
88
|
-
return `ty-context context inspect <project_context/file.md>
|
|
89
|
-
[--task <text>] [--route-path <repo-path>] [--term <literal>]
|
|
90
|
-
[--case-sensitive] [--format text|json]
|
|
91
|
-
|
|
92
|
-
Reports ownership metadata, default-footprint membership, explicit Markdown
|
|
93
|
-
references, opt-in stable-key declarations and an optional experimental Router
|
|
94
|
-
explanation without modifying Context or Manifest files.`;
|
|
95
|
-
}
|
|
96
|
-
function message(error) {
|
|
97
|
-
return error instanceof Error ? error.message : String(error);
|
|
98
28
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function contextList(args: string[]): Promise<void>;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { loadContextCatalog } from "../lib/context-catalog/catalog-load.js";
|
|
2
|
+
import { CLI_EXIT_CODES, CliCommandError } from "../lib/cli-exit.js";
|
|
3
|
+
export async function contextList(args) {
|
|
4
|
+
if (!args.includes("--default") ||
|
|
5
|
+
args.some((arg) => !["--default", "--json"].includes(arg)))
|
|
6
|
+
throw new Error("Usage: ty-context context list --default [--json]");
|
|
7
|
+
const catalog = await loadContextCatalog(process.cwd());
|
|
8
|
+
const complete = !catalog.diagnostics.some((entry) => entry.severity === "error");
|
|
9
|
+
const files = [...catalog.default_footprint].map(([path, reasons]) => ({
|
|
10
|
+
path,
|
|
11
|
+
reasons: [...reasons],
|
|
12
|
+
}));
|
|
13
|
+
if (args.includes("--json"))
|
|
14
|
+
console.log(JSON.stringify({ complete, files, diagnostics: catalog.diagnostics }, null, 2));
|
|
15
|
+
else {
|
|
16
|
+
console.log(complete ? "Default body files:" : "Incomplete default body selection:");
|
|
17
|
+
for (const file of files)
|
|
18
|
+
console.log(`${file.path} (${file.reasons.join(", ")})`);
|
|
19
|
+
for (const entry of catalog.diagnostics)
|
|
20
|
+
console.log(`${entry.severity}: ${entry.message}`);
|
|
21
|
+
}
|
|
22
|
+
if (!complete)
|
|
23
|
+
throw new CliCommandError(CLI_EXIT_CODES.catalog, "Default Context selection is incomplete; resolve relevant diagnostics. Failure does not mean there are no other defaults.");
|
|
24
|
+
}
|
package/dist/commands/context.js
CHANGED
|
@@ -4,6 +4,7 @@ import { contextInspect } from "./context-inspect.js";
|
|
|
4
4
|
import { contextMove } from "./context-move.js";
|
|
5
5
|
import { contextRegister } from "./context-register.js";
|
|
6
6
|
import { contextTransaction } from "./context-transaction.js";
|
|
7
|
+
import { contextList } from "./context-list.js";
|
|
7
8
|
export async function context(args) {
|
|
8
9
|
const [subcommand = "help", ...rest] = args;
|
|
9
10
|
if (subcommand === "help" || subcommand === "--help" || subcommand === "-h") {
|
|
@@ -12,6 +13,8 @@ export async function context(args) {
|
|
|
12
13
|
}
|
|
13
14
|
if (subcommand === "create")
|
|
14
15
|
return contextCreate(rest);
|
|
16
|
+
if (subcommand === "list")
|
|
17
|
+
return contextList(rest);
|
|
15
18
|
if (subcommand === "inspect")
|
|
16
19
|
return contextInspect(rest);
|
|
17
20
|
if (subcommand === "move")
|
|
@@ -24,6 +27,7 @@ export async function context(args) {
|
|
|
24
27
|
}
|
|
25
28
|
function contextHelp() {
|
|
26
29
|
return `ty-context context commands:
|
|
30
|
+
context list --default [--json]
|
|
27
31
|
context create --path <project_context/file.md> --role <role> [--format text|json]
|
|
28
32
|
context inspect <project_context/file.md> [options]
|
|
29
33
|
context move --from <project_context/file.md> --to <project_context/file.md> [--apply]
|
package/dist/commands/doctor.js
CHANGED
|
@@ -26,8 +26,6 @@ function parseDoctorArgs(args) {
|
|
|
26
26
|
strict: false,
|
|
27
27
|
help: false,
|
|
28
28
|
context_file_soft_budget_bytes: CONTEXT_DOCTOR_DEFAULTS.context_file_soft_budget_bytes,
|
|
29
|
-
long_line_code_points: CONTEXT_DOCTOR_DEFAULTS.long_line_code_points,
|
|
30
|
-
trigger_fanout_contexts: CONTEXT_DOCTOR_DEFAULTS.trigger_fanout_contexts,
|
|
31
29
|
};
|
|
32
30
|
for (let index = 0; index < args.length; index += 1) {
|
|
33
31
|
const argument = args[index];
|
|
@@ -35,18 +33,10 @@ function parseDoctorArgs(args) {
|
|
|
35
33
|
options.strict = true;
|
|
36
34
|
else if (argument === "--help" || argument === "-h")
|
|
37
35
|
options.help = true;
|
|
38
|
-
else if (argument === "--max-line-length")
|
|
39
|
-
index = readPositiveInteger(args, index, argument, (value) => {
|
|
40
|
-
options.long_line_code_points = value;
|
|
41
|
-
});
|
|
42
36
|
else if (argument === "--context-file-soft-budget")
|
|
43
37
|
index = readPositiveInteger(args, index, argument, (value) => {
|
|
44
38
|
options.context_file_soft_budget_bytes = value;
|
|
45
39
|
});
|
|
46
|
-
else if (argument === "--trigger-fanout-threshold")
|
|
47
|
-
index = readPositiveInteger(args, index, argument, (value) => {
|
|
48
|
-
options.trigger_fanout_contexts = value;
|
|
49
|
-
});
|
|
50
40
|
else
|
|
51
41
|
throw new Error(`unknown doctor argument: ${argument}`);
|
|
52
42
|
}
|
|
@@ -63,12 +53,5 @@ function readPositiveInteger(args, index, flag, apply) {
|
|
|
63
53
|
return index + 1;
|
|
64
54
|
}
|
|
65
55
|
function doctorHelp() {
|
|
66
|
-
return
|
|
67
|
-
[--max-line-length <code-points>]
|
|
68
|
-
[--context-file-soft-budget <bytes>]
|
|
69
|
-
[--trigger-fanout-threshold <contexts>]
|
|
70
|
-
|
|
71
|
-
All new size, line, fan-out, unregistered-file, explicit-link and stable-key
|
|
72
|
-
findings are advisory by default. --strict is opt-in and exits nonzero when a
|
|
73
|
-
warning exists; projects must adopt it explicitly before using it in CI.`;
|
|
56
|
+
return "ty-context doctor [--strict] [--context-file-soft-budget <bytes>]\nChecks installation, structural Context, default body sizes and observable root startup overrides. Size findings are advisory unless --strict is selected; this does not verify factual or product correctness.";
|
|
74
57
|
}
|