Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
c133c9d
fix: move GhostWalk authority mutations to explicit operator terminal
MichaelWave369 Sep 30, 2026
7ec6f7e
feat: add pinned Arch Linux preview packages, session and UEFI image …
MichaelWave369 Sep 30, 2026
a508b1e
fix: use supported shell version command and preserve separate boot e…
MichaelWave369 Sep 30, 2026
61bef11
fix: accept pacman epoch versions and report current source license
MichaelWave369 Sep 30, 2026
ce11268
fix: complete Archiso hook dependencies and reject incomplete initram…
MichaelWave369 Sep 30, 2026
1dd9bb5
fix: configure live first boot and carry native Arch observations thr…
MichaelWave369 Sep 30, 2026
d0f7837
fix: preserve compositor startup evidence and accelerate UEFI qualifi…
MichaelWave369 Sep 30, 2026
aec65c4
test: prove desktop service recovery and a second UEFI boot
MichaelWave369 Sep 30, 2026
54d940a
feat: add durable private state and verified data-only recovery
MichaelWave369 Sep 30, 2026
1cd84cc
test: exercise real greeter login after live session logout
MichaelWave369 Sep 30, 2026
48707ce
Merge real greeter lifecycle qualification from Linux foundation
MichaelWave369 Sep 30, 2026
e39883f
feat: add explicit blank-disk installer and no-ISO recovery qualifica…
MichaelWave369 Sep 30, 2026
8705503
Fix explicit installation ISO boot priority and preserve failures
MichaelWave369 Oct 1, 2026
d125037
Verify pinned signed offline OS transitions before package use
MichaelWave369 Oct 1, 2026
dd0f4be
Preserve complete installed-guest traceback before stopping qualifica…
MichaelWave369 Oct 1, 2026
f135a24
Wait for the complete installed desktop and bound serial command lines
MichaelWave369 Oct 1, 2026
11facd8
Record exact qualified live and installed VM evidence
MichaelWave369 Oct 1, 2026
fea1b4c
Checkpoint matching OS root and EFI files and qualify live-media reco…
MichaelWave369 Oct 1, 2026
7401dda
Respect partition sysfs topology during offline OS recovery
MichaelWave369 Oct 1, 2026
a18955b
Stage pinned signed OS packages and qualify interrupted update recovery
MichaelWave369 Oct 1, 2026
8baecc1
Declare and hash the makepkg fixture source files
MichaelWave369 Oct 1, 2026
bb127d3
Expose explicit public-key enrollment and mount the staged update root
MichaelWave369 Oct 1, 2026
454dacd
Record qualified signed update interruption and matched OS recovery
MichaelWave369 Oct 1, 2026
83d2feb
Inventory exact OS artifacts and qualify an unpublished fixture-free …
MichaelWave369 Oct 1, 2026
379c178
Pin working SBOM validator and preserve actual-image validation failure
MichaelWave369 Oct 1, 2026
a8dda8c
Constrain one installed Linux proof effect to a separate agent princi…
MichaelWave369 Oct 1, 2026
d4e0c4b
Requalify the fixture-free ISO when packaged runtime changes
MichaelWave369 Oct 1, 2026
89833c2
Record bundled frontend suppliers and preserve the proof fixture failure
MichaelWave369 Oct 1, 2026
0ea1fce
Qualify normal ISO installation and matched recovery through reviewed…
MichaelWave369 Oct 1, 2026
c5163ac
Record exact normal-image and signed QA qualifications
MichaelWave369 Oct 1, 2026
ee441f5
Always report same-source Python UI and image qualification
MichaelWave369 Oct 1, 2026
5dc73d7
Complete candidate network audio and PAM screen-lock paths
MichaelWave369 Oct 1, 2026
cda880f
fix(os): qualify restricted DHCP and preserve desktop failure
MichaelWave369 Oct 1, 2026
9c98475
fix(os): parse captured DHCP options and qualify all session units
MichaelWave369 Oct 1, 2026
57a5573
docs(os): preserve qualified desktop evidence and main integration ha…
MichaelWave369 Oct 1, 2026
41f0c8b
fix(ci): preserve retry artifacts and emit bounded source-bound revie…
MichaelWave369 Oct 1, 2026
3d282bd
feat(os): verify exact offline source delivery packets and recover in…
MichaelWave369 Oct 1, 2026
3670a49
docs(os): preserve exact source-delivery qualification and current ha…
MichaelWave369 Oct 1, 2026
5825e2c
fix(os): scope VirtualBox cursors and rebind active Wayland session s…
MichaelWave369 Oct 1, 2026
d1a4a2b
fix(ci): observe explicit compositor environment and preserve first c…
MichaelWave369 Oct 1, 2026
161eb06
docs(os): preserve exact VirtualBox automatic-startup field report
MichaelWave369 Oct 1, 2026
ff05e82
fix(phishell): wire app entries and expose shipped integration status
MichaelWave369 Oct 1, 2026
2eb6e5a
docs(os): preserve PR286 VirtualBox launcher field qualification
MichaelWave369 Oct 2, 2026
57666cc
feat(nbga): verify pinned public qualification observations
MichaelWave369 Oct 2, 2026
a6fd95f
docs: preserve PR #288 VirtualBox reader and session field evidence
MichaelWave369 Oct 2, 2026
524fdd5
fix(os): route app launcher through explicit wrapper
MichaelWave369 Oct 4, 2026
82f4adb
fix(os): package explicit application launcher
MichaelWave369 Oct 4, 2026
c5f4b70
fix(os): add unambiguous Wofi launcher wrapper
MichaelWave369 Oct 4, 2026
43e5f4f
test(os): pin empty-query launcher contract
MichaelWave369 Oct 4, 2026
92ea8cf
docs(os): define launcher field acceptance
MichaelWave369 Oct 4, 2026
29f22bb
docs(os): record Linux candidate consolidation
MichaelWave369 Oct 4, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
name: CI

