Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
7c07b9b
Develop Stitch Prism model and enforce typed runtime contracts
afflom Nov 10, 2026
4eb61c5
Correct source entrypoint order and retain pinned compiler diagnostics
afflom Nov 10, 2026
c93a3cf
Verify baseline Prism model and resource invariants
afflom Nov 10, 2026
4b41402
Bind complete source model, contextual journeys and protocol boundaries
afflom Nov 10, 2026
78a984e
Implement verified recovery and bounded channel and guest operations
afflom Nov 10, 2026
9c2c36f
Persist browser authority and reconcile publication across restarts
afflom Nov 10, 2026
bcc6e26
Complete typed primitive replay and contextual operator recovery
afflom Nov 10, 2026
53c5a60
Restore trusted live observer anchors and package pinned SeaBIOS source
afflom Nov 10, 2026
d17aa7f
Complete operational controls and add native browser and source-compl…
afflom Nov 10, 2026
3e6858e
Fix native DataChannel pairing and align browser lifecycle qualification
afflom Nov 10, 2026
2f1fde8
Prove VM guest bridge readiness before accepting serialized shell com…
afflom Nov 10, 2026
fcb07fa
Complete live placement repair, authenticated job ownership and retir…
afflom Nov 10, 2026
cbf751b
Bind retained source proof to actual inputs for cheap evidence reuse
afflom Nov 10, 2026
5b57e88
Qualify preserved guest in production Chromium VM and Ethernet paths
afflom Nov 10, 2026
0311f35
Retain qualified guest probe and compact corresponding-source evidenc…
afflom Nov 10, 2026
723df67
Qualify final guest runtime with explicit addresses and compatible VG…
afflom Nov 10, 2026
04db21d
Complete explicit static guest networking and retain actual kernel proof
afflom Nov 10, 2026
039d300
Qualify natural guest neighbor recovery after explicit Ethernet consent
afflom Nov 10, 2026
d4280af
Qualify truthful VM termination states and contextual network controls
afflom Nov 10, 2026
d998432
Verify settled VM configuration controls unlock after confirmed destr…
afflom Nov 10, 2026
528f1c0
Complete truthful operator lifecycle, contextual controls and matchin…
afflom Nov 10, 2026
407c0fe
Record final guest source and real Chromium qualification evidence
afflom Nov 10, 2026
6f7e4d4
Adopt source-backed Linux guest with actual proof and permanent Ether…
afflom Nov 10, 2026
0b0639d
Qualify complete integrated host using unchanged production runtime a…
afflom Nov 10, 2026
8508a84
Record exact integrated host and guest qualification evidence
afflom Nov 10, 2026
bcad55a
Preserve actual narrow fixture regeneration and provenance for native…
afflom Nov 11, 2026
fa5b2d0
Retain genuine source evidence with reproducible validated summaries
afflom Nov 11, 2026
4988ca4
Reconcile complete Stitch implementation for fork-only upstream quali…
afflom Nov 12, 2026
a59217b
Merge PR #7: Diagnostic/stitch candidate browser
wwwportal Nov 13, 2026
e1fde2c
Merge PR #8: Reconcile full Stitch implementation & proof evidence suite
wwwportal Nov 13, 2026
8d33262
Implement complete Stitch product facets and reader experience
afflom Nov 13, 2026
5002a66
Fix Users facet projection import and retain genuine SDK lock
afflom Nov 13, 2026
bdf081b
Use strict SDK verification for source authoring
afflom Nov 13, 2026
6c393bf
fix(prism): complete official facet closure and design ownership
afflom Nov 13, 2026
4a40d2c
verify(prism): retain genuine 38-module source qualification
afflom Nov 13, 2026
000f07f
feat(prism-id): login-free prism identity with out-of-band device lin…
claude Nov 13, 2026
b23bbc7
feat(prism-id): recovery codes, so a prism outlives its devices
claude Nov 13, 2026
15ba24d
feat(prism-id): device classes, delegates, key rotation and threat model
claude Nov 13, 2026
b85ef0d
feat(prism-id): recovery codes over escrowed recovery devices
claude Nov 13, 2026
72a51d3
merge: rebase recovery onto prism-id 15ba24d (supersedes b23bbc7)
claude Nov 13, 2026
78159ba
fix(prism-id): a copied genesis cannot make a log unresolvable
claude Nov 13, 2026
5bbb7b3
feat(prism-id): close residuals R1, R3-R7 of the threat model
claude Nov 13, 2026
216e38c
feat(prism-id): a substrate bus on stitch's relay, and copied geneses…
claude Nov 14, 2026
e3efc6e
merge: rebase onto prism-id 5bbb7b3; stitch's threshold recovery supe…
claude Nov 14, 2026
4166b87
feat(prism-id): hybrid ML-DSA signatures, passkey-approved actions, l…
claude Nov 14, 2026
d63e258
merge: take claude/project-thread-nkgrlb (hybrid signatures, log-free…
claude Nov 14, 2026
7c0cceb
feat(prism-id): QR codes for link offers, a public log hosts hear rev…
claude Nov 14, 2026
696c37e
Merge pull request #2 from afflom/claude/project-thread-i4vn2z
afflom Nov 14, 2026
a21098a
feat(prism-id): a replayed old recovery kit binds and revokes nothing
claude Nov 14, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
7 changes: 7 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Keep generated projections and actual verification records available for audit
# without obscuring authored source changes in GitHub's default diff view.
src/layer1-uor/generated-model.js linguist-generated=true
product/contracts.json linguist-generated=true
product/source-attestation.json linguist-generated=true
product/source-build-manifest.json linguist-generated=true
product/source-verification.json linguist-generated=true
49 changes: 49 additions & 0 deletions .github/workflows/guest-browser-qualification.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: Qualify integrated Stitch host
on:
push:
branches: ['staging/stitch-upstream-reconciliation']
permissions:
contents: read
concurrency:
group: stitch-integration-${{ github.ref }}
cancel-in-progress: true
jobs:
runtime:
runs-on: ubuntu-24.04
timeout-minutes: 15
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
with:
persist-credentials: false
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020
with:
node-version: '24'
cache: npm
- run: npm ci --ignore-scripts
- run: npm test
- run: python3 scripts/verify-custody.py
- run: cargo test --locked
browser:
runs-on: ubuntu-24.04
timeout-minutes: 10
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
with:
persist-credentials: false
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020
with:
node-version: '24'
cache: npm
- run: npm ci --ignore-scripts
- name: Install pinned Chromium and its system dependencies
run: npx playwright install --with-deps chromium --only-shell
- name: Qualify actual Chromium host adapters and bundled guest
run: npm run test:browser
- name: Retain browser diagnostics
if: always()
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
with:
name: stitch-browser-${{ github.sha }}
path: |
verification-output/browser/
if-no-files-found: warn
94 changes: 94 additions & 0 deletions .github/workflows/guest-candidate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
name: Build and qualify guest candidate
on:
workflow_dispatch:
push:
branches: ['feat/**']
paths:
# Only image-producing inputs trigger a costly rebuild. Probe/docs and
# workflow-only edits can inspect/requalify existing images or dispatch explicitly.
- 'vendor/guest/board/**'
- 'vendor/guest/configs/**'
- 'vendor/guest/Config.in'
- 'vendor/guest/external.desc'
- 'vendor/guest/external.mk'
- 'vendor/guest/build-candidate.sh'
permissions:
contents: read
concurrency:
group: guest-candidate-${{ github.ref }}
cancel-in-progress: true
jobs:
candidate:
runs-on: ubuntu-24.04
timeout-minutes: 200
env:
BUILDROOT_PIN: 7fdeadb3b9f12f78e5fccca914d7fef47090ab9a
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
with:
persist-credentials: false
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020
with:
node-version: '24'
- name: Prepare bounded build host
timeout-minutes: 10
shell: bash
run: |
set -euo pipefail
mkdir -p "$RUNNER_TEMP/guest-evidence"
df -h "$RUNNER_TEMP" | tee "$RUNNER_TEMP/guest-evidence/disk-before.log"
free_kib=$(df -Pk "$RUNNER_TEMP" | awk 'NR==2 {print $4}')
test "$free_kib" -ge 20971520 || { echo 'Need at least 20 GiB free for first Buildroot build; use a larger authorized runner.'; exit 1; }
sudo apt-get update
sudo apt-get install -y --no-install-recommends build-essential patch perl cpio unzip rsync bc file wget python3 gzip xz-utils git
{ gcc --version; make --version; python3 --version; node --version; } > "$RUNNER_TEMP/guest-evidence/host-tools.log"
git init "$RUNNER_TEMP/buildroot"
git -C "$RUNNER_TEMP/buildroot" remote add origin https://github.com/buildroot/buildroot.git
git -C "$RUNNER_TEMP/buildroot" fetch --depth=1 origin "$BUILDROOT_PIN"
git -C "$RUNNER_TEMP/buildroot" checkout --detach FETCH_HEAD
test "$(git -C "$RUNNER_TEMP/buildroot" rev-parse HEAD)" = "$BUILDROOT_PIN"
- name: Build image and collect original source/license materials
timeout-minutes: 175
shell: bash
run: |
set -euo pipefail
vendor/guest/build-candidate.sh "$RUNNER_TEMP/buildroot" "$RUNNER_TEMP/guest-output" 2>&1 | tee "$RUNNER_TEMP/guest-evidence/build.log"
- name: Qualify actual bundled emulator against candidate
timeout-minutes: 4
shell: bash
run: |
set -euo pipefail
node vendor/guest/qualify-candidate.mjs "$RUNNER_TEMP/guest-output/images/bzImage" 2>&1 | tee "$RUNNER_TEMP/guest-evidence/runtime.log"
- name: Preserve usable results even on failure
if: always()
timeout-minutes: 8
shell: bash
run: |
set -euo pipefail
evidence="$RUNNER_TEMP/guest-evidence"
output="$RUNNER_TEMP/guest-output"
mkdir -p "$evidence"
printf '%s\n' 'Candidate evidence only. A failed or interrupted build produces partial materials, not distribution clearance. Inspect build/runtime logs and legal-info warnings. No runtime image was published or replaced.' > "$evidence/STATUS.txt"
if test -d "$output"; then
parts=()
for part in downloads legal-info release-materials; do
test ! -d "$output/$part" || parts+=("$part")
done
if ((${#parts[@]})); then tar -czf "$evidence/sources-and-licenses.tar.gz" -C "$output" "${parts[@]}"; fi
test ! -f "$output/.config" || cp "$output/.config" "$evidence/buildroot.config"
test ! -f "$output/images/bzImage" || cp "$output/images/bzImage" "$evidence/stitch-guest-candidate.bin"
if test -d "$output/build"; then
(cd "$output"; find build -mindepth 2 -maxdepth 2 -name .config -type f -exec cp --parents '{}' "$evidence/" ';')
fi
(cd "$evidence"; find . -type f ! -name SHA256SUMS -print0 | sort -z | xargs -0 sha256sum > SHA256SUMS)
fi
- name: Upload candidate, source materials, configs and logs
if: always()
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
with:
name: guest-candidate-${{ github.run_id }}-${{ github.run_attempt }}
path: ${{ runner.temp }}/guest-evidence/
include-hidden-files: true
if-no-files-found: warn
retention-days: 14
compression-level: 0
109 changes: 109 additions & 0 deletions .github/workflows/prism.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
name: Stitch model and runtime
on:
push:
branches: [main, 'feat/**']
pull_request:
workflow_dispatch:
permissions:
contents: read
concurrency:
group: stitch-${{ github.ref }}
cancel-in-progress: true
jobs:
runtime:
runs-on: ubuntu-24.04
timeout-minutes: 15
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
with:
persist-credentials: false
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020
with:
node-version: '24'
cache: npm
- run: npm ci --ignore-scripts
- run: npm test
- run: python3 scripts/verify-custody.py
- run: cargo test --locked
browser:
runs-on: ubuntu-24.04
timeout-minutes: 10
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
with:
persist-credentials: false
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020
with:
node-version: '24'
cache: npm
- run: npm ci --ignore-scripts
- name: Install pinned Chromium and its system dependencies
run: npx playwright install --with-deps chromium --only-shell
- name: Qualify actual Chromium host adapters and bundled guest
run: npm run test:browser
- name: Retain browser diagnostics
if: always()
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
with:
name: stitch-browser-${{ github.sha }}
path: |
verification-output/browser/
if-no-files-found: warn
model:
runs-on: ubuntu-24.04
timeout-minutes: 55
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
with:
persist-credentials: false
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020
with:
node-version: '24'
cache: npm
- run: npm ci --ignore-scripts
- name: Load the exact SDK identity
run: |
node -e 'const fs=require("fs");const x=JSON.parse(fs.readFileSync("prismpm.lock"));if(!/^ghcr\.io\/uor-foundation\/[a-z0-9-]+@sha256:[0-9a-f]{64}$/.test(x.sdk_image))throw Error("unpinned SDK");fs.appendFileSync(process.env.GITHUB_ENV,`SDK_IMAGE=${x.sdk_image}\n`)'
- name: Require committed authoring inputs before downloading the SDK
run: |
test -f app/lexlean.lock
test -n "$(git ls-files app/lexlean.lock)"
- name: Prepare SDK runner
run: |
docker pull "$SDK_IMAGE"
mkdir -p verification-output
cat > "$RUNNER_TEMP/run-sdk" <<'SH'
#!/bin/sh
set -eu
docker run --rm --user "$(id -u):$(id -g)" \
--group-add "$(stat -c '%g' /var/run/docker.sock)" \
--tmpfs /tmp:rw,exec,nosuid,size=3g \
--volume "$PWD:$PWD" --workdir "$PWD" \
--volume /var/run/docker.sock:/var/run/docker.sock \
--env HOME=/tmp/prismpm-home --env PRISMPM_EPHEMERAL_HOME=1 \
"$SDK_IMAGE" "$@"
SH
chmod +x "$RUNNER_TEMP/run-sdk"
- name: Record pinned SDK versions
run: |
"$RUNNER_TEMP/run-sdk" sh -c 'lexlean --version; lean --version; prismpm --version' | tee verification-output/compiler-identity.log
- name: Verify exact canonical source, Lean proofs and Prism artifact
run: |
set -o pipefail
"$RUNNER_TEMP/run-sdk" sh scripts/check-model-sdk.sh --check 2>&1 | tee verification-output/verify.log
git diff --exit-code
- name: Retain exact diagnostics and generated model evidence
if: always()
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
with:
name: stitch-model-${{ github.sha }}
include-hidden-files: true
path: |
verification-output/
app/src/
app/language/
app/lexlean.lock
app/.lexlean/
app/.prism/
src/layer1-uor/generated-model.js
if-no-files-found: error
72 changes: 72 additions & 0 deletions .github/workflows/source-authoring.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
name: Stitch source authoring artifact
on:
push:
branches: [feat/complete-stitch-prism]
workflow_dispatch:
permissions:
contents: read
concurrency:
group: stitch-source-authoring-${{ github.ref }}
cancel-in-progress: true
jobs:
source-authoring:
if: github.repository == 'afflom/stitch' && github.ref == 'refs/heads/feat/complete-stitch-prism'
runs-on: ubuntu-24.04
timeout-minutes: 55
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
with:
persist-credentials: false
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020
with:
node-version: '24'
cache: npm
- run: npm ci --ignore-scripts
- name: Record exact source and unchanged SDK pin
shell: bash
run: |
set -euo pipefail
mkdir -p verification-output
node --input-type=module <<'JS'
import fs from 'node:fs';
import {createHash} from 'node:crypto';
const bytes=fs.readFileSync('prismpm.lock'), lock=JSON.parse(bytes);
if(!/^ghcr\.io\/uor-foundation\/[a-z0-9-]+@sha256:[0-9a-f]{64}$/.test(lock.sdk_image))throw Error('unpinned SDK');
fs.appendFileSync(process.env.GITHUB_ENV,`SDK_IMAGE=${lock.sdk_image}\n`);
fs.writeFileSync('verification-output/authoring-input.json',JSON.stringify({
scope:'Source authoring only; not native Prism acceptance',revision:process.env.GITHUB_SHA,
sdk_image:lock.sdk_image,lock_sha256:createHash('sha256').update(bytes).digest('hex')
},null,2)+'\n');
JS
- name: Run actual pinned authoring and source verification
shell: bash
run: |
set -euo pipefail
bash scripts/author-source.sh 2>&1 | tee verification-output/authoring.log
- name: Check generated source and host projections
run: npm test
- name: Retain the exact authoring patch, including failure diagnostics
if: always()
shell: bash
run: |
mkdir -p verification-output
git diff --binary --full-index > verification-output/authoring.patch
git status --short > verification-output/authoring-status.txt
git diff --check
- name: Upload source authoring output for review, never push it
if: always()
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
with:
name: stitch-source-authoring-${{ github.sha }}
include-hidden-files: true
path: |
verification-output/
app/src/
app/language/
app/lexlean.lock
app/.lexlean/
.lexlean/axioms/
product/
site/facets.json
src/layer1-uor/generated-model.js
if-no-files-found: error
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
/target
/node_modules
*.log

node_modules/
app/.lexlean/
app/.prism/
app/.lake/
verification-output/

# Official prism-code axiom-probe diagnostics, retained by the authoring workflow.
/.lexlean/
Loading
Loading