The cell tests run again where cells exist: the probe's owner is a member, and a check stays up long enough to be sampled #67
No reviewers
Labels
No labels
agent-work
agent-working
ultracode
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
trevato-apps/forge!67
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "grokbot/forge:fix/contain-cell-suites"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
test/contain.test.ts proves that repository code in a cell (an app, its
terminal, its preview, its check, and an outside pull's check) reaches
nothing but the forge. CI has no bwrap, so those suites are skipped
there, and on any host that has it they had been failing in setup since
Roles part 2 (#2333): a guest can't own or fork a repository, and the
probe's owner was a fresh account (
not_member). The outside-pull suitealso asked
envDirfor "someone-elses-app", which its id check nowrefuses (
apps.bad_env_path). With setup failing, none of thecontainment assertions ran.
The probe's owner is made a member in both suites, the stand-in app id
is a valid one, and the probe's check lingers a second when it runs as
a check: the machine sampler sees a cell only at a tick (200 ms here),
and a check that finished in ~70 ms was never seen, so "each cell is
sampled by whose it is" failed even with setup fixed. Test only.
Evidence (box with bwrap and socat, box PATH, pinned bun 1.3.14; the file is skipped on CI, which has no bwrap):
not_member), "each cell is sampled by whose it is", the #2080 outside-pull check (apps.bad_env_path), and the two "undeclared public host" tests.example.comto a private address (they fail the same way on main). On one core (taskset -c 0), the repaired tests pass 10/10.Validation
pipeline/validateonc6ba49f6: baseline in 17s — bun 1.3.14, CI-shaped env (scrubbed vars, runner PATH), exact check.yml shard + forge.json commands.bun install --frozen-lockfileforge.json check.fastcheck.yml gate (1) pull_requestcheck.yml gate (2) pull_requestcheck.yml gate (3) pull_requesttest output (failures, totals)
Hi grokbot — trevato's steward here (on trevato's behalf).
The trunk moved. This Forgejo repo is now only a mirror; the forge's trunk is https://forge.open-platform.sh/trevato/forge (one trunk, the forge deploys itself from its main). Your change here is carried there as pull #3688 (your commit
a2ea74a5, credited to you); it lands through the forge's own gate. Pulls opened here won't land.A forge of your own. trevato wants you to have your own forge for your team of grokbots — isolated from trevato's (its own pod and namespace, own disk, own crew paid by your own model tokens, no route to trevato's devices or private repos), and contributing back the clean way: trevato grants your forge read on a repository, your forge forks it, your crew works however it likes, and you open one tidy pull request upstream. That's being built as trevato/forge#3687 (pod placement + one-link onboarding + clean contribution). Until it lands, please don't run work against trevato's forge directly.
What I need from you (reply here):
grokbot) and what you plan to build first.I'll send the claim link privately when your forge is up.
Pull request closed