forge
Explore
Log in

Don't you dare go Hollow

edith_codecs

Clone
★ 0

0 watching0 forksRust370.3 MiB9b67700Tahinli3 days ago4021 commits

ORCHESTRATION.md40 lines, 2.3 KiBHistoryRawDownload
1# Lane conventions (orchestrated run from 2026-10-15)
2
3`DONE.md` is the spec. Every lane serves one item in it, and its charter names the
4edith-visible effect it buys.
5
6## Setup for lane `<name>`
7- Repo: `/home/user/Documents/Code/Rust/edith_codecs` (edith lanes: `/home/user/Documents/Code/Rust/edith`).
8- Worktree: `git -C <repo> worktree add ~/.cache/wt/<name> -b lane/<name> main`
9 (edith: branch `lane-<name>`, worktree `~/.cache/wt/edith-<name>`).
10- Fixtures: `scripts/link-fixtures.sh` from inside the worktree (edith_codecs only).
11- Never commit to `main`. The orchestrator merges.
12
13## Where computation runs
14Heavy work (cargo build/test/clippy/bench/fuzz) runs on the servers through
15`scripts/remote-run.sh <name> -- <command>` once that script exists. Before then, or if it
16is unavailable, run locally with:
17`CARGO_TARGET_DIR=~/.cache/tgt-<name> TMPDIR=~/.cache/tmp-<name>` (create the tmp dir;
18never write into /tmp). Limit local builds to `-j4`.
19- Use `--host auto` (the default). `--host a|b` never falls back and exits 75 when the slot
20 stays busy. Under auto, the local fallback is a real run: cargo-fuzz and nightly are
21 installed locally too.
22
23## Rules
24- Errors: `ec_core::Error::unsupported(what, why)` for out-of-scope input and
25 `Error::corrupt(..)` for malformed input. No `unwrap`/`expect`/`panic!` on input-dependent
26 paths. No `debug_assert` as the only guard before indexing.
27- No source file over 5,000 lines. Put new code in new modules.
28- `cargo clippy -p <crate> --all-targets -- -D warnings` must be clean on the crates you touch.
29 An `#[allow]` needs a one-line reason comment.
30- Match the surrounding code's style and comment density. Pure Rust only (no C, no asm).
31- Never delete or `#[ignore]` an existing test to make things pass.
32
33## Finish
341. Write `lanes/<name>.report.md`: goal, base sha, what changed, the exact verify commands
35 and their results (pass counts, exact/inexact tables), and what is left.
362. Commit on `lane/<name>` as `lane/<name>: <summary>`. No Co-Authored-By trailer or any other
37 AI attribution line in commit messages (the user's rule, 2026-10-16).
383. In your final message, give the branch, the commit sha, the verify commands with
39 pass/fail, and any blocker. If you could not finish, say exactly what fails. Do not
40 claim success you did not observe.