@tiangong-lca/foundry 0.1.15 → 0.1.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -5
- package/docs/architecture.md +7 -5
- package/docs/foundry-task-contracts.md +3 -3
- package/docs/package-distribution-contract.md +12 -10
- package/docs/public-runtime-contract.md +8 -4
- package/docs/runtime-context-contract.md +5 -5
- package/docs/task-authorization-contract.md +3 -3
- package/package-dist/assets/foundry-package-descriptor.json +57 -37
- package/package-dist/scripts/lib/foundry-package-contract.d.ts +2 -2
- package/package-dist/scripts/lib/foundry-package-contract.js +2 -2
- package/package-dist/scripts/lib/foundry-preparation-cli-validation.d.ts +20 -0
- package/package-dist/scripts/lib/foundry-preparation-cli-validation.js +191 -0
- package/package-dist/scripts/lib/foundry-runtime-qualification.js +2 -2
- package/package-dist/scripts/lib/foundry-runtime-utils.js +1 -1
- package/package-dist/scripts/lib/foundry-workflow-assessment.js +47 -9
- package/package-dist/scripts/lib/foundry-workflow-io.js +3 -2
- package/package-dist/scripts/lib/foundry-workflow-state.js +10 -0
- package/package-dist/scripts/lib/import-curation/curation-gate.d.ts +5 -1
- package/package-dist/scripts/lib/import-curation/curation-gate.js +29 -1
- package/package-dist/scripts/lib/import-curation/internal/context-inputs.js +1 -1
- package/package-dist/scripts/lib/tidas-adapter.js +38 -15
- package/package-dist/scripts/lib/tidas-process-flow-context.d.ts +12 -0
- package/package-dist/scripts/lib/tidas-process-flow-context.js +96 -0
- package/package.json +2 -2
- package/specs/schemas/foundry-managed-runtime.schema.json +1 -1
- package/specs/schemas/foundry-package-descriptor.schema.json +2 -2
- package/specs/schemas/runtime-qualification.schema.json +1 -1
package/README.md
CHANGED
|
@@ -158,9 +158,9 @@ checkPaths:
|
|
|
158
158
|
- test/unit/lint-suppression-audit.test.mts
|
|
159
159
|
- test/unit/zero-javascript-ratchet.test.mts
|
|
160
160
|
- test/scenarios/foundry-package-consumer.test.mts
|
|
161
|
-
lastReviewedAt: 2026-10-
|
|
162
|
-
lastReviewedCommit:
|
|
163
|
-
lastReviewedNote: "Reviewed Foundry #
|
|
161
|
+
lastReviewedAt: 2026-10-08
|
|
162
|
+
lastReviewedCommit: d07ac492a3a5891502039a6cc83ef30b9fbba50b
|
|
163
|
+
lastReviewedNote: "Reviewed Foundry #237 exact three-field 0.1.16 to 0.1.17 release projection from eligible PR236 Main d07ac492; CLI/native pins, lock closure, authorization and all business source remain unchanged. Official publication and final managed qualification remain pending."
|
|
164
164
|
---
|
|
165
165
|
|
|
166
166
|
# TianGong LCA Data Foundry
|
|
@@ -342,9 +342,9 @@ pnpm case:production:contact-draft -- \
|
|
|
342
342
|
|
|
343
343
|
The runner accepts no API key or alternate CLI path on argv. It reads only `TIANGONG_LCA_API_BASE_URL`, `TIANGONG_LCA_SUPABASE_PUBLISHABLE_KEY`, and `TIANGONG_LCA_TEST_API_KEY`; the test key exists only in the child environment. The env file must be a regular non-symlink file with POSIX mode `0600` or stricter and, when it is inside this repository, must be git-ignored. The new output directory must also be inside this repository, git-ignored, and reached without a symlinked parent.
|
|
344
344
|
|
|
345
|
-
This production lane is POSIX-only. Windows execution fails closed until the runner can verify a user-exclusive ACL; Windows CI covers that refusal rather than a live case. On POSIX, the runner snapshots the exact installed CLI 0.1.
|
|
345
|
+
This production lane is POSIX-only. Windows execution fails closed until the runner can verify a user-exclusive ACL; Windows CI covers that refusal rather than a live case. On POSIX, the runner snapshots the exact installed CLI 0.1.27 package inside its pnpm dependency island, hashes and rechecks the full pnpm installation plus Foundry source/build/lock facts before every child boundary, executes from a clean directory with `shell=false`, fsyncs create-only private evidence, and publishes a content-addressed case manifest only after the runtime snapshot is removed. Any detected secret in stdout, a report, or a sidecar artifact fails the case and leaves only redacted failure evidence. The created contact remains isolated, unreviewed, and unpublished under the authenticated test account for later case evidence; the lane never performs review/publish transitions or mutates foreign/public/shared rows.
|
|
346
346
|
|
|
347
|
-
Credential-scoped commands use `pnpm account:run -- <profile> -- <executable> [args...]`. The ignored profile supplies both the expected Supabase project ref and canonical user UUID. The wrapper resolves the installed CLI 0.1.
|
|
347
|
+
Credential-scoped commands use `pnpm account:run -- <profile> -- <executable> [args...]`. The ignored profile supplies both the expected Supabase project ref and canonical user UUID. The wrapper resolves the installed CLI 0.1.27, obtains a fresh intent-bound `auth identity-receipt`, and then executes the requested argv without a shell and without inheriting unrelated parent environment variables. Authentication bypass flags are unsupported.
|
|
348
348
|
|
|
349
349
|
Issue #70 consumes CLI 0.1.3 through its supported `./batch` and `./auth-identity-receipt` subpaths. The production identity-preflight path uses the public strict parser; deterministic receipt construction exists only in a local test fixture, and the toolchain ratchet rejects every `@tiangong-lca/cli/dist/src/**` import. pnpm's 1,440-minute maturity gate remains enabled; the exact 0.1.3 exception is bound to the release already verified by tag, Sigstore/Rekor provenance, registry integrity, and clean public consumers.
|
|
350
350
|
|
package/docs/architecture.md
CHANGED
|
@@ -152,9 +152,9 @@ checkPaths:
|
|
|
152
152
|
- test/unit/foundry-runtime-environment.test.mts
|
|
153
153
|
- test/unit/lint-suppression-audit.test.mts
|
|
154
154
|
- docs/incremental-change-set-contract.md
|
|
155
|
-
lastReviewedAt: 2026-10-
|
|
156
|
-
lastReviewedCommit:
|
|
157
|
-
lastReviewedNote: "Reviewed Foundry #
|
|
155
|
+
lastReviewedAt: 2026-10-08
|
|
156
|
+
lastReviewedCommit: d07ac492a3a5891502039a6cc83ef30b9fbba50b
|
|
157
|
+
lastReviewedNote: "Reviewed Foundry #237 exact three-field 0.1.16 to 0.1.17 release projection from eligible PR236 Main d07ac492; CLI/native pins, lock closure, authorization and all business source remain unchanged. Official publication and final managed qualification remain pending."
|
|
158
158
|
---
|
|
159
159
|
|
|
160
160
|
# Architecture
|
|
@@ -181,7 +181,7 @@ The public task facade delegates sealed owner execution to `foundry-workflow-exe
|
|
|
181
181
|
|
|
182
182
|
## OAuth identity boundary
|
|
183
183
|
|
|
184
|
-
Foundry selects a private session reference and exact project/user intent, then calls the published CLI for a fresh server-verified identity receipt. It validates TTL, canonical hash, expected identity and current OAuth session metadata without owning login, password decoding, token exchange or refresh. Candidate Golden execution uses an isolated Git-visible source snapshot so ignored operator state cannot change qualification. Support-cache transport is owned by the public CLI export. Foundry validates the fresh identity, project, public-state scope, completion marker, artifact paths and hashes, then summarizes rows and atomically replaces only the requested local cache. The CLI runs in a private temporary cwd with an allowlisted OAuth environment; the operator checkout .env and unrelated secrets cannot enter that child. Exact public CLI 0.1.
|
|
184
|
+
Foundry selects a private session reference and exact project/user intent, then calls the published CLI for a fresh server-verified identity receipt. It validates TTL, canonical hash, expected identity and current OAuth session metadata without owning login, password decoding, token exchange or refresh. Candidate Golden execution uses an isolated Git-visible source snapshot so ignored operator state cannot change qualification. Support-cache transport is owned by the public CLI export. Foundry validates the fresh identity, project, public-state scope, completion marker, artifact paths and hashes, then summarizes rows and atomically replaces only the requested local cache. The CLI runs in a private temporary cwd with an allowlisted OAuth environment; the operator checkout .env and unrelated secrets cannot enter that child. Exact public CLI 0.1.27 and reviewed TIDAS 0.2.x/0.3.x expectations are independently selected and re-observed through the W04 qualification boundary. F1 component provenance and package qualification remain W06/W08 gates.
|
|
185
185
|
|
|
186
186
|
## Qualified execution boundary
|
|
187
187
|
|
|
@@ -195,6 +195,8 @@ Foundry selects a private session reference and exact project/user intent, then
|
|
|
195
195
|
|
|
196
196
|
`foundry-workflow-decisions.ts` prepares classification/location work through the reusable factories in `lib/decision-owners/`; the original flat command modules remain thin adapters. `foundry-decision-owners.ts` composes these factories with installed CLI schemas, canonical row helpers and isolated local CLI execution. Semantic submission dispatches the selected owner against its exact current task context, publishes successful rows and requires reassessment before another owner consumes them.
|
|
197
197
|
|
|
198
|
+
`foundry-preparation-cli-validation.ts` verifies the public CLI report transport and exact candidate/dependency bindings, then projects owner findings into existing authoring actions. `tidas-process-flow-context.ts` preserves explicit local Flow context in native batches and rejects identity/content conflicts. These adapters do not implement scientific validators; native TIDAS and the owning CLI retain their profiles.
|
|
199
|
+
|
|
198
200
|
`foundry-workflow-identity.ts` performs fresh account verification and read-only CLI preflight before locally registering captured evidence. `foundry-identity-owners.ts` composes the existing query/request/runner owners with explicit executable/environment facts; `bundle-source-context.ts` shares unchanged source-trace and name extraction. `foundry-authentication-environment.ts` supplies the narrow authentication environment used by verification and preflight. A current preflight report invalidates the earlier assessment so manual-review findings become identity tasks.
|
|
199
201
|
|
|
200
202
|
`foundry-workflow-identity-apply.ts` admits exact task/snapshot/context-bound decisions, delegates identity partitioning and dependent process-reference rewrites to existing owners, and verifies that partition contents preserve current scope. The semantic transaction activates only successful resolved output, retaining identity/rewrite report lineage. Unresolved partitions remain diagnostic with unchanged current rows.
|
|
@@ -346,7 +348,7 @@ Build and test resolution must be worktree-local. A clean arbitrary Git worktree
|
|
|
346
348
|
|
|
347
349
|
Cross-platform characterization is also explicit: the Golden harness compares normalized outputs to a non-`HEAD` merge-base, performs recursive comparison in Node rather than calling an external Unix utility, and uses full Git history in CI. Script-backed executable overrides are represented as an executable plus argv prefix and run through Node on macOS, Linux, and Windows. The root `.gitattributes` fixes text files to LF while allowing Windows launcher exceptions, preventing checkout policy from masquerading as format drift.
|
|
348
350
|
|
|
349
|
-
The first credential-bearing entrypoint on that spine is `scripts/with-lca-account.ts`. It does not authenticate against Supabase itself. It resolves the exact installed CLI 0.1.
|
|
351
|
+
The first credential-bearing entrypoint on that spine is `scripts/with-lca-account.ts`. It does not authenticate against Supabase itself. It resolves the exact installed CLI 0.1.27, requests `auth identity-receipt` with both expected project and user assertions, accepts only a fresh intent-bound forced signin, and then launches the requested executable plus argv with `shell:false` and a restricted environment. The CLI owns session and live identity behavior; Foundry owns the profile/thread intent checks and safe process boundary.
|
|
350
352
|
|
|
351
353
|
`scripts/lib/identity-preflight-proof.ts` imports the strict parser from the public `@tiangong-lca/cli/auth-identity-receipt` subpath. `test/fixtures/auth-identity-receipt.ts` is the sole test-only wire-fixture owner and produces bytes that must pass that public parser. No production module or fixture may load CLI `dist/src/**`; the installed-package contract also exercises public batch scheduling/run-lock behavior and proves the private path remains closed.
|
|
352
354
|
|
|
@@ -28,9 +28,9 @@ checkPaths:
|
|
|
28
28
|
- specs/schemas/execution-context.schema.json
|
|
29
29
|
- specs/import-profiles.json
|
|
30
30
|
- tasks/**
|
|
31
|
-
lastReviewedAt: 2026-10-
|
|
32
|
-
lastReviewedCommit:
|
|
33
|
-
lastReviewedNote: "Reviewed Foundry #
|
|
31
|
+
lastReviewedAt: 2026-10-07
|
|
32
|
+
lastReviewedCommit: caa95a4808eda51dc5c7c78f3c39e4e079bdb802
|
|
33
|
+
lastReviewedNote: "Reviewed Foundry #223 preparation consuming complete owning CLI 0.1.27 validation, exact candidate/Flow bindings and published Toolkit 0.3.4 applicable coverage; authorization and no-replay boundaries remain unchanged. Foundry source version stays 0.1.16 pending a separate release."
|
|
34
34
|
related:
|
|
35
35
|
- AGENTS.md
|
|
36
36
|
- WORKFLOW.md
|
|
@@ -34,9 +34,9 @@ checkPaths:
|
|
|
34
34
|
- test/commands/foundry-release-*.test.mts
|
|
35
35
|
- test/unit/runtime-layout.test.mts
|
|
36
36
|
- test/scenarios/foundry-package-consumer.test.mts
|
|
37
|
-
lastReviewedAt: 2026-10-
|
|
38
|
-
lastReviewedCommit:
|
|
39
|
-
lastReviewedNote: "Reviewed Foundry #
|
|
37
|
+
lastReviewedAt: 2026-10-08
|
|
38
|
+
lastReviewedCommit: d07ac492a3a5891502039a6cc83ef30b9fbba50b
|
|
39
|
+
lastReviewedNote: "Reviewed Foundry #237 exact three-field 0.1.16 to 0.1.17 release projection from eligible PR236 Main d07ac492; CLI/native pins, lock closure, authorization and all business source remain unchanged. Official publication and final managed qualification remain pending."
|
|
40
40
|
related:
|
|
41
41
|
- docs/public-runtime-contract.md
|
|
42
42
|
- docs/runtime-context-contract.md
|
|
@@ -48,15 +48,15 @@ related:
|
|
|
48
48
|
|
|
49
49
|
The npm identity is `@tiangong-lca/foundry`; the public bin is `tiangong-foundry`. W06 establishes the installable `0.1.0` candidate and its production dependency closure. It does not publish a registry version or call this candidate F1. W08 owns the release-only workflow, Trusted Publishing/provenance, immutable tag, platform components, SBOM/license bundle and product compatibility manifest.
|
|
50
50
|
|
|
51
|
-
CLI 0.1.
|
|
51
|
+
CLI 0.1.27 is independently verified at exact `cli-v0.1.27` source `a438138fa40845a69ad72f96f015d6f36faa4ff6`, with registry signatures, cryptographically verified Sigstore provenance and immutable npm integrity. The registry omits `gitHead`; signed provenance binds that exact release commit and publish run `37589225932`. The public tarball SHA-256 is `bc9c1a025580951512dccf73a4031a5428484b430df77c4663635c1e619b8914`. Its POSIX and PowerShell bootstrap bytes are unchanged and were re-hashed from the immutable source, whose commit time is `2026-10-07T07:32:54Z`. The source-bound TIDAS spec remains 0.2.3 at `f118660dbcbfbf736be74837cce0bf26cd177245`, with eighteen schema hashes and manifest `5b69ab859e26a253dc51c6aeee68c971d727b1f8db44128143795113fe3eee6a`. The production closure now selects SDK 0.5.1; native Toolkit 0.3.3 and all other production packages remain unchanged. Exact package-specific minimum-release-age exceptions select the verified CLI and SDK versions; the 1,440-minute default stays intact.
|
|
52
52
|
|
|
53
53
|
Historically, Foundry #215 adopted CLI 0.1.23 in source while retaining package version 0.1.13; the then-published Foundry 0.1.13 bundled CLI 0.1.22. That adoption required a separate version-only release and qualified final runtime manifest/lock. The already merged #210 terminal decision-recap characterization changed only two test files and added no runtime behavior.
|
|
54
54
|
|
|
55
|
-
The package depends exactly on public `@tiangong-lca/cli@0.1.
|
|
55
|
+
The package depends exactly on public `@tiangong-lca/cli@0.1.27`. Ajv remains a development dependency for internal commands and release-side SPDX validation; Saxes 6.0.0 is a development dependency used only by the offline final-delivery workbook reader for namespace-aware OOXML parsing. Sigstore 5.0.0, YAML 2.9.0, tar 7.5.22 and fflate 0.8.3 are also development-only release tools for signing/verification, lock parsing and bounded upstream archive selection. None enters the public compiler/dependency closure. TIDAS is an independently verified native component selected later by the CLI manager, not an npm dependency or bundled binary.
|
|
56
56
|
|
|
57
57
|
The development verification chain from Sigstore through minimatch 10.2.6 now locks brace-expansion 5.0.12, a compatible patch within its existing range. Bounded isolated regressions cover both stack-exhaustion advisories while retaining ordinary expansion behavior. The sixteen-package production closure is unchanged. The high-severity audit threshold, default 1,440-minute release age and all package/native input versions remain unchanged; no advisory ignore or new dependency override is added.
|
|
58
58
|
|
|
59
|
-
The source adoption of CLI 0.1.
|
|
59
|
+
The source adoption of CLI 0.1.27 keeps Foundry's package version at 0.1.15. The existing public Foundry 0.1.15 and its final runtime manifest still contain CLI 0.1.24. A separately qualified version-only Foundry release and final four-platform publication must precede Skills lock adoption; this source change does not replace any immutable published package or runtime component.
|
|
60
60
|
|
|
61
61
|
## Public surface
|
|
62
62
|
|
|
@@ -174,7 +174,7 @@ Source CI preserves each successful native result under a run-attempt-specific a
|
|
|
174
174
|
|
|
175
175
|
## CI qualification and verified build reuse
|
|
176
176
|
|
|
177
|
-
The local `pnpm prepush:gate` remains the complete developer gate. Full source CI partitions the complete test-file inventory into four duration-balanced groups on each
|
|
177
|
+
The local `pnpm prepush:gate` remains the complete developer gate. Full source CI partitions the complete test-file inventory into four duration-balanced groups on each Linux/macOS platform and eight on Windows x64. The plan digest binds the complete platform-to-shard mapping; aggregation requires all 20 receipts and every test file exactly once per platform. Test files execute in isolated Node processes; shared environment and process mocks never require concurrent tests within one process. New unprofiled files remain included. Successful per-file summaries from the prior timed-out Windows run provide measured preparation weights; new installed preparation groups retain explicitly estimated weights until successful hosted measurement. Partial event logs supply timing evidence only, never a passing shard receipt. The 40-minute job limit remains unchanged. Every shard binds the exact clean source and global plan digest, records Node-owned counters and per-file execution evidence, and hashes its event report. Missing, duplicate, failed, platform-mismatched or stale results block qualification.
|
|
178
178
|
|
|
179
179
|
Only a pull request whose exact ancestor-related diff passes `inspectFoundryRelease` may use the version-only lane. It allows the same three version fields and permitted single-line review metadata, then runs type/lint/toolchain, build/surface/audit, release/package contracts and the real packed consumer. Mixed source, dependencies, lock changes, document bodies or invalid Git evidence cannot select this lane. Every final release `workflow_call` supplies its exact source SHA and requires complete four-platform tests, native qualification, aggregation and copied bootstrap, either freshly executed or restored from a verified complete source capsule. Tests and the complete read-only native path run in parallel after the shared package build. Native aggregation and copied-bootstrap checks do not wait for tests; the final qualification gate joins all test and native-path results before signing. Required platform checks run their dependency guard even after a failed or skipped prerequisite. Full aggregation and bootstrap use explicit cancellation/result guards so an intentionally skipped version-only job cannot suppress them transitively. An always-running terminal gate requires every stage selected by the mode to succeed; missing or skipped full-qualification stages fail the workflow. Publication continuations likewise require successful prerequisites and respect cancellation.
|
|
180
180
|
|
|
@@ -312,15 +312,17 @@ The production dependency payload is an input to complete runtime-component asse
|
|
|
312
312
|
|
|
313
313
|
`pnpm release:prepare-native --output <new-absolute-directory>` binds its clean source and current supported host to the reviewed Node/TIDAS entries in `specs/release/runtime-inputs.json`. It offers no platform, version, source or registry override. Native downloads use a bounded HTTPS transfer through official artifact hosts, verify the pinned SHA-256 before parsing, and select the declared Node files or the complete TIDAS v2 inventory. The TIDAS reader checks the exact release version/target/source, binary and nested notice hashes, complete file inventory, Cargo-lock/package evidence, native XML notice coverage and Rust compiler/source notice bindings. Missing, extra, changed, linked, duplicated, unsafe or oversized files fail before output creation. The tar reader only streams regular selected entries; complete ZIP inputs additionally check ordinary single-disk central records for file types before development-only fflate decompression. Output paths come from the verified bounded inventory, and all files are written as regular files.
|
|
314
314
|
|
|
315
|
-
The current Node input is24.19.0 at source `cdc1b38d40cb567b7ad0b39c86addf830a0af0ae`; its official SHASUMS256 entries pin the four targets. The source LICENSE is byte-identical to the selected macOS release LICENSE. Windows uses the official `win-x64/node.exe` plus that checksum-bound source license. TIDAS 0.3.
|
|
315
|
+
The current Node input is24.19.0 at source `cdc1b38d40cb567b7ad0b39c86addf830a0af0ae`; its official SHASUMS256 entries pin the four targets. The source LICENSE is byte-identical to the selected macOS release LICENSE. Windows uses the official `win-x64/node.exe` plus that checksum-bound source license. TIDAS 0.3.4 is pinned to actual release target `0f14b48c70a56ecf6a6c036930585a18a2e8728f`, as recorded by the immutable release request and source-bound SLSA/SPDX attestations for all four public archives. The tag target owns the binary source identity. The command checks the TIDAS distribution manifest, executes the downloaded Node to verify version/architecture, and uses the existing TIDAS version/validation handshake in an isolated home. It records native observations, selected file hashes, upstream sources, licenses and SPDX data as assembly inputs.
|
|
316
316
|
|
|
317
|
-
Native handshake success is not minimum-host or clean-machine qualification. Current binary inspection finds Node macOS minimum13.5 and TIDAS minimum11.0; both TIDAS GNU Linux targets require GLIBC2.38. The public Windows TIDAS 0.3.
|
|
317
|
+
Native handshake success is not minimum-host or clean-machine qualification. Current binary inspection finds Node macOS minimum13.5 and TIDAS minimum11.0; both TIDAS GNU Linux targets require GLIBC2.38. The public Windows TIDAS 0.3.4 executable uses static CRT linkage: independent PE import inspection finds only Windows OS DLLs, and the exact-tag [native workflow](https://github.com/tiangong-lca/tidas-toolkit/actions/runs/37630999395) passed packaged smoke. The reviewed input profile records an empty external-runtime DLL list and the independently hashed public executable. Historical public 0.3.3 [Toolkit #232](https://github.com/tiangong-lca/tidas-toolkit/issues/232) runs the downloaded public zip on a Windows runner with the same 400-row synthetic input at short and deep Unicode paths, checks byte-identical issue/batch spools, and retains genuine I/O classification; it does not qualify or change the selected 0.3.4 binary. [TIDAS #181](https://github.com/tiangong-lca/tidas-toolkit/issues/181) and [release #220](https://github.com/tiangong-lca/tidas-toolkit/issues/220) retain historical 0.3.3 evidence; [Toolkit #242](https://github.com/tiangong-lca/tidas-toolkit/issues/242) records actual 0.3.4 publication and independent public archive/provenance qualification. Complete Node/CLI/Foundry/TIDAS cold-start qualification remains a further F1 gate.
|
|
318
318
|
|
|
319
319
|
## Qualification
|
|
320
320
|
|
|
321
321
|
`pnpm package:build` rebuilds both output roots from scratch and verifies the staged package. `pnpm package:check` compares the stage with the descriptor, runs a pack dry-run, and verifies the installed C1 descriptor. `pnpm package:pack` packs only `package-stage/` into an owned temporary directory, derives the versioned archive name from the verified staged descriptor, then installs it with an exclusive hardlink. The repository manifest, compiled verifier version and descriptor JSON Schema version remain coherent release projections; the verifier never takes its expected identity from the installed manifest it is checking. An identical existing archive is reused; a link, invalid file or different existing bytes are preserved and rejected rather than overwritten.
|
|
322
322
|
|
|
323
|
-
The package scenario rebuilds twice, packs twice byte-identically, and installs the same tarball into two clean consumers; the second install is offline from the first consumer's isolated public cache. The scenario first verifies the source-pinned pnpm version. Corepack, when used, stores that tool in a fresh scenario-local cache shared across the isolated tool homes; later packing runs with Corepack networking disabled and latest-version lookup disabled. Tool bootstrap and the first public-registry install have bounded five-minute deadlines for cold network downloads; the offline install and local commands retain their two-minute deadlines. It verifies the exact import surface and declarations, public CLI 0.1.
|
|
323
|
+
The package scenario rebuilds twice, packs twice byte-identically, and installs the same tarball into two clean consumers; the second install is offline from the first consumer's isolated public cache. The scenario first verifies the source-pinned pnpm version. Corepack, when used, stores that tool in a fresh scenario-local cache shared across the isolated tool homes; later packing runs with Corepack networking disabled and latest-version lookup disabled. Tool bootstrap and the first public-registry install have bounded five-minute deadlines for cold network downloads; the offline install and local commands retain their two-minute deadlines. It verifies the exact import surface and declarations, public CLI 0.1.27 runtime identity, shebang/bin, source/installed operation equivalence, arbitrary Unicode CWD, read-only package bytes, isolated workspace writes and all six facade operations. The installed bin additionally preserves a task brief, a human question, an investigation reply and its corrected answer across fresh processes; the recap remains partial and keeps the raw answer in the indexed task state. It also proves that internal commands, modified/extra/linked files, a lifecycle-bearing manifest, a `darwin-x64` descriptor and a package copied without C1 fail closed.
|
|
324
|
+
|
|
325
|
+
The allocation consumer scenario exercises Product and Waste Flow targets in both Input and Output directions through the actual installed public CLI in the verified component cache. It checks the versioned semantic profile, exact candidate and original Flow hashes, profile/tolerance options hash, Elementary exclusion, missing-context status and immutable input bytes. This direct CLI launch is separate from genuine Foundry IPC. A Process source-evidence task then selects the validated Input Waste wrapper and its CLI report, binds both source hashes to the registered actor/task/runtime, follows returned IPC actions through local row materialization, and preserves the Process payload and exact semantic context. The report is recorded as selected evidence; it is not a Foundry semantic admission decision or remote write authority. Native TIDAS and predecessor runtime metadata in this scenario remain fixtures. Existing registered tasks require explicit reviewed runtime adoption; dependency/source delivery never migrates or replays them automatically.
|
|
324
326
|
|
|
325
327
|
These checks qualify a local candidate tarball. They do not prove registry provenance, public component download, native TIDAS availability on every host or a complete Node+CLI+Foundry+TIDAS component. Those are W08 release gates.
|
|
326
328
|
|
|
@@ -34,9 +34,9 @@ checkPaths:
|
|
|
34
34
|
- test/scenarios/foundry-package-consumer.test.mts
|
|
35
35
|
- test/scenarios/foundry-interaction-workflow.test.mts
|
|
36
36
|
- docs/public-runtime-contract.md
|
|
37
|
-
lastReviewedAt: 2026-10-
|
|
38
|
-
lastReviewedCommit:
|
|
39
|
-
lastReviewedNote: "Reviewed Foundry #
|
|
37
|
+
lastReviewedAt: 2026-10-08
|
|
38
|
+
lastReviewedCommit: d07ac492a3a5891502039a6cc83ef30b9fbba50b
|
|
39
|
+
lastReviewedNote: "Reviewed Foundry #237 exact three-field 0.1.16 to 0.1.17 release projection from eligible PR236 Main d07ac492; CLI/native pins, lock closure, authorization and all business source remain unchanged. Official publication and final managed qualification remain pending."
|
|
40
40
|
related:
|
|
41
41
|
- docs/runtime-context-contract.md
|
|
42
42
|
- docs/task-authorization-contract.md
|
|
@@ -84,6 +84,10 @@ The public facade assesses one current dataset type per resume. It registers a c
|
|
|
84
84
|
|
|
85
85
|
The qualified CLI returns exit 1 with a valid `blocked` curation-queue report when selected Process references lack local Flow rows or declared external evidence. Foundry accepts that pair only after checking the report schema, current input paths and hashes, bounded output paths and matching manifest/task/lock/blocker files. It indexes the complete queue evidence and continues local validation, QA and curation; their blockers still prevent scientific completion and write handoff. The default result counts unresolved Flow reference occurrences, says what Process review cannot yet establish and what evidence to provide, and links the indexed blocker file with every exact ID and exchange path. A pending human question remains visible beside this gap. Once independent types have been assessed, unchanged resume does not repeat the blocked queue; adding selected source files requires a new task revision.
|
|
86
86
|
|
|
87
|
+
Process assessment also invokes the qualified published CLI's local `dataset validate` for the same current rows. It retains all four owner validation layers (`schema`, `authoring_evidence`, `content`, `multilingual`) and the sibling allocation/reference profile with candidate, options and exact Flow dependency hashes. Applicable findings enter the existing bounded authoring patch workflow before identity/finalization. Unknown scientific evidence remains an explicit gap; Foundry does not infer annual periods or rewrite allocation data. Report bytes and current input/context artifacts are required for reuse. This local report does not establish authenticated remote reference eligibility or full source closure; final account/state/preimage/reference checks remain fresh and separate.
|
|
88
|
+
|
|
89
|
+
Native Process batches preserve the original row's explicit `semantic_context.flow_documents` as supplemental documents. One exact Flow identity cannot have conflicting canonical content across primary or supplemental documents. Supplemental native failures invalidate their owning Process rows and retain context pointers; primary row counts remain unchanged while augmented manifest hashes, document counts, fingerprints and semantic coverage remain visible. Incomplete or mismatched Process coverage cannot become a valid preparation report.
|
|
90
|
+
|
|
87
91
|
The compatibility report retains native diagnostic fields and supplies curation's `code` and JSON-pointer `path` from the native issue code/location. Row normalization uses the canonical `json` payload slot for typed API wrappers so native validation, curation and CLI patch application address the same domain payload while preserving row metadata and source lineage.
|
|
88
92
|
|
|
89
93
|
When qualified native row validation exits outside success/data-issues, the assessment retains its authentic bounded TIDAS operation report in `native-validation-failure.json`, including exit code/class, all native diagnostics, bounded stderr, the exact selected row file/hash/count and current row-manifest binding. A separate registered assessment-failure result points to that evidence; no schema/QA/curation set is marked complete. Fresh status and unchanged resume expose a plain-language blocker with the affected dataset type, native diagnostic code, I/O or other failure, what remains unassessed and the indexed evidence path. They do not silently rerun the failed local operation or advance toward identity, approval or write. The full task-local report remains available when the default message is shortened. Malformed, oversized or changed failure evidence is refused rather than relabeled as a data issue or success. A replacement qualified runtime requires an explicitly reviewed task revision; this evidence does not authorize one.
|
|
@@ -221,7 +225,7 @@ Every facade revision also rechecks all retained predecessors in its request cha
|
|
|
221
225
|
|
|
222
226
|
## Runtime selection and migration seam
|
|
223
227
|
|
|
224
|
-
The public facade accepts CLI/TIDAS expectations only through its process-local host interface. Ordinary argv, task specs, `.env` and ambient `TIDAS_BIN`/expectation variables cannot select trust anchors. Without a host selection, doctor, start, status and local resume work and report `qualification.required`; child-required work must return the runtime qualification action. The managed bin now obtains this selection from the CLI IPC context and its verified component metadata. The final immutable production product manifest remains a W08 deliverable. The current exact CLI 0.1.
|
|
228
|
+
The public facade accepts CLI/TIDAS expectations only through its process-local host interface. Ordinary argv, task specs, `.env` and ambient `TIDAS_BIN`/expectation variables cannot select trust anchors. Without a host selection, doctor, start, status and local resume work and report `qualification.required`; child-required work must return the runtime qualification action. The managed bin now obtains this selection from the CLI IPC context and its verified component metadata. The final immutable production product manifest remains a W08 deliverable. The current exact CLI 0.1.27 constraint remains explicit rather than silently accepting a future version.
|
|
225
229
|
|
|
226
230
|
`workspace migrate --dry-run` recursively inventories only regular files/directories, rejects links and returns `tiangong-foundry.workspace-migration-plan.v1` as an inline content-bound artifact. It classifies control, local-preparation, terminal-success, attempted/unknown, authorization/account and unclassified paths. The public envelope is bounded to 10,000 entries and 64 directory levels. The total hashed inventory is bounded to 256 MiB. Files larger than 64 MiB and recognized credential/session files retain path/size/classification facts with `sha256=null`; their contents are not read by this inventory. The tree digest binds this observational inventory, not an atomic filesystem snapshot, so W10 must re-read and verify every selected source immediately before apply. It writes nothing. W10 owns application, rollback and detailed old-schema mapping.
|
|
227
231
|
|
|
@@ -40,9 +40,9 @@ checkPaths:
|
|
|
40
40
|
- test/scenarios/runtime-workspace.test.mts
|
|
41
41
|
- test/scenarios/foundry-execution-admission.test.mts
|
|
42
42
|
- test/scenarios/foundry-package-consumer.test.mts
|
|
43
|
-
lastReviewedAt: 2026-10-
|
|
44
|
-
lastReviewedCommit:
|
|
45
|
-
lastReviewedNote: "Reviewed Foundry #
|
|
43
|
+
lastReviewedAt: 2026-10-08
|
|
44
|
+
lastReviewedCommit: d07ac492a3a5891502039a6cc83ef30b9fbba50b
|
|
45
|
+
lastReviewedNote: "Reviewed Foundry #237 exact three-field 0.1.16 to 0.1.17 release projection from eligible PR236 Main d07ac492; CLI/native pins, lock closure, authorization and all business source remain unchanged. Official publication and final managed qualification remain pending."
|
|
46
46
|
related:
|
|
47
47
|
- docs/architecture.md
|
|
48
48
|
- docs/task-authorization-contract.md
|
|
@@ -64,9 +64,9 @@ The public task facade delegates sealed owner execution to `foundry-workflow-exe
|
|
|
64
64
|
|
|
65
65
|
The public workflow selects derived row/context facts from the current verified task index before assessment. `runFoundryTaskOperation` rechecks their producer ancestry and original sources. Native validation and the exact CLI's local QA/queue commands use the qualified runtime and isolated environment; curation and authoring write only to a fresh task-owned generation. Runtime assets and source-owner reference bases remain separate from user workspace paths.
|
|
66
66
|
|
|
67
|
-
For queue build
|
|
67
|
+
For queue build, the exact CLI's exit 1 can carry a valid `blocked` data report. Foundry verifies its schema/status pair, current selected row paths and SHA-256 values, and the complete regular-file queue output tree before indexing those artifacts. Process `dataset validate` likewise admits exit 0/1 only when the complete report matches the current row candidate, four validation layers, allocation/reference coverage, supplied exact Flow documents and output artifacts. The exact SDK 0.5.1 `core/validation/process-semantics` and native 0.3.4 `tidas-validation/src/process_semantics.rs` emit checks by applicability; `contracts.rs` accumulates those emitted checks. Undeclared/scalar-empty and targetless compatibility modes do not require explicit-target fraction/direction coverage. Missing profile evidence or unresolved coverage presented as passed is rejected without introducing scientific rules. Its data findings become existing bounded authoring action items; absence or inconsistency of evidence fails closed. Other CLI exits retain their existing fail-closed treatment. A blocked closure is a local evidence gap; it cannot grant authorization, finalization or a replay of any owner attempt.
|
|
68
68
|
|
|
69
|
-
`qualifyFoundryRuntime` compares an independently selected CLI expectation with the exact installed `@tiangong-lca/cli@0.1.
|
|
69
|
+
`qualifyFoundryRuntime` compares an independently selected CLI expectation with the exact installed `@tiangong-lca/cli@0.1.27` runtime descriptor. It also compares a strict TIDAS expectation with the selected platform, executable bytes, compatible 0.2.x or 0.3.x version, validation protocols, event schemas and asset fingerprint. The selected TIDAS executable is copied into a private temporary directory, rehashed there and invoked with the credential-free child environment; both handshake calls must be silent. Qualification uses a process-local brand. The portable identity described by `runtime-qualification.schema.json` is diagnostic evidence and cannot be deserialized into authority.
|
|
70
70
|
|
|
71
71
|
The TIDAS expectation admits only `linux-x64`, `linux-arm64`, `darwin-arm64` and `win32-x64`; `darwin-x64` cannot enter the schema or runtime context. `tidas-runtime-expectation.schema.json` is the reviewed machine shape. Qualification creation performs the isolated version/protocol/assets handshake once. Every later assertion reopens and hashes the selected executable and rejects any byte drift before child admission; identical immutable bytes do not replay the handshake. This keeps the original observed behavior bound to exact content while avoiding repeated child-process creation inside one admission call.
|
|
72
72
|
|
|
@@ -29,9 +29,9 @@ checkPaths:
|
|
|
29
29
|
- test/unit/task-authorization.test.mts
|
|
30
30
|
- test/unit/task-profile-authority.test.mts
|
|
31
31
|
- test/scenarios/foundry-execution-admission.test.mts
|
|
32
|
-
lastReviewedAt: 2026-10-
|
|
33
|
-
lastReviewedCommit:
|
|
34
|
-
lastReviewedNote: "Reviewed Foundry #
|
|
32
|
+
lastReviewedAt: 2026-10-07
|
|
33
|
+
lastReviewedCommit: caa95a4808eda51dc5c7c78f3c39e4e079bdb802
|
|
34
|
+
lastReviewedNote: "Reviewed Foundry #223 preparation consuming complete owning CLI 0.1.27 validation, exact candidate/Flow bindings and published Toolkit 0.3.4 applicable coverage; authorization and no-replay boundaries remain unchanged. Foundry source version stays 0.1.16 pending a separate release."
|
|
35
35
|
related:
|
|
36
36
|
- docs/architecture.md
|
|
37
37
|
- docs/safety-policy.md
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
"schema": "tiangong-foundry.package-descriptor.v1",
|
|
3
3
|
"package": {
|
|
4
4
|
"name": "@tiangong-lca/foundry",
|
|
5
|
-
"version": "0.1.
|
|
5
|
+
"version": "0.1.17",
|
|
6
6
|
"cli_dependency": {
|
|
7
7
|
"name": "@tiangong-lca/cli",
|
|
8
|
-
"version": "0.1.
|
|
8
|
+
"version": "0.1.27"
|
|
9
9
|
},
|
|
10
10
|
"bin": "package-dist/scripts/package-entry.js",
|
|
11
11
|
"public_api": "package-dist/scripts/public-api.js",
|
|
@@ -60,18 +60,18 @@
|
|
|
60
60
|
},
|
|
61
61
|
{
|
|
62
62
|
"path": "README.md",
|
|
63
|
-
"bytes":
|
|
64
|
-
"sha256": "
|
|
63
|
+
"bytes": 67637,
|
|
64
|
+
"sha256": "385b26274079dd13f6c113f13b6ee1e0e0e6cf6b224cf9127f6f52105c62efb5"
|
|
65
65
|
},
|
|
66
66
|
{
|
|
67
67
|
"path": "docs/architecture.md",
|
|
68
|
-
"bytes":
|
|
69
|
-
"sha256": "
|
|
68
|
+
"bytes": 60058,
|
|
69
|
+
"sha256": "f2ad057c528ba82e74d3ad945e26705f7ff29bcb3fd3b74a4efa61bb7781e785"
|
|
70
70
|
},
|
|
71
71
|
{
|
|
72
72
|
"path": "docs/foundry-task-contracts.md",
|
|
73
|
-
"bytes":
|
|
74
|
-
"sha256": "
|
|
73
|
+
"bytes": 27574,
|
|
74
|
+
"sha256": "6798cb3191655690dc857666b5b414a64ac282c4675b97a2a021a2ac42f38ecf"
|
|
75
75
|
},
|
|
76
76
|
{
|
|
77
77
|
"path": "docs/import-profiles/bafu/constraints.md",
|
|
@@ -120,18 +120,18 @@
|
|
|
120
120
|
},
|
|
121
121
|
{
|
|
122
122
|
"path": "docs/package-distribution-contract.md",
|
|
123
|
-
"bytes":
|
|
124
|
-
"sha256": "
|
|
123
|
+
"bytes": 75744,
|
|
124
|
+
"sha256": "9a766bdaf3245b62c0edba2e39ce703f53580ab8d2970307868a2e547e4d1ada"
|
|
125
125
|
},
|
|
126
126
|
{
|
|
127
127
|
"path": "docs/public-runtime-contract.md",
|
|
128
|
-
"bytes":
|
|
129
|
-
"sha256": "
|
|
128
|
+
"bytes": 57445,
|
|
129
|
+
"sha256": "6f69dcd055503d81b3be60f3c874934ab2059cc3dfd8b69ec838c03fa0e2b66a"
|
|
130
130
|
},
|
|
131
131
|
{
|
|
132
132
|
"path": "docs/runtime-context-contract.md",
|
|
133
|
-
"bytes":
|
|
134
|
-
"sha256": "
|
|
133
|
+
"bytes": 22946,
|
|
134
|
+
"sha256": "64594f5c49a646bb37c15645cb76dfdb3e691d4ff2c4b7fd8c0159df7375e00d"
|
|
135
135
|
},
|
|
136
136
|
{
|
|
137
137
|
"path": "docs/safety-policy.md",
|
|
@@ -140,8 +140,8 @@
|
|
|
140
140
|
},
|
|
141
141
|
{
|
|
142
142
|
"path": "docs/task-authorization-contract.md",
|
|
143
|
-
"bytes":
|
|
144
|
-
"sha256": "
|
|
143
|
+
"bytes": 19562,
|
|
144
|
+
"sha256": "31649c67309d672b8e8663df051ac8287ad8c4c69bc054368ee71cf58c7fa627"
|
|
145
145
|
},
|
|
146
146
|
{
|
|
147
147
|
"path": "docs/uslci-import-runbook.md",
|
|
@@ -736,12 +736,22 @@
|
|
|
736
736
|
{
|
|
737
737
|
"path": "package-dist/scripts/lib/foundry-package-contract.d.ts",
|
|
738
738
|
"bytes": 5745,
|
|
739
|
-
"sha256": "
|
|
739
|
+
"sha256": "e39f4e746a9ef48e17484b7df246a4b3f408d5444c464dd90dfa62b9345fb1e6"
|
|
740
740
|
},
|
|
741
741
|
{
|
|
742
742
|
"path": "package-dist/scripts/lib/foundry-package-contract.js",
|
|
743
743
|
"bytes": 18642,
|
|
744
|
-
"sha256": "
|
|
744
|
+
"sha256": "7b90977ed603f0b67f71e3a06e1f2edb6be78c88ac23b86528d08e1c89aa9813"
|
|
745
|
+
},
|
|
746
|
+
{
|
|
747
|
+
"path": "package-dist/scripts/lib/foundry-preparation-cli-validation.d.ts",
|
|
748
|
+
"bytes": 819,
|
|
749
|
+
"sha256": "cb85b6af1ae47d43ceb6265217effa3c0c6d0784853a381fb11a282c662d9876"
|
|
750
|
+
},
|
|
751
|
+
{
|
|
752
|
+
"path": "package-dist/scripts/lib/foundry-preparation-cli-validation.js",
|
|
753
|
+
"bytes": 9133,
|
|
754
|
+
"sha256": "477d30ee6dd7e5dae8a95ef7abb57a9fe148cdbd18a521d33344cea433497a23"
|
|
745
755
|
},
|
|
746
756
|
{
|
|
747
757
|
"path": "package-dist/scripts/lib/foundry-private-path.d.ts",
|
|
@@ -911,7 +921,7 @@
|
|
|
911
921
|
{
|
|
912
922
|
"path": "package-dist/scripts/lib/foundry-runtime-qualification.js",
|
|
913
923
|
"bytes": 12065,
|
|
914
|
-
"sha256": "
|
|
924
|
+
"sha256": "8b16cd5b4947d36fa9a2f6afd53e783de3b105e1c0ccfc1349c8c52b53c6acd3"
|
|
915
925
|
},
|
|
916
926
|
{
|
|
917
927
|
"path": "package-dist/scripts/lib/foundry-runtime-selection-record.d.ts",
|
|
@@ -941,7 +951,7 @@
|
|
|
941
951
|
{
|
|
942
952
|
"path": "package-dist/scripts/lib/foundry-runtime-utils.js",
|
|
943
953
|
"bytes": 23594,
|
|
944
|
-
"sha256": "
|
|
954
|
+
"sha256": "717baf4a915677e70677a2d26b7c76f8f79c5c80de11def122114110bc997317"
|
|
945
955
|
},
|
|
946
956
|
{
|
|
947
957
|
"path": "package-dist/scripts/lib/foundry-semantic-input.d.ts",
|
|
@@ -1060,8 +1070,8 @@
|
|
|
1060
1070
|
},
|
|
1061
1071
|
{
|
|
1062
1072
|
"path": "package-dist/scripts/lib/foundry-workflow-assessment.js",
|
|
1063
|
-
"bytes":
|
|
1064
|
-
"sha256": "
|
|
1073
|
+
"bytes": 31453,
|
|
1074
|
+
"sha256": "7bf41b3da7df22dd6c54456e6349c0173af2801b791ccebdaa256ebfa086ca1a"
|
|
1065
1075
|
},
|
|
1066
1076
|
{
|
|
1067
1077
|
"path": "package-dist/scripts/lib/foundry-workflow-authorization.d.ts",
|
|
@@ -1160,8 +1170,8 @@
|
|
|
1160
1170
|
},
|
|
1161
1171
|
{
|
|
1162
1172
|
"path": "package-dist/scripts/lib/foundry-workflow-io.js",
|
|
1163
|
-
"bytes":
|
|
1164
|
-
"sha256": "
|
|
1173
|
+
"bytes": 4201,
|
|
1174
|
+
"sha256": "d1b5e707445fe96139d3cfa59e64cfafa2abf92223cfc0433de388394af780da"
|
|
1165
1175
|
},
|
|
1166
1176
|
{
|
|
1167
1177
|
"path": "package-dist/scripts/lib/foundry-workflow-object-scope.d.ts",
|
|
@@ -1220,8 +1230,8 @@
|
|
|
1220
1230
|
},
|
|
1221
1231
|
{
|
|
1222
1232
|
"path": "package-dist/scripts/lib/foundry-workflow-state.js",
|
|
1223
|
-
"bytes":
|
|
1224
|
-
"sha256": "
|
|
1233
|
+
"bytes": 22127,
|
|
1234
|
+
"sha256": "48d587d0f1d7720630ea8999d33fe94d1543d1211ff8c9f0bcc1fb8578f98d71"
|
|
1225
1235
|
},
|
|
1226
1236
|
{
|
|
1227
1237
|
"path": "package-dist/scripts/lib/full-context-proof.d.ts",
|
|
@@ -1285,13 +1295,13 @@
|
|
|
1285
1295
|
},
|
|
1286
1296
|
{
|
|
1287
1297
|
"path": "package-dist/scripts/lib/import-curation/curation-gate.d.ts",
|
|
1288
|
-
"bytes":
|
|
1289
|
-
"sha256": "
|
|
1298
|
+
"bytes": 1818,
|
|
1299
|
+
"sha256": "f518e2b2e4003ffd2dc46a7e559d41992df4842b0b2df6f10e1dc041f57c5d5c"
|
|
1290
1300
|
},
|
|
1291
1301
|
{
|
|
1292
1302
|
"path": "package-dist/scripts/lib/import-curation/curation-gate.js",
|
|
1293
|
-
"bytes":
|
|
1294
|
-
"sha256": "
|
|
1303
|
+
"bytes": 34698,
|
|
1304
|
+
"sha256": "4504821b6ddf3e536525c19e7e6ffadd78a708d033bd2471106291557229b56e"
|
|
1295
1305
|
},
|
|
1296
1306
|
{
|
|
1297
1307
|
"path": "package-dist/scripts/lib/import-curation/internal/artifact-inputs.d.ts",
|
|
@@ -1331,7 +1341,7 @@
|
|
|
1331
1341
|
{
|
|
1332
1342
|
"path": "package-dist/scripts/lib/import-curation/internal/context-inputs.js",
|
|
1333
1343
|
"bytes": 8791,
|
|
1334
|
-
"sha256": "
|
|
1344
|
+
"sha256": "949b8d21d4a7e3f9901c478e8867e51ceeba7f490f9cc5e0b6c73dcde99c7501"
|
|
1335
1345
|
},
|
|
1336
1346
|
{
|
|
1337
1347
|
"path": "package-dist/scripts/lib/import-curation/internal/curation-gate-workflow.d.ts",
|
|
@@ -1720,8 +1730,8 @@
|
|
|
1720
1730
|
},
|
|
1721
1731
|
{
|
|
1722
1732
|
"path": "package-dist/scripts/lib/tidas-adapter.js",
|
|
1723
|
-
"bytes":
|
|
1724
|
-
"sha256": "
|
|
1733
|
+
"bytes": 25670,
|
|
1734
|
+
"sha256": "c664ac6b5517b0987f9838b562565acdadc7041cd5010b6c507d2a8666a2dd61"
|
|
1725
1735
|
},
|
|
1726
1736
|
{
|
|
1727
1737
|
"path": "package-dist/scripts/lib/tidas-language-utils.d.ts",
|
|
@@ -1733,6 +1743,16 @@
|
|
|
1733
1743
|
"bytes": 2716,
|
|
1734
1744
|
"sha256": "231e15d831ef2cbdbef4742a65744a56d672468c94855585f6cb37d76fb56a8a"
|
|
1735
1745
|
},
|
|
1746
|
+
{
|
|
1747
|
+
"path": "package-dist/scripts/lib/tidas-process-flow-context.d.ts",
|
|
1748
|
+
"bytes": 725,
|
|
1749
|
+
"sha256": "bf3114c9a564b77b6b5812e1289866fc9ed9781868213e0606966776c0325ee4"
|
|
1750
|
+
},
|
|
1751
|
+
{
|
|
1752
|
+
"path": "package-dist/scripts/lib/tidas-process-flow-context.js",
|
|
1753
|
+
"bytes": 4942,
|
|
1754
|
+
"sha256": "711774074270d970e88cea4225e2c6ca9f0e47f548cb6b2d24602079c522907e"
|
|
1755
|
+
},
|
|
1736
1756
|
{
|
|
1737
1757
|
"path": "package-dist/scripts/lib/tidas-row-utils.d.ts",
|
|
1738
1758
|
"bytes": 2768,
|
|
@@ -1826,7 +1846,7 @@
|
|
|
1826
1846
|
{
|
|
1827
1847
|
"path": "specs/schemas/foundry-managed-runtime.schema.json",
|
|
1828
1848
|
"bytes": 3278,
|
|
1829
|
-
"sha256": "
|
|
1849
|
+
"sha256": "8df3a653acbfff75bb3f16b872e8d2a062441bedac199af3b718ac163b926d14"
|
|
1830
1850
|
},
|
|
1831
1851
|
{
|
|
1832
1852
|
"path": "specs/schemas/foundry-migration-activation.schema.json",
|
|
@@ -1851,7 +1871,7 @@
|
|
|
1851
1871
|
{
|
|
1852
1872
|
"path": "specs/schemas/foundry-package-descriptor.schema.json",
|
|
1853
1873
|
"bytes": 4246,
|
|
1854
|
-
"sha256": "
|
|
1874
|
+
"sha256": "361324e9bfd9511e060283b060a96ef080d386c54d8f0e85092df975a9a14883"
|
|
1855
1875
|
},
|
|
1856
1876
|
{
|
|
1857
1877
|
"path": "specs/schemas/foundry-reference-input.schema.json",
|
|
@@ -1896,7 +1916,7 @@
|
|
|
1896
1916
|
{
|
|
1897
1917
|
"path": "specs/schemas/runtime-qualification.schema.json",
|
|
1898
1918
|
"bytes": 2261,
|
|
1899
|
-
"sha256": "
|
|
1919
|
+
"sha256": "fb0f73e07a40e20231883255b76983cd9d715f9df7609784154fe12332b9aeec"
|
|
1900
1920
|
},
|
|
1901
1921
|
{
|
|
1902
1922
|
"path": "specs/schemas/task-authorization.schema.json",
|
|
@@ -1909,5 +1929,5 @@
|
|
|
1909
1929
|
"sha256": "3d22fcc572f9a0f192ccb699d01fb32574287ed2bbd2aca70fb4b792b7aed487"
|
|
1910
1930
|
}
|
|
1911
1931
|
],
|
|
1912
|
-
"files_sha256": "
|
|
1932
|
+
"files_sha256": "bf0f330d34f8c7184af2ef89b0a57c71fa290a4536f32fd2028afbeba513224f"
|
|
1913
1933
|
}
|
|
@@ -2,9 +2,9 @@ export declare const FOUNDRY_PACKAGE_DESCRIPTOR_SCHEMA: "tiangong-foundry.packag
|
|
|
2
2
|
export declare const foundryPackageDescriptorPath: "package-dist/assets/foundry-package-descriptor.json";
|
|
3
3
|
export declare const foundryPackageStaticFiles: readonly ["package-dist/", "specs/import-profiles.json", "specs/prewrite-content-policy.json", "specs/canonical-support/flow-properties-unit-groups.json", "specs/schemas/authorization-derivation.schema.json", "specs/schemas/execution-context.schema.json", "specs/schemas/foundry-facade-request-index.schema.json", "specs/schemas/foundry-operation-result.schema.json", "specs/schemas/foundry-package-descriptor.schema.json", "specs/schemas/foundry-task-start.schema.json", "specs/schemas/foundry-semantic-input.schema.json", "specs/schemas/foundry-interaction-input.schema.json", "specs/schemas/foundry-authorization-input.schema.json", "specs/schemas/foundry-reference-input.schema.json", "specs/schemas/foundry-workspace-migration-plan.schema.json", "specs/schemas/foundry-workspace-migration-transfer-plan.schema.json", "specs/schemas/foundry-migration-transfer-receipt.schema.json", "specs/schemas/foundry-workspace-migration-pending.schema.json", "specs/schemas/foundry-migration-adoption-plan.schema.json", "specs/schemas/foundry-migration-activation.schema.json", "specs/schemas/foundry-workspace-v2.schema.json", "specs/schemas/foundry-runtime-selection.schema.json", "specs/schemas/foundry-managed-runtime.schema.json", "specs/schemas/runtime-qualification.schema.json", "specs/schemas/task-authorization.schema.json", "specs/schemas/tidas-runtime-expectation.schema.json", "docs/architecture.md", "docs/package-distribution-contract.md", "docs/foundry-task-contracts.md", "docs/public-runtime-contract.md", "docs/runtime-context-contract.md", "docs/workspace-migration-contract.md", "docs/safety-policy.md", "docs/task-authorization-contract.md", "docs/import-profiles/bafu/constraints.md", "docs/import-profiles/bafu/leaf-process-classification-authoring.md", "docs/import-profiles/bafu/profile.md", "docs/import-profiles/uslci/constraints.md", "docs/import-profiles/uslci/profile.md", "docs/uslci-import-runbook.md", "docs/import-profiles/worldsteel/constraints.md", "docs/import-profiles/worldsteel/import-coverage.md", "docs/import-profiles/worldsteel/import-plan.md", "docs/import-profiles/worldsteel/profile.md", "README.md", "LICENSE"];
|
|
4
4
|
declare const packageName = "@tiangong-lca/foundry";
|
|
5
|
-
declare const packageVersion = "0.1.
|
|
5
|
+
declare const packageVersion = "0.1.17";
|
|
6
6
|
declare const cliPackageName = "@tiangong-lca/cli";
|
|
7
|
-
declare const cliPackageVersion = "0.1.
|
|
7
|
+
declare const cliPackageVersion = "0.1.27";
|
|
8
8
|
declare const packageBin = "package-dist/scripts/package-entry.js";
|
|
9
9
|
declare const packageApi = "package-dist/scripts/public-api.js";
|
|
10
10
|
declare const packageTypes = "package-dist/scripts/public-api.d.ts";
|
|
@@ -53,10 +53,10 @@ export const foundryPackageStaticFiles = Object.freeze([
|
|
|
53
53
|
"LICENSE",
|
|
54
54
|
]);
|
|
55
55
|
const packageName = "@tiangong-lca/foundry";
|
|
56
|
-
const packageVersion = "0.1.
|
|
56
|
+
const packageVersion = "0.1.17";
|
|
57
57
|
const packageDescription = "Control plane for TianGong LCA external dataset import and TIDAS authoring work.";
|
|
58
58
|
const cliPackageName = "@tiangong-lca/cli";
|
|
59
|
-
const cliPackageVersion = "0.1.
|
|
59
|
+
const cliPackageVersion = "0.1.27";
|
|
60
60
|
const packageBin = "package-dist/scripts/package-entry.js";
|
|
61
61
|
const packageApi = "package-dist/scripts/public-api.js";
|
|
62
62
|
const packageTypes = "package-dist/scripts/public-api.d.ts";
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
type Json = Record<string, unknown>;
|
|
2
|
+
/** Verify transport and content bindings; the CLI retains every scientific validation decision. */
|
|
3
|
+
export declare function parseFoundryPreparationCliReport(options: {
|
|
4
|
+
report: unknown;
|
|
5
|
+
rows: readonly unknown[];
|
|
6
|
+
input: string;
|
|
7
|
+
outDir: string;
|
|
8
|
+
exit: number;
|
|
9
|
+
}): Json[];
|
|
10
|
+
/** Project owner findings into the existing evidence-backed field patch workflow, without repairs. */
|
|
11
|
+
export declare function preparationValidationActions(row: Json, receipt?: Json): Json[];
|
|
12
|
+
export declare function preparationValidationEvidence(row: Json, report: string, hash: unknown): Json;
|
|
13
|
+
export declare function readPreparationCliEvidence(receipt: {
|
|
14
|
+
report: string;
|
|
15
|
+
exit: number;
|
|
16
|
+
}, rows: readonly unknown[], input: string): {
|
|
17
|
+
rows: Json[];
|
|
18
|
+
sha256: string;
|
|
19
|
+
};
|
|
20
|
+
export {};
|