project-tiny-context-harness 0.8.10 → 0.8.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -21
- package/README.md +490 -472
- package/assets/README.md +762 -749
- package/assets/README.zh-CN.md +446 -431
- package/assets/agents/.gitkeep +1 -1
- package/assets/agents/AGENTS_CORE.md +17 -23
- package/assets/agents/long-task-implementation.toml +15 -0
- package/assets/context_templates/architecture.md +18 -18
- package/assets/context_templates/area.md +30 -30
- package/assets/context_templates/context.toml +24 -24
- package/assets/context_templates/deployment.md +35 -35
- package/assets/context_templates/global.md +56 -56
- package/assets/context_templates/product-surface-contract.md +70 -70
- package/assets/context_templates/screen-contract.md +189 -189
- package/assets/context_templates/verification.md +25 -25
- package/assets/github/.gitkeep +1 -1
- package/assets/github/harness.yml +39 -39
- package/assets/make/.gitkeep +1 -1
- package/assets/make/ty-context.mk +48 -48
- package/assets/skills/context_development_engineer/SKILL.md +64 -185
- package/assets/skills/context_full_project_export/SKILL.md +28 -28
- package/assets/skills/context_harness_upgrade/SKILL.md +60 -60
- package/assets/skills/context_product_plan/SKILL.md +35 -101
- package/assets/skills/context_surface_contract/SKILL.md +194 -191
- package/assets/skills/context_uiux_design/SKILL.md +49 -172
- package/assets/skills/design-resource-authoring/SKILL.md +52 -88
- package/assets/skills/design-resource-authoring/references/downstream-handoff.md +51 -163
- package/assets/skills/design-resource-authoring/references/formal-selected-web-app-handoff.md +96 -0
- package/assets/skills/design-resource-authoring/references/open-design-provider.md +119 -119
- package/assets/skills/design-resource-authoring/references/resource-selection.md +158 -181
- package/assets/skills/design-system-authoring/SKILL.md +57 -57
- package/assets/skills/design-system-authoring/agents/openai.yaml +6 -6
- package/assets/skills/design-system-authoring/references/authority-adoption.md +48 -48
- package/assets/skills/design-system-authoring/references/open-design-design-system-provider.md +110 -110
- package/assets/skills/long-task-workflow/SKILL.md +71 -106
- package/assets/skills/long-task-workflow/agents/openai.yaml +1 -1
- package/assets/skills/long-task-workflow/references/authority-lifecycle.md +71 -69
- package/assets/skills/long-task-workflow/references/contract-authoring.md +98 -94
- package/assets/skills/long-task-workflow/references/evidence-design.md +67 -63
- package/assets/skills/long-task-workflow/references/source-authoring.md +90 -90
- package/assets/tools/validate_context.py +442 -442
- package/dist/commands/design-resource.js +9 -2
- package/dist/commands/enable.js +2 -0
- package/dist/commands/index.js +1 -1
- package/dist/commands/long-task-revision.js +8 -7
- package/dist/commands/sync.js +2 -0
- package/dist/index.d.ts +3 -4
- package/dist/index.js +2 -1
- package/dist/lib/compact-authoring-support.d.ts +22 -0
- package/dist/lib/compact-authoring-support.js +143 -0
- package/dist/lib/compact-shared-structure-authoring.d.ts +5 -0
- package/dist/lib/compact-shared-structure-authoring.js +9 -0
- package/dist/lib/compact-shared-structure-types.d.ts +61 -0
- package/dist/lib/compact-shared-structure-types.js +1 -0
- package/dist/lib/compact-shared-structure-validation.d.ts +2 -0
- package/dist/lib/compact-shared-structure-validation.js +159 -0
- package/dist/lib/compact-shared-structures.d.ts +3 -0
- package/dist/lib/compact-shared-structures.js +204 -0
- package/dist/lib/design-resource-fact-enums.d.ts +4 -0
- package/dist/lib/design-resource-fact-enums.js +12 -0
- package/dist/lib/design-resource-fact-manifest-shape-evidence.js +2 -2
- package/dist/lib/design-resource-fact-manifest-validation.d.ts +2 -1
- package/dist/lib/design-resource-fact-policy.d.ts +2 -2
- package/dist/lib/design-resource-fact-types.d.ts +2 -2
- package/dist/lib/design-resource-handoff-bundle-draft.d.ts +11 -0
- package/dist/lib/design-resource-handoff-bundle-draft.js +40 -0
- package/dist/lib/design-resource-handoff-bundle.js +4 -28
- package/dist/lib/design-resource-handoff-input-types.d.ts +14 -0
- package/dist/lib/design-resource-handoff-input-types.js +1 -0
- package/dist/lib/design-resource-handoff-manifest-projection.d.ts +2 -1
- package/dist/lib/design-resource-handoff-parser.d.ts +2 -2
- package/dist/lib/design-resource-handoff-parser.js +2 -2
- package/dist/lib/design-resource-handoff-shape.d.ts +4 -1
- package/dist/lib/design-resource-handoff-shape.js +10 -0
- package/dist/lib/design-resource-handoff-snapshot.d.ts +1 -1
- package/dist/lib/design-resource-handoff-snapshot.js +4 -0
- package/dist/lib/design-resource-handoff-types.d.ts +0 -10
- package/dist/lib/design-resource-handoff-validation.d.ts +6 -2
- package/dist/lib/design-resource-handoff-validation.js +11 -0
- package/dist/lib/design-resource-handoff-web-dependency-validation.d.ts +4 -2
- package/dist/lib/design-resource-symbolic-applicability-authority.d.ts +7 -0
- package/dist/lib/design-resource-symbolic-applicability-authority.js +19 -0
- package/dist/lib/design-resource-symbolic-applicability-policy.d.ts +12 -0
- package/dist/lib/design-resource-symbolic-applicability-policy.js +79 -0
- package/dist/lib/design-resource-symbolic-applicability-profiles.d.ts +8 -0
- package/dist/lib/design-resource-symbolic-applicability-profiles.js +55 -0
- package/dist/lib/design-resource-symbolic-applicability-shape.d.ts +2 -0
- package/dist/lib/design-resource-symbolic-applicability-shape.js +76 -0
- package/dist/lib/design-resource-symbolic-applicability-validation.d.ts +7 -0
- package/dist/lib/design-resource-symbolic-applicability-validation.js +128 -0
- package/dist/lib/design-resource-symbolic-compilation.d.ts +3 -0
- package/dist/lib/design-resource-symbolic-compilation.js +13 -0
- package/dist/lib/design-resource-symbolic-denotation.d.ts +3 -0
- package/dist/lib/design-resource-symbolic-denotation.js +167 -0
- package/dist/lib/design-resource-symbolic-disposition-validation.d.ts +4 -0
- package/dist/lib/design-resource-symbolic-disposition-validation.js +28 -0
- package/dist/lib/design-resource-symbolic-fact-policy.d.ts +12 -0
- package/dist/lib/design-resource-symbolic-fact-policy.js +12 -0
- package/dist/lib/design-resource-symbolic-fact-shape.d.ts +3 -0
- package/dist/lib/design-resource-symbolic-fact-shape.js +138 -0
- package/dist/lib/design-resource-symbolic-fact-types.d.ts +213 -0
- package/dist/lib/design-resource-symbolic-fact-types.js +1 -0
- package/dist/lib/design-resource-symbolic-fact-validation.d.ts +3 -0
- package/dist/lib/design-resource-symbolic-fact-validation.js +86 -0
- package/dist/lib/design-resource-symbolic-indexes.d.ts +23 -0
- package/dist/lib/design-resource-symbolic-indexes.js +54 -0
- package/dist/lib/design-resource-symbolic-manifest-shape.d.ts +3 -0
- package/dist/lib/design-resource-symbolic-manifest-shape.js +155 -0
- package/dist/lib/design-resource-symbolic-manifest-validation.d.ts +6 -0
- package/dist/lib/design-resource-symbolic-manifest-validation.js +132 -0
- package/dist/lib/design-resource-symbolic-noninterference-artifact.d.ts +33 -0
- package/dist/lib/design-resource-symbolic-noninterference-artifact.js +110 -0
- package/dist/lib/design-resource-symbolic-noninterference-equivalence.d.ts +3 -0
- package/dist/lib/design-resource-symbolic-noninterference-equivalence.js +77 -0
- package/dist/lib/design-resource-symbolic-noninterference-recompute.d.ts +4 -0
- package/dist/lib/design-resource-symbolic-noninterference-recompute.js +146 -0
- package/dist/lib/design-resource-symbolic-noninterference-scope.d.ts +7 -0
- package/dist/lib/design-resource-symbolic-noninterference-scope.js +49 -0
- package/dist/lib/design-resource-symbolic-noninterference-shape.d.ts +2 -0
- package/dist/lib/design-resource-symbolic-noninterference-shape.js +152 -0
- package/dist/lib/design-resource-symbolic-noninterference-types.d.ts +103 -0
- package/dist/lib/design-resource-symbolic-noninterference-types.js +1 -0
- package/dist/lib/design-resource-symbolic-noninterference-validation.d.ts +5 -0
- package/dist/lib/design-resource-symbolic-noninterference-validation.js +62 -0
- package/dist/lib/design-resource-symbolic-oracle-fingerprint.d.ts +1 -0
- package/dist/lib/design-resource-symbolic-oracle-fingerprint.js +47 -0
- package/dist/lib/design-resource-symbolic-predicate-shape.d.ts +6 -0
- package/dist/lib/design-resource-symbolic-predicate-shape.js +123 -0
- package/dist/lib/design-resource-symbolic-production-closure.d.ts +4 -0
- package/dist/lib/design-resource-symbolic-production-closure.js +144 -0
- package/dist/lib/design-resource-symbolic-proof-authority-validation.d.ts +10 -0
- package/dist/lib/design-resource-symbolic-proof-authority-validation.js +68 -0
- package/dist/lib/design-resource-symbolic-proof-validation.d.ts +10 -0
- package/dist/lib/design-resource-symbolic-proof-validation.js +89 -0
- package/dist/lib/design-resource-symbolic-region-validation.d.ts +19 -0
- package/dist/lib/design-resource-symbolic-region-validation.js +146 -0
- package/dist/lib/design-resource-symbolic-resource-validation.d.ts +5 -0
- package/dist/lib/design-resource-symbolic-resource-validation.js +90 -0
- package/dist/lib/design-resource-symbolic-rule-shape.d.ts +27 -0
- package/dist/lib/design-resource-symbolic-rule-shape.js +158 -0
- package/dist/lib/design-resource-symbolic-safety-validation.d.ts +6 -0
- package/dist/lib/design-resource-symbolic-safety-validation.js +29 -0
- package/dist/lib/design-resource-symbolic-source-ir-evaluation.d.ts +19 -0
- package/dist/lib/design-resource-symbolic-source-ir-evaluation.js +74 -0
- package/dist/lib/design-resource-symbolic-source-ir-evidence.d.ts +44 -0
- package/dist/lib/design-resource-symbolic-source-ir-evidence.js +88 -0
- package/dist/lib/design-resource-symbolic-source-ir-oracle.d.ts +13 -0
- package/dist/lib/design-resource-symbolic-source-ir-oracle.js +96 -0
- package/dist/lib/design-resource-symbolic-source-ir-proof.d.ts +14 -0
- package/dist/lib/design-resource-symbolic-source-ir-proof.js +98 -0
- package/dist/lib/design-resource-symbolic-source-ir-shape.d.ts +2 -0
- package/dist/lib/design-resource-symbolic-source-ir-shape.js +38 -0
- package/dist/lib/design-resource-symbolic-source-ir-types.d.ts +17 -0
- package/dist/lib/design-resource-symbolic-source-ir-types.js +2 -0
- package/dist/lib/design-resource-symbolic-static-dependency-validation.d.ts +2 -0
- package/dist/lib/design-resource-symbolic-static-dependency-validation.js +83 -0
- package/dist/lib/design-resource-symbolic-structural-closure-validation.d.ts +6 -0
- package/dist/lib/design-resource-symbolic-structural-closure-validation.js +79 -0
- package/dist/lib/design-resource-symbolic-validation-support.d.ts +29 -0
- package/dist/lib/design-resource-symbolic-validation-support.js +111 -0
- package/dist/lib/design-resource-v1-capacity-header.d.ts +8 -0
- package/dist/lib/design-resource-v1-capacity-header.js +231 -0
- package/dist/lib/design-resource-v1-capacity.d.ts +5 -0
- package/dist/lib/design-resource-v1-capacity.js +45 -0
- package/dist/lib/init.js +1 -0
- package/dist/lib/long-task-activation-validation.js +2 -2
- package/dist/lib/long-task-authority-policy.d.ts +3 -0
- package/dist/lib/long-task-authority-policy.js +3 -0
- package/dist/lib/long-task-codex-agent-profile.d.ts +42 -0
- package/dist/lib/long-task-codex-agent-profile.js +276 -0
- package/dist/lib/long-task-compact-authoring-projections.d.ts +12 -0
- package/dist/lib/long-task-compact-authoring-projections.js +67 -0
- package/dist/lib/long-task-compact-authoring.d.ts +3 -0
- package/dist/lib/long-task-compact-authoring.js +173 -0
- package/dist/lib/long-task-compact-carrier.d.ts +7 -0
- package/dist/lib/long-task-compact-carrier.js +132 -0
- package/dist/lib/long-task-compact-parser.d.ts +14 -0
- package/dist/lib/long-task-compact-parser.js +123 -0
- package/dist/lib/long-task-compact-primitives.d.ts +22 -0
- package/dist/lib/long-task-compact-primitives.js +132 -0
- package/dist/lib/long-task-compact-projections.d.ts +4 -0
- package/dist/lib/long-task-compact-projections.js +153 -0
- package/dist/lib/long-task-compact-structure-targets.d.ts +2 -0
- package/dist/lib/long-task-compact-structure-targets.js +90 -0
- package/dist/lib/long-task-counterfactual-sandbox.d.ts +1 -1
- package/dist/lib/long-task-counterfactual-sandbox.js +7 -5
- package/dist/lib/long-task-delivery-parser.d.ts +1 -0
- package/dist/lib/long-task-delivery-parser.js +38 -6
- package/dist/lib/long-task-design-resource-handoff.d.ts +2 -1
- package/dist/lib/long-task-design-resource-handoff.js +71 -11
- package/dist/lib/long-task-design-resource-method-binding.d.ts +8 -1
- package/dist/lib/long-task-design-resource-method-binding.js +150 -0
- package/dist/lib/long-task-evidence-capability-codec.js +256 -34
- package/dist/lib/long-task-evidence-capability-policy.js +28 -0
- package/dist/lib/long-task-evidence-capability-runtime.js +271 -63
- package/dist/lib/long-task-evidence-capability-types.d.ts +70 -2
- package/dist/lib/long-task-evidence-v2.d.ts +1 -1
- package/dist/lib/long-task-evidence-v2.js +5 -5
- package/dist/lib/long-task-hook-install.d.ts +19 -2
- package/dist/lib/long-task-hook-install.js +288 -91
- package/dist/lib/long-task-playwright-capability-records.d.ts +2 -0
- package/dist/lib/long-task-playwright-capability-records.js +74 -2
- package/dist/lib/long-task-runner-freeze.d.ts +1 -1
- package/dist/lib/long-task-runner-freeze.js +4 -2
- package/dist/lib/long-task-semantic-contract-types.d.ts +1 -1
- package/dist/lib/long-task-semantic-fact-binding-types.d.ts +8 -0
- package/dist/lib/long-task-semantic-fact-closure.js +4 -1
- package/dist/lib/long-task-semantic-fact-contract-closure.d.ts +1 -1
- package/dist/lib/long-task-semantic-fact-contract-closure.js +15 -3
- package/dist/lib/long-task-semantic-fact-contract-facts.d.ts +1 -1
- package/dist/lib/long-task-semantic-fact-contract-facts.js +4 -1
- package/dist/lib/long-task-semantic-fact-contract-proofs.d.ts +1 -1
- package/dist/lib/long-task-semantic-fact-contract-proofs.js +12 -3
- package/dist/lib/long-task-semantic-fact-evidence.d.ts +5 -1
- package/dist/lib/long-task-semantic-fact-evidence.js +47 -4
- package/dist/lib/long-task-semantic-fact-shape.js +17 -6
- package/dist/lib/long-task-shape-primitives.d.ts +1 -1
- package/dist/lib/long-task-shape-primitives.js +1 -0
- package/dist/lib/long-task-source-item-parser.d.ts +2 -2
- package/dist/lib/long-task-source-item-parser.js +20 -11
- package/dist/lib/long-task-ui-design-policy.js +64 -4
- package/dist/lib/long-task-ui-surface-shape.js +195 -0
- package/dist/lib/long-task-ui-surface-types.d.ts +53 -0
- package/dist/lib/long-task-verifier-v2.js +1 -1
- package/dist/lib/long-task-worker-selection.d.ts +2 -0
- package/dist/lib/long-task-worker-selection.js +7 -0
- package/dist/lib/long-task-workspace-scope.js +3 -1
- package/dist/lib/long-task-workspace.js +11 -1
- package/dist/lib/migrations.js +58 -0
- package/dist/lib/profiles.js +0 -1
- package/dist/lib/semantic-fact-compact-authoring.d.ts +2 -0
- package/dist/lib/semantic-fact-compact-authoring.js +160 -0
- package/dist/lib/semantic-fact-compact-capacity.d.ts +9 -0
- package/dist/lib/semantic-fact-compact-capacity.js +40 -0
- package/dist/lib/semantic-fact-compact-carrier.d.ts +16 -0
- package/dist/lib/semantic-fact-compact-carrier.js +146 -0
- package/dist/lib/semantic-fact-compact-parser.d.ts +17 -0
- package/dist/lib/semantic-fact-compact-parser.js +168 -0
- package/dist/lib/semantic-fact-compact-revision.d.ts +11 -0
- package/dist/lib/semantic-fact-compact-revision.js +64 -0
- package/dist/lib/semantic-fact-compact-support.d.ts +23 -0
- package/dist/lib/semantic-fact-compact-support.js +159 -0
- package/dist/lib/semantic-fact-policy-census.d.ts +1 -0
- package/dist/lib/semantic-fact-policy-census.js +43 -0
- package/dist/lib/semantic-fact-proof-shape.d.ts +1 -1
- package/dist/lib/semantic-fact-property-shape.d.ts +1 -1
- package/dist/lib/semantic-fact-source-parser.d.ts +5 -0
- package/dist/lib/semantic-fact-source-parser.js +47 -6
- package/dist/lib/structural-closure-cost.d.ts +79 -0
- package/dist/lib/structural-closure-cost.js +91 -0
- package/dist/lib/symbolic-denotation-dag-builder.d.ts +25 -0
- package/dist/lib/symbolic-denotation-dag-builder.js +176 -0
- package/dist/lib/symbolic-denotation-domain-validation.d.ts +3 -0
- package/dist/lib/symbolic-denotation-domain-validation.js +56 -0
- package/dist/lib/symbolic-denotation-engine.d.ts +32 -0
- package/dist/lib/symbolic-denotation-engine.js +140 -0
- package/dist/lib/symbolic-denotation-public.d.ts +11 -0
- package/dist/lib/symbolic-denotation-public.js +12 -0
- package/dist/lib/symbolic-denotation-runtime.d.ts +20 -0
- package/dist/lib/symbolic-denotation-runtime.js +90 -0
- package/dist/lib/symbolic-denotation-support.d.ts +11 -0
- package/dist/lib/symbolic-denotation-support.js +49 -0
- package/dist/lib/symbolic-denotation-types.d.ts +133 -0
- package/dist/lib/symbolic-denotation-types.js +18 -0
- package/dist/lib/symbolic-denotation-validation.d.ts +6 -0
- package/dist/lib/symbolic-denotation-validation.js +126 -0
- package/dist/lib/sync-engine.d.ts +1 -0
- package/dist/lib/sync-engine.js +4 -1
- package/dist/lib/upgrade.js +1 -0
- package/dist/long-task-hook.js +40 -1
- package/dist/public-types.d.ts +8 -0
- package/dist/public-types.js +1 -0
- package/dist/schemas/design-resource-symbolic-noninterference-artifact-v2.schema.json +289 -0
- package/dist/schemas/design-resource-symbolic-source-ir-v1.schema.json +130 -0
- package/dist/schemas/long-task-delivery-v2/long-task-delivery-v2.schema.json +390 -5
- package/migrations/README.md +15 -15
- package/package.json +2 -2
- package/source-mappings.yaml +28 -25
- package/assets/skills/source-plan-authoring/SKILL.md +0 -14
|
@@ -8,7 +8,6 @@
|
|
|
8
8
|
"schema_version",
|
|
9
9
|
"semantic_fact_manifest",
|
|
10
10
|
"task",
|
|
11
|
-
"source_claims",
|
|
12
11
|
"stages",
|
|
13
12
|
"risk",
|
|
14
13
|
"global"
|
|
@@ -54,6 +53,9 @@
|
|
|
54
53
|
"minItems": 1,
|
|
55
54
|
"items": { "$ref": "#/$defs/sourceClaim" }
|
|
56
55
|
},
|
|
56
|
+
"compact_semantic_carrier": {
|
|
57
|
+
"$ref": "#/$defs/longTaskCompactCarrier"
|
|
58
|
+
},
|
|
57
59
|
"stages": {
|
|
58
60
|
"type": "array",
|
|
59
61
|
"minItems": 1,
|
|
@@ -68,9 +70,30 @@
|
|
|
68
70
|
},
|
|
69
71
|
"outcome_files": { "$ref": "#/$defs/nonEmptyStrings" }
|
|
70
72
|
},
|
|
71
|
-
"
|
|
72
|
-
{
|
|
73
|
-
|
|
73
|
+
"allOf": [
|
|
74
|
+
{
|
|
75
|
+
"oneOf": [
|
|
76
|
+
{
|
|
77
|
+
"required": ["source_claims"],
|
|
78
|
+
"not": { "required": ["compact_semantic_carrier"] }
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"required": ["compact_semantic_carrier", "outcomes"],
|
|
82
|
+
"not": {
|
|
83
|
+
"anyOf": [
|
|
84
|
+
{ "required": ["source_claims"] },
|
|
85
|
+
{ "required": ["outcome_files"] }
|
|
86
|
+
]
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
]
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"oneOf": [
|
|
93
|
+
{ "required": ["outcomes"], "not": { "required": ["outcome_files"] } },
|
|
94
|
+
{ "required": ["outcome_files"], "not": { "required": ["outcomes"] } }
|
|
95
|
+
]
|
|
96
|
+
}
|
|
74
97
|
],
|
|
75
98
|
"$defs": {
|
|
76
99
|
"key": { "type": "string", "pattern": "^[a-z0-9][a-z0-9-]*$" },
|
|
@@ -94,6 +117,163 @@
|
|
|
94
117
|
"sha256": { "$ref": "#/$defs/sha256" }
|
|
95
118
|
}
|
|
96
119
|
},
|
|
120
|
+
"compactTable": {
|
|
121
|
+
"type": "object",
|
|
122
|
+
"additionalProperties": false,
|
|
123
|
+
"required": ["defaults", "columns", "rows"],
|
|
124
|
+
"properties": {
|
|
125
|
+
"defaults": { "type": "object" },
|
|
126
|
+
"columns": {
|
|
127
|
+
"type": "array",
|
|
128
|
+
"uniqueItems": true,
|
|
129
|
+
"items": { "type": "string", "pattern": "^[a-z][a-z0-9_]*$" }
|
|
130
|
+
},
|
|
131
|
+
"rows": {
|
|
132
|
+
"type": "array",
|
|
133
|
+
"items": { "type": "array" }
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
"compactFactSet": {
|
|
138
|
+
"type": "object",
|
|
139
|
+
"additionalProperties": false,
|
|
140
|
+
"required": ["key", "defaults", "columns", "rows"],
|
|
141
|
+
"properties": {
|
|
142
|
+
"key": { "$ref": "#/$defs/semanticRef" },
|
|
143
|
+
"defaults": { "type": "object" },
|
|
144
|
+
"columns": {
|
|
145
|
+
"type": "array",
|
|
146
|
+
"uniqueItems": true,
|
|
147
|
+
"items": { "type": "string", "pattern": "^[a-z][a-z0-9_]*$" }
|
|
148
|
+
},
|
|
149
|
+
"rows": {
|
|
150
|
+
"type": "array",
|
|
151
|
+
"items": { "type": "array" }
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
},
|
|
155
|
+
"longTaskCompactCapacityCounts": {
|
|
156
|
+
"type": "object",
|
|
157
|
+
"additionalProperties": false,
|
|
158
|
+
"required": [
|
|
159
|
+
"claims",
|
|
160
|
+
"claim_projections",
|
|
161
|
+
"selector_members",
|
|
162
|
+
"structure_families",
|
|
163
|
+
"structure_references",
|
|
164
|
+
"structure_arguments",
|
|
165
|
+
"facts",
|
|
166
|
+
"obligations",
|
|
167
|
+
"assertions",
|
|
168
|
+
"canonical_bytes"
|
|
169
|
+
],
|
|
170
|
+
"properties": {
|
|
171
|
+
"claims": { "type": "integer", "minimum": 0, "maximum": 1000000 },
|
|
172
|
+
"claim_projections": { "type": "integer", "minimum": 0, "maximum": 2000000 },
|
|
173
|
+
"selector_members": { "type": "integer", "minimum": 0, "maximum": 5000000 },
|
|
174
|
+
"structure_families": { "type": "integer", "minimum": 0, "maximum": 1000000 },
|
|
175
|
+
"structure_references": { "type": "integer", "minimum": 0, "maximum": 10000000 },
|
|
176
|
+
"structure_arguments": { "type": "integer", "minimum": 0, "maximum": 50000000 },
|
|
177
|
+
"facts": { "type": "integer", "minimum": 0, "maximum": 1000000 },
|
|
178
|
+
"obligations": { "type": "integer", "minimum": 0, "maximum": 2000000 },
|
|
179
|
+
"assertions": { "type": "integer", "minimum": 0, "maximum": 5000000 },
|
|
180
|
+
"canonical_bytes": { "type": "integer", "minimum": 0, "maximum": 268435456 }
|
|
181
|
+
}
|
|
182
|
+
},
|
|
183
|
+
"longTaskCompactCarrier": {
|
|
184
|
+
"type": "object",
|
|
185
|
+
"additionalProperties": false,
|
|
186
|
+
"required": [
|
|
187
|
+
"schema_version",
|
|
188
|
+
"capacity",
|
|
189
|
+
"selectors",
|
|
190
|
+
"shared_structures",
|
|
191
|
+
"claim_catalog",
|
|
192
|
+
"claim_projections",
|
|
193
|
+
"fact_sets",
|
|
194
|
+
"proof_templates",
|
|
195
|
+
"obligations",
|
|
196
|
+
"assertion_projections",
|
|
197
|
+
"exceptions"
|
|
198
|
+
],
|
|
199
|
+
"properties": {
|
|
200
|
+
"schema_version": { "const": "long-task-compact-carrier-v1" },
|
|
201
|
+
"capacity": {
|
|
202
|
+
"type": "object",
|
|
203
|
+
"additionalProperties": false,
|
|
204
|
+
"required": ["theoretical_ground_universe", "measured", "maximum"],
|
|
205
|
+
"properties": {
|
|
206
|
+
"theoretical_ground_universe": { "const": "not_materialized" },
|
|
207
|
+
"measured": { "$ref": "#/$defs/longTaskCompactCapacityCounts" },
|
|
208
|
+
"maximum": { "$ref": "#/$defs/longTaskCompactCapacityCounts" }
|
|
209
|
+
}
|
|
210
|
+
},
|
|
211
|
+
"selectors": {
|
|
212
|
+
"type": "array",
|
|
213
|
+
"items": {
|
|
214
|
+
"type": "object",
|
|
215
|
+
"additionalProperties": false,
|
|
216
|
+
"required": ["key", "members"],
|
|
217
|
+
"properties": {
|
|
218
|
+
"key": { "$ref": "#/$defs/semanticRef" },
|
|
219
|
+
"members": {
|
|
220
|
+
"type": "array",
|
|
221
|
+
"uniqueItems": true,
|
|
222
|
+
"items": { "$ref": "#/$defs/semanticRef" }
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
},
|
|
227
|
+
"shared_structures": {
|
|
228
|
+
"type": "array",
|
|
229
|
+
"items": {
|
|
230
|
+
"type": "object",
|
|
231
|
+
"additionalProperties": false,
|
|
232
|
+
"required": ["key", "digest", "boundary", "parameter_count", "template"],
|
|
233
|
+
"properties": {
|
|
234
|
+
"key": { "type": "string", "pattern": "^structure\\.[a-f0-9]{24}$" },
|
|
235
|
+
"digest": { "$ref": "#/$defs/sha256" },
|
|
236
|
+
"boundary": { "$ref": "#/$defs/semanticRef" },
|
|
237
|
+
"parameter_count": { "type": "integer", "minimum": 0 },
|
|
238
|
+
"template": {}
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
},
|
|
242
|
+
"claim_catalog": { "$ref": "#/$defs/compactTable" },
|
|
243
|
+
"claim_projections": { "$ref": "#/$defs/compactTable" },
|
|
244
|
+
"fact_sets": {
|
|
245
|
+
"type": "array",
|
|
246
|
+
"items": { "$ref": "#/$defs/compactFactSet" }
|
|
247
|
+
},
|
|
248
|
+
"proof_templates": {
|
|
249
|
+
"type": "array",
|
|
250
|
+
"items": {
|
|
251
|
+
"type": "object",
|
|
252
|
+
"additionalProperties": false,
|
|
253
|
+
"required": ["key", "binding"],
|
|
254
|
+
"properties": {
|
|
255
|
+
"key": { "$ref": "#/$defs/semanticRef" },
|
|
256
|
+
"binding": { "type": "object" }
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
},
|
|
260
|
+
"obligations": { "$ref": "#/$defs/compactTable" },
|
|
261
|
+
"assertion_projections": { "$ref": "#/$defs/compactTable" },
|
|
262
|
+
"exceptions": {
|
|
263
|
+
"type": "array",
|
|
264
|
+
"items": {
|
|
265
|
+
"type": "object",
|
|
266
|
+
"additionalProperties": false,
|
|
267
|
+
"required": ["key", "target_ref", "rationale"],
|
|
268
|
+
"properties": {
|
|
269
|
+
"key": { "$ref": "#/$defs/semanticRef" },
|
|
270
|
+
"target_ref": { "$ref": "#/$defs/semanticRef" },
|
|
271
|
+
"rationale": { "$ref": "#/$defs/nonEmpty" }
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
},
|
|
97
277
|
"semanticFactBindings": {
|
|
98
278
|
"type": "object",
|
|
99
279
|
"additionalProperties": false,
|
|
@@ -109,6 +289,7 @@
|
|
|
109
289
|
"required": ["fact_ref", "claim_ref", "applicability_ref"],
|
|
110
290
|
"properties": {
|
|
111
291
|
"fact_ref": { "$ref": "#/$defs/semanticRef" },
|
|
292
|
+
"fact_revision_digest": { "$ref": "#/$defs/sha256" },
|
|
112
293
|
"claim_ref": { "$ref": "#/$defs/semanticRef" },
|
|
113
294
|
"applicability_ref": { "$ref": "#/$defs/semanticRef" }
|
|
114
295
|
}
|
|
@@ -134,6 +315,7 @@
|
|
|
134
315
|
],
|
|
135
316
|
"properties": {
|
|
136
317
|
"proof_ref": { "$ref": "#/$defs/semanticRef" },
|
|
318
|
+
"obligation_revision_digest": { "$ref": "#/$defs/sha256" },
|
|
137
319
|
"fact_ref": { "$ref": "#/$defs/semanticRef" },
|
|
138
320
|
"method": { "$ref": "#/$defs/semanticRef" },
|
|
139
321
|
"proof_surface": { "$ref": "#/$defs/proofSurface" },
|
|
@@ -162,6 +344,7 @@
|
|
|
162
344
|
],
|
|
163
345
|
"properties": {
|
|
164
346
|
"proof_ref": { "$ref": "#/$defs/semanticRef" },
|
|
347
|
+
"obligation_revision_digest": { "$ref": "#/$defs/sha256" },
|
|
165
348
|
"fact_ref": { "$ref": "#/$defs/semanticRef" },
|
|
166
349
|
"method": { "$ref": "#/$defs/semanticRef" },
|
|
167
350
|
"proof_surface": { "$ref": "#/$defs/proofSurface" },
|
|
@@ -973,8 +1156,35 @@
|
|
|
973
1156
|
"actual_artifact_path",
|
|
974
1157
|
"comparison_artifact_path"
|
|
975
1158
|
],
|
|
1159
|
+
"oneOf": [
|
|
1160
|
+
{
|
|
1161
|
+
"not": {
|
|
1162
|
+
"anyOf": [
|
|
1163
|
+
{ "required": ["fact_model"] },
|
|
1164
|
+
{ "required": ["symbolic_method_bindings"] },
|
|
1165
|
+
{ "required": ["symbolic_certificate_binding"] }
|
|
1166
|
+
]
|
|
1167
|
+
},
|
|
1168
|
+
"properties": {
|
|
1169
|
+
"verification_method_bindings": { "minItems": 1 }
|
|
1170
|
+
}
|
|
1171
|
+
},
|
|
1172
|
+
{
|
|
1173
|
+
"required": [
|
|
1174
|
+
"fact_model",
|
|
1175
|
+
"symbolic_method_bindings",
|
|
1176
|
+
"symbolic_certificate_binding"
|
|
1177
|
+
],
|
|
1178
|
+
"properties": {
|
|
1179
|
+
"fact_model": { "const": "symbolic_rules_v2" },
|
|
1180
|
+
"verification_method_bindings": { "maxItems": 0 },
|
|
1181
|
+
"symbolic_method_bindings": { "minItems": 1 }
|
|
1182
|
+
}
|
|
1183
|
+
}
|
|
1184
|
+
],
|
|
976
1185
|
"properties": {
|
|
977
1186
|
"key": { "$ref": "#/$defs/key" },
|
|
1187
|
+
"fact_model": { "const": "symbolic_rules_v2" },
|
|
978
1188
|
"interpretation": { "enum": ["exact_target", "constraint"] },
|
|
979
1189
|
"source_paths": { "$ref": "#/$defs/nonEmptyStrings" },
|
|
980
1190
|
"condition_keys": { "$ref": "#/$defs/keys" },
|
|
@@ -983,7 +1193,6 @@
|
|
|
983
1193
|
"conformance_assertion_ref": { "$ref": "#/$defs/key" },
|
|
984
1194
|
"verification_method_bindings": {
|
|
985
1195
|
"type": "array",
|
|
986
|
-
"minItems": 1,
|
|
987
1196
|
"uniqueItems": true,
|
|
988
1197
|
"items": {
|
|
989
1198
|
"type": "object",
|
|
@@ -1021,6 +1230,14 @@
|
|
|
1021
1230
|
}
|
|
1022
1231
|
}
|
|
1023
1232
|
},
|
|
1233
|
+
"symbolic_method_bindings": {
|
|
1234
|
+
"type": "array",
|
|
1235
|
+
"uniqueItems": true,
|
|
1236
|
+
"items": { "$ref": "#/$defs/designSymbolicVerificationBinding" }
|
|
1237
|
+
},
|
|
1238
|
+
"symbolic_certificate_binding": {
|
|
1239
|
+
"$ref": "#/$defs/designSymbolicCertificateBinding"
|
|
1240
|
+
},
|
|
1024
1241
|
"actual_artifact_path": { "$ref": "#/$defs/nonEmpty" },
|
|
1025
1242
|
"comparison_artifact_path": { "$ref": "#/$defs/nonEmpty" }
|
|
1026
1243
|
}
|
|
@@ -1132,6 +1349,173 @@
|
|
|
1132
1349
|
}
|
|
1133
1350
|
}
|
|
1134
1351
|
},
|
|
1352
|
+
"designQuantifier": {
|
|
1353
|
+
"type": "object",
|
|
1354
|
+
"additionalProperties": false,
|
|
1355
|
+
"required": ["kind", "minimum", "maximum"],
|
|
1356
|
+
"properties": {
|
|
1357
|
+
"kind": {
|
|
1358
|
+
"enum": [
|
|
1359
|
+
"one",
|
|
1360
|
+
"all",
|
|
1361
|
+
"any",
|
|
1362
|
+
"none",
|
|
1363
|
+
"exactly",
|
|
1364
|
+
"at_least",
|
|
1365
|
+
"at_most",
|
|
1366
|
+
"range"
|
|
1367
|
+
]
|
|
1368
|
+
},
|
|
1369
|
+
"minimum": {
|
|
1370
|
+
"oneOf": [{ "type": "null" }, { "type": "integer", "minimum": 0 }]
|
|
1371
|
+
},
|
|
1372
|
+
"maximum": {
|
|
1373
|
+
"oneOf": [{ "type": "null" }, { "type": "integer", "minimum": 0 }]
|
|
1374
|
+
}
|
|
1375
|
+
}
|
|
1376
|
+
},
|
|
1377
|
+
"designSymbolicRuleExpectation": {
|
|
1378
|
+
"type": "object",
|
|
1379
|
+
"additionalProperties": false,
|
|
1380
|
+
"required": [
|
|
1381
|
+
"obligation_ref",
|
|
1382
|
+
"fact_rule_ref",
|
|
1383
|
+
"region_sha256",
|
|
1384
|
+
"subject_or_relation_ref",
|
|
1385
|
+
"property_ref",
|
|
1386
|
+
"population_ref",
|
|
1387
|
+
"quantifier",
|
|
1388
|
+
"observation_sensitivity",
|
|
1389
|
+
"expected",
|
|
1390
|
+
"proof_surface",
|
|
1391
|
+
"observation_boundary",
|
|
1392
|
+
"comparison",
|
|
1393
|
+
"oracle",
|
|
1394
|
+
"environment",
|
|
1395
|
+
"protected_value_policy",
|
|
1396
|
+
"completion_effect"
|
|
1397
|
+
],
|
|
1398
|
+
"properties": {
|
|
1399
|
+
"obligation_ref": { "$ref": "#/$defs/designFactKey" },
|
|
1400
|
+
"fact_rule_ref": { "$ref": "#/$defs/designFactKey" },
|
|
1401
|
+
"region_sha256": { "$ref": "#/$defs/sha256" },
|
|
1402
|
+
"subject_or_relation_ref": { "$ref": "#/$defs/designFactKey" },
|
|
1403
|
+
"property_ref": { "$ref": "#/$defs/designFactKey" },
|
|
1404
|
+
"population_ref": {
|
|
1405
|
+
"oneOf": [{ "type": "null" }, { "$ref": "#/$defs/designFactKey" }]
|
|
1406
|
+
},
|
|
1407
|
+
"quantifier": { "$ref": "#/$defs/designQuantifier" },
|
|
1408
|
+
"observation_sensitivity": { "enum": ["plain", "protected"] },
|
|
1409
|
+
"expected": { "$ref": "#/$defs/designLocatedDigest" },
|
|
1410
|
+
"proof_surface": { "$ref": "#/$defs/nonEmpty" },
|
|
1411
|
+
"observation_boundary": { "$ref": "#/$defs/nonEmpty" },
|
|
1412
|
+
"comparison": {
|
|
1413
|
+
"$ref": "#/$defs/designFactExpectation/properties/comparison"
|
|
1414
|
+
},
|
|
1415
|
+
"oracle": {
|
|
1416
|
+
"$ref": "#/$defs/designFactExpectation/properties/oracle"
|
|
1417
|
+
},
|
|
1418
|
+
"environment": {
|
|
1419
|
+
"$ref": "#/$defs/designFactExpectation/properties/environment"
|
|
1420
|
+
},
|
|
1421
|
+
"protected_value_policy": { "$ref": "#/$defs/nonEmpty" },
|
|
1422
|
+
"completion_effect": { "$ref": "#/$defs/nonEmpty" }
|
|
1423
|
+
}
|
|
1424
|
+
},
|
|
1425
|
+
"designSymbolicVerificationBinding": {
|
|
1426
|
+
"type": "object",
|
|
1427
|
+
"additionalProperties": false,
|
|
1428
|
+
"required": [
|
|
1429
|
+
"method",
|
|
1430
|
+
"assertion_ref",
|
|
1431
|
+
"artifact_path",
|
|
1432
|
+
"observation_path",
|
|
1433
|
+
"rule_expectations"
|
|
1434
|
+
],
|
|
1435
|
+
"properties": {
|
|
1436
|
+
"method": { "$ref": "#/$defs/designVerificationMethod" },
|
|
1437
|
+
"assertion_ref": { "$ref": "#/$defs/key" },
|
|
1438
|
+
"artifact_path": { "$ref": "#/$defs/nonEmpty" },
|
|
1439
|
+
"observation_path": { "$ref": "#/$defs/nonEmpty" },
|
|
1440
|
+
"rule_expectations": {
|
|
1441
|
+
"type": "array",
|
|
1442
|
+
"minItems": 1,
|
|
1443
|
+
"items": { "$ref": "#/$defs/designSymbolicRuleExpectation" }
|
|
1444
|
+
}
|
|
1445
|
+
}
|
|
1446
|
+
},
|
|
1447
|
+
"designSymbolicCertificateExpectation": {
|
|
1448
|
+
"type": "object",
|
|
1449
|
+
"additionalProperties": false,
|
|
1450
|
+
"required": [
|
|
1451
|
+
"certificate_ref",
|
|
1452
|
+
"fact_rule_refs",
|
|
1453
|
+
"omitted_axis_refs",
|
|
1454
|
+
"dependency_edge_refs",
|
|
1455
|
+
"canonical_rule_dag_sha256"
|
|
1456
|
+
],
|
|
1457
|
+
"properties": {
|
|
1458
|
+
"certificate_ref": { "$ref": "#/$defs/designFactKey" },
|
|
1459
|
+
"fact_rule_refs": { "$ref": "#/$defs/designFactRefs" },
|
|
1460
|
+
"omitted_axis_refs": { "$ref": "#/$defs/designFactRefs" },
|
|
1461
|
+
"dependency_edge_refs": { "$ref": "#/$defs/designFactRefs" },
|
|
1462
|
+
"canonical_rule_dag_sha256": { "$ref": "#/$defs/sha256" },
|
|
1463
|
+
"source_noninterference_proof_sha256": { "$ref": "#/$defs/sha256" },
|
|
1464
|
+
"production_noninterference_proof_sha256": { "$ref": "#/$defs/sha256" }
|
|
1465
|
+
}
|
|
1466
|
+
},
|
|
1467
|
+
"designSymbolicCertificateBinding": {
|
|
1468
|
+
"type": "object",
|
|
1469
|
+
"additionalProperties": false,
|
|
1470
|
+
"required": ["assertion_ref", "artifact_path", "expectations", "metrics"],
|
|
1471
|
+
"properties": {
|
|
1472
|
+
"assertion_ref": { "$ref": "#/$defs/key" },
|
|
1473
|
+
"artifact_path": { "$ref": "#/$defs/nonEmpty" },
|
|
1474
|
+
"expectations": {
|
|
1475
|
+
"type": "array",
|
|
1476
|
+
"minItems": 1,
|
|
1477
|
+
"items": {
|
|
1478
|
+
"$ref": "#/$defs/designSymbolicCertificateExpectation"
|
|
1479
|
+
}
|
|
1480
|
+
},
|
|
1481
|
+
"metrics": {
|
|
1482
|
+
"type": "object",
|
|
1483
|
+
"additionalProperties": false,
|
|
1484
|
+
"required": [
|
|
1485
|
+
"semantic_obligations",
|
|
1486
|
+
"certificate_obligations",
|
|
1487
|
+
"certificate_covered_omitted_axes",
|
|
1488
|
+
"certificate_covered_dependency_edges",
|
|
1489
|
+
"canonical_dag_nodes",
|
|
1490
|
+
"canonical_partition_edges",
|
|
1491
|
+
"canonical_bytes",
|
|
1492
|
+
"theoretical_ground_cardinality"
|
|
1493
|
+
],
|
|
1494
|
+
"properties": {
|
|
1495
|
+
"semantic_obligations": { "type": "integer", "minimum": 0 },
|
|
1496
|
+
"certificate_obligations": { "type": "integer", "minimum": 0 },
|
|
1497
|
+
"certificate_covered_omitted_axes": {
|
|
1498
|
+
"type": "integer",
|
|
1499
|
+
"minimum": 0
|
|
1500
|
+
},
|
|
1501
|
+
"certificate_covered_dependency_edges": {
|
|
1502
|
+
"type": "integer",
|
|
1503
|
+
"minimum": 0
|
|
1504
|
+
},
|
|
1505
|
+
"canonical_dag_nodes": { "type": "integer", "minimum": 0 },
|
|
1506
|
+
"canonical_partition_edges": {
|
|
1507
|
+
"type": "integer",
|
|
1508
|
+
"minimum": 0
|
|
1509
|
+
},
|
|
1510
|
+
"canonical_bytes": { "type": "integer", "minimum": 0 },
|
|
1511
|
+
"theoretical_ground_cardinality": {
|
|
1512
|
+
"type": "string",
|
|
1513
|
+
"pattern": "^[1-9][0-9]*$"
|
|
1514
|
+
}
|
|
1515
|
+
}
|
|
1516
|
+
}
|
|
1517
|
+
}
|
|
1518
|
+
},
|
|
1135
1519
|
"designAcceptanceBlocker": {
|
|
1136
1520
|
"type": "object",
|
|
1137
1521
|
"additionalProperties": false,
|
|
@@ -1541,6 +1925,7 @@
|
|
|
1541
1925
|
"visual_render",
|
|
1542
1926
|
"design_conformance",
|
|
1543
1927
|
"design_method",
|
|
1928
|
+
"design_symbolic_certificate",
|
|
1544
1929
|
"semantic_fact",
|
|
1545
1930
|
"target_runtime",
|
|
1546
1931
|
"input_variation"
|
package/migrations/README.md
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
# Migrations
|
|
2
|
-
|
|
3
|
-
Schema migrations for Harness config and managed file layout belong here.
|
|
4
|
-
|
|
5
|
-
Version 0.6.0 includes `long-task-v1-retirement`. It safely removes the
|
|
6
|
-
retired repo-local Hook, reports a legacy active projection as
|
|
7
|
-
`manual_required`, and deliberately does not import V1 progress or receipts
|
|
8
|
-
into the V2 Claim/Evidence authority.
|
|
9
|
-
|
|
10
|
-
Version 0.7.2 includes `long-task-v2-semantic-drift-authority`. It reports a
|
|
11
|
-
conventional `.long-task/delivery-contract.yaml` as `manual_required` when the
|
|
12
|
-
V2 file predates explicit Stage, target-profile/root-runtime, journey-scenario,
|
|
13
|
-
success/degradation, evidence-capability or external-impact authority. Those
|
|
14
|
-
meanings must be re-authored from Source; migration never infers them from old
|
|
15
|
-
Progress or Receipts.
|
|
1
|
+
# Migrations
|
|
2
|
+
|
|
3
|
+
Schema migrations for Harness config and managed file layout belong here.
|
|
4
|
+
|
|
5
|
+
Version 0.6.0 includes `long-task-v1-retirement`. It safely removes the
|
|
6
|
+
retired repo-local Hook, reports a legacy active projection as
|
|
7
|
+
`manual_required`, and deliberately does not import V1 progress or receipts
|
|
8
|
+
into the V2 Claim/Evidence authority.
|
|
9
|
+
|
|
10
|
+
Version 0.7.2 includes `long-task-v2-semantic-drift-authority`. It reports a
|
|
11
|
+
conventional `.long-task/delivery-contract.yaml` as `manual_required` when the
|
|
12
|
+
V2 file predates explicit Stage, target-profile/root-runtime, journey-scenario,
|
|
13
|
+
success/degradation, evidence-capability or external-impact authority. Those
|
|
14
|
+
meanings must be re-authored from Source; migration never infers them from old
|
|
15
|
+
Progress or Receipts.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "project-tiny-context-harness",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.12",
|
|
4
4
|
"description": "Minimal project memory and validation harness for AI coding agents.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Seven128",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"pretest": "npm run build",
|
|
59
59
|
"test": "npm run test:built",
|
|
60
60
|
"test:workflow-default:built": "node --test --test-concurrency=1 ../../tests/ty-context/workflow-contract-routing.test.mjs",
|
|
61
|
-
"test:delivery-contract:built": "node --test --test-concurrency=1 ../../tests/ty-context/long-task-compact-authoring.test.mjs ../../tests/ty-context/long-task-authoring-claims.test.mjs ../../tests/ty-context/long-task-authoring-preflight.test.mjs ../../tests/ty-context/long-task-authority-authoring-fields.test.mjs ../../tests/ty-context/long-task-playwright-ac-evidence.test.mjs ../../tests/ty-context/long-task-delivery-parser.test.mjs ../../tests/ty-context/long-task-delivery-compiler.test.mjs ../../tests/ty-context/long-task-delivery-risk.test.mjs ../../tests/ty-context/long-task-claim-coverage.test.mjs ../../tests/ty-context/long-task-closure-invariants.test.mjs ../../tests/ty-context/long-task-source-authority-closure.test.mjs ../../tests/ty-context/long-task-evidence-sensitivity-policy.test.mjs ../../tests/ty-context/long-task-global-evidence-sensitivity.test.mjs ../../tests/ty-context/long-task-source-risk-binding.test.mjs ../../tests/ty-context/long-task-non-completing-source.test.mjs ../../tests/ty-context/long-task-playwright-trust-boundary.test.mjs ../../tests/ty-context/long-task-planned-counterfactual.test.mjs ../../tests/ty-context/long-task-public-contract-example.test.mjs ../../tests/ty-context/long-task-release-tarball-contract.test.mjs ../../tests/ty-context/long-task-semantic-assurance-closure.test.mjs ../../tests/ty-context/long-task-semantic-drift-closure.test.mjs ../../tests/ty-context/long-task-semantic-drift-lifecycle.test.mjs ../../tests/ty-context/long-task-workspace-scope.test.mjs",
|
|
61
|
+
"test:delivery-contract:built": "node --test --test-concurrency=1 ../../tests/ty-context/long-task-compact-authoring.test.mjs ../../tests/ty-context/long-task-compact-semantic-carrier.test.mjs ../../tests/ty-context/long-task-authoring-claims.test.mjs ../../tests/ty-context/long-task-authoring-preflight.test.mjs ../../tests/ty-context/long-task-authority-authoring-fields.test.mjs ../../tests/ty-context/long-task-playwright-ac-evidence.test.mjs ../../tests/ty-context/long-task-delivery-parser.test.mjs ../../tests/ty-context/long-task-delivery-compiler.test.mjs ../../tests/ty-context/long-task-delivery-risk.test.mjs ../../tests/ty-context/long-task-claim-coverage.test.mjs ../../tests/ty-context/long-task-closure-invariants.test.mjs ../../tests/ty-context/long-task-source-authority-closure.test.mjs ../../tests/ty-context/long-task-evidence-sensitivity-policy.test.mjs ../../tests/ty-context/long-task-global-evidence-sensitivity.test.mjs ../../tests/ty-context/long-task-source-risk-binding.test.mjs ../../tests/ty-context/long-task-non-completing-source.test.mjs ../../tests/ty-context/long-task-playwright-trust-boundary.test.mjs ../../tests/ty-context/long-task-planned-counterfactual.test.mjs ../../tests/ty-context/long-task-public-contract-example.test.mjs ../../tests/ty-context/long-task-release-tarball-contract.test.mjs ../../tests/ty-context/long-task-semantic-assurance-closure.test.mjs ../../tests/ty-context/long-task-semantic-drift-closure.test.mjs ../../tests/ty-context/long-task-semantic-drift-lifecycle.test.mjs ../../tests/ty-context/long-task-workspace-scope.test.mjs",
|
|
62
62
|
"test:delivery-contract": "npm run build && npm run test:delivery-contract:built",
|
|
63
63
|
"test:long-task-workflow:built": "node ../../tests/ty-context/run-package-suite.mjs long-task",
|
|
64
64
|
"test:long-task-workflow": "npm run build && npm run test:long-task-workflow:built",
|
package/source-mappings.yaml
CHANGED
|
@@ -1,25 +1,28 @@
|
|
|
1
|
-
source_mappings:
|
|
2
|
-
- source: ".codex/ty-context-managed/agents/AGENTS_CORE.md"
|
|
3
|
-
target: "packages/ty-context/assets/agents/AGENTS_CORE.md"
|
|
4
|
-
mode: "copy-file"
|
|
5
|
-
- source: "
|
|
6
|
-
target: "packages/ty-context/assets/
|
|
7
|
-
mode: "copy-file"
|
|
8
|
-
- source: "README.
|
|
9
|
-
target: "packages/ty-context/assets/README.
|
|
10
|
-
mode: "copy-file"
|
|
11
|
-
- source: ".
|
|
12
|
-
target: "packages/ty-context/assets/
|
|
13
|
-
mode: "copy-
|
|
14
|
-
- source: ".codex/ty-context-managed/
|
|
15
|
-
target: "packages/ty-context/assets/
|
|
16
|
-
mode: "copy-tree"
|
|
17
|
-
- source: ".codex/ty-context-managed/
|
|
18
|
-
target: "packages/ty-context/assets/
|
|
19
|
-
mode: "copy-
|
|
20
|
-
- source: ".codex/ty-context-managed/
|
|
21
|
-
target: "packages/ty-context/assets/
|
|
22
|
-
mode: "copy-
|
|
23
|
-
- source: ".
|
|
24
|
-
target: "packages/ty-context/assets/
|
|
25
|
-
mode: "copy-
|
|
1
|
+
source_mappings:
|
|
2
|
+
- source: ".codex/ty-context-managed/agents/AGENTS_CORE.md"
|
|
3
|
+
target: "packages/ty-context/assets/agents/AGENTS_CORE.md"
|
|
4
|
+
mode: "copy-file"
|
|
5
|
+
- source: ".codex/ty-context-managed/agents/long-task-implementation.toml"
|
|
6
|
+
target: "packages/ty-context/assets/agents/long-task-implementation.toml"
|
|
7
|
+
mode: "copy-file"
|
|
8
|
+
- source: "README.md"
|
|
9
|
+
target: "packages/ty-context/assets/README.md"
|
|
10
|
+
mode: "copy-file"
|
|
11
|
+
- source: "README.zh-CN.md"
|
|
12
|
+
target: "packages/ty-context/assets/README.zh-CN.md"
|
|
13
|
+
mode: "copy-file"
|
|
14
|
+
- source: ".codex/ty-context-managed/context_templates"
|
|
15
|
+
target: "packages/ty-context/assets/context_templates"
|
|
16
|
+
mode: "copy-tree"
|
|
17
|
+
- source: ".codex/ty-context-managed/skills"
|
|
18
|
+
target: "packages/ty-context/assets/skills"
|
|
19
|
+
mode: "copy-tree"
|
|
20
|
+
- source: ".codex/ty-context-managed/make/ty-context.mk"
|
|
21
|
+
target: "packages/ty-context/assets/make/ty-context.mk"
|
|
22
|
+
mode: "copy-file"
|
|
23
|
+
- source: ".codex/ty-context-managed/minimal_tools"
|
|
24
|
+
target: "packages/ty-context/assets/tools"
|
|
25
|
+
mode: "copy-tree"
|
|
26
|
+
- source: ".github/workflows/harness.yml"
|
|
27
|
+
target: "packages/ty-context/assets/github/harness.yml"
|
|
28
|
+
mode: "copy-file"
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: source-plan-authoring
|
|
3
|
-
description: Retired compatibility pointer for users who explicitly select source-plan-authoring or request the former standalone Source Plan stage. Direct long deliveries to long-task-workflow, where raw or revised proposals, selected design resources and mixed attachments enter one Source-bound Contract Draft loop immediately. Do not create a legacy standalone Source Plan or internal Source-authoring stage, gate, schema, state or second plan.
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Retired: Source Plan Authoring
|
|
7
|
-
|
|
8
|
-
`source-plan-authoring` no longer defines a separate handoff between the initial proposal and Long-Task execution.
|
|
9
|
-
|
|
10
|
-
For an explicit long delivery, select `$long-task-workflow` in Codex (or use the host's Skill selector) with the initial/revised proposal, selected immutable design resources and other attachments. They enter the same `delivery-contract.yaml` Draft immediately; input inventory, Source-quality synthesis/refinement, stable semantic keys, Product Control-level UI meaning, acceptance scenarios, research/delegation traceability, real Source marking, repository binding and Contract mapping converge in one Goal before Preflight/Compile. Product Control projection does not cap selected design-resource granularity: the active workflow separately preserves every supported complete observable design fact through the handoff and Contract. Likewise, a paragraph/Requirement/current-code shape does not cap non-UI granularity: the active workflow inventories all material inputs, expands the standard plus custom product/business/backend/architecture domain families into exact subjects/relations/populations, conditions, atomic properties, semantic Facts and Fact×method obligations, persists one Source `semantic-fact-manifest-v1`, and requires exact Contract/current-Final-Gate closure without aggregate or sampled substitution.
|
|
11
|
-
|
|
12
|
-
For non-long work, give the proposal and selected resources directly to the current native Goal under the default Workflow Contract. If the user only wants an initial product or technical proposal, use the applicable proposal-authoring capability rather than recreating this retired intermediary.
|
|
13
|
-
|
|
14
|
-
A pre-existing Source Plan remains valid ordinary Source. Do not rewrite it merely for compatibility, create a new Source Plan artifact, invoke Long-Task automatically, or create a second plan, Contract Draft, Preflight, Compile, Receipt, Authority or state surface from this pointer.
|