@xenosystem/agent-sdk 0.9.10 → 0.9.13
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 +15 -15
- package/README.md +511 -511
- package/dist/agents/index.cjs +9 -9
- package/dist/agents/index.d.cts +12 -2
- package/dist/agents/index.d.ts +12 -2
- package/dist/agents/index.js +9 -9
- package/dist/agents/metafile-cjs.json +1 -1
- package/dist/agents/metafile-esm.json +1 -1
- package/dist/artifacts/browser.cjs +1 -1
- package/dist/artifacts/browser.d.cts +2 -2
- package/dist/artifacts/browser.d.ts +2 -2
- package/dist/artifacts/browser.js +1 -1
- package/dist/artifacts/{diff-artifact-C2tQZWcs.d.cts → diff-artifact-CmhmeSu5.d.cts} +87 -7
- package/dist/artifacts/{diff-artifact-C2tQZWcs.d.ts → diff-artifact-CmhmeSu5.d.ts} +87 -7
- package/dist/artifacts/index.cjs +8 -8
- package/dist/artifacts/index.d.cts +22 -5
- package/dist/artifacts/index.d.ts +22 -5
- package/dist/artifacts/index.js +8 -8
- package/dist/artifacts/metafile-cjs.json +1 -1
- package/dist/artifacts/metafile-esm.json +1 -1
- package/dist/automation/index.cjs +2 -2
- package/dist/automation/index.d.cts +98 -7
- package/dist/automation/index.d.ts +98 -7
- package/dist/automation/index.js +2 -2
- package/dist/automation/metafile-cjs.json +1 -1
- package/dist/automation/metafile-esm.json +1 -1
- package/dist/control-plane/index.cjs +7 -7
- package/dist/control-plane/index.d.cts +19 -2
- package/dist/control-plane/index.d.ts +19 -2
- package/dist/control-plane/index.js +7 -7
- package/dist/control-plane/metafile-cjs.json +1 -1
- package/dist/control-plane/metafile-esm.json +1 -1
- package/dist/control-room/metafile-cjs.json +1 -1
- package/dist/control-room/metafile-esm.json +1 -1
- package/dist/electron/index.cjs +143 -143
- package/dist/electron/index.d.cts +25 -4
- package/dist/electron/index.d.ts +25 -4
- package/dist/electron/index.js +141 -141
- package/dist/electron/metafile-cjs.json +1 -1
- package/dist/electron/metafile-esm.json +1 -1
- package/dist/governance/index.cjs +18 -18
- package/dist/governance/index.d.cts +1 -0
- package/dist/governance/index.d.ts +1 -0
- package/dist/governance/index.js +18 -18
- package/dist/governance/metafile-cjs.json +1 -1
- package/dist/governance/metafile-esm.json +1 -1
- package/dist/hooks/index.d.cts +10 -1
- package/dist/hooks/index.d.ts +10 -1
- package/dist/hooks/metafile-cjs.json +1 -1
- package/dist/hooks/metafile-esm.json +1 -1
- package/dist/hosted/index.cjs +1 -1
- package/dist/hosted/index.js +1 -1
- package/dist/hosted/metafile-cjs.json +1 -1
- package/dist/hosted/metafile-esm.json +1 -1
- package/dist/index.cjs +332 -332
- package/dist/index.d.cts +200 -25
- package/dist/index.d.ts +200 -25
- package/dist/index.js +333 -333
- package/dist/intelligence/metafile-cjs.json +1 -1
- package/dist/intelligence/metafile-esm.json +1 -1
- package/dist/mcp/index.cjs +17 -17
- package/dist/mcp/index.d.cts +1 -0
- package/dist/mcp/index.d.ts +1 -0
- package/dist/mcp/index.js +17 -17
- package/dist/mcp/metafile-cjs.json +1 -1
- package/dist/mcp/metafile-esm.json +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/oracle/index.cjs +1 -1
- package/dist/oracle/index.d.cts +86 -6
- package/dist/oracle/index.d.ts +86 -6
- package/dist/oracle/index.js +1 -1
- package/dist/oracle/metafile-cjs.json +1 -1
- package/dist/oracle/metafile-esm.json +1 -1
- package/dist/providers/index.cjs +10 -10
- package/dist/providers/index.d.cts +1 -0
- package/dist/providers/index.d.ts +1 -0
- package/dist/providers/index.js +10 -10
- package/dist/providers/metafile-cjs.json +1 -1
- package/dist/providers/metafile-esm.json +1 -1
- package/dist/recipes/index.cjs +2 -2
- package/dist/recipes/index.d.cts +10 -1
- package/dist/recipes/index.d.ts +10 -1
- package/dist/recipes/index.js +2 -2
- package/dist/recipes/metafile-cjs.json +1 -1
- package/dist/recipes/metafile-esm.json +1 -1
- package/dist/research/index.cjs +3 -3
- package/dist/research/index.d.cts +86 -6
- package/dist/research/index.d.ts +86 -6
- package/dist/research/index.js +3 -3
- package/dist/research/metafile-cjs.json +1 -1
- package/dist/research/metafile-esm.json +1 -1
- package/dist/session/index.cjs +20 -20
- package/dist/session/index.d.cts +1 -0
- package/dist/session/index.d.ts +1 -0
- package/dist/session/index.js +21 -21
- package/dist/session/metafile-cjs.json +1 -1
- package/dist/session/metafile-esm.json +1 -1
- package/dist/sharing/metafile-cjs.json +1 -1
- package/dist/sharing/metafile-esm.json +1 -1
- package/dist/skills/index.d.cts +1 -0
- package/dist/skills/index.d.ts +1 -0
- package/dist/skills/metafile-cjs.json +1 -1
- package/dist/skills/metafile-esm.json +1 -1
- package/dist/soul/metafile-cjs.json +1 -1
- package/dist/soul/metafile-esm.json +1 -1
- package/dist/terminal/metafile-cjs.json +1 -1
- package/dist/terminal/metafile-esm.json +1 -1
- package/dist/ui/index.d.cts +1 -0
- package/dist/ui/index.d.ts +1 -0
- package/dist/ui/metafile-cjs.json +1 -1
- package/dist/ui/metafile-esm.json +1 -1
- package/dist/utils/index.cjs +20 -20
- package/dist/utils/index.d.cts +4 -1
- package/dist/utils/index.d.ts +4 -1
- package/dist/utils/index.js +17 -17
- package/dist/utils/metafile-cjs.json +1 -1
- package/dist/utils/metafile-esm.json +1 -1
- package/native/mxc/LICENSE.microsoft-mxc-sdk.md +20 -20
- package/native/mxc/README.md +25 -25
- package/native/mxc/package.json +58 -58
- package/ownership/CLEAN_ROOM_CONTRIBUTOR_GUIDE.md +63 -63
- package/ownership/evidence/PROPRIETARY-COMMAND-1/implementation-record.md +77 -77
- package/ownership/evidence/PROPRIETARY-COMMAND-1/provenance-review.md +51 -51
- package/ownership/evidence/PROPRIETARY-MEDIA-1/implementation-record.md +131 -131
- package/ownership/evidence/PROPRIETARY-MEDIA-1/provenance-review.md +50 -50
- package/ownership/evidence/PROPRIETARY-PTY-1/implementation-record.md +86 -86
- package/ownership/evidence/PROPRIETARY-PTY-1/provenance-review.md +52 -52
- package/ownership/evidence/PROPRIETARY-RUNTIME-1/implementation-record.md +68 -68
- package/ownership/evidence/PROPRIETARY-RUNTIME-1/provenance-review.md +32 -32
- package/ownership/evidence/PROPRIETARY-TOOLCHAIN-1/implementation-record.md +53 -53
- package/ownership/evidence/PROPRIETARY-TOOLCHAIN-1/provenance-review.md +32 -32
- package/ownership/evidence/PROPRIETARY-UI-1/implementation-record.md +96 -96
- package/ownership/evidence/PROPRIETARY-UI-1/provenance-review.md +46 -46
- package/ownership/ownership-policy.schema.json +192 -192
- package/ownership/templates/clean-room-implementation-record.md +70 -70
- package/ownership/templates/provenance-review.md +51 -51
- package/package.json +23 -22
|
@@ -1,52 +1,52 @@
|
|
|
1
|
-
# Independent Provenance Review: Xeno PTY Runtime
|
|
2
|
-
|
|
3
|
-
## Review identity
|
|
4
|
-
|
|
5
|
-
- Component: Xeno-owned native PTY runtime
|
|
6
|
-
- Replacement milestone: PROPRIETARY-PTY-1
|
|
7
|
-
- Implementation record path: `ownership/evidence/PROPRIETARY-PTY-1/implementation-record.md`
|
|
8
|
-
- Candidate revision: `87ae64b55aa1b8c2e126294e717b229e0945db65` plus recorded working-tree changes
|
|
9
|
-
- Reviewer: pending
|
|
10
|
-
- Domain reviewer (required): pending native/runtime security reviewer
|
|
11
|
-
- Review date (UTC): pending
|
|
12
|
-
- Reviewer independent of implementation: pending
|
|
13
|
-
|
|
14
|
-
## Evidence checks
|
|
15
|
-
|
|
16
|
-
- [ ] Behavioral contract predates or is independent from implementation work.
|
|
17
|
-
- [ ] Normative and public sources are listed with revisions and evidence paths.
|
|
18
|
-
- [ ] Contributor source-exposure disclosures are complete.
|
|
19
|
-
- [ ] Required separation/counsel decisions are attached.
|
|
20
|
-
- [ ] No copied source, comments, tests, identifiers, non-normative constants, or distinctive internal structure were found.
|
|
21
|
-
- [ ] AI inputs and human review satisfy the contributor guide.
|
|
22
|
-
- [ ] Intentional incompatibilities are approved and versioned.
|
|
23
|
-
- [ ] Conformance, malformed-input, security, resource-limit, and fuzz evidence meets the component gate.
|
|
24
|
-
- [ ] Bundle graph, native hashes, SBOM, ownership inventory, and clean-install graph agree.
|
|
25
|
-
- [ ] Licenses, patents, trademarks, and specification terms have an explicit disposition.
|
|
26
|
-
|
|
27
|
-
## Similarity and provenance review method
|
|
28
|
-
|
|
29
|
-
- Files and revisions reviewed: pending
|
|
30
|
-
- Comparison method and tools: pending
|
|
31
|
-
- Findings: pending
|
|
32
|
-
- False positives and disposition: pending
|
|
33
|
-
|
|
34
|
-
## Verification summary
|
|
35
|
-
|
|
36
|
-
| Gate | Evidence | Result | Notes |
|
|
37
|
-
| --- | --- | --- | --- |
|
|
38
|
-
| Windows contract compatibility | focused PTY unit/integration suite | engineering pass | 13 tests, independent rerun pending |
|
|
39
|
-
| Security/resource limits | bounded queue/buffer, hash and manifest rejection, Job Object tree cleanup, Linux ASan/UBSan campaign | engineering pass | independent native security review and coverage-guided fuzzing pending |
|
|
40
|
-
| Lifecycle/soak | 25 integration cycles plus 100 Windows, 100 Linux, and 250 sanitized Linux stress iterations; active native state returns to zero | engineering pass | longer soak and platform handle tooling pending |
|
|
41
|
-
| Performance envelope | dependency-free startup/throughput benchmark | engineering pass | Windows p95 42.08 ms / ~8.7 MB/s; Linux p95 17.55 ms / ~32.6 MB/s; product approval pending |
|
|
42
|
-
| Cross-platform | Windows x64 and Linux x64 | partial | 12 Linux tests pass with one Windows-only assertion skipped; Windows/Linux ARM64 and macOS matrix evidence pending |
|
|
43
|
-
| Artifact ownership | ownership audit and dry-run tarball | partial | unsigned development binary; signed clean install pending |
|
|
44
|
-
|
|
45
|
-
## Decision
|
|
46
|
-
|
|
47
|
-
- Engineering provenance decision: needs-work
|
|
48
|
-
- Capability gate may be marked achieved: no
|
|
49
|
-
- Public clean-room/proprietary claim approved by this review: no
|
|
50
|
-
- Required follow-up: produce and observe the remaining claimed-architecture prebuilds, sign with an approved release key, run native fuzz/sanitizer and performance campaigns, collect contributor disclosures, assign independent reviewers, and attach counsel disposition.
|
|
51
|
-
- Reviewer signature/date: pending
|
|
52
|
-
- Counsel approval reference (required for public claim): pending
|
|
1
|
+
# Independent Provenance Review: Xeno PTY Runtime
|
|
2
|
+
|
|
3
|
+
## Review identity
|
|
4
|
+
|
|
5
|
+
- Component: Xeno-owned native PTY runtime
|
|
6
|
+
- Replacement milestone: PROPRIETARY-PTY-1
|
|
7
|
+
- Implementation record path: `ownership/evidence/PROPRIETARY-PTY-1/implementation-record.md`
|
|
8
|
+
- Candidate revision: `87ae64b55aa1b8c2e126294e717b229e0945db65` plus recorded working-tree changes
|
|
9
|
+
- Reviewer: pending
|
|
10
|
+
- Domain reviewer (required): pending native/runtime security reviewer
|
|
11
|
+
- Review date (UTC): pending
|
|
12
|
+
- Reviewer independent of implementation: pending
|
|
13
|
+
|
|
14
|
+
## Evidence checks
|
|
15
|
+
|
|
16
|
+
- [ ] Behavioral contract predates or is independent from implementation work.
|
|
17
|
+
- [ ] Normative and public sources are listed with revisions and evidence paths.
|
|
18
|
+
- [ ] Contributor source-exposure disclosures are complete.
|
|
19
|
+
- [ ] Required separation/counsel decisions are attached.
|
|
20
|
+
- [ ] No copied source, comments, tests, identifiers, non-normative constants, or distinctive internal structure were found.
|
|
21
|
+
- [ ] AI inputs and human review satisfy the contributor guide.
|
|
22
|
+
- [ ] Intentional incompatibilities are approved and versioned.
|
|
23
|
+
- [ ] Conformance, malformed-input, security, resource-limit, and fuzz evidence meets the component gate.
|
|
24
|
+
- [ ] Bundle graph, native hashes, SBOM, ownership inventory, and clean-install graph agree.
|
|
25
|
+
- [ ] Licenses, patents, trademarks, and specification terms have an explicit disposition.
|
|
26
|
+
|
|
27
|
+
## Similarity and provenance review method
|
|
28
|
+
|
|
29
|
+
- Files and revisions reviewed: pending
|
|
30
|
+
- Comparison method and tools: pending
|
|
31
|
+
- Findings: pending
|
|
32
|
+
- False positives and disposition: pending
|
|
33
|
+
|
|
34
|
+
## Verification summary
|
|
35
|
+
|
|
36
|
+
| Gate | Evidence | Result | Notes |
|
|
37
|
+
| --- | --- | --- | --- |
|
|
38
|
+
| Windows contract compatibility | focused PTY unit/integration suite | engineering pass | 13 tests, independent rerun pending |
|
|
39
|
+
| Security/resource limits | bounded queue/buffer, hash and manifest rejection, Job Object tree cleanup, Linux ASan/UBSan campaign | engineering pass | independent native security review and coverage-guided fuzzing pending |
|
|
40
|
+
| Lifecycle/soak | 25 integration cycles plus 100 Windows, 100 Linux, and 250 sanitized Linux stress iterations; active native state returns to zero | engineering pass | longer soak and platform handle tooling pending |
|
|
41
|
+
| Performance envelope | dependency-free startup/throughput benchmark | engineering pass | Windows p95 42.08 ms / ~8.7 MB/s; Linux p95 17.55 ms / ~32.6 MB/s; product approval pending |
|
|
42
|
+
| Cross-platform | Windows x64 and Linux x64 | partial | 12 Linux tests pass with one Windows-only assertion skipped; Windows/Linux ARM64 and macOS matrix evidence pending |
|
|
43
|
+
| Artifact ownership | ownership audit and dry-run tarball | partial | unsigned development binary; signed clean install pending |
|
|
44
|
+
|
|
45
|
+
## Decision
|
|
46
|
+
|
|
47
|
+
- Engineering provenance decision: needs-work
|
|
48
|
+
- Capability gate may be marked achieved: no
|
|
49
|
+
- Public clean-room/proprietary claim approved by this review: no
|
|
50
|
+
- Required follow-up: produce and observe the remaining claimed-architecture prebuilds, sign with an approved release key, run native fuzz/sanitizer and performance campaigns, collect contributor disclosures, assign independent reviewers, and attach counsel disposition.
|
|
51
|
+
- Reviewer signature/date: pending
|
|
52
|
+
- Counsel approval reference (required for public claim): pending
|
|
@@ -1,68 +1,68 @@
|
|
|
1
|
-
# Runtime Boundary Decision Record: Current Xeno CLI Distributions
|
|
2
|
-
|
|
3
|
-
## Identity
|
|
4
|
-
|
|
5
|
-
- Component: npm Node-host profile and self-contained external-runtime profiles
|
|
6
|
-
- Replacement milestone: PROPRIETARY-RUNTIME-1
|
|
7
|
-
- Repository and paths: `xeno-agent-cli/scripts/build-standalone.mjs`, compatibility shell wrapper, `scripts/audit-self-contained-runtime.mjs`, release workflow, install scripts, and runtime-boundary documentation
|
|
8
|
-
- Record owner: Xeno engineering, final owner assignment pending
|
|
9
|
-
- Decision date (UTC): 2026-07-12
|
|
10
|
-
- Status: Phase 6 decision complete; P3 explicitly declined for the current architecture and release series
|
|
11
|
-
|
|
12
|
-
## Decision
|
|
13
|
-
|
|
14
|
-
- The supported npm profile requires a separately installed Node.js 20 or newer host.
|
|
15
|
-
- The `pkg` self-contained profile embeds Node.js, including the Node V8, libuv, OpenSSL, and zlib runtime boundary.
|
|
16
|
-
- The Bun self-contained profile embeds the third-party Bun runtime and its transitive runtime components.
|
|
17
|
-
- All three profiles have a maximum ownership claim of P2 after the separate P1/P2 capability and provenance gates pass.
|
|
18
|
-
- The `owned-standalone-runtime` P3 capability remains `achieved: false`.
|
|
19
|
-
- Current self-contained assets may not be described as P3, fully proprietary, 100% Xeno-owned, native-owned, or free of third-party runtime code.
|
|
20
|
-
- Replacing `pkg` with another third-party packager or embedded runtime does not advance P3.
|
|
21
|
-
|
|
22
|
-
## Installer and Packaging Audit
|
|
23
|
-
|
|
24
|
-
| Surface | Actual behavior | Runtime boundary | Claim disposition |
|
|
25
|
-
| --- | --- | --- | --- |
|
|
26
|
-
| `scripts/install.sh` | Resolves npm integrity and runs global npm install | Separately installed Node/npm | External host; maximum P2 |
|
|
27
|
-
| `scripts/install.ps1` | Resolves npm integrity and runs global npm install | Separately installed Node/npm | External host; maximum P2 |
|
|
28
|
-
| `build-standalone.mjs pkg` | Compiles self-contained platform payloads with pinned `pkg` through an owned cross-platform orchestrator | Embedded Node/V8/libuv/OpenSSL/zlib | External embedded runtime; not P3 |
|
|
29
|
-
| `build-standalone.mjs bun` | Compiles self-contained platform payloads with a preinstalled Bun through the same orchestrator | Embedded Bun and transitive runtime | External embedded runtime; not P3 |
|
|
30
|
-
| GitHub `cli-v*` release | Publishes payloads, archives, runtime manifest, and checksums | Profile declared by `RUNTIME-BOUNDARY.json` | Release notes must state external runtime and not P3 |
|
|
31
|
-
|
|
32
|
-
## Enforcement
|
|
33
|
-
|
|
34
|
-
- `scripts/audit-self-contained-runtime.mjs` hashes every raw self-contained payload and writes a deterministic `RUNTIME-BOUNDARY.json`.
|
|
35
|
-
- Verification fails for a missing payload, unknown packaging mode, changed payload hash, changed manifest, or ownership ceiling above P2.
|
|
36
|
-
- The build script cleans the release staging directory so Bun and Node profiles cannot be mixed.
|
|
37
|
-
- Target validation fails closed unless the corresponding audited PTY manifest and native payload exist.
|
|
38
|
-
- Before `pkg` runs, the owned orchestrator invokes the pinned `pkg-fetch` entry point with `--force-fetch`; existing/downloaded bases must match the packager's expected SHA-256, and fetch failures terminate explicitly instead of falling back to an implicit Node.js source build.
|
|
39
|
-
- The owned orchestrator writes normalized ZIP/TAR archives and SHA-256 records without Bash, `npx`, or external archive/checksum utilities.
|
|
40
|
-
- The release workflow verifies the runtime manifest before uploading assets.
|
|
41
|
-
- `SHA256SUMS.txt` is generated after the runtime manifest and therefore covers the claim record as well as payloads and archives.
|
|
42
|
-
- Compatibility labels `standalone` and `native` remain in scripts/environment values, but documentation defines them as self-contained distribution labels rather than ownership claims.
|
|
43
|
-
|
|
44
|
-
## Verification Evidence
|
|
45
|
-
|
|
46
|
-
- Runtime-boundary self-test creates a synthetic PE payload, writes and verifies the Node profile, mutates the payload, and confirms verification rejects it.
|
|
47
|
-
- Focused install-documentation tests assert the profile scripts, workflow gate, manifest name, and not-P3 language.
|
|
48
|
-
- A clean Debian Node 24.18.0 run builds the exact SDK and CLI candidates, packages Linux x64 and Windows x64, executes and verifies the Linux payload, and reaches only the required unsigned-native release blocker.
|
|
49
|
-
- A clean Debian Linux arm64 run under QEMU builds the exact SDK and CLI candidates, packages and executes `xeno-linux-arm64`, verifies owned PTY/preview plus bubblewrap containment, and reaches only the required unsigned-native release blocker. See `docs/compliance/linux-arm64-package-candidate.md`.
|
|
50
|
-
- Focused packaging tests verify Linux arm64 and Windows arm64 base-prefetch arguments plus unsupported-target rejection. A transient GitHub `503` was reproduced as the historical trigger for implicit source compilation; the new preflight converts that condition into a bounded explicit failure.
|
|
51
|
-
- The exact clean cross-built Windows payload executes under its real `xeno-win-x64.exe` name with healthy process-tree, ConPTY, owned-preview, and ownership-policy diagnostics.
|
|
52
|
-
- Two consecutive same-environment Windows runs produce byte-identical executable, ZIP, runtime manifest, and checksum files. Independent-environment reproducibility remains a P4 gate.
|
|
53
|
-
- CLI build, typecheck, release-package smoke, compliance, and artifact inventory must still pass for each release candidate.
|
|
54
|
-
- No current release artifact was published by this implementation work.
|
|
55
|
-
|
|
56
|
-
## P3 Reconsideration Gate
|
|
57
|
-
|
|
58
|
-
P3 requires either an owned native runtime rewrite or a sustained Xeno-owned JavaScript-compatible runtime, followed by cross-platform conformance, deterministic artifacts, provenance, SBOM, signing, and independent review. It is a separate multi-year program and is not part of the current P2 release target.
|
|
59
|
-
|
|
60
|
-
## Handoff
|
|
61
|
-
|
|
62
|
-
- Phase 6 decision complete: yes
|
|
63
|
-
- P3 implementation complete: no
|
|
64
|
-
- P3 evidence complete: no
|
|
65
|
-
- P3 capability gate may be marked achieved: no
|
|
66
|
-
- Public not-P3 boundary ready for engineering use: yes
|
|
67
|
-
- Counsel/public ownership approval: pending
|
|
68
|
-
- Author/date: Codex implementation assistant, 2026-07-12
|
|
1
|
+
# Runtime Boundary Decision Record: Current Xeno CLI Distributions
|
|
2
|
+
|
|
3
|
+
## Identity
|
|
4
|
+
|
|
5
|
+
- Component: npm Node-host profile and self-contained external-runtime profiles
|
|
6
|
+
- Replacement milestone: PROPRIETARY-RUNTIME-1
|
|
7
|
+
- Repository and paths: `xeno-agent-cli/scripts/build-standalone.mjs`, compatibility shell wrapper, `scripts/audit-self-contained-runtime.mjs`, release workflow, install scripts, and runtime-boundary documentation
|
|
8
|
+
- Record owner: Xeno engineering, final owner assignment pending
|
|
9
|
+
- Decision date (UTC): 2026-07-12
|
|
10
|
+
- Status: Phase 6 decision complete; P3 explicitly declined for the current architecture and release series
|
|
11
|
+
|
|
12
|
+
## Decision
|
|
13
|
+
|
|
14
|
+
- The supported npm profile requires a separately installed Node.js 20 or newer host.
|
|
15
|
+
- The `pkg` self-contained profile embeds Node.js, including the Node V8, libuv, OpenSSL, and zlib runtime boundary.
|
|
16
|
+
- The Bun self-contained profile embeds the third-party Bun runtime and its transitive runtime components.
|
|
17
|
+
- All three profiles have a maximum ownership claim of P2 after the separate P1/P2 capability and provenance gates pass.
|
|
18
|
+
- The `owned-standalone-runtime` P3 capability remains `achieved: false`.
|
|
19
|
+
- Current self-contained assets may not be described as P3, fully proprietary, 100% Xeno-owned, native-owned, or free of third-party runtime code.
|
|
20
|
+
- Replacing `pkg` with another third-party packager or embedded runtime does not advance P3.
|
|
21
|
+
|
|
22
|
+
## Installer and Packaging Audit
|
|
23
|
+
|
|
24
|
+
| Surface | Actual behavior | Runtime boundary | Claim disposition |
|
|
25
|
+
| --- | --- | --- | --- |
|
|
26
|
+
| `scripts/install.sh` | Resolves npm integrity and runs global npm install | Separately installed Node/npm | External host; maximum P2 |
|
|
27
|
+
| `scripts/install.ps1` | Resolves npm integrity and runs global npm install | Separately installed Node/npm | External host; maximum P2 |
|
|
28
|
+
| `build-standalone.mjs pkg` | Compiles self-contained platform payloads with pinned `pkg` through an owned cross-platform orchestrator | Embedded Node/V8/libuv/OpenSSL/zlib | External embedded runtime; not P3 |
|
|
29
|
+
| `build-standalone.mjs bun` | Compiles self-contained platform payloads with a preinstalled Bun through the same orchestrator | Embedded Bun and transitive runtime | External embedded runtime; not P3 |
|
|
30
|
+
| GitHub `cli-v*` release | Publishes payloads, archives, runtime manifest, and checksums | Profile declared by `RUNTIME-BOUNDARY.json` | Release notes must state external runtime and not P3 |
|
|
31
|
+
|
|
32
|
+
## Enforcement
|
|
33
|
+
|
|
34
|
+
- `scripts/audit-self-contained-runtime.mjs` hashes every raw self-contained payload and writes a deterministic `RUNTIME-BOUNDARY.json`.
|
|
35
|
+
- Verification fails for a missing payload, unknown packaging mode, changed payload hash, changed manifest, or ownership ceiling above P2.
|
|
36
|
+
- The build script cleans the release staging directory so Bun and Node profiles cannot be mixed.
|
|
37
|
+
- Target validation fails closed unless the corresponding audited PTY manifest and native payload exist.
|
|
38
|
+
- Before `pkg` runs, the owned orchestrator invokes the pinned `pkg-fetch` entry point with `--force-fetch`; existing/downloaded bases must match the packager's expected SHA-256, and fetch failures terminate explicitly instead of falling back to an implicit Node.js source build.
|
|
39
|
+
- The owned orchestrator writes normalized ZIP/TAR archives and SHA-256 records without Bash, `npx`, or external archive/checksum utilities.
|
|
40
|
+
- The release workflow verifies the runtime manifest before uploading assets.
|
|
41
|
+
- `SHA256SUMS.txt` is generated after the runtime manifest and therefore covers the claim record as well as payloads and archives.
|
|
42
|
+
- Compatibility labels `standalone` and `native` remain in scripts/environment values, but documentation defines them as self-contained distribution labels rather than ownership claims.
|
|
43
|
+
|
|
44
|
+
## Verification Evidence
|
|
45
|
+
|
|
46
|
+
- Runtime-boundary self-test creates a synthetic PE payload, writes and verifies the Node profile, mutates the payload, and confirms verification rejects it.
|
|
47
|
+
- Focused install-documentation tests assert the profile scripts, workflow gate, manifest name, and not-P3 language.
|
|
48
|
+
- A clean Debian Node 24.18.0 run builds the exact SDK and CLI candidates, packages Linux x64 and Windows x64, executes and verifies the Linux payload, and reaches only the required unsigned-native release blocker.
|
|
49
|
+
- A clean Debian Linux arm64 run under QEMU builds the exact SDK and CLI candidates, packages and executes `xeno-linux-arm64`, verifies owned PTY/preview plus bubblewrap containment, and reaches only the required unsigned-native release blocker. See `docs/compliance/linux-arm64-package-candidate.md`.
|
|
50
|
+
- Focused packaging tests verify Linux arm64 and Windows arm64 base-prefetch arguments plus unsupported-target rejection. A transient GitHub `503` was reproduced as the historical trigger for implicit source compilation; the new preflight converts that condition into a bounded explicit failure.
|
|
51
|
+
- The exact clean cross-built Windows payload executes under its real `xeno-win-x64.exe` name with healthy process-tree, ConPTY, owned-preview, and ownership-policy diagnostics.
|
|
52
|
+
- Two consecutive same-environment Windows runs produce byte-identical executable, ZIP, runtime manifest, and checksum files. Independent-environment reproducibility remains a P4 gate.
|
|
53
|
+
- CLI build, typecheck, release-package smoke, compliance, and artifact inventory must still pass for each release candidate.
|
|
54
|
+
- No current release artifact was published by this implementation work.
|
|
55
|
+
|
|
56
|
+
## P3 Reconsideration Gate
|
|
57
|
+
|
|
58
|
+
P3 requires either an owned native runtime rewrite or a sustained Xeno-owned JavaScript-compatible runtime, followed by cross-platform conformance, deterministic artifacts, provenance, SBOM, signing, and independent review. It is a separate multi-year program and is not part of the current P2 release target.
|
|
59
|
+
|
|
60
|
+
## Handoff
|
|
61
|
+
|
|
62
|
+
- Phase 6 decision complete: yes
|
|
63
|
+
- P3 implementation complete: no
|
|
64
|
+
- P3 evidence complete: no
|
|
65
|
+
- P3 capability gate may be marked achieved: no
|
|
66
|
+
- Public not-P3 boundary ready for engineering use: yes
|
|
67
|
+
- Counsel/public ownership approval: pending
|
|
68
|
+
- Author/date: Codex implementation assistant, 2026-07-12
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
# Independent Provenance Review: Runtime Boundary Decision
|
|
2
|
-
|
|
3
|
-
## Review Identity
|
|
4
|
-
|
|
5
|
-
- Component: current npm and self-contained runtime profiles
|
|
6
|
-
- Replacement milestone: PROPRIETARY-RUNTIME-1
|
|
7
|
-
- Implementation record: `ownership/evidence/PROPRIETARY-RUNTIME-1/implementation-record.md`
|
|
8
|
-
- Reviewer: pending independent reviewer
|
|
9
|
-
- Review date (UTC): pending
|
|
10
|
-
- Reviewer independent of implementation: pending
|
|
11
|
-
|
|
12
|
-
## Current Evidence Status
|
|
13
|
-
|
|
14
|
-
- [x] The npm Node-host boundary is explicitly disclosed.
|
|
15
|
-
- [x] The `pkg` profile is classified as an embedded Node/V8/libuv/OpenSSL/zlib runtime.
|
|
16
|
-
- [x] The Bun profile is classified as an embedded external Bun runtime without unsupported transitive-absence claims.
|
|
17
|
-
- [x] Product language and release notes are bounded to maximum P2 and explicitly reject P3.
|
|
18
|
-
- [x] A deterministic artifact-hash manifest and tamper self-test are present.
|
|
19
|
-
- [ ] A real release candidate for every claimed platform has been built and audited.
|
|
20
|
-
- [ ] Per-build SBOMs and native import/symbol inventories have been reconciled.
|
|
21
|
-
- [ ] Reproducibility has been demonstrated in two clean environments.
|
|
22
|
-
- [ ] Independent engineering and counsel review is signed.
|
|
23
|
-
|
|
24
|
-
## Decision
|
|
25
|
-
|
|
26
|
-
- Engineering boundary decision: needs independent review
|
|
27
|
-
- Phase 6 no-P3 strategy may be used internally: yes
|
|
28
|
-
- P3 capability gate may be marked achieved: no
|
|
29
|
-
- Public claim that the standalone runtime is proprietary: no
|
|
30
|
-
- Required follow-up: audit real release payloads, reconcile SBOM/import evidence, and obtain independent/counsel approval
|
|
31
|
-
- Reviewer signature/date: pending
|
|
32
|
-
- Counsel approval reference: pending
|
|
1
|
+
# Independent Provenance Review: Runtime Boundary Decision
|
|
2
|
+
|
|
3
|
+
## Review Identity
|
|
4
|
+
|
|
5
|
+
- Component: current npm and self-contained runtime profiles
|
|
6
|
+
- Replacement milestone: PROPRIETARY-RUNTIME-1
|
|
7
|
+
- Implementation record: `ownership/evidence/PROPRIETARY-RUNTIME-1/implementation-record.md`
|
|
8
|
+
- Reviewer: pending independent reviewer
|
|
9
|
+
- Review date (UTC): pending
|
|
10
|
+
- Reviewer independent of implementation: pending
|
|
11
|
+
|
|
12
|
+
## Current Evidence Status
|
|
13
|
+
|
|
14
|
+
- [x] The npm Node-host boundary is explicitly disclosed.
|
|
15
|
+
- [x] The `pkg` profile is classified as an embedded Node/V8/libuv/OpenSSL/zlib runtime.
|
|
16
|
+
- [x] The Bun profile is classified as an embedded external Bun runtime without unsupported transitive-absence claims.
|
|
17
|
+
- [x] Product language and release notes are bounded to maximum P2 and explicitly reject P3.
|
|
18
|
+
- [x] A deterministic artifact-hash manifest and tamper self-test are present.
|
|
19
|
+
- [ ] A real release candidate for every claimed platform has been built and audited.
|
|
20
|
+
- [ ] Per-build SBOMs and native import/symbol inventories have been reconciled.
|
|
21
|
+
- [ ] Reproducibility has been demonstrated in two clean environments.
|
|
22
|
+
- [ ] Independent engineering and counsel review is signed.
|
|
23
|
+
|
|
24
|
+
## Decision
|
|
25
|
+
|
|
26
|
+
- Engineering boundary decision: needs independent review
|
|
27
|
+
- Phase 6 no-P3 strategy may be used internally: yes
|
|
28
|
+
- P3 capability gate may be marked achieved: no
|
|
29
|
+
- Public claim that the standalone runtime is proprietary: no
|
|
30
|
+
- Required follow-up: audit real release payloads, reconcile SBOM/import evidence, and obtain independent/counsel approval
|
|
31
|
+
- Reviewer signature/date: pending
|
|
32
|
+
- Counsel approval reference: pending
|
|
@@ -1,53 +1,53 @@
|
|
|
1
|
-
# Toolchain Boundary Record: Current Xeno Build System
|
|
2
|
-
|
|
3
|
-
## Identity
|
|
4
|
-
|
|
5
|
-
- Component: TypeScript/Node development, test, analysis, bundling, packaging, native-build, and CI toolchain
|
|
6
|
-
- Replacement milestone: PROPRIETARY-TOOLCHAIN-1
|
|
7
|
-
- Repository and paths: CLI/SDK manifests and lockfiles, build/test configs, native build scripts, CI workflows, and generated compliance inventories
|
|
8
|
-
- Record owner: Xeno engineering, final owner assignment pending
|
|
9
|
-
- Audit date (UTC): 2026-07-12
|
|
10
|
-
- Status: boundary inventory and anti-overclaim controls complete; P4 implementation not started
|
|
11
|
-
|
|
12
|
-
## Current Boundary
|
|
13
|
-
|
|
14
|
-
- Product target: P2.
|
|
15
|
-
- P4 capability gate: false.
|
|
16
|
-
- Generated CLI development graph at audit: 397 records, including 392 build-only and 5 external-runtime records.
|
|
17
|
-
- Unique development package names at audit: 324.
|
|
18
|
-
- Direct tool groups: TypeScript/type contracts, tsup/esbuild, TSX, Vite/Vitest/Rollup, ESLint/typescript-eslint, npm/lockfile tooling, and @yao-pkg/pkg.
|
|
19
|
-
- Native and hosted boundaries: operating-system compilers/SDKs/linkers, Node/N-API headers, shell/PowerShell, and GitHub Actions remain external.
|
|
20
|
-
- License review: seven installed development entries require review; no claim resolves those entries automatically.
|
|
21
|
-
|
|
22
|
-
## Controls Added
|
|
23
|
-
|
|
24
|
-
- `@yao-pkg/pkg@6.21.0` is exact and committed to the lockfile.
|
|
25
|
-
- The cross-platform owned packaging orchestrator invokes the exact installed `@yao-pkg/pkg@6.21.0` entry point directly; release packaging does not use `npx` or download a moving package compiler.
|
|
26
|
-
- Deterministic ZIP/TAR generation, checksums, target validation, and runtime-manifest orchestration are Xeno-owned control logic.
|
|
27
|
-
- Optional Bun packaging requires a preinstalled executable and never downloads Bun in the build script.
|
|
28
|
-
- `scripts/verify-toolchain-boundary.mjs` reconciles direct manifest requests to lockfile versions, generated development records, license-review entries, and the false P4 policy gate.
|
|
29
|
-
- `npm run compliance:toolchain` writes and immediately verifies `docs/compliance/toolchain-boundary.json`.
|
|
30
|
-
- Human-readable scope and exit criteria are in `docs/TOOLCHAIN_BOUNDARIES.md`.
|
|
31
|
-
|
|
32
|
-
## P4 Replacement Scope
|
|
33
|
-
|
|
34
|
-
P4 requires owned language parsing/type analysis/transpilation, bundling and source maps, test runtime/assertions/mocking/coverage, static analysis, package resolution/integrity/packing/publication, executable packaging, native build orchestration, and deterministic provenance. The accepted OS/compiler/SDK/hosted-CI boundary must be approved before implementation.
|
|
35
|
-
|
|
36
|
-
## Verification Evidence
|
|
37
|
-
|
|
38
|
-
- Toolchain boundary write/verify passes against the current lock, policy, ownership graph, and license inventory.
|
|
39
|
-
- The packaging control path passes focused deterministic archive and PE-import tests, a clean Debian dual-target run, exact Windows cross-built execution, and same-environment byte comparison.
|
|
40
|
-
- CLI build and TypeScript checks pass with the sibling SDK junction restored.
|
|
41
|
-
- CLI compliance reports zero ownership violations; artifact-inclusive audit reports 927 records and zero violations.
|
|
42
|
-
- These results prove classification, control-path behavior, and same-environment reproducibility only. They do not prove P4 or independent-environment byte reproducibility.
|
|
43
|
-
- No release was published by this work.
|
|
44
|
-
|
|
45
|
-
## Handoff
|
|
46
|
-
|
|
47
|
-
- Phase 7 inventory and claim boundary complete: yes
|
|
48
|
-
- P4 implementation complete: no
|
|
49
|
-
- P4 evidence complete: no
|
|
50
|
-
- P4 capability gate may be marked achieved: no
|
|
51
|
-
- Ready to scope a separately funded compiler/toolchain program: yes
|
|
52
|
-
- Counsel/public P4 approval: pending
|
|
53
|
-
- Author/date: Codex implementation assistant, 2026-07-12
|
|
1
|
+
# Toolchain Boundary Record: Current Xeno Build System
|
|
2
|
+
|
|
3
|
+
## Identity
|
|
4
|
+
|
|
5
|
+
- Component: TypeScript/Node development, test, analysis, bundling, packaging, native-build, and CI toolchain
|
|
6
|
+
- Replacement milestone: PROPRIETARY-TOOLCHAIN-1
|
|
7
|
+
- Repository and paths: CLI/SDK manifests and lockfiles, build/test configs, native build scripts, CI workflows, and generated compliance inventories
|
|
8
|
+
- Record owner: Xeno engineering, final owner assignment pending
|
|
9
|
+
- Audit date (UTC): 2026-07-12
|
|
10
|
+
- Status: boundary inventory and anti-overclaim controls complete; P4 implementation not started
|
|
11
|
+
|
|
12
|
+
## Current Boundary
|
|
13
|
+
|
|
14
|
+
- Product target: P2.
|
|
15
|
+
- P4 capability gate: false.
|
|
16
|
+
- Generated CLI development graph at audit: 397 records, including 392 build-only and 5 external-runtime records.
|
|
17
|
+
- Unique development package names at audit: 324.
|
|
18
|
+
- Direct tool groups: TypeScript/type contracts, tsup/esbuild, TSX, Vite/Vitest/Rollup, ESLint/typescript-eslint, npm/lockfile tooling, and @yao-pkg/pkg.
|
|
19
|
+
- Native and hosted boundaries: operating-system compilers/SDKs/linkers, Node/N-API headers, shell/PowerShell, and GitHub Actions remain external.
|
|
20
|
+
- License review: seven installed development entries require review; no claim resolves those entries automatically.
|
|
21
|
+
|
|
22
|
+
## Controls Added
|
|
23
|
+
|
|
24
|
+
- `@yao-pkg/pkg@6.21.0` is exact and committed to the lockfile.
|
|
25
|
+
- The cross-platform owned packaging orchestrator invokes the exact installed `@yao-pkg/pkg@6.21.0` entry point directly; release packaging does not use `npx` or download a moving package compiler.
|
|
26
|
+
- Deterministic ZIP/TAR generation, checksums, target validation, and runtime-manifest orchestration are Xeno-owned control logic.
|
|
27
|
+
- Optional Bun packaging requires a preinstalled executable and never downloads Bun in the build script.
|
|
28
|
+
- `scripts/verify-toolchain-boundary.mjs` reconciles direct manifest requests to lockfile versions, generated development records, license-review entries, and the false P4 policy gate.
|
|
29
|
+
- `npm run compliance:toolchain` writes and immediately verifies `docs/compliance/toolchain-boundary.json`.
|
|
30
|
+
- Human-readable scope and exit criteria are in `docs/TOOLCHAIN_BOUNDARIES.md`.
|
|
31
|
+
|
|
32
|
+
## P4 Replacement Scope
|
|
33
|
+
|
|
34
|
+
P4 requires owned language parsing/type analysis/transpilation, bundling and source maps, test runtime/assertions/mocking/coverage, static analysis, package resolution/integrity/packing/publication, executable packaging, native build orchestration, and deterministic provenance. The accepted OS/compiler/SDK/hosted-CI boundary must be approved before implementation.
|
|
35
|
+
|
|
36
|
+
## Verification Evidence
|
|
37
|
+
|
|
38
|
+
- Toolchain boundary write/verify passes against the current lock, policy, ownership graph, and license inventory.
|
|
39
|
+
- The packaging control path passes focused deterministic archive and PE-import tests, a clean Debian dual-target run, exact Windows cross-built execution, and same-environment byte comparison.
|
|
40
|
+
- CLI build and TypeScript checks pass with the sibling SDK junction restored.
|
|
41
|
+
- CLI compliance reports zero ownership violations; artifact-inclusive audit reports 927 records and zero violations.
|
|
42
|
+
- These results prove classification, control-path behavior, and same-environment reproducibility only. They do not prove P4 or independent-environment byte reproducibility.
|
|
43
|
+
- No release was published by this work.
|
|
44
|
+
|
|
45
|
+
## Handoff
|
|
46
|
+
|
|
47
|
+
- Phase 7 inventory and claim boundary complete: yes
|
|
48
|
+
- P4 implementation complete: no
|
|
49
|
+
- P4 evidence complete: no
|
|
50
|
+
- P4 capability gate may be marked achieved: no
|
|
51
|
+
- Ready to scope a separately funded compiler/toolchain program: yes
|
|
52
|
+
- Counsel/public P4 approval: pending
|
|
53
|
+
- Author/date: Codex implementation assistant, 2026-07-12
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
# Independent Provenance Review: Development Toolchain Boundary
|
|
2
|
-
|
|
3
|
-
## Review Identity
|
|
4
|
-
|
|
5
|
-
- Component: current Xeno development toolchain
|
|
6
|
-
- Replacement milestone: PROPRIETARY-TOOLCHAIN-1
|
|
7
|
-
- Boundary record: `ownership/evidence/PROPRIETARY-TOOLCHAIN-1/implementation-record.md`
|
|
8
|
-
- Reviewer: pending independent reviewer
|
|
9
|
-
- Review date (UTC): pending
|
|
10
|
-
- Reviewer independent of implementation: pending
|
|
11
|
-
|
|
12
|
-
## Current Evidence Status
|
|
13
|
-
|
|
14
|
-
- [x] Direct tool requests reconcile to committed lockfile versions.
|
|
15
|
-
- [x] The generated development graph and review-required licenses are recorded.
|
|
16
|
-
- [x] Audited release paths prohibit network-fallback `npx` resolution.
|
|
17
|
-
- [x] Documentation explicitly rejects P4 and byte-reproducibility claims.
|
|
18
|
-
- [ ] Non-Xeno language/type/bundle/test/lint/package tools have been replaced.
|
|
19
|
-
- [ ] Accepted OS/compiler/SDK/CI boundaries have been approved.
|
|
20
|
-
- [ ] Two clean environments produce byte-identical artifacts.
|
|
21
|
-
- [ ] Signed provenance and independent tool-binary review are complete.
|
|
22
|
-
- [ ] Counsel has approved the P4 ownership language.
|
|
23
|
-
|
|
24
|
-
## Decision
|
|
25
|
-
|
|
26
|
-
- Engineering boundary decision: accurate for current P2 work
|
|
27
|
-
- P4 implementation decision: not approved or implemented
|
|
28
|
-
- P4 capability gate may be marked achieved: no
|
|
29
|
-
- Public P4/proprietary-toolchain claim approved: no
|
|
30
|
-
- Required follow-up: approve platform boundaries, fund the compiler/toolchain program, replace each capability group, prove clean reproducibility, and complete independent/counsel review
|
|
31
|
-
- Reviewer signature/date: pending
|
|
32
|
-
- Counsel approval reference: pending
|
|
1
|
+
# Independent Provenance Review: Development Toolchain Boundary
|
|
2
|
+
|
|
3
|
+
## Review Identity
|
|
4
|
+
|
|
5
|
+
- Component: current Xeno development toolchain
|
|
6
|
+
- Replacement milestone: PROPRIETARY-TOOLCHAIN-1
|
|
7
|
+
- Boundary record: `ownership/evidence/PROPRIETARY-TOOLCHAIN-1/implementation-record.md`
|
|
8
|
+
- Reviewer: pending independent reviewer
|
|
9
|
+
- Review date (UTC): pending
|
|
10
|
+
- Reviewer independent of implementation: pending
|
|
11
|
+
|
|
12
|
+
## Current Evidence Status
|
|
13
|
+
|
|
14
|
+
- [x] Direct tool requests reconcile to committed lockfile versions.
|
|
15
|
+
- [x] The generated development graph and review-required licenses are recorded.
|
|
16
|
+
- [x] Audited release paths prohibit network-fallback `npx` resolution.
|
|
17
|
+
- [x] Documentation explicitly rejects P4 and byte-reproducibility claims.
|
|
18
|
+
- [ ] Non-Xeno language/type/bundle/test/lint/package tools have been replaced.
|
|
19
|
+
- [ ] Accepted OS/compiler/SDK/CI boundaries have been approved.
|
|
20
|
+
- [ ] Two clean environments produce byte-identical artifacts.
|
|
21
|
+
- [ ] Signed provenance and independent tool-binary review are complete.
|
|
22
|
+
- [ ] Counsel has approved the P4 ownership language.
|
|
23
|
+
|
|
24
|
+
## Decision
|
|
25
|
+
|
|
26
|
+
- Engineering boundary decision: accurate for current P2 work
|
|
27
|
+
- P4 implementation decision: not approved or implemented
|
|
28
|
+
- P4 capability gate may be marked achieved: no
|
|
29
|
+
- Public P4/proprietary-toolchain claim approved: no
|
|
30
|
+
- Required follow-up: approve platform boundaries, fund the compiler/toolchain program, replace each capability group, prove clean reproducibility, and complete independent/counsel review
|
|
31
|
+
- Reviewer signature/date: pending
|
|
32
|
+
- Counsel approval reference: pending
|