@tiangong-lca/foundry 0.1.2
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 -0
- package/README.md +532 -0
- package/docs/architecture.md +450 -0
- package/docs/foundry-task-contracts.md +147 -0
- package/docs/import-profiles/bafu/constraints.md +343 -0
- package/docs/import-profiles/bafu/leaf-process-classification-authoring.md +153 -0
- package/docs/import-profiles/bafu/profile.md +183 -0
- package/docs/import-profiles/uslci/constraints.md +29 -0
- package/docs/import-profiles/uslci/profile.md +43 -0
- package/docs/import-profiles/worldsteel/constraints.md +77 -0
- package/docs/import-profiles/worldsteel/import-coverage.md +93 -0
- package/docs/import-profiles/worldsteel/import-plan.md +375 -0
- package/docs/import-profiles/worldsteel/profile.md +78 -0
- package/docs/package-distribution-contract.md +287 -0
- package/docs/public-runtime-contract.md +218 -0
- package/docs/runtime-context-contract.md +138 -0
- package/docs/safety-policy.md +164 -0
- package/docs/task-authorization-contract.md +131 -0
- package/docs/uslci-import-runbook.md +336 -0
- package/docs/workspace-migration-contract.md +127 -0
- package/package-dist/assets/foundry-package-descriptor.json +1661 -0
- package/package-dist/scripts/foundry-facade.d.ts +78 -0
- package/package-dist/scripts/foundry-facade.js +1317 -0
- package/package-dist/scripts/foundry-runtime.d.ts +180 -0
- package/package-dist/scripts/foundry-runtime.js +190 -0
- package/package-dist/scripts/lib/batch-orchestration/scope-attempt-ledger.d.ts +27 -0
- package/package-dist/scripts/lib/batch-orchestration/scope-attempt-ledger.js +85 -0
- package/package-dist/scripts/lib/batch-orchestration/scope-resume-contract.d.ts +38 -0
- package/package-dist/scripts/lib/batch-orchestration/scope-resume-contract.js +90 -0
- package/package-dist/scripts/lib/bundle-row-types.d.ts +44 -0
- package/package-dist/scripts/lib/bundle-row-types.js +46 -0
- package/package-dist/scripts/lib/bundle-sample-utils.d.ts +183 -0
- package/package-dist/scripts/lib/bundle-sample-utils.js +526 -0
- package/package-dist/scripts/lib/bundle-source-context.d.ts +31 -0
- package/package-dist/scripts/lib/bundle-source-context.js +142 -0
- package/package-dist/scripts/lib/canonical-description.d.ts +12 -0
- package/package-dist/scripts/lib/canonical-description.js +72 -0
- package/package-dist/scripts/lib/canonical-support-rewrites.d.ts +127 -0
- package/package-dist/scripts/lib/canonical-support-rewrites.js +527 -0
- package/package-dist/scripts/lib/decision-owners/classification.d.ts +245 -0
- package/package-dist/scripts/lib/decision-owners/classification.js +754 -0
- package/package-dist/scripts/lib/decision-owners/identity-preflight.d.ts +333 -0
- package/package-dist/scripts/lib/decision-owners/identity-preflight.js +1353 -0
- package/package-dist/scripts/lib/decision-owners/identity-task.d.ts +130 -0
- package/package-dist/scripts/lib/decision-owners/identity-task.js +494 -0
- package/package-dist/scripts/lib/decision-owners/identity.d.ts +74 -0
- package/package-dist/scripts/lib/decision-owners/identity.js +443 -0
- package/package-dist/scripts/lib/decision-owners/location.d.ts +239 -0
- package/package-dist/scripts/lib/decision-owners/location.js +704 -0
- package/package-dist/scripts/lib/decision-task-utils.d.ts +484 -0
- package/package-dist/scripts/lib/decision-task-utils.js +735 -0
- package/package-dist/scripts/lib/finalize-owners/cli-wrappers.d.ts +52 -0
- package/package-dist/scripts/lib/finalize-owners/cli-wrappers.js +146 -0
- package/package-dist/scripts/lib/finalize-owners/commit-handoff.d.ts +79 -0
- package/package-dist/scripts/lib/finalize-owners/commit-handoff.js +515 -0
- package/package-dist/scripts/lib/finalize-owners/post-authoring.d.ts +234 -0
- package/package-dist/scripts/lib/finalize-owners/post-authoring.js +1720 -0
- package/package-dist/scripts/lib/finalize-owners/post-write-closeout.d.ts +140 -0
- package/package-dist/scripts/lib/finalize-owners/post-write-closeout.js +656 -0
- package/package-dist/scripts/lib/foundry-args.d.ts +7 -0
- package/package-dist/scripts/lib/foundry-args.js +38 -0
- package/package-dist/scripts/lib/foundry-authentication-environment.d.ts +17 -0
- package/package-dist/scripts/lib/foundry-authentication-environment.js +55 -0
- package/package-dist/scripts/lib/foundry-authorization-input.d.ts +31 -0
- package/package-dist/scripts/lib/foundry-authorization-input.js +151 -0
- package/package-dist/scripts/lib/foundry-command-metadata.d.ts +32 -0
- package/package-dist/scripts/lib/foundry-command-metadata.js +1012 -0
- package/package-dist/scripts/lib/foundry-command-registry.d.ts +34 -0
- package/package-dist/scripts/lib/foundry-command-registry.js +241 -0
- package/package-dist/scripts/lib/foundry-command-spec.d.ts +1 -0
- package/package-dist/scripts/lib/foundry-command-spec.js +1 -0
- package/package-dist/scripts/lib/foundry-decision-owners.d.ts +17 -0
- package/package-dist/scripts/lib/foundry-decision-owners.js +68 -0
- package/package-dist/scripts/lib/foundry-decision-routing.d.ts +3 -0
- package/package-dist/scripts/lib/foundry-decision-routing.js +38 -0
- package/package-dist/scripts/lib/foundry-execution-admission.d.ts +33 -0
- package/package-dist/scripts/lib/foundry-execution-admission.js +225 -0
- package/package-dist/scripts/lib/foundry-execution-attempt.d.ts +11 -0
- package/package-dist/scripts/lib/foundry-execution-attempt.js +33 -0
- package/package-dist/scripts/lib/foundry-execution-context-format.d.ts +18 -0
- package/package-dist/scripts/lib/foundry-execution-context-format.js +83 -0
- package/package-dist/scripts/lib/foundry-facade-store.d.ts +25 -0
- package/package-dist/scripts/lib/foundry-facade-store.js +449 -0
- package/package-dist/scripts/lib/foundry-finalize-owners.d.ts +21 -0
- package/package-dist/scripts/lib/foundry-finalize-owners.js +203 -0
- package/package-dist/scripts/lib/foundry-identity-owners.d.ts +13 -0
- package/package-dist/scripts/lib/foundry-identity-owners.js +58 -0
- package/package-dist/scripts/lib/foundry-managed-host.d.ts +7 -0
- package/package-dist/scripts/lib/foundry-managed-host.js +173 -0
- package/package-dist/scripts/lib/foundry-migration-adoption-plan.d.ts +39 -0
- package/package-dist/scripts/lib/foundry-migration-adoption-plan.js +467 -0
- package/package-dist/scripts/lib/foundry-migration-adoption.d.ts +31 -0
- package/package-dist/scripts/lib/foundry-migration-adoption.js +187 -0
- package/package-dist/scripts/lib/foundry-migration-authority.d.ts +42 -0
- package/package-dist/scripts/lib/foundry-migration-authority.js +280 -0
- package/package-dist/scripts/lib/foundry-migration-inventory.d.ts +31 -0
- package/package-dist/scripts/lib/foundry-migration-inventory.js +148 -0
- package/package-dist/scripts/lib/foundry-migration-plan.d.ts +48 -0
- package/package-dist/scripts/lib/foundry-migration-plan.js +234 -0
- package/package-dist/scripts/lib/foundry-migration-replay.d.ts +3 -0
- package/package-dist/scripts/lib/foundry-migration-replay.js +134 -0
- package/package-dist/scripts/lib/foundry-migration-stage.d.ts +15 -0
- package/package-dist/scripts/lib/foundry-migration-stage.js +152 -0
- package/package-dist/scripts/lib/foundry-migration-transfer-io.d.ts +13 -0
- package/package-dist/scripts/lib/foundry-migration-transfer-io.js +226 -0
- package/package-dist/scripts/lib/foundry-migration-transfer.d.ts +36 -0
- package/package-dist/scripts/lib/foundry-migration-transfer.js +350 -0
- package/package-dist/scripts/lib/foundry-operation-result.d.ts +71 -0
- package/package-dist/scripts/lib/foundry-operation-result.js +264 -0
- package/package-dist/scripts/lib/foundry-owner-execution-store.d.ts +319 -0
- package/package-dist/scripts/lib/foundry-owner-execution-store.js +293 -0
- package/package-dist/scripts/lib/foundry-owner-readback.d.ts +22 -0
- package/package-dist/scripts/lib/foundry-owner-readback.js +189 -0
- package/package-dist/scripts/lib/foundry-owner-trace-acceptance.d.ts +15 -0
- package/package-dist/scripts/lib/foundry-owner-trace-acceptance.js +68 -0
- package/package-dist/scripts/lib/foundry-package-contract.d.ts +56 -0
- package/package-dist/scripts/lib/foundry-package-contract.js +392 -0
- package/package-dist/scripts/lib/foundry-private-path.d.ts +2 -0
- package/package-dist/scripts/lib/foundry-private-path.js +20 -0
- package/package-dist/scripts/lib/foundry-runtime-cache.d.ts +3 -0
- package/package-dist/scripts/lib/foundry-runtime-cache.js +25 -0
- package/package-dist/scripts/lib/foundry-runtime-command-policy.d.ts +20 -0
- package/package-dist/scripts/lib/foundry-runtime-command-policy.js +173 -0
- package/package-dist/scripts/lib/foundry-runtime-context-types.d.ts +59 -0
- package/package-dist/scripts/lib/foundry-runtime-context-types.js +1 -0
- package/package-dist/scripts/lib/foundry-runtime-context.d.ts +27 -0
- package/package-dist/scripts/lib/foundry-runtime-context.js +668 -0
- package/package-dist/scripts/lib/foundry-runtime-environment.d.ts +9 -0
- package/package-dist/scripts/lib/foundry-runtime-environment.js +90 -0
- package/package-dist/scripts/lib/foundry-runtime-error.d.ts +4 -0
- package/package-dist/scripts/lib/foundry-runtime-error.js +8 -0
- package/package-dist/scripts/lib/foundry-runtime-identity.d.ts +18 -0
- package/package-dist/scripts/lib/foundry-runtime-identity.js +127 -0
- package/package-dist/scripts/lib/foundry-runtime-paths.d.ts +16 -0
- package/package-dist/scripts/lib/foundry-runtime-paths.js +159 -0
- package/package-dist/scripts/lib/foundry-runtime-qualification.d.ts +66 -0
- package/package-dist/scripts/lib/foundry-runtime-qualification.js +223 -0
- package/package-dist/scripts/lib/foundry-runtime-selection-record.d.ts +16 -0
- package/package-dist/scripts/lib/foundry-runtime-selection-record.js +32 -0
- package/package-dist/scripts/lib/foundry-runtime-selection.d.ts +14 -0
- package/package-dist/scripts/lib/foundry-runtime-selection.js +123 -0
- package/package-dist/scripts/lib/foundry-runtime-utils.d.ts +178 -0
- package/package-dist/scripts/lib/foundry-runtime-utils.js +603 -0
- package/package-dist/scripts/lib/foundry-semantic-input.d.ts +30 -0
- package/package-dist/scripts/lib/foundry-semantic-input.js +132 -0
- package/package-dist/scripts/lib/foundry-task-authorization.d.ts +68 -0
- package/package-dist/scripts/lib/foundry-task-authorization.js +350 -0
- package/package-dist/scripts/lib/foundry-task-io.d.ts +18 -0
- package/package-dist/scripts/lib/foundry-task-io.js +92 -0
- package/package-dist/scripts/lib/foundry-task-registration.d.ts +6 -0
- package/package-dist/scripts/lib/foundry-task-registration.js +384 -0
- package/package-dist/scripts/lib/foundry-task-start-spec.d.ts +34 -0
- package/package-dist/scripts/lib/foundry-task-start-spec.js +161 -0
- package/package-dist/scripts/lib/foundry-task-store.d.ts +18 -0
- package/package-dist/scripts/lib/foundry-task-store.js +466 -0
- package/package-dist/scripts/lib/foundry-task-types.d.ts +99 -0
- package/package-dist/scripts/lib/foundry-task-types.js +1 -0
- package/package-dist/scripts/lib/foundry-workflow-approval-continuation.d.ts +6 -0
- package/package-dist/scripts/lib/foundry-workflow-approval-continuation.js +136 -0
- package/package-dist/scripts/lib/foundry-workflow-assessment.d.ts +3 -0
- package/package-dist/scripts/lib/foundry-workflow-assessment.js +231 -0
- package/package-dist/scripts/lib/foundry-workflow-authorization.d.ts +22 -0
- package/package-dist/scripts/lib/foundry-workflow-authorization.js +174 -0
- package/package-dist/scripts/lib/foundry-workflow-context.d.ts +3 -0
- package/package-dist/scripts/lib/foundry-workflow-context.js +99 -0
- package/package-dist/scripts/lib/foundry-workflow-decisions.d.ts +18 -0
- package/package-dist/scripts/lib/foundry-workflow-decisions.js +123 -0
- package/package-dist/scripts/lib/foundry-workflow-execution.d.ts +8 -0
- package/package-dist/scripts/lib/foundry-workflow-execution.js +248 -0
- package/package-dist/scripts/lib/foundry-workflow-finalize.d.ts +13 -0
- package/package-dist/scripts/lib/foundry-workflow-finalize.js +264 -0
- package/package-dist/scripts/lib/foundry-workflow-identity-apply.d.ts +14 -0
- package/package-dist/scripts/lib/foundry-workflow-identity-apply.js +159 -0
- package/package-dist/scripts/lib/foundry-workflow-identity.d.ts +6 -0
- package/package-dist/scripts/lib/foundry-workflow-identity.js +153 -0
- package/package-dist/scripts/lib/foundry-workflow-import.d.ts +4 -0
- package/package-dist/scripts/lib/foundry-workflow-import.js +70 -0
- package/package-dist/scripts/lib/foundry-workflow-io.d.ts +11 -0
- package/package-dist/scripts/lib/foundry-workflow-io.js +77 -0
- package/package-dist/scripts/lib/foundry-workflow-reference-verify.d.ts +41 -0
- package/package-dist/scripts/lib/foundry-workflow-reference-verify.js +266 -0
- package/package-dist/scripts/lib/foundry-workflow-rows.d.ts +2 -0
- package/package-dist/scripts/lib/foundry-workflow-rows.js +47 -0
- package/package-dist/scripts/lib/foundry-workflow-semantic.d.ts +5 -0
- package/package-dist/scripts/lib/foundry-workflow-semantic.js +367 -0
- package/package-dist/scripts/lib/foundry-workflow-state.d.ts +37 -0
- package/package-dist/scripts/lib/foundry-workflow-state.js +158 -0
- package/package-dist/scripts/lib/full-context-proof.d.ts +51 -0
- package/package-dist/scripts/lib/full-context-proof.js +932 -0
- package/package-dist/scripts/lib/identity-preflight-artifacts.d.ts +184 -0
- package/package-dist/scripts/lib/identity-preflight-artifacts.js +573 -0
- package/package-dist/scripts/lib/identity-preflight-proof.d.ts +117 -0
- package/package-dist/scripts/lib/identity-preflight-proof.js +341 -0
- package/package-dist/scripts/lib/identity-reference-rewrite-utils.d.ts +147 -0
- package/package-dist/scripts/lib/identity-reference-rewrite-utils.js +817 -0
- package/package-dist/scripts/lib/import-curation/authoring-packages.d.ts +28 -0
- package/package-dist/scripts/lib/import-curation/authoring-packages.js +92 -0
- package/package-dist/scripts/lib/import-curation/curation-cleanup.d.ts +32 -0
- package/package-dist/scripts/lib/import-curation/curation-cleanup.js +203 -0
- package/package-dist/scripts/lib/import-curation/curation-gate.d.ts +47 -0
- package/package-dist/scripts/lib/import-curation/curation-gate.js +528 -0
- package/package-dist/scripts/lib/import-curation/internal/artifact-inputs.d.ts +24 -0
- package/package-dist/scripts/lib/import-curation/internal/artifact-inputs.js +152 -0
- package/package-dist/scripts/lib/import-curation/internal/authoring-patch-workflow.d.ts +3 -0
- package/package-dist/scripts/lib/import-curation/internal/authoring-patch-workflow.js +3 -0
- package/package-dist/scripts/lib/import-curation/internal/authoring-task-workflow.d.ts +1 -0
- package/package-dist/scripts/lib/import-curation/internal/authoring-task-workflow.js +1 -0
- package/package-dist/scripts/lib/import-curation/internal/context-inputs.d.ts +56 -0
- package/package-dist/scripts/lib/import-curation/internal/context-inputs.js +206 -0
- package/package-dist/scripts/lib/import-curation/internal/curation-gate-workflow.d.ts +14 -0
- package/package-dist/scripts/lib/import-curation/internal/curation-gate-workflow.js +14 -0
- package/package-dist/scripts/lib/import-curation/internal/dataset-payload.d.ts +70 -0
- package/package-dist/scripts/lib/import-curation/internal/dataset-payload.js +141 -0
- package/package-dist/scripts/lib/import-curation/internal/dataset-types.d.ts +25 -0
- package/package-dist/scripts/lib/import-curation/internal/dataset-types.js +45 -0
- package/package-dist/scripts/lib/import-curation/internal/full-context-proof.d.ts +129 -0
- package/package-dist/scripts/lib/import-curation/internal/full-context-proof.js +552 -0
- package/package-dist/scripts/lib/import-curation/internal/hash-utils.d.ts +2 -0
- package/package-dist/scripts/lib/import-curation/internal/hash-utils.js +10 -0
- package/package-dist/scripts/lib/import-curation/internal/mutation-manifest-workflow.d.ts +15 -0
- package/package-dist/scripts/lib/import-curation/internal/mutation-manifest-workflow.js +15 -0
- package/package-dist/scripts/lib/import-curation/internal/prewrite-cleanup.d.ts +31 -0
- package/package-dist/scripts/lib/import-curation/internal/prewrite-cleanup.js +467 -0
- package/package-dist/scripts/lib/import-curation/internal/profiles-config.d.ts +47 -0
- package/package-dist/scripts/lib/import-curation/internal/profiles-config.js +88 -0
- package/package-dist/scripts/lib/import-curation/internal/runtime-io.d.ts +23 -0
- package/package-dist/scripts/lib/import-curation/internal/runtime-io.js +132 -0
- package/package-dist/scripts/lib/import-curation/internal/trace-summary.d.ts +53 -0
- package/package-dist/scripts/lib/import-curation/internal/trace-summary.js +114 -0
- package/package-dist/scripts/lib/import-curation/internal/workflow-authoring-tasks.d.ts +141 -0
- package/package-dist/scripts/lib/import-curation/internal/workflow-authoring-tasks.js +854 -0
- package/package-dist/scripts/lib/import-curation/internal/workflow-decision-apply-context.d.ts +20 -0
- package/package-dist/scripts/lib/import-curation/internal/workflow-decision-apply-context.js +46 -0
- package/package-dist/scripts/lib/import-curation/internal/workflow-decision-full-context.d.ts +110 -0
- package/package-dist/scripts/lib/import-curation/internal/workflow-decision-full-context.js +782 -0
- package/package-dist/scripts/lib/import-curation/internal/workflow-dry-run-context.d.ts +24 -0
- package/package-dist/scripts/lib/import-curation/internal/workflow-dry-run-context.js +191 -0
- package/package-dist/scripts/lib/import-curation/internal/workflow-evidence-scope.d.ts +80 -0
- package/package-dist/scripts/lib/import-curation/internal/workflow-evidence-scope.js +359 -0
- package/package-dist/scripts/lib/import-curation/internal/workflow-identity-decision-context.d.ts +146 -0
- package/package-dist/scripts/lib/import-curation/internal/workflow-identity-decision-context.js +381 -0
- package/package-dist/scripts/lib/import-curation/internal/workflow-identity-preflight.d.ts +223 -0
- package/package-dist/scripts/lib/import-curation/internal/workflow-identity-preflight.js +1079 -0
- package/package-dist/scripts/lib/import-curation/internal/workflow-patch-collect.d.ts +41 -0
- package/package-dist/scripts/lib/import-curation/internal/workflow-patch-collect.js +412 -0
- package/package-dist/scripts/lib/import-curation/internal/workflow-patch-evidence-context.d.ts +117 -0
- package/package-dist/scripts/lib/import-curation/internal/workflow-patch-evidence-context.js +278 -0
- package/package-dist/scripts/lib/import-curation/internal/workflow-patch-evidence.d.ts +59 -0
- package/package-dist/scripts/lib/import-curation/internal/workflow-patch-evidence.js +593 -0
- package/package-dist/scripts/lib/import-curation/internal/workflow-queue-context.d.ts +58 -0
- package/package-dist/scripts/lib/import-curation/internal/workflow-queue-context.js +263 -0
- package/package-dist/scripts/lib/import-curation/internal/workflow-reference-closure.d.ts +177 -0
- package/package-dist/scripts/lib/import-curation/internal/workflow-reference-closure.js +812 -0
- package/package-dist/scripts/lib/import-curation/internal/workflow-row-transform-context.d.ts +159 -0
- package/package-dist/scripts/lib/import-curation/internal/workflow-row-transform-context.js +466 -0
- package/package-dist/scripts/lib/import-curation/internal/workflow-semantic-actions.d.ts +152 -0
- package/package-dist/scripts/lib/import-curation/internal/workflow-semantic-actions.js +1377 -0
- package/package-dist/scripts/lib/import-curation/internal/workflow-source-reference-context.d.ts +38 -0
- package/package-dist/scripts/lib/import-curation/internal/workflow-source-reference-context.js +116 -0
- package/package-dist/scripts/lib/import-curation/mutation-manifest.d.ts +51 -0
- package/package-dist/scripts/lib/import-curation/mutation-manifest.js +542 -0
- package/package-dist/scripts/lib/import-curation/patch-collect.d.ts +18 -0
- package/package-dist/scripts/lib/import-curation/patch-collect.js +172 -0
- package/package-dist/scripts/lib/import-curation/profiles.d.ts +1 -0
- package/package-dist/scripts/lib/import-curation/profiles.js +1 -0
- package/package-dist/scripts/lib/import-curation/trace-summary.d.ts +1 -0
- package/package-dist/scripts/lib/import-curation/trace-summary.js +1 -0
- package/package-dist/scripts/lib/oauth-session-reference.d.ts +1 -0
- package/package-dist/scripts/lib/oauth-session-reference.js +20 -0
- package/package-dist/scripts/lib/post-authoring-finalize-utils.d.ts +95 -0
- package/package-dist/scripts/lib/post-authoring-finalize-utils.js +548 -0
- package/package-dist/scripts/lib/post-write-root-proof.d.ts +44 -0
- package/package-dist/scripts/lib/post-write-root-proof.js +169 -0
- package/package-dist/scripts/lib/reference-description-text.d.ts +2 -0
- package/package-dist/scripts/lib/reference-description-text.js +12 -0
- package/package-dist/scripts/lib/remote-verification-accepted-diff.d.ts +42 -0
- package/package-dist/scripts/lib/remote-verification-accepted-diff.js +424 -0
- package/package-dist/scripts/lib/same-identity-commit-recovery.d.ts +8 -0
- package/package-dist/scripts/lib/same-identity-commit-recovery.js +52 -0
- package/package-dist/scripts/lib/source-semantics.d.ts +255 -0
- package/package-dist/scripts/lib/source-semantics.js +888 -0
- package/package-dist/scripts/lib/stage-contract.d.ts +36 -0
- package/package-dist/scripts/lib/stage-contract.js +25 -0
- package/package-dist/scripts/lib/task-authorization.d.ts +84 -0
- package/package-dist/scripts/lib/task-authorization.js +210 -0
- package/package-dist/scripts/lib/tidas-adapter.d.ts +113 -0
- package/package-dist/scripts/lib/tidas-adapter.js +525 -0
- package/package-dist/scripts/lib/tidas-language-utils.d.ts +8 -0
- package/package-dist/scripts/lib/tidas-language-utils.js +206 -0
- package/package-dist/scripts/lib/tidas-row-utils.d.ts +70 -0
- package/package-dist/scripts/lib/tidas-row-utils.js +225 -0
- package/package-dist/scripts/lib/trace-coverage.d.ts +53 -0
- package/package-dist/scripts/lib/trace-coverage.js +178 -0
- package/package-dist/scripts/package-entry.d.ts +2 -0
- package/package-dist/scripts/package-entry.js +4 -0
- package/package-dist/scripts/public-api.d.ts +80 -0
- package/package-dist/scripts/public-api.js +28 -0
- package/package-dist/scripts/runtime-entry.d.ts +23 -0
- package/package-dist/scripts/runtime-entry.js +424 -0
- package/package.json +93 -0
- package/specs/canonical-support/flow-properties-unit-groups.json +2692 -0
- package/specs/import-profiles.json +118 -0
- package/specs/prewrite-content-policy.json +105 -0
- package/specs/schemas/authorization-derivation.schema.json +34 -0
- package/specs/schemas/execution-context.schema.json +68 -0
- package/specs/schemas/foundry-authorization-input.schema.json +120 -0
- package/specs/schemas/foundry-facade-request-index.schema.json +78 -0
- package/specs/schemas/foundry-managed-runtime.schema.json +122 -0
- package/specs/schemas/foundry-migration-activation.schema.json +213 -0
- package/specs/schemas/foundry-migration-adoption-plan.schema.json +548 -0
- package/specs/schemas/foundry-migration-transfer-receipt.schema.json +93 -0
- package/specs/schemas/foundry-operation-result.schema.json +147 -0
- package/specs/schemas/foundry-package-descriptor.schema.json +134 -0
- package/specs/schemas/foundry-runtime-selection.schema.json +59 -0
- package/specs/schemas/foundry-semantic-input.schema.json +36 -0
- package/specs/schemas/foundry-task-start.schema.json +123 -0
- package/specs/schemas/foundry-workspace-migration-pending.schema.json +17 -0
- package/specs/schemas/foundry-workspace-migration-plan.schema.json +59 -0
- package/specs/schemas/foundry-workspace-migration-transfer-plan.schema.json +357 -0
- package/specs/schemas/foundry-workspace-v2.schema.json +70 -0
- package/specs/schemas/runtime-qualification.schema.json +63 -0
- package/specs/schemas/task-authorization.schema.json +154 -0
- package/specs/schemas/tidas-runtime-expectation.schema.json +54 -0
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: BAFU Leaf Process Classification Authoring
|
|
3
|
+
docType: runbook
|
|
4
|
+
scope: bafu
|
|
5
|
+
status: draft
|
|
6
|
+
owner: tiangong-lca-data-foundry
|
|
7
|
+
related:
|
|
8
|
+
- docs/import-profiles/bafu/profile.md
|
|
9
|
+
- docs/import-profiles/bafu/constraints.md
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
# BAFU Leaf Process Classification Authoring
|
|
13
|
+
|
|
14
|
+
Use this helper when `dataset-library-decisions-apply` writes `process_classification_requires_leaf_authoring` rows to a `blocked-scope-ledger.jsonl`. Those rows mean the library-level process classification decision was only a broad placeholder and cannot satisfy BAFU leaf gating.
|
|
15
|
+
|
|
16
|
+
The helper is a Foundry workflow-internal command. It prepares deterministic, sharded AI authoring inputs; AI or humans author decisions, and Foundry later merges and applies those decisions through the normal library-scope workflow. BAFU-specific repair rules may emit candidate rows, but those candidates are not authoritative decisions and must not be copied into `classification-decisions.jsonl` until reviewed under a full-context task with `authoring_context.context_bundle_sha256`.
|
|
17
|
+
|
|
18
|
+
## Build Shards
|
|
19
|
+
|
|
20
|
+
```bash
|
|
21
|
+
node scripts/foundry.ts dataset-bafu-leaf-classification-tasks-prepare \
|
|
22
|
+
--library-index .foundry/workspaces/bafu-full-import-20260607T080646Z/library-index \
|
|
23
|
+
--blocked-ledger .foundry/workspaces/bafu-full-import-20260607T080646Z/library-resolution-v3-leaf-gated/blocked-scope-ledger.jsonl \
|
|
24
|
+
--library-decisions .foundry/workspaces/bafu-full-import-20260607T080646Z/decisions/classification-decisions.jsonl \
|
|
25
|
+
--out-dir .foundry/workspaces/bafu-full-import-20260607T080646Z/leaf-process-classification-authoring \
|
|
26
|
+
--shard-size 100
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
Inputs are read-only. The helper joins:
|
|
30
|
+
|
|
31
|
+
- `library-entity-index.jsonl` for process name, converted classification, references, source file, semantic key, and payload hash.
|
|
32
|
+
- `scope-projection.jsonl` for process-bundle path, dependency counts, output exchanges, and exchange-flow context.
|
|
33
|
+
- `blocked-scope-ledger.jsonl` for the exact blocked process scopes.
|
|
34
|
+
- optional existing `classification-decisions.jsonl` so AI can see and replace the broad placeholder decision.
|
|
35
|
+
|
|
36
|
+
## Outputs
|
|
37
|
+
|
|
38
|
+
The output directory contains:
|
|
39
|
+
|
|
40
|
+
- `leaf-process-classification-task-report.json`
|
|
41
|
+
- `leaf-process-classification-tasks.jsonl`
|
|
42
|
+
- `classification-decisions.template.jsonl`
|
|
43
|
+
- `shards/leaf-process-classification-tasks-0000.jsonl`
|
|
44
|
+
- `shards/classification-decisions-0000.template.jsonl`
|
|
45
|
+
|
|
46
|
+
Each task row is self-contained for an AI author:
|
|
47
|
+
|
|
48
|
+
```json
|
|
49
|
+
{
|
|
50
|
+
"schema_version": 1,
|
|
51
|
+
"task_kind": "bafu_process_leaf_classification_authoring",
|
|
52
|
+
"status": "needs_leaf_classification_decision",
|
|
53
|
+
"dataset_type": "process",
|
|
54
|
+
"dataset_id": "<process uuid>",
|
|
55
|
+
"dataset_version": "00.00.001",
|
|
56
|
+
"blocked_scope": {
|
|
57
|
+
"reason": "process_classification_requires_leaf_authoring"
|
|
58
|
+
},
|
|
59
|
+
"process_context": {
|
|
60
|
+
"name": "<source-language process name>",
|
|
61
|
+
"converted_classification_path": "<weak converted classification>",
|
|
62
|
+
"source_trace": {
|
|
63
|
+
"source_classification": {
|
|
64
|
+
"category": "<source category>",
|
|
65
|
+
"subCategory": "<source subcategory>"
|
|
66
|
+
},
|
|
67
|
+
"reference_function_attributes": {
|
|
68
|
+
"name": "<source reference function>",
|
|
69
|
+
"unit": "<source unit>"
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
"exchange_context": {
|
|
74
|
+
"output_flows": {
|
|
75
|
+
"rows": [
|
|
76
|
+
{
|
|
77
|
+
"direction": "Output",
|
|
78
|
+
"short_description": "<reference product/output flow>"
|
|
79
|
+
}
|
|
80
|
+
]
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
"existing_library_decision": {
|
|
84
|
+
"selected_code": "<broad placeholder code>",
|
|
85
|
+
"classification_decision_level": "broad_section"
|
|
86
|
+
},
|
|
87
|
+
"decision_template": {
|
|
88
|
+
"dataset_type": "process",
|
|
89
|
+
"dataset_id": "<process uuid>",
|
|
90
|
+
"category_type": "process",
|
|
91
|
+
"selected_code": "__AI_SELECT_TIDAS_PROCESS_LEAF_CODE__",
|
|
92
|
+
"classification_decision_level": "leaf"
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
## AI Output Shape
|
|
98
|
+
|
|
99
|
+
Each shard author should write completed rows in JSONL. Use the template fields and replace the placeholders:
|
|
100
|
+
|
|
101
|
+
```json
|
|
102
|
+
{
|
|
103
|
+
"schema_version": 1,
|
|
104
|
+
"dataset_type": "process",
|
|
105
|
+
"dataset_id": "<process uuid>",
|
|
106
|
+
"dataset_version": "00.00.001",
|
|
107
|
+
"entity_key": "process:<process uuid>:00.00.001",
|
|
108
|
+
"category_type": "process",
|
|
109
|
+
"decision_status": "completed",
|
|
110
|
+
"selected_code": "<TIDAS process leaf code>",
|
|
111
|
+
"basis": "<why this leaf fits the process name, source trace, output flow, and exchange context>",
|
|
112
|
+
"confidence": "high",
|
|
113
|
+
"classification_decision_level": "leaf",
|
|
114
|
+
"authoring_context": {
|
|
115
|
+
"context_bundle_sha256": "<classification-decision-task context_bundle.sha256>"
|
|
116
|
+
},
|
|
117
|
+
"source_name": "<process name>",
|
|
118
|
+
"converted_classification_reference": "<weak converted classification path>",
|
|
119
|
+
"required_resolution": "Select a full TIDAS process leaf code from process category context. Converted classifications and broad section decisions are weak hints only.",
|
|
120
|
+
"used_context_kinds": [
|
|
121
|
+
"library_entity_index",
|
|
122
|
+
"scope_projection",
|
|
123
|
+
"blocked_scope_ledger",
|
|
124
|
+
"process_payload_context",
|
|
125
|
+
"process_exchange_context",
|
|
126
|
+
"tidas_process_category_schema"
|
|
127
|
+
],
|
|
128
|
+
"evidence": {
|
|
129
|
+
"source": "bafu_process_leaf_classification_authoring_task",
|
|
130
|
+
"task_id": "process:<process uuid>:00.00.001",
|
|
131
|
+
"source_file": "<process source file>",
|
|
132
|
+
"payload_sha256": "<library-index payload hash>",
|
|
133
|
+
"broad_decision_replaced": {
|
|
134
|
+
"selected_code": "<old broad code>"
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
`selected_code` must be a valid TIDAS process leaf. Do not return single-letter section codes or short broad group placeholders. Do not edit process rows directly.
|
|
141
|
+
|
|
142
|
+
After shard decisions are reviewed, merge them into the run's `decisions/classification-decisions.jsonl` process rows and rerun:
|
|
143
|
+
|
|
144
|
+
```bash
|
|
145
|
+
node scripts/foundry.ts dataset-library-decisions-apply \
|
|
146
|
+
--library-index .foundry/workspaces/bafu-full-import-20260607T080646Z/library-index \
|
|
147
|
+
--decisions-dir .foundry/workspaces/bafu-full-import-20260607T080646Z/decisions \
|
|
148
|
+
--out-dir .foundry/workspaces/bafu-full-import-20260607T080646Z/library-resolution-v4-leaf-gated
|
|
149
|
+
```
|
|
150
|
+
|
|
151
|
+
The rerun should remove `process_classification_requires_leaf_authoring` for processes whose leaf decisions are complete. Other blockers, such as unresolved elementary-flow identity or canonical support mappings, remain separate.
|
|
152
|
+
|
|
153
|
+
If `dataset-bafu-leaf-classification-category-map-project` writes `process-leaf-classification-candidates.jsonl` or `flow-product-classification-candidates.jsonl`, treat those rows as reviewer aids only. They deliberately use `decision_status=candidate_requires_ai_or_human_review`; affected process scopes remain blocked until a completed, task-bound decision with the exact context bundle hash is written and applied.
|
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: BAFU External Dataset Import Profile
|
|
3
|
+
docType: import-profile
|
|
4
|
+
scope: bafu
|
|
5
|
+
status: draft
|
|
6
|
+
owner: tiangong-lca-data-foundry
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# BAFU External Dataset Import Profile
|
|
10
|
+
|
|
11
|
+
Task authorization follows `docs/task-authorization-contract.md`. Historical account overrides and material-balance observations are evidence for their original task only. New tasks inherit source rules and preparation behavior, with no mint/write action or automatic QA waiver; all required account, unit-scale, context and closure gates remain active.
|
|
12
|
+
|
|
13
|
+
This profile defines the durable orchestration contract for converting the BAFU source package into TianGong-ready ILCD/TIDAS data and writing it into the approved BAFU account. It is the Foundry-facing profile for the workflow; task-local files under `.foundry/workspaces/` are runtime artifacts, not the source of truth for the workflow.
|
|
14
|
+
|
|
15
|
+
BAFU-specific data curation rules live in `docs/import-profiles/bafu/constraints.md`. The BAFU leaf process classification authoring helper is documented in `docs/import-profiles/bafu/leaf-process-classification-authoring.md`; it prepares task-bound AI/human classification work and non-authoritative candidates, not final semantic classifications by itself. The Foundry task workspace must lock the constraints snapshot before generating mutation plans, remote write requests, or final mapping reports.
|
|
16
|
+
|
|
17
|
+
## Execution Layers
|
|
18
|
+
|
|
19
|
+
The BAFU import must be executed through the normal Foundry stack:
|
|
20
|
+
|
|
21
|
+
```text
|
|
22
|
+
Foundry task / user entry
|
|
23
|
+
-> Foundry task router and workspace state machine
|
|
24
|
+
-> top-level external dataset curated import skill
|
|
25
|
+
-> specialized skills for conversion, flow governance, process governance, publish, and verification
|
|
26
|
+
-> Rust tidas, tiangong-lca-cli, search, QA, and publish commands
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
Foundry owns task state, workspace isolation, source manifests, checkpoints, evidence, and gate reconciliation. The top-level skill owns the agent-facing workflow order and dispatches to the correct specialized skills. Deterministic conversion and schema validation belong in unified Rust `tidas`; contract context, QA/curation, and remote operations belong in `tiangong-lca-cli` and the relevant TianGong skill wrappers, not in task-specific Foundry scripts.
|
|
30
|
+
|
|
31
|
+
Historical BAFU runtime scripts under `.foundry/workspaces/` may be used as implementation evidence, but reusable execution logic must be promoted into the owning CLI or skill repository before it becomes part of a durable import workflow. The current ownership plan is recorded in `docs/skill-orchestration/dataset-authoring-skill-architecture.md`.
|
|
32
|
+
|
|
33
|
+
## Execution Entrypoint
|
|
34
|
+
|
|
35
|
+
This entrypoint is for structured entity curation. It applies after BAFU source material has been normalized into TIDAS/ILCD rows, or after another authoring workflow has produced draft structured rows. It is not a first-pass workflow for raw PDFs, reports, screenshots, web pages, free-text notes, or arbitrary spreadsheets.
|
|
36
|
+
|
|
37
|
+
For unstructured-only inputs, use an upstream source-evidence and draft-dataset authoring workflow first: extract facts, preserve citations, make source assumptions explicit, and create draft TIDAS rows. After that, build the curation queue and enter the flow below.
|
|
38
|
+
|
|
39
|
+
After the curation queue exists, every worker must ask the CLI for the next action before changing rows:
|
|
40
|
+
|
|
41
|
+
```bash
|
|
42
|
+
pnpm exec tiangong-lca dataset curation-queue next \
|
|
43
|
+
--queue-dir .foundry/workspaces/<task-id>/curation-queue \
|
|
44
|
+
--entity-type <support|flow|process> \
|
|
45
|
+
--limit 1 \
|
|
46
|
+
--out-dir .foundry/workspaces/<task-id>/execution-next
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
The returned action is the execution contract for that turn. A worker may run the returned CLI command or invoke the returned child skill with the returned input/output artifacts, then it must call `curation-queue next` again. The returned action manifest and its hashes are part of the contract: source-name drafts, apply evidence, and validation reports must carry matching artifact lineage for the current queue task. For import, update, write, or rerun requests, this loop continues until the requested support, flow, and process scopes all return `status=complete`. Workers must not choose arbitrary process batches, select "already clean" rows, or author final names/classifications through task-local scripts. Same-name files and recovered/debug backfills are not publishable completion evidence. This is the execution-time control; the prewrite evidence gate is only the final backstop.
|
|
50
|
+
|
|
51
|
+
Workers may run in parallel when the queue lock table, `depends_on` checkpoints, and task `max_parallelism` policy prove that returned tasks are independent. A blocked entity must write its blocker artifact and keep the blocked dependency closure out of commit scopes, but it must not stop unrelated ready bundle/process tasks from continuing through finalize, commit, readback, and closeout. A retry after human or database support repair resumes from the same queue/checkpoint state and claims only tasks that are not already completed.
|
|
52
|
+
|
|
53
|
+
If `curation-queue verify` is `blocked` while any `curation-queue next` scope still returns `status=ready`, the correct action is to continue the queue, not to stop the run or report a final blocker. Stop only when `next` itself is blocked, when there is no runnable next action but verify remains blocked, or when another profile gate requires human input.
|
|
54
|
+
|
|
55
|
+
Codex can still create or revise a run-level plan when the profile is new or the source is not yet structured. That plan must be persisted as profile constraints, source manifests, queue tasks, entity run plans, and checkpoints before execution starts. During entity execution, the CLI state machine provides stable order and artifact contracts; Codex provides semantic decisions only at the child-skill steps that explicitly request them.
|
|
56
|
+
|
|
57
|
+
## User Launch Contract
|
|
58
|
+
|
|
59
|
+
The user-facing trigger should be short. In Codex or Foundry, a user may write:
|
|
60
|
+
|
|
61
|
+
```text
|
|
62
|
+
把 BAFU 数据写入数据库
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
or:
|
|
66
|
+
|
|
67
|
+
```text
|
|
68
|
+
导入 BAFU 数据到 TianGong
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
Foundry/Codex should route these requests to `external-dataset-curated-import`, then resolve this BAFU profile, the BAFU constraints file, the source manifest, the BAFU account profile, and any existing checkpoints. The user should not need to paste the stage list, account guard command, source paths, or detailed constraints in the prompt when those durable files exist.
|
|
72
|
+
|
|
73
|
+
Runtime `.env` values may supply credentials or CLI defaults, but they are not the durable launch contract. The task workspace must still contain or generate `source-manifest.json`, `profile-lock.json`, account/write guard evidence, the selected BAFU source directory, and the selected converted bundle index. For the current BAFU package, the source manifest/profile lock should point downstream execution at the converted `process-bundles/index.json` and per-process bundle directories; the root `tidas/` directory is retained as conversion output/evidence, not the normal starting point for process-level curation.
|
|
74
|
+
|
|
75
|
+
If the source manifest or account context cannot be resolved, stop and ask only for the missing item. Do not ask the user to restate the full workflow.
|
|
76
|
+
|
|
77
|
+
## Closed-Loop Regression Contract
|
|
78
|
+
|
|
79
|
+
When a BAFU import attempt exposes a reusable defect in Rust tidas, the CLI/SDK context surface, shared skills, or this profile, the next run must be treated as a regression cycle rather than an isolated manual retry:
|
|
80
|
+
|
|
81
|
+
1. Fix the defect in the owning repository and rebuild the affected local tool before invoking it from Foundry.
|
|
82
|
+
2. Start a fresh downstream workspace from this BAFU profile, the current source manifest, and the selected converted `process-bundles/index.json`.
|
|
83
|
+
3. Build a fresh entity queue with `pnpm exec tiangong-lca dataset curation-queue build`, using the current support, flow, process, external-flow-ref, and packaged bundle closure files.
|
|
84
|
+
4. Run `curation-queue next` through support, flow, and process scopes until the requested scope returns `complete`; multiple workers may claim independent tasks up to the task `max_parallelism`.
|
|
85
|
+
5. If a task is blocked, report the exact entity task, command, input artifact, output artifact, validation report, owning repository defect or missing canonical database support, and affected dependency closure. Keep unrelated runnable tasks moving instead of summarizing a prewrite gate with remaining runnable `next` actions as the final blocker.
|
|
86
|
+
6. For scopes that are not blocked, run prewrite verify, policy-gated formal BAFU account write, and readback verify.
|
|
87
|
+
|
|
88
|
+
This lets a user start from a short instruction such as `把 BAFU 数据写入数据库`; the durable profile, constraints, account guard, queue, and checkpoints carry the detailed workflow.
|
|
89
|
+
|
|
90
|
+
## Resume Contract
|
|
91
|
+
|
|
92
|
+
The workflow is a resumable nine-stage state machine. Every stage must write a checkpoint before the next stage starts:
|
|
93
|
+
|
|
94
|
+
```text
|
|
95
|
+
.foundry/workspaces/<task-id>/checkpoints/<NN>-<stage-id>.json
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
Each checkpoint must include:
|
|
99
|
+
|
|
100
|
+
- `stage_id`, `stage_number`, `status`, and timestamps.
|
|
101
|
+
- input file paths plus content hashes or source record ids.
|
|
102
|
+
- output file paths plus content hashes.
|
|
103
|
+
- commands or skills invoked, including project root and version/commit when available.
|
|
104
|
+
- gate report path and pass/fail counts.
|
|
105
|
+
- remote-write mode, if relevant.
|
|
106
|
+
- execution policy fields such as `max_parallelism`, claimed worker id, and blocker isolation status when the stage was run by a batch runner.
|
|
107
|
+
- residual blockers and follow-up task hints.
|
|
108
|
+
|
|
109
|
+
Allowed checkpoint statuses are `pending`, `running`, `passed`, `failed`, and `waived`. A waiver must include explicit evidence and reviewer intent. On restart, the Foundry run resumes from the first stage whose checkpoint is absent, failed, running-stale, waived-with-expired-inputs, or whose input hashes no longer match. If any upstream stage is invalidated, all downstream stages must be treated as invalid until rerun.
|
|
110
|
+
|
|
111
|
+
## Prewrite Evidence Gate
|
|
112
|
+
|
|
113
|
+
Before stage 8 may commit anything to the BAFU account, Foundry must run:
|
|
114
|
+
|
|
115
|
+
```bash
|
|
116
|
+
pnpm exec tiangong-lca dataset curation-queue verify \
|
|
117
|
+
--queue-dir .foundry/workspaces/<task-id>/curation-queue \
|
|
118
|
+
--out-dir .foundry/workspaces/<task-id>/prewrite-evidence-gate
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
The gate report must be `passed` and referenced by the stage 8 checkpoint. It must check action lineage for the current queue task. Artifact filenames, runtime-written `checkpoints/*.json`, schema validation, name-quality validation, remote dry-run, and readback verification cannot substitute for required entity closure and name-plan authoring proof.
|
|
122
|
+
|
|
123
|
+
If the gate is blocked, do not publish. Resume the missing support/flow/process entity tasks from their queue work directories and regenerate the affected stage checkpoints. Task-local report finalizers may summarize completed gates, but they must not synthesize passed checkpoints without the child artifacts named by the prewrite evidence gate.
|
|
124
|
+
|
|
125
|
+
## Stage Order
|
|
126
|
+
|
|
127
|
+
| No. | Stage | Purpose | Required output | Gate before next stage |
|
|
128
|
+
| --- | --- | --- | --- | --- |
|
|
129
|
+
| 1 | Source intake | Freeze source package identity. | source manifest with zip path, checksum, source URL/evidence, package version, extraction directory, and license/source notes. | checksum and extraction manifest present; source identity is unambiguous. |
|
|
130
|
+
| 2 | Normalize | Convert source formats into working ILCD/TIDAS artifacts. | TIDAS JSON, ILCD output, mapping CSV, Rust operation/import reports, command manifest, and `process-bundles/index.json` with one dependency bundle per converted process. | `dataset-tidas-import` completed with a compatible Rust 0.2.x handshake and complete operation report; outputs exist; the BAFU execution source manifest points to the converted bundle index for process-level curation. |
|
|
131
|
+
| 3 | Conversion QA | Check conversion quality before curation. | QA report for exchange direction, EcoSpold trace, schema validation, and mapping completeness. | exchange direction and trace are usable; schema/mapping blockers are zero or explicitly recorded for repair. |
|
|
132
|
+
| 4 | Support curation | Curate writable contact/source records and select compliance, unit group, and flow property references first. | source-language contact/source rows, public canonical mapping, account-local support candidate registry, validation report, and reuse decisions. | all required support refs resolve; public FP/UG are reused where possible; task-authorized account-local FP/UG are same-owner `state_code=0`, carry scale/closure evidence, and remain outside the public cache. |
|
|
133
|
+
| 5 | Flow curation | Curate all referenced flows before process curation. | source-language flow rows with public-flow matching, account-local candidate evidence, classification, name split, property/unit refs, provenance, and validation reports. | every process-referenced flow has `curated_pass`; elementary flows reuse public canonical where proven, while task-authorized unmatched candidates remain same-owner `state_code=0` and outside the global LCIA cache; unresolved identity decisions block dependent writes. |
|
|
134
|
+
| 6 | Process curation | Curate processes against finalized support and flow refs. | source-language process rows with refreshed global refs, exchanges, reference year, annual supply/production, review/source/contact, provenance, and validation reports. | all process refs point to finalized support/flow rows; required fields are filled with traceable evidence; schema and semantic gates pass, except profile-declared QA-code waivers recorded in the checkpoint. |
|
|
135
|
+
| 7 | Mapping/report | Record every material difference from source to final TianGong TIDAS payload. | final `mapping.csv`, methodology report, unresolved issue reports, and principles-new-add file if new rules were discovered. | mapping covers source ids, final ids, field-level changed values, reuse decisions, and unresolved exceptions. |
|
|
136
|
+
| 8 | Remote write | Commit approved rows to the formal BAFU account. | prewrite evidence gate report, official source/contact handoff, profile-specific owner-draft support maintenance report when applicable, flow/process save-draft/upsert reports, retry reports, and duration metrics. | `dataset curation-queue verify` passed for the committed scope; write uses official account-guarded CLI/platform paths only; task write policy permits the exact commit scope; no direct table writes; account-local FP/UG remain current-owner `state_code=0` unless a separate expert-approved promotion plan applies; failures are isolated for targeted retry. |
|
|
137
|
+
| 9 | Readback verify | Verify the remote account state after commit. | remote readback snapshots, diff report against stage 7 outputs, final write status, and final verification summary. | every committed row is found remotely and matches the intended final payload or has a documented accepted difference. |
|
|
138
|
+
|
|
139
|
+
## Stage Rules
|
|
140
|
+
|
|
141
|
+
### 1. Source Intake
|
|
142
|
+
|
|
143
|
+
Record the exact source zip, checksum, source location, package title/version, and extraction directory. The source package itself remains runtime/private input unless separately approved for tracking.
|
|
144
|
+
|
|
145
|
+
### 2. Normalize
|
|
146
|
+
|
|
147
|
+
Use `node scripts/foundry.ts dataset-tidas-import` as the conversion entrypoint so unified Rust `tidas` owns the stable conversion contract. Produce ILCD output when requested, TIDAS JSON, mapping CSV, `import-report.json`, `issues.jsonl`, and default per-process dependency bundles under `process-bundles/` in the task workspace. The normalized output is not yet TianGong-ready data. For BAFU whole-package imports, downstream process curation starts from the bundle index and per-process bundle directories so each process closure can be claimed, blocked, retried, or committed independently; direct traversal of the root `tidas/` tree is only a fallback for conversion audit or rebuilding bundle-derived row files.
|
|
148
|
+
|
|
149
|
+
### 3. Conversion QA
|
|
150
|
+
|
|
151
|
+
Check conversion artifacts before any data curation. Known BAFU conversion risks include exchange direction, EcoSpold source trace retention, schema validity, and source-to-target mapping coverage.
|
|
152
|
+
|
|
153
|
+
### 4. Support Curation
|
|
154
|
+
|
|
155
|
+
Support records are upstream dependencies. Curate them before flows and processes so later global references are materialized from approved support records, not regenerated inside each process.
|
|
156
|
+
|
|
157
|
+
### 5. Flow Curation
|
|
158
|
+
|
|
159
|
+
Flow curation must include identity matching, classification, source-language name-part construction, flow property/unit group selection, and provenance. Flow classification must use the TianGong/TIDAS taxonomy selected through curation; source classifications must be preserved as provenance, not copied as final target taxonomy when they are not valid TianGong classifications.
|
|
160
|
+
|
|
161
|
+
### 6. Process Curation
|
|
162
|
+
|
|
163
|
+
Process curation must consume finalized flow and support records. It must refresh global references before validation instead of failing late on stale refs. Required process fields such as reference year and annual supply/production must be filled from traceable source evidence or an explicitly documented package-level fallback rule. For `annualSupplyOrProductionVolume`, missing source evidence uses Foundry's deterministic `9999 missing-data-sentinel/year` placeholder rather than `common:other` deferral; the value is intentionally non-physical and searchable so database-side curation can replace it later.
|
|
164
|
+
|
|
165
|
+
CLI process/flow/lifecyclemodel QA is a deterministic QA report, not the profile policy decision point. Foundry owns dataset curation, AI authoring packages, deterministic prewrite cleanup, waiver decisions, and final prewrite status. The BAFU full-context gate applies to flow/process/lifecyclemodel scopes; contact and true-source rows remain governed by source/contact policy, while task-authorized account-local FP/UG require a separate candidate registry with exact owner/state, unit-scale, closure, immutable-plan, audit, and readback proof. Curation must still use SDK schema/YAML, classification/location tasks, exact-payload identity preflight, and deterministic patch/cleanup lineage. Before commit, the mutation manifest must prove the exact reference closure: public support resolves through the public canonical cache; account-local FP/UG resolve through the same-owner `state_code=0` candidate registry and remote verify; mixed visibility or cross-owner closure blocks. Data-format, compliance, or placeholder sources remain invalid as true source rows. Profile-specific QA waivers are allowed only when named in `docs/import-profiles/bafu/constraints.md`; `process_material_balance_deviation` remains an account-level observation and all other schema/content issues remain action items unless explicitly updated.
|
|
166
|
+
|
|
167
|
+
### 7. Mapping And Report
|
|
168
|
+
|
|
169
|
+
The final mapping must combine format conversion mapping and TianGong curation mapping. It must show where final TianGong TIDAS payloads differ from the source-derived TIDAS artifacts, including ids, versions, refs, source-language names, classifications, support refs, and documented exceptions.
|
|
170
|
+
|
|
171
|
+
### 8. Remote Write
|
|
172
|
+
|
|
173
|
+
Remote writes must use the approved account context and official CLI/platform write paths. Direct table writes, RLS bypasses, or task-local database shortcuts are not allowed. When the task write policy allows automated batch commit, a batch runner may run the generated commit command for exact scopes whose finalize report, mutation manifest, commit handoff, and prewrite queue verify all pass. Blocked scopes are recorded and excluded from commit; independent scopes continue. `delete` is not part of the automated write workflow; rows that should be removed must be listed for human action.
|
|
174
|
+
|
|
175
|
+
### 9. Readback Verify
|
|
176
|
+
|
|
177
|
+
The workflow is not complete when the write command succeeds. It is complete only after remote readback confirms that all intended rows exist in the BAFU account and match the final curated payloads or an explicitly documented accepted difference. Use `pnpm exec tiangong-lca dataset verify-remote --compare-root-payload --target-user-id <bafu-user-id> --state-code <expected-code>` for the committed root rows and retain its `remote-verification-report.json`.
|
|
178
|
+
|
|
179
|
+
For large BAFU resumes, the ready-scope batch runner should use the resumable controls instead of restarting from the original ready order: `--pending-only`, `--selection-order estimated-weight-asc`, a fresh `--pause-file`, and an operator-chosen `--stop-after-blocked` threshold. `--preflight-only` is the read-only way to inspect the next selected scopes and the active skip/blocker state before opening the writer. The batch support identity cache (`import-ledger/verified-support-identities.jsonl`) is part of the run ledger: once a support contact/source closeout is verified, later scopes may reuse that identity and skip duplicate support handoff while preserving the process/flow commit and post-write verification requirements.
|
|
180
|
+
|
|
181
|
+
## New Principle Capture
|
|
182
|
+
|
|
183
|
+
If a run discovers a new rule that should become durable policy, write it to the task workspace as `principles-new-add.md` and reference it from the stage 7 checkpoint. Do not silently fold new rules into the run without review.
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: USLCI Import Constraints
|
|
3
|
+
docType: constraints
|
|
4
|
+
scope: import-profile
|
|
5
|
+
status: draft
|
|
6
|
+
owner: tiangong-lca-data-foundry
|
|
7
|
+
related:
|
|
8
|
+
- docs/import-profiles/uslci/profile.md
|
|
9
|
+
- specs/import-profiles.json
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
# USLCI Import Constraints
|
|
13
|
+
|
|
14
|
+
## Authorized: account-local "My Data" creation override (2026-06-23, D4-elementary)
|
|
15
|
+
|
|
16
|
+
The user explicitly authorized `allow_account_local_support_and_elementary` for the USLCI profile (`specs/import-profiles.json`), mirroring the BAFU 2026-06-15 override. It reverses the reference-only / elementary-reuse governance **for the USLCI account only**: FEDEFL elementary flows with no public canonical match, plus the 7 local flow-properties / 4 unit-groups with no canonical equivalent, are **minted as account-local My Data (state_code=0)** rather than left non-importable. **Reversible** (`enabled=false` restores reference-only governance).
|
|
17
|
+
|
|
18
|
+
Gates that REMAIN blocking under the override (NOT relaxed):
|
|
19
|
+
|
|
20
|
+
- the unit-scale safety blocker `canonical_support_amount_scaling_required`;
|
|
21
|
+
- schema validation, deterministic QA, curation, and full-context proof gates;
|
|
22
|
+
- remote write still requires dry-run, queue verify, commit handoff, closeout, and readback verification, **and account/write-policy approval (D4) before any remote commit** — `allow_remote_commit` stays false until then.
|
|
23
|
+
|
|
24
|
+
## Generic gates (otherwise)
|
|
25
|
+
|
|
26
|
+
- schema validation blockers remain blockers;
|
|
27
|
+
- deterministic QA blockers remain blockers;
|
|
28
|
+
- missing source evidence for authored fields remains blocking;
|
|
29
|
+
- remote write requires dry-run, queue verify, commit handoff, closeout, and readback verification.
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: USLCI Import Profile
|
|
3
|
+
docType: profile
|
|
4
|
+
scope: import-profile
|
|
5
|
+
status: draft
|
|
6
|
+
owner: tiangong-lca-data-foundry
|
|
7
|
+
related:
|
|
8
|
+
- specs/import-profiles.json
|
|
9
|
+
- docs/foundry-task-contracts.md
|
|
10
|
+
- docs/skill-orchestration/dataset-authoring-skill-architecture.md
|
|
11
|
+
- docs/uslci-import-runbook.md
|
|
12
|
+
- inputs/source-packages/uslci-database-public.md
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
# USLCI Import Profile
|
|
16
|
+
|
|
17
|
+
Task authorization follows `docs/task-authorization-contract.md`. Historical account overrides and material-balance observations are evidence for their original task only. New tasks inherit source rules and preparation behavior, with no mint/write action or automatic QA waiver; all required account, unit-scale, context and closure gates remain active.
|
|
18
|
+
|
|
19
|
+
This profile is the placeholder for USLCI package imports. It exists to keep USLCI as data/profile configuration, not as a Foundry code path.
|
|
20
|
+
|
|
21
|
+
## Lane
|
|
22
|
+
|
|
23
|
+
Use `external-dataset-curated-import` for structured USLCI source packages. Source extraction, conversion, validation, QA, curation queue state, and write/readback behavior must stay in the owning CLI, tools, skills, and database surfaces.
|
|
24
|
+
|
|
25
|
+
## Initial Policy
|
|
26
|
+
|
|
27
|
+
- No profile-specific QA waivers are defined yet.
|
|
28
|
+
- Preserve source-language/source-package evidence before row repair.
|
|
29
|
+
- Build entity queues with `tiangong-lca dataset curation-queue build`.
|
|
30
|
+
- Drive resumable work with `tiangong-lca dataset curation-queue next`.
|
|
31
|
+
- Require `tiangong-lca dataset curation-queue verify` before write planning.
|
|
32
|
+
|
|
33
|
+
## Resolved Decisions
|
|
34
|
+
|
|
35
|
+
- Source package format detection and converter owner: the package is openLCA JSON-LD (auto-detected `openlca-jsonld`, high confidence); the active converter is unified Rust `tidas import`, invoked through `node scripts/foundry.ts dataset-tidas-import`. The external U.S. electricity baseline library is frozen inside the package's `libraries/` directory so converting the package root yields a reference-closed conversion. The dated Python/CLI-wrapper evidence in `docs/uslci-import-runbook.md` and `inputs/source-packages/uslci-database-public.md` is retained only as historical provenance and is not an active invocation contract.
|
|
36
|
+
|
|
37
|
+
## Open Decisions
|
|
38
|
+
|
|
39
|
+
Owned by the pilot phase of `docs/uslci-import-runbook.md` (Phase 4, D2-D4):
|
|
40
|
+
|
|
41
|
+
- USLCI source citation/source row policy (NREL attribution, bin/ attachments).
|
|
42
|
+
- Any profile-specific QA observations that should be warnings rather than blockers (LCI_RESULT processes, allocationFactors, amountFormula, unsupported flow properties).
|
|
43
|
+
- Account/state-code/write policy (human approval gates `allow_remote_commit`).
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
---
|
|
2
|
+
lastReviewedAt: 2026-09-08
|
|
3
|
+
lastReviewedCommit: 2c1a449c0af751067d5c05363128353e288b1126
|
|
4
|
+
lastReviewedNote: "Reviewed for Foundry #123: adopt independently verified CLI0.1.12 at immutable6df087b, including the corrected original Windows HTTP bootstrap. Exact package/runtime expectations, release input/source/script hashes and current examples advance together; Node/TIDAS pins, profile semantics, authorization and retained private-case evidence are unchanged. Final F1 publication remains separate."
|
|
5
|
+
title: worldsteel Import Constraints
|
|
6
|
+
docType: constraints
|
|
7
|
+
scope: import-profile
|
|
8
|
+
status: draft
|
|
9
|
+
authoritative: true
|
|
10
|
+
owner: tiangong-lca-data-foundry
|
|
11
|
+
language: en
|
|
12
|
+
whenToUse:
|
|
13
|
+
- when deciding whether a Worldsteel canonical-cache miss may enter an owner-draft support scope
|
|
14
|
+
- when evaluating unit-scale, closure, handoff, or readback blockers for Worldsteel
|
|
15
|
+
whenToUpdate:
|
|
16
|
+
- when Worldsteel support authorization, ordering, or blocking semantics change
|
|
17
|
+
- when the shared support/finalize engine changes the enforceable candidate boundary
|
|
18
|
+
checkPaths:
|
|
19
|
+
- specs/import-profiles.json
|
|
20
|
+
- scripts/commands/worldsteel-batch-import-run.ts
|
|
21
|
+
- scripts/commands/bafu-batch-import-run.ts
|
|
22
|
+
- scripts/commands/post-authoring-finalize.ts
|
|
23
|
+
- docs/import-profiles/worldsteel/profile.md
|
|
24
|
+
- docs/import-profiles/worldsteel/constraints.md
|
|
25
|
+
- docs/import-profiles/worldsteel/import-plan.md
|
|
26
|
+
- docs/import-profiles/worldsteel/import-coverage.md
|
|
27
|
+
- test/unit/worldsteel-support-mint-truth.test.mts
|
|
28
|
+
related:
|
|
29
|
+
- docs/import-profiles/worldsteel/profile.md
|
|
30
|
+
- docs/import-profiles/worldsteel/import-plan.md
|
|
31
|
+
- specs/import-profiles.json
|
|
32
|
+
---
|
|
33
|
+
|
|
34
|
+
# worldsteel Import Constraints
|
|
35
|
+
|
|
36
|
+
Current task authorization is defined by `docs/task-authorization-contract.md`. Distributed profiles grant no mint/write action or QA waiver. The dated R1–R5 decisions and inventories below are historical case evidence; new tasks require their own exact binding and action evidence. Local candidate preparation remains available, and old locks/seals/attempts are not rewritten or replayed.
|
|
37
|
+
|
|
38
|
+
## Reference-by-UUID first (the dominant policy)
|
|
39
|
+
|
|
40
|
+
The ~1,315 EF3.1 reference elementary flows + every FP/UG present in the canonical-support cache are **reused by their original canonical UUID** through the offline library-resolution `exchange-reference-rewrites.jsonl` (applied by the runner's `applyResolutionRewrites`). A canonical row is **never minted**. Each rewrite row must carry `canonical_short_description` so committed exchanges show the flow name, not the UUID.
|
|
41
|
+
|
|
42
|
+
## Authorized account-local exceptions (2026-06-29 and 2026-07-01)
|
|
43
|
+
|
|
44
|
+
The distributed Worldsteel profile grants no account-local exception. The historical 2026-06-29 decision authorized the small residual of **GaBi/Sphera pseudo-elementary flows** (dataSetVersion 20.25.x) that have no canonical match — **expected at most 17** — as account-local My Data (`state_code=0`). The 2026-07-01 delivery decision separately supersedes the earlier FP/UG reference-only statement: `mintUnmatchedFpUgSupport=true` admits materialized FP/UG whose UUID is absent from the canonical-support cache into the same task-gated support path.
|
|
45
|
+
|
|
46
|
+
- These residual flows are **NOT** matched by UUID; the AI judges reuse-vs-mint from **full context**.
|
|
47
|
+
- The final elementary mint count is reviewed **after** the UUID-reuse pass. New tasks start with no elementary or support write actions; select each required action through task authorization.
|
|
48
|
+
- Canonical FP/UG are always reused. For cache misses, Unit Groups are ordered before Flow Properties and candidates are normalized to same-owner My Data version `00.00.001`; they never enter the public canonical cache.
|
|
49
|
+
- The retained 10+10 EF3.1 LANCA gap explains why the support flag was enabled, and the historical delivery inventory records 11+11 owner rows. The runtime has no LANCA name whitelist or numeric hard cap: its enforceable candidate boundary is the canonical-cache miss inside the materialized ready-scope closure.
|
|
50
|
+
- Support preparation/commit/readback failure blocks and defers the dependent flow/process scope. Independent ready scopes may continue, but no failed support scope may be treated as complete.
|
|
51
|
+
|
|
52
|
+
## Gates that REMAIN blocking (NOT relaxed)
|
|
53
|
+
|
|
54
|
+
- both unit-scale safety blockers: `canonical_support_amount_scaling_required` and `canonical_support_amount_scale_unresolved`;
|
|
55
|
+
- schema validation through Rust tidas against its locked corrected eILCD schemas (not raw EF3.1), deterministic QA (a process material-balance observation requires current approval and source-model evidence), curation, and full-context AI proof for `flow`/`process`/`lifecyclemodel`;
|
|
56
|
+
- remote write requires dry-run, queue verify, commit handoff, closeout, and readback verification, **and account/write-policy approval before any remote commit** — `allow_remote_commit` stays false until then.
|
|
57
|
+
|
|
58
|
+
## worldsteel-specific identity & attribution
|
|
59
|
+
|
|
60
|
+
- **Library contact:** packaged id `d5710976@20.20.002` is occupied by another account and is not a usable public reference. Mint one deterministic same-owner contact at `00.00.001` from the runner's real World Steel Association identity fields; never substitute BAFU/FOEN defaults.
|
|
61
|
+
- **Database fallback source:** processes whose data source resolves to a placeholder cite the synthesized `worldsteel LCI database` source — never the BAFU 2025 default.
|
|
62
|
+
- **Version:** preserve source `dataSetVersion` inside the ILCD/TIDAS payload for provenance. New Worldsteel-owned DB rows use key `00.00.001`; canonical references keep their current published versions.
|
|
63
|
+
- **LCIA methods:** the 25 EF3.1 LCIA method datasets are reference/provenance only and are NOT written inline by the import.
|
|
64
|
+
- **External documents:** the 13 `referenceToDigitalFile` binaries are uploaded to the `external_docs` bucket and the source `@uri` rewritten by `tiangong-lca dataset source upload-attachments` (authenticated as `data@worldsteel.org`) before write; plain `http(s)` referenceToDigitalFile URIs are left untouched.
|
|
65
|
+
|
|
66
|
+
## Runtime governance additions (2026-07-01)
|
|
67
|
+
|
|
68
|
+
Landed while committing the first worldsteel processes; all are gated to the worldsteel profile so BAFU/USLCI are byte-for-byte unchanged.
|
|
69
|
+
|
|
70
|
+
- **Process-name source metadata.** Source names such as `Steel rebar Global 2022`, `Steel sections EU 2019` and `Steel ECCS Global 2021 v2` retain their trailing geography/year metadata. Only that single `latin-author-year` match in a process `baseName` is classified as source naming metadata. Additional author/year matches, table/figure markers, other name fields and all flow/lifecyclemodel names remain checked. There is no `waived_content_policy_rules_by_type` permission.
|
|
71
|
+
|
|
72
|
+
- **Foreign/RLS-hidden drafts are not references.** The historical process exchange pointing at `3c4b0e5d "Slag (deposited)" @00.00.001` resolved only under a different account at `state_code=0` and is invisible to `data@worldsteel.org`. That cross-account observation is not valid readback evidence. Current runs must keep `missing_dataset` blocking and replace the exchange with an allowed public or same-owner visible reference; no trusted-key list may convert it to passed. Production-test account runs are unconditionally fail-closed.
|
|
73
|
+
- **Canonical reuse pinned to latest published version.** Reuse-by-UUID decisions are swept to the latest `state_code=100` version before commit (the post-write readback rejects references below a flow's latest published version). Only flows that drifted are updated.
|
|
74
|
+
|
|
75
|
+
### Corrections to the initial plan
|
|
76
|
+
|
|
77
|
+
The contact and version bullets above are the current contract and supersede the initial packaged-contact reuse and native DB-row-version assumptions. The deterministic contact uses `steel@worldsteel.org`, classification `Organisations > Other organisations`, and `Avenue de Tervueren 270, 1150 Brussels`; new owner-draft rows use `00.00.001`, while source versions remain inside the payload as provenance.
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
---
|
|
2
|
+
lastReviewedAt: 2026-09-08
|
|
3
|
+
lastReviewedCommit: 2c1a449c0af751067d5c05363128353e288b1126
|
|
4
|
+
lastReviewedNote: "Reviewed for Foundry #123: adopt independently verified CLI0.1.12 at immutable6df087b, including the corrected original Windows HTTP bootstrap. Exact package/runtime expectations, release input/source/script hashes and current examples advance together; Node/TIDAS pins, profile semantics, authorization and retained private-case evidence are unchanged. Final F1 publication remains separate."
|
|
5
|
+
title: worldsteel EF3.1 Import Coverage Evidence
|
|
6
|
+
docType: report
|
|
7
|
+
scope: import-profile/worldsteel
|
|
8
|
+
status: retained
|
|
9
|
+
authoritative: true
|
|
10
|
+
owner: tiangong-lca-data-foundry
|
|
11
|
+
language: en
|
|
12
|
+
whenToUse:
|
|
13
|
+
- when establishing the retained 2026-07-01 reason for enabling unmatched FP/UG support
|
|
14
|
+
- when distinguishing historical owner inventory from current runtime policy and verification
|
|
15
|
+
whenToUpdate:
|
|
16
|
+
- when a later durable delivery supersedes these retained counts or their interpretation
|
|
17
|
+
- when hardening changes whether any historical result still qualifies as current evidence
|
|
18
|
+
checkPaths:
|
|
19
|
+
- specs/import-profiles.json
|
|
20
|
+
- scripts/commands/worldsteel-batch-import-run.ts
|
|
21
|
+
- docs/import-profiles/worldsteel/profile.md
|
|
22
|
+
- docs/import-profiles/worldsteel/constraints.md
|
|
23
|
+
- docs/import-profiles/worldsteel/import-plan.md
|
|
24
|
+
- docs/import-profiles/worldsteel/import-coverage.md
|
|
25
|
+
- test/unit/worldsteel-support-mint-truth.test.mts
|
|
26
|
+
---
|
|
27
|
+
|
|
28
|
+
# worldsteel EF3.1 import — coverage report
|
|
29
|
+
|
|
30
|
+
Current task authorization is defined by `docs/task-authorization-contract.md`. Distributed profiles grant no mint/write action or QA waiver. The dated R1–R5 decisions and inventories below are historical case evidence; new tasks require their own exact binding and action evidence. Local candidate preparation remains available, and old locks/seals/attempts are not rewritten or replayed.
|
|
31
|
+
|
|
32
|
+
Imported under account **data@worldsteel.org** (uid 7d6d550a). Generated 2026-07-01.
|
|
33
|
+
|
|
34
|
+
> Historical pre-hardening report. It records the 2026-07-01 run, but its accepted foreign `state_code=0` reference is no longer valid verification evidence. Current runs must remain blocked until that dependency resolves to an allowed public or same-owner visible row.
|
|
35
|
+
|
|
36
|
+
Current executable policy, reviewed 2026-08-26: `mintUnmatchedFpUgSupport=true`. This retained report supplies the delivery reason (10+10 LANCA rows) and observed owner inventory (11+11), not a runtime name whitelist or numeric cap. Runtime admits materialized FP/UG canonical-cache misses only as same-owner `state_code=0` support candidates; Unit Groups precede Flow Properties, canonical matches are reused, and any unit-scale, schema, QA, curation, closure, handoff, or readback failure defers the dependent scope while independent ready scopes may continue.
|
|
37
|
+
|
|
38
|
+
## Historical result: 33 / 33 processes committed; 1 reference no longer qualifies as verified
|
|
39
|
+
|
|
40
|
+
| Entity (owned by data@worldsteel.org, state_code=0 My Data) | Count |
|
|
41
|
+
| ---------------------------------------------------------------------------- | ----- |
|
|
42
|
+
| Processes | 33 |
|
|
43
|
+
| Flows (worldsteel-specific: products, wastes, GaBi/Sphera pseudo-elementary) | 75 |
|
|
44
|
+
| Flow properties (EF3.1 LANCA land-use LCIA indicators, account-local mint) | 11 |
|
|
45
|
+
| Unit groups (EF3.1 LANCA, account-local mint) | 11 |
|
|
46
|
+
| Library contact (World Steel Association) | 1 |
|
|
47
|
+
| Database fallback source (worldsteel LCI database) | 1 |
|
|
48
|
+
|
|
49
|
+
Plus **~1,315 EF3.1 reference elementary flows + canonical flow properties / unit groups reused by their original canonical UUID** (never minted). The historical USLCI-owned `3c4b0e5d "Slag (deposited)"` reference is foreign/RLS-hidden `state_code=0`; it is now a hard `missing_dataset` blocker and must be replaced before a current run can pass.
|
|
50
|
+
|
|
51
|
+
## Processes (33)
|
|
52
|
+
|
|
53
|
+
1. `4e6abaf8` Steel cold rolled coil Europe 2022
|
|
54
|
+
2. `cafd9e0e` Steel cold rolled coil Global 2022
|
|
55
|
+
3. `b7f40b84` Steel ECCS Global 2021 v2
|
|
56
|
+
4. `75ea4c0b` Steel Electrogalvanized EU 2020
|
|
57
|
+
5. `a833e462` Steel Electrogalvanized Global 2022
|
|
58
|
+
6. `861e63cb` Steel Engineering steel EU 2019
|
|
59
|
+
7. `d37ae520` Steel Engineering steel Global 2022
|
|
60
|
+
8. `1f966ba7` Steel finished cold rolled coil Europe 2022
|
|
61
|
+
9. `c42afcc0` Steel finished cold rolled coil Global 2022
|
|
62
|
+
10. `bb79ebdb` Steel hot dip galvanised Europe 2022
|
|
63
|
+
11. `2c3799bd` Steel hot dip galvanised Global 2022
|
|
64
|
+
12. `d780460f` Steel Hot Rolled Coil Europe 2022
|
|
65
|
+
13. `c1bcd3c7` Steel Hot Rolled Coil Global 2022
|
|
66
|
+
14. `01e6ea67` Steel organic coated Europe 2022
|
|
67
|
+
15. `4670e025` Steel organic coated Global 2022
|
|
68
|
+
16. `02c63472` Steel pickled hot rolled coil Europe 2022
|
|
69
|
+
17. `5e31796f` Steel pickled hot rolled coil Global 2022
|
|
70
|
+
18. `90c8be70` Steel plate Europe 2022
|
|
71
|
+
19. `1ce4c3fc` Steel plate Global 2022
|
|
72
|
+
20. `f777c438` Steel rebar EU 2019
|
|
73
|
+
21. `0f288aaa` Steel rebar Global 2022
|
|
74
|
+
22. `d3de9d64` Steel seamless pipe Europe 2022
|
|
75
|
+
23. `18b4ada3` Steel seamless pipe Global 2022
|
|
76
|
+
24. `4134d8b8` Steel sections EU 2019
|
|
77
|
+
25. `da04b3b6` Steel sections Global 2022
|
|
78
|
+
26. `aeadf929` Steel tinplated Europe 2022
|
|
79
|
+
27. `9d9ff205` Steel tinplated Global 2022
|
|
80
|
+
28. `b68b9d77` Steel UO pipe Global 2022
|
|
81
|
+
29. `6e57b16e` Steel welded pipe EU 2019
|
|
82
|
+
30. `416058da` Steel welded pipe Global 2022
|
|
83
|
+
31. `7d9fa1e1` Steel wire rod Europe 2022
|
|
84
|
+
32. `c5c31a54` Steel wire rod Global 2022
|
|
85
|
+
33. `91bd5958` Value of Scrap 2022
|
|
86
|
+
|
|
87
|
+
## Governance decisions applied
|
|
88
|
+
|
|
89
|
+
- **Reference-only EF3.1 layer** reused by canonical UUID (deterministic exchange-reference-rewrites); canonical reuse pinned to the latest published version.
|
|
90
|
+
- **Foreign reference correction** — the prior USLCI-owned state-0 reuse is retired. A current worldsteel run cannot accept that hidden row and must select an allowed public or same-owner visible dependency.
|
|
91
|
+
- **Account-local mint** for the residual with no canonical match: worldsteel-specific product/waste/pseudo-elementary flows, and the 10+10 EF3.1 LANCA land-use LCIA indicator flow-properties/unit-groups (Erosion Resistance, Mechanical/Physicochemical Filtration, Biotic Production, Groundwater Replenishment — Occupation & Transformation), all written as My Data at 00.00.001 (their native EF3.1 versions were occupied by other accounts).
|
|
92
|
+
- **Content-policy waiver** (process names only): source_locator_in_dataset_name is waived because worldsteel names are "<product> <route> <geography> <data-year>" — reference metadata, not a citation.
|
|
93
|
+
- **Contact** minted under a fresh foundry-owned UUID carrying the real World Steel Association identity (steel@worldsteel.org, Avenue de Tervueren 270; classification Organisations > Other organisations) — never BAFU/FOEN defaults.
|