Skip to content

harness: the host cycle's rules move into this AGENTS.md - #94

Merged
lneto merged 1 commit into
masterfrom
claude_bump_harness_f11ea4b
Nov 29, 2026
Merged

lneto merged 1 commit into
masterfrom
claude_bump_harness_f11ea4b

Conversation

@lneto

@lneto lneto commented Nov 29, 2026

Copy link
Copy Markdown
Contributor

The rules of the shared host leave the harness's AGENTS.md for this file's Build, install, test: the lock that orders lunatik operations, the mixed install under /lib/modules/lua, disk.sh before every cycle, an edit built, installed and run in one step, and a script a cycle reruns kept under scratch/. A session of this checkout reads them as it did, from this file in place of the harness's, and the budget key of .agents/harness.conf grows by their 1315 bytes.

An implement-issue run launched with build: false, as a run over the harness is, now opens its pull request once its review is ready.

The mount moves from e38c118 to f11ea4b (luainkernel/harness#102 and luainkernel/harness#105).

The mount moves from e38c118 to f11ea4b. luainkernel/harness#102 took
the rules of the shared host out of the shared AGENTS.md, which every
project that mounts the harness loads: the lock on lunatik operations,
the mixed install under /lib/modules/lua, disk.sh before every cycle,
an edit built, installed and run in one step, and a script a cycle
reruns kept under scratch/. They bind this project, so they enter its
Build, install, test as the shared file had them, and the budget key
grows by their 1315 bytes. luainkernel/harness#105 has an implement-issue
run launched with build false open its pull request once its review is
ready.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@lneto lneto added the complexity: small One line or one file, with a trivial or existing test label Nov 29, 2026
@lneto

lneto commented Nov 29, 2026

Copy link
Copy Markdown
Contributor Author

Note

This comment was written by an LLM, not a human.

Proof at head 7acf82c. The mount moves from e38c118 to f11ea4b, the trunk's tip, which carries the agent-review status of luainkernel/harness#102 and the proof of luainkernel/harness#105. The text no command reads is the passage luainkernel/harness#102 took out of the shared AGENTS.md, git show 25d258e -- AGENTS.md:

Never run two `lunatik` operations at once. Concurrent operations wedge `/dev/lunatik` and leave
processes in D state. [...] so a build-install-run cycle takes the lock instead:

    bash tools/lunatik-host sudo lunatik test
    bash tools/lunatik-host bash tools/watchdog.sh examples/systrack/device

It runs the command with the lock held, names the holder while it waits, and releases on exit
however the command ends. The installed tree under `/lib/modules/lua` is shared too: [...]
`tools/lunatik-host` runs it as a warning before every cycle. [...]
What a worktree holds built and not run is code nobody ran: [...] An edit is built, installed and run in one
step, or reverted before the session pauses. [...] a script a cycle reruns lives
under `scratch/` for the same reason; `tools/lunatik-host` names one it runs from `/tmp`.

beside the one this adds under Build, install, test, the same sentences with each path spelled from this checkout:

    bash harness/tools/lunatik-host sudo lunatik test
    bash harness/tools/lunatik-host bash harness/tools/watchdog.sh examples/systrack/device

It runs the command with the lock held, names the holder while it waits, and releases on exit
however the command ends, and runs `harness/tools/checks/disk.sh` as a warning before every cycle.
[...]
the session pauses. A script a cycle reruns lives under `scratch/`, since the reboot such a crash
forces clears `/tmp`; `harness/tools/lunatik-host` names one it runs from `/tmp`.

bash harness/tools/checks/context-budget.sh exits 0 with the file at 4962 bytes and the budget key at 4962.

@lneto
lneto merged commit f6258b1 into master Nov 29, 2026
2 checks passed
@lneto
lneto deleted the claude_bump_harness_f11ea4b branch November 29, 2026 19:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

complexity: small One line or one file, with a trivial or existing test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant