Repository navigation
Description
Goal
Make LastCode delivery use a small coherent set of independent resumable Project Actions so agents do not spend turns polling passive validation, review, or artifact builds. Move comprehensive PR validation back to GitHub CI while keeping a genuinely quick local pre-push gate and preserving exact-revision guarded merge safety.
This supersedes the architecture recorded by #87 without rewriting that closed historical issue.
Measured wait burden
| Candidate | Occurrences/PR | Polls/occurrence | Polls/PR |
|---|---|---|---|
| Current heavyweight Quick CI | 3.3–4.75 | 17–18 | 59–87 |
| Local Full CI | 1.25 | 19 | 23.8 |
| Codex review and PR-state wait | 3.0–3.4 | 5.2 | 15.5–17.6 |
| Intel artifact workflow | 0.25 | 25 | 6.25 |
Base/head drift remains an agent wake point rather than its own action. Guarded merge and push transport remain below the three-polls-per-PR threshold.
Intended steady state
- Wait for PR waits concurrently for authoritative exact-revision GitHub CI, exact-head Codex review, unresolved threads, mergeability, and head/base drift.
- Build Intel package dispatches and waits for one exact-tag hosted Intel artifact build, but never installs or promotes it.
- Quick CI becomes an action only if the trimmed gate still costs at least three polling turns per PR; otherwise it remains synchronous.
- Run Full CI is retired from ordinary PR delivery after GitHub CI becomes authoritative, while checkpoint/installable Full CI remains intact.
- Findings, fixes, focused tests, rebases, retries, pushes, installation, promotion, and merge readiness remain agent decisions.
An empty GitHub check rollup is never interpreted by itself. Disabled/not-required CI means no hosted gate; enabled applicable ci.yml means an exact-revision run is expected. The waiter and guarded merge share one tested CI-evidence model bound to the current PR head, base, and synthetic merge SHA.
Delivery slices
1. Establish and prove hosted CI waiting
- Fix the feat(lastcode): collapse resumable action output #97 zero-check deadlock with deterministic workflow expectation.
- Adapt the existing
ci.ymlto standard GitHub runners, correct triggers and permissions, and add one stable aggregate gate over the existing parallel job graph. - Retain local Full CI and its merge stamp during proof.
- Enable the existing workflow only with explicit authorization, dogfood on the implementation PR, and measure real jobs and timings.
2. Trim and measure Quick CI
- Keep
git diff --check, formatting/lint, and typechecking only if acceptably fast. - Leave focused tests to the implementing agent.
- Add an exact Quick receipt/action only if remeasurement remains at least three polls/PR.
3. Cut merge authority over to GitHub
- Require successful exact workflow/merge-SHA evidence in guarded merge.
- Prove checkpoint-promotion ruleset behavior before requiring the aggregate context.
- Retire the ordinary-PR Full CI action and stamp.
- Update LastCode skills/docs and the canonical babysit skill in agent-contexts.
4. Add the Intel artifact action
- Correlate each dispatch uniquely to one workflow run.
- Wait resumably for success or a terminal problem.
- Keep staging, installation, and promotion separate.
Constraints
- Independent resumable actions; no automatic chaining.
- Deterministic state decisions; no model classifier.
- No setup automation, installers, migrations, repair systems, compatibility layers, or support for old LastCode versions.
- No added complexity for one-time Project Action configuration.
- Focused tests and dogfooding on each delivery PR.
- Preserve checkpoint/installable safeguards throughout the PR-CI transition.
Done when
- the steady-state Project Actions and canonical babysit skill describe one understandable loop;
- GitHub CI and guarded merge agree on exact authoritative evidence;
- Quick CI has measured bounded coverage and no duplicate pre-push wait;
- Intel builds no longer consume agent polling turns;
- all implementation PRs are babysat and guarded-merged; and
- both project trackers are reconciled.
Activity
lastobelus commentedon Aug 27, 2026
Slice 4 (Build Intel package) is now running independently in the Intel-build coordination thread. It owns the exact-tag dispatch and wait action and will dogfood it by producing the eligible
1185.3Intel release after the implementation lands. Installation or promotion on an Intel artifact-consumer node remains a separate decision. Slice 1 continues independently onlastcode/github-ci-waiting.feat(lastcode): prove hosted CI waiting (#104)
lastobelus commentedon Aug 27, 2026
Slice 1 merged in PR #104 (
d3ae5d24eafc9a09db6759088c651d948d1a0222).Dogfood evidence:
Wait for PRtreated it as not expected and resumed on the actionable Codex finding.bf1fa30f79bb43b14dc73aa76e995962d0a85427and base02e5b65116ce8792f07805ef039bd7a494a7240e; guarded merge succeeded.The CI workflow remains enabled, but
CI Gateis not yet made a required ruleset context and the local Full CI stamp remains authoritative during the staged cutover. Issue #103 and both project items remain In Progress for the Build Intel package, Quick CI measurement/action decision, canonical skill update, and final authority cutover slices.Post-merge note: guarded merge could not kick the unloaded nightly checkpoint LaunchAgent on this machine; the merge itself completed and is present at
origin/lastcode/main.feat(lastcode): add resumable Intel builds (#106)
fix(lastcode): fetch Intel build base tags (#107)
lastobelus commentedon Aug 27, 2026
Build Intel package slice delivered and dogfooded successfully.
lastcode/revision/v0.0.34-nightly.20260825.1185.36a94d01f3b1509c83094ae274bf21e74135d5a74c4996355c52c85fc9dcf0ce42ec69c1a602e6cd1The action produced the x64 DMG and ZIP, blockmaps, SHA256SUMS, build manifest, and updater metadata. It did not stage, install, promote, restart, or update an Intel artifact-consumer node.
lastobelus commentedon Aug 27, 2026
Quick CI slice implementation is committed on
lastcode/trim-quick-ciat8912b6e2dand is ready for self-dogfood before publication.Measurement and threshold decision:
Therefore Quick CI is an independent resumable Project Action. Success writes a receipt bound to the exact head, current local
origin/lastcode/main, and gate version. The action never pushes. The pre-push hook accepts only a matching receipt for pushed refs at exact HEAD; otherwise ordinary command-line pushes run the same gate synchronously. Dirty trees, head/base changes, gate changes, and validation failures cannot produce or reuse a receipt; a transport retry of the same exact commit can.Focused validation currently passes: 21 tests across the local-CI and build-progress suites, dry-run plan rendering, formatting, and
git diff --check. The current saved project still needs the newly checked-inRun Quick CIaction imported and enabled for agent resume once so this same PR can dogfood the resumable path.lastobelus commentedon Aug 27, 2026
feat(lastcode): resume after quick ci (#110)
lastobelus commentedon Aug 27, 2026
Quick CI slice merged in #110 as
6416a0114b9e03b61d4c76139a3e9eeff4a61c2c; the squash-merge tree exactly matches reviewed head190590fed33105588fc36549e45ca3e226b8f776.Measured/design result:
Dogfood/review evidence:
190590fedand base953b281a4; guarded merge succeeded.The current checkout had not imported the new Action during its own PR, so its long command was launched as one uninterrupted operation rather than through agent-triggered resume. The merged docs now explicitly require the deliberate one-time per-checkout import from
t3.jsonand Allow Codex and Claude to run and resume opt-in. No setup automation or migration was added.The post-merge checkpoint LaunchAgent kick failed because the service is unloaded on this machine; the merge itself is verified on
origin/lastcode/main. Issue #103 and its project items remain In Progress for final GitHub merge-authority cutover, ordinary-PR Full CI retirement, and the canonical agent-context babysit skill update.lastobelus commentedon Aug 27, 2026
Slice 3 cutover is published as #111 at exact head
6944da9bd2b096fe01834683ffb0743c8c7b5bac.Implemented:
Run Full CIProject Action and PR stamp guidance removedCI Gateand grants an always-on bypass only to ownerlastobelus(user ID25810) for checkpoint promotionFocused validation: 41 tests, focused lint, scripts typecheck, skill validation, exact Quick CI receipt and hook reuse. GitHub CI and exact-head Codex review are now running on #111.
lastobelus commentedon Aug 27, 2026
PR #111 merged as
eaf8e0befbb0de930e615110258644e94cc1e1e9; its merged tree exactly matches reviewed head6944da9bd2b096fe01834683ffb0743c8c7b5bac. The new guard dogfooded exact GitHub CI run33112905801and tested mergec58f412871076a7e2484a31a1bdb332e681fe61c. The checkpoint LaunchAgent kick failed because the service is unloaded; merge remained successful.Canonical skill follow-up: agent-contexts issue #7 and PR #8 at
233a5ff7a4f11f3625791fd4e6754fa773514aa0. Skill validation passed and exact-head Codex review is requested.lastobelus commentedon Aug 27, 2026
Canonical agent-contexts PR #8 merged as
709c96dab717ea76419783ffddb2d2a82af177ca; its merged tree exactly matches reviewed head24b430e6d143b72f0aadb34c4585bb0a6cc0e55c. Codex was clean after one real sequencing finding was fixed and its thread resolved.Runtime rollout is complete across the managed LastCode GUI/controller and server roles:
mainat709c96d6add2509e8393edb3e94af36b560087505129aaaa27114974b0fede688cb795aThe complete resumable babysit workflow is now landed.
233 remaining items
fix(lastcode): run daily Intel dispatch on GitHub (#115)
feat(lastcode): prove hosted CI waiting (#104)
feat(lastcode): add resumable Intel builds (#106)
fix(lastcode): fetch Intel build base tags (#107)
feat(lastcode): resume after quick ci (#110)
feat(lastcode): make GitHub CI merge authority (#111)
fix(web): tolerate external project script ids in keybinding commands (…
fix(lastcode): run daily Intel dispatch on GitHub (#115)
feat(lastcode): prove hosted CI waiting (#104)
feat(lastcode): add resumable Intel builds (#106)
fix(lastcode): fetch Intel build base tags (#107)
feat(lastcode): resume after quick ci (#110)
feat(lastcode): make GitHub CI merge authority (#111)
fix(web): tolerate external project script ids in keybinding commands (…
fix(lastcode): run daily Intel dispatch on GitHub (#115)