Repository navigation
Conversation
…es (0.70.0) A caller whose public address changed mid-run lost its SSH session, could never reconnect because the security group admitted the old address only, and the lane ended interrupted with its machine deleted. Tailscale is now required. orly refuses to start unless the caller's `tailscale status` is running and online, then mints one single-use, ephemeral, preauthorized key tagged exactly tag:orly-burst per machine through the OAuth credential in TS_OAUTH_CLIENT_ID and TS_OAUTH_CLIENT_SECRET. The key reaches the machine only in its boot script, through EC2 user data or a TIR start script, and is deleted once the machine has joined or failed to. No security group opens port 22, and the caller-address check is gone. The job runs detached on the machine, writing its log and exit code under /run. orly follows the log by byte offset; a lost session is reconnected for up to 10 minutes since the log last grew, never past the deadline, and the lane's result is the exit code the machine wrote. Nodes log out before their machine is deleted, and a warm-up leaves the tailnet before it is imaged. Co-Authored-By: Claude Opus 5.5 <[email protected]>
- A node counts only when it carries tag:orly-burst, and two tagged nodes of one name are refused, so no device can stand in by claiming a name. - burst.secrets may not name OP_SERVICE_ACCOUNT_TOKEN or a TS_OAUTH_, E2E_ or AWS_ variable, since a value already in the caller's environment is sent to the machine as it is. - A warm-up about to be imaged also runs cloud-init clean, stops tailscaled and removes its state file, so no snapshot carries its node or user data. - The launcher is told the job script's size and discards a short upload, so a session lost mid-upload never starts a truncated job. - A refused TIR start script is reported by status alone, since TIR's errors may quote the script, and its key, back. - A node that joined after the run stopped waiting is found and logged out at release. Start scripts are named by run, and teardown deletes this run's by name and any left by a run that began over 25 hours ago. - docs/BURST.md warns that tag:orly-burst must be in no rule's src and the default allow-all grant must go. Co-Authored-By: Claude Opus 5.5 <[email protected]>
macOS answers EPERM to a signal for a process group whose members have all exited but are not yet reaped. A session that ended just as its deadline came threw that from the deadline timer; the reconnect loop's short sessions made the race likely. Co-Authored-By: Claude Opus 5.5 <[email protected]>
- docs/BURST.md: a killed run's nodes leave once their machines are deleted or go offline; the two warnings merge into one, and the key's deletion is said once. llms.txt names 0.70.0. - stopOwnedGroup treats EPERM, a group of unreaped exits, as stopped for every caller, and burst's own wrapper goes. - One run-id helper set in types.ts builds a run id, its tail and when it began; node and start-script names use it. - A warm-up's machine is typed as joined, and is not imaged when it cannot be logged out. - The tailnet address check reuses the shared IPv4 pattern. - The boot script hands tailscale its key through a 0600 file in /run, removed on exit, instead of an argument, and asks `tailscale status` whether the node is up. - An orphaned start script is one older than the longest deadline plus an hour, and one a VM still uses is reported as such, not for hand deletion. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
The owner approved five improvements for the open 0.70.0 Pull Request: reuse keyed to the tree, coupled paths, an orly-spec that runs the EGM review itself, recorded fail-before proofs, and orly note. The spec holds their Dimensions, failure modes and rubric, and its Discovery carries the owner's words, recorded with orly note. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…rd proofs and notes (0.70.0)
- Reuse: evidence binds the merge base and every tracked path's mode and
working-tree bytes (or tracked_inputs), never the revision. A run with no
untracked file records evidence, including under --accept-dirty and the
push gate; only a clean tree at the pushed revision accepts it. Records
move to format 2 with executed_uncommitted, so a revision-keyed record
runs fresh, and provenance says "with uncommitted changes".
- Coupled paths: coupled [{when, then}] prefix groups in .orly/orly.json,
validated by zod and the profile schema. gate pr's paths.coupled fails a
branch that changes a when path and no then path, naming both sides.
- Proofs: orly proof <TEST_FILE> --test <NAME> -- <COMMAND> runs the command
with the covered code reverted or mutated and keeps a signed record only
when it fails and an output line reports that test failing. gate pr's
tests.proven names new TypeScript, JavaScript, Rust, Go and Python test
declarations without one, and never fails: records are private to one
worktree, and a verdict must not depend on private history.
- Notes: orly note "<QUOTE>" [--context] [--spec] appends a dated owner line
to the end of the active spec's Discovery; the name is the owner a
selected persona pack declares in registry.json.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…e proof and note
egm-review and egm-resolve carry disable-model-invocation, so an agent told
to run them could not, and the review step never happened. Step 6 now
dispatches the egm:* Goldfish reviewers directly, stage 5 to 9 in order with
each stage's reviewers in parallel and no conversation, writes their findings
as table rows to docs/v{P}/evidence/M{N}_{WS}_EGM_REVIEW.md, and resolves them
as egm-resolve does. orly doctor still checks that EGM is installed.
orly-build proves each new test with orly proof and records owner rulings
with orly note; orly-ship records deferral quotes with orly note and copies
the tests.proven line into the Make section.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The architecture page, README, llms.txt and the 0.70.0 changelog entry describe what shipped. TEST-LANE now says reuse matches tracked content, so a reused command reads no Git history, and tracked_inputs narrows it. The 0.70.0 entry's Upgrade bullet tells a consumer to drop a reuse policy whose command reads Git history; evidence from earlier releases runs fresh. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…st verdict line
Recording proofs for this branch's own tests with orly proof found three
gaps. A `test.each([` table spread over lines closes with `])("name"`,
which the declaration reader missed. The first output line naming a test
could be an assertion's detail rather than the runner's verdict, which
bun, cargo, go and pytest all print after it. And bun prints no passing
lines off a terminal, so the test for a passing line named "failed" now
uses a verbose runner's output, as cargo prints it.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The owner asked for a reduction review of this Pull Request's code, the skills, AGENTS.md and its sources, SOUL.md and the standards. Findings and counts are in docs/v2/evidence/M18_REDUCTION_REVIEW.md. Only cuts with one form and no change of meaning apply here; 36 proposals wait for the owner. - Rule text: orly-build drops gstack /investigate, which gstack removed, and three lines AGENTS.md states verbatim; orly-ship drops the gstack prefix note; SOUL.md drops a line core already says. AGENTS.md 16302 -> 16257 bytes; the eight rule files 49309 -> 48935 bytes. - Code: BurstRun.fetch had no reader; unused exports, defaults and return values go; the fake's second tag check could never fail; proof.ts reads its diff through gitOutput; an orphan comment for a removed token goes. - orly-spec's fallback names the EGM persona file by its frontmatter name, since egm-design lives in agents/design_critic.md. - The three suites that drive orly through Git and subprocesses become .integration.test.ts, as the standards review asked, and the M18 spec moves to done/ (its closing edits follow). Co-Authored-By: Claude Opus 5.5 <[email protected]>
- The forged-record test alters failing_line, so only the signature can refuse it; deleting the signature check now fails it. Its base revision comes from the scrubbed-environment Git helper (TEST-GITENV). - The architecture page says tests.proven names up to three tests and counts the rest, and expands EGM at its first use. - The 0.70.0 entry states one fact per bullet and expands EGM. - The spec moves to done/ with every Dimension DONE, a concrete input and output per Dimension, the EGM source as an https reference, the rubric graded from its own commands, and the three model reviews' counts in Discovery. CL-BUDGET stays open for the owner: two approved changes share one version, so the entry runs past five bullets. Co-Authored-By: Claude Opus 5.5 <[email protected]>
… file The owner ruled review records out of the repository. Both files in the v2 evidence folder go, and the M17 and M18 specs state their facts without pointing at them. orly-spec step 6 now writes no review file: accepted findings change the spec, and Discovery records the owner's rulings, through orly note, and each declined finding with its reason. The reviewer detail stays in the session. layout.test.ts fails any tracked file outside history that cites an evidence path. No schema field or gate counted those files: docs.updated already skips everything under docs/v<N>/. The owner kept both changes in the one 0.70.0 entry; his ruling and the evidence ruling are recorded in the M18 Discovery with orly note. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
orly burstadmitted SSH only from the caller's public IPv4 and ran each lane inside one SSH session. When the caller's network changed mid-run (a Wi-Fi drop that brings a new public IP), the session died, reconnecting was refused, and the lane was markedinterruptedand its VM deleted. Seen live: a lane admitted from one address lost its session 17 minutes in after the caller's address changed.What changes (0.70.0)
tag:orly-burst, minted from an OAuth trust credential whose only tag istag:orly-burst. The key is deleted once the VM has joined, and on every failure. SSH goes to the VM's tailnet address. No security group opens port 22. The AWS group has no inbound rule; TIR's has UDP 41641 only, Tailscale's direct-connection port, because TIR refuses an empty group.setsid/nohup, writing its log and exit code to/run/orly-burst. orly follows the log by byte offset. When the session drops, it reconnects within the existing machine-wait window, never past the job deadline, and resumes where the log left off. The exit-code file decides the result.Security review (independent, then re-reviewed)
Fixed:
tag:orly-burst, and only one may match.burst.secretsrefusesTS_OAUTH_*,E2E_*andAWS_*.docs/BURST.mdwarns thattag:orly-burstmust appear in no rule'ssrc, and that a tailnet's default allow-all grant lets burst VMs reach every device.Open for the owner:
resolveSecretsstill sends any preset caller environment value a repository'sburst.secretsnames. That behaviour predates this change.Evidence
make audit: 615 pass, 0 fail (615 tests, 51 files).orly gate verify: repo.config, docs.language and typecheck all green.gitleaks gitover these 4 commits andgitleaks dirover the tree: no leaks found. Outgoing commits and messages were also checked against the real credential values and for vault paths: none present.tailscale up --auth-key=file:.Do not merge until the owner has reviewed it.
Session notes 1
Added the owner's five approved improvements to 0.70.0, applied the reduction review's one-form cuts, and took review records out of the tree.
orly gate prnow reuses a run made before the commit,coupledpaths fail a one-sided change,orly proofandorly noterecord fail-before proofs and owner rulings, andorly-specruns the EGM (Elephant-Goldfish Model) reviewers itself and writes no review file. Open for the owner: the Markdown cleanup plan and the earlier reduction proposals, delivered as a session report rather than a file.docs/v2/done/M18_001_P2_CLI_DOCS_GOV_SKILL_GATE_PROVES_MORE_RERUNS_LESS.md,Status: DONE; its Discovery carries all four rulings throughorly note.tracked_inputs), never the revision. A run with no untracked file records evidence, including under--accept-dirtyand the push gate; only a clean tree at the pushed revision accepts it. Records are format 2, so earlier evidence runs fresh.hermetic: truenow also means the command reads no Git history, because evidence outlives the commit it ran beside; the 0.70.0 Upgrade bullet says to drop a policy whose command does. This reverses M16's "--accept-dirtydisables reusable evidence", since content binding makes the flag irrelevant to what evidence proves.verify.integrationandverify.memorystill always run fresh. Unverified: whether the 40-minuteagentsfleetrerun was a reusable lane; if it wasverify.integration, this change cannot help it.whenrequiresthen) and checked only atgate pr, likedocs.updated, so a version may move alone and a Section in progress may push one side first.tests.provenand never fails the gate. Records live beneath one worktree's Git metadata, so a fresh clone or CI has none, and a verdict must not depend on private local history. Declarations are read from added lines in TypeScript, JavaScript, Rust (after a#[test]-style attribute), Go (func Test…) and Python (def test_…); a changed body under an old declaration is not seen.ownerthe selected persona pack declares inregistry.json(persona.indy→Indy); with no such pack,orly noterefuses. The line carriesHH:MM, as SPEC-DEFER's form does.orly-specstep 6 applies accepted findings to the spec and records rulings and declined findings in Discovery; reviewer detail stays in the session. The M17 and M18 specs state their facts without pointing at the deleted files, andsrc/layout.test.tsnow fails any tracked file outside history that cites an evidence path (it failed on the old step 6 before the fix). No schema field or criterion counted those files:docs.updatedalready skips everything underdocs/v<N>/.docs/evidence/spec-readiness/has no reader either and is the first cleanup proposal, not deleted here.src/proof.tswhileorly proofitself ran from it, so all proofs were re-recorded from an unmutated copy of the engine. That run also found that bun prints no passing lines off a terminal, which made one test vacuous, and that multi-linetest.eachtables went unread; both are fixed in9850d20.Review
/review: not run. This session ran as a delegated agent; run it before merge.9850d20: 13 findings. FIXED in13b9dad/b92f750: P1 forged-record test passed with the signature check deleted (now altersfailing_line); P1 spec S4 had no gitleaks evidence (graded from its own run); P1 spec cited a review file not yet committed (now removed by owner ruling, and the spec states the counts itself); P2 TEST-GITENV baregitspawn; P2 HLPsupportedLanguagesexport; P2 DOC-S6 "names each" (names up to three); P2 CL-BULLET two facts in one bullet; P2 DOC-10 EGM unexpanded twice; P2 SPEC-READ home-directory path; P2 SPEC-DIM Dimensions without input and output; P2 TS-TESTFILE three Git-driven suites renamed.integration.test.ts. KEPT on the owner's ruling quoted above: P2 CL-BUDGET, the 0.70.0 entry has ten bullets.AGENTS.md16,302 → 16,257 bytes; the eight rule files 49,309 → 48,935 bytes; code 22 lines removed, 14 added.Make
bun test srcat3979189(baseline, local): exit 0, 615 pass, 0 fail.bin/orly gate pratb92f750(local, after push): exit 0,cmd.verify.unit670 pass, 0 fail.bin/orly gate prat2b0ab14(local, after push), first run: exit 1.cmd.verify.unit669 pass, 1 fail:src/setup.test.ts"md repositories run their own checks without application test lanes" timed out at 5036.56 ms with load average 24.54. That test drives theverifygate, which this branch did not change; alone it passed in about 1.3 s at load 21, and it passed at baseline and in every other full run. Not repaired by a wider timeout (TEST-RACE).bin/orly gate prat2b0ab14(local, rerun): exit 0. Verbatim:tests.proven: the 25 unproven tests are this branch's earlier burst commits; each of this session's 33 new tests carries anorly proofrecord of its fail-before run (33 of 33 recorded, exit 0).make conform: exit 0.gitleaks detect --redact --no-banner: exit 0, 692 commits scanned, no leaks found; each pre-push gitleaks also found none.make install-evalsandmake audit; CI runs both on this Pull Request.🤖 Generated with Claude Code