Artifact 89ba90653afb646b5dfa7d784e67ece65eb3b87694b1c3c6fbd317033f5b5b6c:
- File
test/fixtures/everything.dump
— part of check-in
[3cb21b0428]
at
2026-11-16 08:11:34
on branch trunk
— Phase 8c-1: an upstream is taken from a folder, reviewed, and merged
suit upstream NAME take FOLDER checks the upstream's files in on the branch upstream-NAME of the wardrobe that defines it, at INTO/ENTRY, with the comment upstream NAME at PIN. The check-in is built as a deck on a repository opened with no checkout, so the working copy is not touched. Its first parent is trunk's first check-in, so a later merge is three-way. Dot entries are skipped, links are refused, the lint runs, and a file that something else supplies is a clash. into is a new key, default skills; trust defaults to review.
With trust = review the update waits: the attention file says so, suit upstreams lists each upstream as never taken, current, waiting for review or conflict, and suit upstream NAME diff lists what accept would add, change, remove or conflict on. suit upstream NAME accept merges the branch into trunk after a dry run. A conflict changes no file and writes no marker; --mine PATH and --theirs PATH settle one. With trust = auto a clean take is accepted at once.
Every accept writes the tracked file upstreams/NAME, holding the hash and pin it accepted, into its merge check-in. So a merge that changes no other file can still be checked in, and keeping your version of the only conflict ends as current.
The proof: a local fix to a taken file survives an update that changes another line, and an update that rewrites the same line waits as a conflict with trunk byte-identical to before.
Limits, all in docs/upstreams.md. suit back after an accept refuses, as after any check-in, and no command undoes an accept. diff prints the list of files, not their text. After --mine, a later take that touches the same lines can conflict again, because the library leaves the merge parent off that check-in. Accept works only at trunk's tip. A wardrobe and an upstream of one name share an attention item. Fetching over the network is part two and is not built.
1473 unit checks (was 1431), 620 shell cases (was 612), 968 store cases (was 669), 846 placement cases and 378 project cases, under clang, under gcc 16, with no user name set, and under a strict umask, in one run of make gate (34 minutes). 100% coverage in all 26 source files. The speed budget still passes. No existing case was changed. (user: dmestas, size: 1943) [annotate] [blame] [check-ins using]
harness h1 harness h1 agents.enterprise = /etc/h1/agents harness h1 agents.personal = .h1/agents.local harness h1 agents.shared = .h1/agents harness h1 agents.user = ~/.h1/agents harness h1 commands.enterprise = /etc/h1/commands harness h1 commands.personal = .h1/commands.local harness h1 commands.shared = .h1/commands harness h1 commands.user = ~/.h1/commands harness h1 event Stop = Stop harness h1 event SubagentStop = subagent_stop harness h1 instructions.enterprise = /etc/h1/AGENTS.md harness h1 instructions.personal = AGENTS.local.md harness h1 instructions.shared = AGENTS.md harness h1 instructions.user = ~/.h1/AGENTS.md harness h1 record = ~/.h1/settings.json harness h1 record = ~/.h1/state.json harness h1 skills.enterprise = /etc/h1/skills harness h1 skills.personal = .h1/skills.local harness h1 skills.shared = .h1/skills harness h1 skills.user = ~/.h1/skills harness h2 outfit a outfit a agents = ag-* outfit a commands = cmd.1 outfit a file ~/.h1/x.json = files/x.json outfit a file ~/.h1/y.json = files/y.json outfit a include = b c outfit a instructions = i/a.md outfit a only = h1 outfit a skills = one t*o outfit a slot hook/Stop = files/stop.sh outfit a slot statusline = files/s.sh outfit b outfit b include = c outfit c wear enterprise wear enterprise outfits = a wear personal github.com/o/n wear personal github.com/o/n outfits = a wear personal github.com/o/n machine=m1 wear personal github.com/o/n machine=m1 outfits = c wear shared github.com/o/n wear shared github.com/o/n outfits = b wear shared github.com/o/n publish = yes wear user wear user outfits = a b wear user machine=m1 wear user machine=m1 outfits = c need h1 n1 need h1 n1 done = ~/.h1/settings.json exists need h1 n1 prompt = needs/n1.md need h2 n2 need h2 n2 done = ~/f contains "a b" upstream u1 upstream u1 into = vendor/u1 upstream u1 path = skills upstream u1 pin = abc123 upstream u1 trust = auto upstream u1 url = https://example.com/u1