Skip to content

test: map bounded startup and lifecycle evidence - #1677

Merged
luokerenx4 merged 4 commits into
devfrom
codex/lifecycle-classification-stage-one
Oct 1, 2026
Merged

luokerenx4 merged 4 commits into
devfrom
codex/lifecycle-classification-stage-one

Conversation

@luokerenx4

@luokerenx4 luokerenx4 commented Sep 30, 2026 •

Copy link
Copy Markdown
Contributor

Change

Map existing assertions for startup → selected Project → running → exit/recovery. The initial eight requirement rows are followed by a bounded runtime-ready row and independent safety evidence: concurrent Default writers, stale-heartbeat authority, PID reuse, forced takeover and capped recovery/reset. Add the real isKeyRelease function to the incomplete Supervisor mock so its existing cleanup follows #1669's input contract. No behavior assertion removed, runtime change, spec move, owner/lane reassignment or critical-gate narrowing in this PR.

Base dev 1a8bec87 includes #1669/#1673/#1676. Runtime zombie semantics are fixed separately in Draft #1678. Both PRs remain independently reviewable; Guardian selection on unmodified dev still needs that fix.

Effect

Selector Original Final
startup-project-selection Unregistered 5 files
desktop-lifecycle 1 6
guardian-process 1 6
Spec/command inventory 909 /70 909 /70
Owner-only specs 882 869

Thirteen existing files acquire bounded mappings. File/owner/lane/area tuples and command inventory compare identical. Multiple groups reference the same file without duplicate execution. Startup + Guardian intersects on only the shared CLI-command file; this omits core/lock/process evidence. Run affected protocols independently. Desktop + desktop-ipc still selects one shared IPC file.

Inspected Default, CLI core/presentation, lock, Dock/tray, child shutdown and relay races contain distinct behavior/preconditions or evidence layers. No same-layer identical claim was demonstrated, so no tests deleted. The plan contains the comparison table. Native/platform gaps remain explicit.

Verification

  • Workflow contracts: 12 files /108 passed. Applicable root/UI/CLI/Guardian/central typechecks and diff checks passed. Whole required critical gate passed 18 tests/all 15 required references; never narrowed.
  • Startup + Desktop: initially 143 pass/1 fail; after mock repair 144/144 in 3.01s; expanded mapping 157/157 across 11 files in 2.86s.
  • Guardian's same six mapped paths on fix: distinguish exited Linux zombies from live owners #1678: 65/65 in 2.71s. A disposable validation checkout overlays only fix: distinguish exited Linux zombies from live owners #1678's three implementation/test files on this PR: actual startup + Desktop selection 157/157 in 3.95s and Guardian selection 65/65 in 2.53s, both accepted receipts. These combination receipts are explicitly dirty source validation, not merged or packaged acceptance.
  • Real PTY Kitty Esc release/bracketed-paste regression: selected assertion passed, 59 unrelated cases excluded by diagnostic name filter. This does not certify the whole PTY file.
  • Complete hermetic initial baseline: 7490 pass/27 fail/5 skipped; fix: distinguish exited Linux zombies from live owners #1678 backstop: 7498 pass/24 fail/5 skipped (444.75s), including its five new process checks. Remaining files: Desktop process-group zombie probe, installer umask fixture, 21 Supervisor PTY fixture/output failures, and the Supervisor mock fixed here but absent from fix: distinguish exited Linux zombies from live owners #1678's dev base. Supported writable npm cache prerequisite resolves packaging; no blanket environment attribution for PTY failures.

Commands: pnpm test:select --scenario startup-project-selection,desktop-lifecycle; pnpm test:select --contract guardian-process; append --list --explain for dry runs. Terminal input/render changes additionally require explicit --path packages/cli/src/supervisor-tui.pty.spec.ts or the owner suite. Static imports and bounded groups do not replace that terminal surface, native Electron/SSH, installed binaries, real services/ports or cross-platform acceptance.

No merge or release.

Final-head CI

Head ca454506ff0de994b7e4333c8f1460e149a987d0: Dev PR Clean Build 36775256152 completed successfully. Workflow contracts, whole critical gate, receipt upload and complete workspace build all passed. critical-local-receipt artifact ID 11125577077 is confirmed associated with this exact head. Full-suite/native limitations above remain explicit. PR remains Draft.

@vercel

vercel Bot commented Sep 30, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
openalice-demo Ready Ready Preview Sep 30, 2026 8:49pm UTC

Request Review

@luokerenx4
luokerenx4 marked this pull request as ready for review October 1, 2026 00:41
@luokerenx4
luokerenx4 merged commit a8d2850 into dev Oct 1, 2026
3 checks passed
@luokerenx4
luokerenx4 deleted the codex/lifecycle-classification-stage-one branch October 1, 2026 00:41

This branch was successfully deployed

1 active deployment
Preview — ca454506 Deployed Sep 30, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants