Public: anyone can read this; the crew can change it.
A deployed forge runs its own forge repository, which follows the forge it wa… #17060
Check · Review · Land · Live done — Landed and live in production.
This pull adds one test, test/own-forge.test.ts, which proves that a forge deployed from a claimed forge follows that forge's repository, not the original's. It covers the recursion link that had no test. test/own-forge.test.ts passes (8 tests) and tsc --noEmit is clean.
-
Reviews
ApprovedTest-only change: one test proving a forge deployed from a claimed forge follows the claimed admin's repository. It touches no runtime code, adds no secrets or dependencies, restores FORGE_COMMIT in a finally block, and closes the app. test/own-forge.test.ts passes (8 tests). No security findings. Approved.
-
Checks
shipped production is serving it deploy 63ed874
-
History
- Proof: a forge deployed from a claimed forge follows its moved repository (#16361) 0c85cc6
- Sentinel: Crew runs in trevato/forge keep failing at the push or the sandbox (#17051) 1ab91fe
- The atlas of abstractions: the forge as one typed object graph; see each abstraction's lifecycle, merge apps (schema + data), an idea garden for demos, one shell for all apps (#16939) ff20161
- A global component registry (shadcn registry format): every app installs owned copies, updates arrive as pulls, a gallery with usage, MCP install; the app template rebuilt on it (#16959) fe0dfb9
- Fewer merge conflicts: split the files every pull touches, and show collisions in the queue (#17029) 692d75f
- Each home figure tile opens the board that draws it, at the tile's range, and shows its change against the previous period (#17017) 8a4e70e
- /flow shows the merge queue against its targets: pull check p50 under 8 min, main's full check under 30 min, 60 landed an hour, 90% of queue gates green (#17018) f6b58d2
- The loopback-only look is proved somewhere: run it where a cell exists, since Landlock-held runners skip it (#17003) 9ee4e3b
- A game box says why it is up but not playing: installs wait out apt's lock, a missing tool is reported, the boot reports itself (#17013) 88c0c58
- A hosted forge's database and git stream to its snapshot bucket every five minutes, and a restore from the stream boots and matches (#16983) 6dd030a
- An edge-kept finding goes to the owner as an assigned issue, so no builder is handed a fix that lives outside the repository (#17027) df949fc
- Moving a forge to another machine is copy, start, flip the router — and a test kills a machine (#16989) 95fb1bc
- Every panel says what it counts: a one-line description, and visitors can leave out the app's own people (#16960) 4763996
- Sentinel: queue:check is past its budget: 13 checks wait for 8 slots, 7 busy; the oldest since 06:21; the longest running is #16844 at 46 min (limit 60). (#17005) 76338bc
- A forge on a migrated, empty data directory is ready in under 1.5 s, so the real rolls leave the SLOW list (#17009) 5ca0c22
- Automate a review finding as a lint or test: Duplicate import from views_store.ts; merge into one. (#17004) 6b46197
- /api/v1/search answers kind=pulls (and kind=issues meaning issues only), so a narrowed search returns N of the kind asked for (#17001) ffcf74c
- The 3D view's grid keeps the old theme's colour after a theme switch (#17000) 005552a
- Check slots per repository: each app gets a guaranteed share, the forge borrows what's idle (#16946) 099c6cc
- Observability 3b: the /boards index is live by streaming, like a board (#16848) ba6c159
This pull adds one test, test/own-forge.test.ts, which proves that a forge deployed from a claimed forge follows that forge's repository, not the original's. It covers the recursion link that had no test. test/own-forge.test.ts passes (8 tests) and tsc --noEmit is clean. I didn't run any other tests. gate.ts --fix found nothing to rewrap, and I didn't read the --explain output.
#16371 had already built most of the issue: src/spawn/own_forge.ts, the boot env in servedEnv, the claim move, the per-repo setting for conflicts, and tests for the boot, claim and conflict paths. Item 6 (the daily proof and sentinel naming the forge's own repo) I took from the issue's triage note and did not re-check in the code.
What the test shows: after ownForgeAtBoot and moveOwnForge, ownCode for a deploy that names no source returns https://test1.test/dana/forge.git at the running commit. That is the claimed admin's repository, so the next forge in the chain follows it.
Not done:
- The real DigitalOcean journey needs a person with cloud credentials, and my sandbox can't reach DigitalOcean.
- I wrote no test that a commit merged to a forge's main is released by the keeper. I only saw the keeper env (
FORGE_REPO,FORGE_RELEASE_KEEPER=swap,FORGE_SELF_SWAP=1) asserted in the boot-config test. - I didn't re-check the remaining items against the code. The crew install and the "no crew on this machine" notice on the owner's home are among them, and the page/terminal/how-to doors for the follow and conflict settings. Close the issue only if you are satisfied with those.
To try it: bun test test/own-forge.test.ts.
This pull adds one test,
test/own-forge.test.ts, which proves that a forge deployed from a claimed forge follows that forge's repository, not the original's. It covers the recursion link that had no test.test/own-forge.test.tspasses (8 tests) andtsc --noEmitis clean. I didn't run any other tests.gate.ts --fixfound nothing to rewrap, and I didn't read the--explainoutput.#16371 had already built most of the issue:
src/spawn/own_forge.ts, the boot env inservedEnv, the claim move, the per-repo setting for conflicts, and tests for the boot, claim and conflict paths. Item 6 (the daily proof and sentinel naming the forge's own repo) I took from the issue's triage note and did not re-check in the code.What the test shows: after
ownForgeAtBootandmoveOwnForge,ownCodefor a deploy that names no source returnshttps://test1.test/dana/forge.gitat the running commit. That is the claimed admin's repository, so the next forge in the chain follows it.Not done:
FORGE_REPO,FORGE_RELEASE_KEEPER=swap,FORGE_SELF_SWAP=1) asserted in the boot-config test.To try it:
bun test test/own-forge.test.ts.Closes #16361