on:
push:
pull_request:
workflow_call:
workflow_dispatch:

permissions:
contents: read

jobs:
test:
Expand Down
154 changes: 154 additions & 0 deletions .github/workflows/linux-image.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,154 @@
name: Linux development image

on:
workflow_call:
workflow_dispatch:

permissions:
contents: read

concurrency:
group: linux-image-${{ github.ref }}
cancel-in-progress: true

jobs:
live-image:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
with:
persist-credentials: false
- name: Build an unsigned development image in isolated Arch Linux
run: |
set -euo pipefail
mkdir -p dist/linux
builder_image=$(python3 -c 'import json; print(json.load(open("packaging/linux/release.json"))["builder_image"])')
docker pull "$builder_image"
docker image inspect "$builder_image" > dist/linux/builder-image.json
docker run --rm --privileged \
-v "$GITHUB_WORKSPACE:$GITHUB_WORKSPACE:ro" \
-v "$GITHUB_WORKSPACE/dist/linux:/artifacts" \
-w "$GITHUB_WORKSPACE" \
-e PHIOS_SOURCE_COMMIT="$(git rev-parse HEAD)" \
-e PHIOS_OUTPUT_DIR=/artifacts -e PHIOS_CI_SMOKE=1 \
"$builder_image" bash packaging/linux/build-linux.sh 2>&1 | tee dist/linux/build.log
- name: Qualify the exact ISO in a disposable UEFI VM
run: |
set -euo pipefail
sudo apt-get update
sudo apt-get install -y qemu-system-x86 ovmf python3-pil
if [[ -e /dev/kvm ]]; then
sudo chgrp "$(id -gn)" /dev/kvm
sudo chmod g+rw /dev/kvm
fi
python3 packaging/linux/tests/qemu_boot.py \
--iso dist/linux/phios-linux-0.1.0-alpha.1-x86_64.iso \
--source "$(cat dist/linux/source-commit.txt)" \
--output "$RUNNER_TEMP/phios-boot"
- name: Install only to a disposable virtual disk and qualify no-ISO recovery
run: |
python3 packaging/linux/tests/qemu_install.py \
--recovery \
--signed-update \
--iso dist/linux/phios-linux-0.1.0-alpha.1-x86_64.iso \
--source "$(cat dist/linux/source-commit.txt)" \
--output "$RUNNER_TEMP/phios-installed"
- name: Convert display evidence even when qualification fails
if: always()
run: |
/usr/bin/python3 -I - <<'PY'
from pathlib import Path
import os
files = [p for name in ["phios-boot","phios-installed"] for p in Path(os.environ['RUNNER_TEMP'], name).glob('*.ppm')]
if files:
from PIL import Image
for path in files:
Image.open(path).save(path.with_suffix('.png'))
else:
print('No VM display captures exist; retain the earlier failure logs.')
PY
- name: Emit bounded qualification metadata for review
if: always()
run: |
/usr/bin/python3 -I - <<'PY'
import hashlib, json, os, re
from pathlib import Path
source = os.environ['GITHUB_SHA']
assert re.fullmatch('[0-9a-f]{40}', source)
roots = [('PhiOS/PhiOS/dist/linux', Path('dist/linux'))]
roots += [('_temp/' + name, Path(os.environ['RUNNER_TEMP'], name)) for name in ["phios-boot","phios-installed"]]
payload = {'schema_version': 'phios.ci-review-metadata.v1', 'source_commit': source,
'run_attempt': int(os.environ['GITHUB_RUN_ATTEMPT']), 'files': {}, 'reports': {}, 'inventory_counts': {},
'producer_metadata_only': True, 'review_archive_independently_verified': False, 'release_ready': False}
counts = {'native-packages.json': 'native', 'python-packages.json': 'python',
'javascript-packages.json': 'installed_npm', 'javascript-bundled-packages.json': 'bundled_frontend_origins'}
for prefix, root in roots:
if not root.exists():
continue
for path in sorted(root.iterdir()):
if path.suffix not in {'.json', '.txt', '.log', '.png'} and path.name != 'SHA256SUMS':
continue
if path.is_symlink() or not path.is_file() or path.stat().st_size > 64 * 1024 * 1024:
raise ValueError('unexpected or oversized review evidence file')
with path.open('rb') as stream:
digest = hashlib.file_digest(stream, 'sha256').hexdigest()
payload['files'][prefix + '/' + path.name] = {'sha256': digest, 'size': path.stat().st_size}
if path.suffix != '.json':
continue
if path.stat().st_size > 4 * 1024 * 1024:
raise ValueError('review JSON exceeds its bound')
data = json.loads(path.read_text())
if path.name in {'provenance.json', 'boot-evidence.json', 'preview-evidence.json', 'installed-evidence.json'}:
if data.get('source_commit') != source:
raise ValueError('review source identity differs from this CI source')
payload['reports'][prefix + '/' + path.name] = {k: v for k, v in data.items() if k not in {'command', 'commands', 'artifacts'}}
elif path.name in counts:
if not isinstance(data, list):
raise ValueError('review inventory is not a list')
payload['inventory_counts'][counts[path.name]] = len(data)
elif path.name == 'sbom.cdx.json':
payload['inventory_counts']['cyclonedx_components'] = len(data['components'])
elif path.name == 'third-party-notices.json':
payload['inventory_counts']['supplier_notice_files'] = len(data['files'])
elif path.name == 'source-review.json':
payload['first_party_source_archive'] = data['first_party_source_archive']
payload['source_delivery_reviewed'] = data['third_party_source_compliance_reviewed']
wire = json.dumps(payload, sort_keys=True, separators=(',', ':'))
if len(wire.encode()) > 60000:
raise ValueError('compact review metadata exceeds its bound')
print('PHIOS_REVIEW_METADATA:' + wire)
PY
- name: Preserve candidate and qualification evidence
if: always()
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
with:
name: phios-linux-development-${{ github.run_id }}-attempt-${{ github.run_attempt }}
path: |
dist/linux/
${{ runner.temp }}/phios-boot/*.log
${{ runner.temp }}/phios-boot/*.json
${{ runner.temp }}/phios-boot/*.png
${{ runner.temp }}/phios-installed/*.log
${{ runner.temp }}/phios-installed/*.json
${{ runner.temp }}/phios-installed/*.png
if-no-files-found: warn
retention-days: 7
- name: Preserve reviewable logs and screenshot separately
if: always()
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
with:
name: phios-linux-evidence-${{ github.run_id }}-attempt-${{ github.run_attempt }}
path: |
dist/linux/*.json
dist/linux/*.txt
dist/linux/*.log
dist/linux/SHA256SUMS
${{ runner.temp }}/phios-boot/*.log
${{ runner.temp }}/phios-boot/*.json
${{ runner.temp }}/phios-boot/*.png
${{ runner.temp }}/phios-installed/*.log
${{ runner.temp }}/phios-installed/*.json
${{ runner.temp }}/phios-installed/*.png
if-no-files-found: warn
retention-days: 7
156 changes: 156 additions & 0 deletions .github/workflows/os-release-candidate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,156 @@
name: Fixture-free OS candidate (unpublished)

on:
workflow_call:
workflow_dispatch:

permissions:
contents: read

concurrency:
group: os-release-candidate-${{ github.ref }}
cancel-in-progress: true

jobs:
fixture-free-candidate:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
with:
persist-credentials: false
- name: Build the exact source with production profile and no QA fixtures
run: |
set -euo pipefail
mkdir -p dist/fixture-free
builder_image=$(python3 -c 'import json; print(json.load(open("packaging/linux/release.json"))["builder_image"])')
docker pull "$builder_image"
docker image inspect "$builder_image" > dist/fixture-free/builder-image.json
docker run --rm --privileged \
-v "$GITHUB_WORKSPACE:$GITHUB_WORKSPACE:ro" \
-v "$GITHUB_WORKSPACE/dist/fixture-free:/artifacts" \
-w "$GITHUB_WORKSPACE" \
-e PHIOS_SOURCE_COMMIT="$(git rev-parse HEAD)" \
-e PHIOS_OUTPUT_DIR=/artifacts -e PHIOS_CI_SMOKE=0 \
"$builder_image" bash packaging/linux/build-linux.sh 2>&1 | tee dist/fixture-free/build.log
- name: Validate SBOM and qualify this unmodified ISO through normal PAM
run: |
set -euo pipefail
sudo apt-get update
sudo apt-get install -y qemu-system-x86 ovmf python3-pil python3-venv
if [[ -e /dev/kvm ]]; then
sudo chgrp "$(id -gn)" /dev/kvm
sudo chmod g+rw /dev/kvm
fi
python3 -m venv "$RUNNER_TEMP/phios-sbom-validator"
"$RUNNER_TEMP/phios-sbom-validator/bin/python" -m pip install jsonschema==4.26.0
"$RUNNER_TEMP/phios-sbom-validator/bin/python" packaging/linux/validate_sbom.py dist/fixture-free/sbom.cdx.json
python3 packaging/linux/tests/qemu_preview.py \
--iso dist/fixture-free/phios-linux-0.1.0-alpha.1-x86_64.iso \
--source "$(cat dist/fixture-free/source-commit.txt)" \
--output "$RUNNER_TEMP/phios-preview"
- name: Install and recover the exact normal ISO through production commands
run: |
python3 packaging/linux/tests/qemu_install.py \
--fixture-free --recovery \
--iso dist/fixture-free/phios-linux-0.1.0-alpha.1-x86_64.iso \
--source "$(cat dist/fixture-free/source-commit.txt)" \
--output "$RUNNER_TEMP/phios-normal-installed"
- name: Preserve display evidence even on failure
if: always()
run: |
/usr/bin/python3 -I - <<'PY'
from pathlib import Path
import os
files = [p for name in ["phios-preview","phios-normal-installed"] for p in Path(os.environ['RUNNER_TEMP'], name).glob('*.ppm')]
if files:
from PIL import Image
for path in files:
Image.open(path).save(path.with_suffix('.png'))
else:
print('No VM display captures exist; retain the earlier failure logs.')
PY
- name: Emit bounded qualification metadata for review
if: always()
run: |
/usr/bin/python3 -I - <<'PY'
import hashlib, json, os, re
from pathlib import Path
source = os.environ['GITHUB_SHA']
assert re.fullmatch('[0-9a-f]{40}', source)
roots = [('PhiOS/PhiOS/dist/fixture-free', Path('dist/fixture-free'))]
roots += [('_temp/' + name, Path(os.environ['RUNNER_TEMP'], name)) for name in ["phios-preview","phios-normal-installed"]]
payload = {'schema_version': 'phios.ci-review-metadata.v1', 'source_commit': source,
'run_attempt': int(os.environ['GITHUB_RUN_ATTEMPT']), 'files': {}, 'reports': {}, 'inventory_counts': {},
'producer_metadata_only': True, 'review_archive_independently_verified': False, 'release_ready': False}
counts = {'native-packages.json': 'native', 'python-packages.json': 'python',
'javascript-packages.json': 'installed_npm', 'javascript-bundled-packages.json': 'bundled_frontend_origins'}
for prefix, root in roots:
if not root.exists():
continue
for path in sorted(root.iterdir()):
if path.suffix not in {'.json', '.txt', '.log', '.png'} and path.name != 'SHA256SUMS':
continue
if path.is_symlink() or not path.is_file() or path.stat().st_size > 64 * 1024 * 1024:
raise ValueError('unexpected or oversized review evidence file')
with path.open('rb') as stream:
digest = hashlib.file_digest(stream, 'sha256').hexdigest()
payload['files'][prefix + '/' + path.name] = {'sha256': digest, 'size': path.stat().st_size}
if path.suffix != '.json':
continue
if path.stat().st_size > 4 * 1024 * 1024:
raise ValueError('review JSON exceeds its bound')
data = json.loads(path.read_text())
if path.name in {'provenance.json', 'boot-evidence.json', 'preview-evidence.json', 'installed-evidence.json'}:
if data.get('source_commit') != source:
raise ValueError('review source identity differs from this CI source')
payload['reports'][prefix + '/' + path.name] = {k: v for k, v in data.items() if k not in {'command', 'commands', 'artifacts'}}
elif path.name in counts:
if not isinstance(data, list):
raise ValueError('review inventory is not a list')
payload['inventory_counts'][counts[path.name]] = len(data)
elif path.name == 'sbom.cdx.json':
payload['inventory_counts']['cyclonedx_components'] = len(data['components'])
elif path.name == 'third-party-notices.json':
payload['inventory_counts']['supplier_notice_files'] = len(data['files'])
elif path.name == 'source-review.json':
payload['first_party_source_archive'] = data['first_party_source_archive']
payload['source_delivery_reviewed'] = data['third_party_source_compliance_reviewed']
wire = json.dumps(payload, sort_keys=True, separators=(',', ':'))
if len(wire.encode()) > 60000:
raise ValueError('compact review metadata exceeds its bound')
print('PHIOS_REVIEW_METADATA:' + wire)
PY
- name: Preserve unpublished candidate and exact provenance
if: always()
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
with:
name: phios-fixture-free-candidate-${{ github.run_id }}-attempt-${{ github.run_attempt }}
path: |
dist/fixture-free/
${{ runner.temp }}/phios-preview/*.log
${{ runner.temp }}/phios-preview/*.json
${{ runner.temp }}/phios-preview/*.png
${{ runner.temp }}/phios-normal-installed/*.log
${{ runner.temp }}/phios-normal-installed/*.json
${{ runner.temp }}/phios-normal-installed/*.png
if-no-files-found: warn
retention-days: 7
- name: Preserve compact review evidence
if: always()
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
with:
name: phios-fixture-free-evidence-${{ github.run_id }}-attempt-${{ github.run_attempt }}
path: |
dist/fixture-free/*.json
dist/fixture-free/*.txt
dist/fixture-free/*.log
dist/fixture-free/SHA256SUMS
${{ runner.temp }}/phios-preview/*.log
${{ runner.temp }}/phios-preview/*.json
${{ runner.temp }}/phios-preview/*.png
${{ runner.temp }}/phios-normal-installed/*.log
${{ runner.temp }}/phios-normal-installed/*.json
${{ runner.temp }}/phios-normal-installed/*.png
if-no-files-found: warn
retention-days: 7
15 changes: 2 additions & 13 deletions .github/workflows/phishell.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,7 @@
name: PhiShell

on:
pull_request:
paths:
- "phishell/**"
- "docs/PHISHELL_*.md"
- ".github/workflows/phishell.yml"
push:
branches:
- main
paths:
- "phishell/**"
- "docs/PHISHELL_*.md"
- ".github/workflows/phishell.yml"
workflow_call:
workflow_dispatch:

permissions:
Expand All @@ -31,7 +20,7 @@ jobs:
node-version: "22"
package-manager-cache: false
- name: Install PhiShell dependencies
run: npm install --no-audit --no-fund
run: npm ci --no-audit --no-fund
- name: Test PhiShell contracts
run: npm test
- name: Exercise read-only Linux host probe
Expand Down
Loading
Loading