docs: agent merge guide (numerics → urbit/urbit + urbit/vere) - #81
Merged
Merged
Conversation
A practical reference for propagating a numeric-stack change across the three repos: repo roles (numerics is master), the per-family/per-loom mirror layout, the vere64 vere/ vs vere64/ split, why cross-repo header diffs are noisy (per-family mirrors vs full vere trees -> trust the .c by byte-identity), the refcount-linter bar (u3_weak / @refcount, 0 findings strict-weak), the forward and back-port sync workflows, worktree-build mechanics, and the "trace provenance, Hoon is ground truth" rule. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Rqqco86RgnvtiC4axw8Px3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
AGENTS.mdat the repo root: a practical guide for an agent (or human) propagating a numeric-stack change across urbit/numerics, urbit/urbit, and urbit/vere.Motivated by this session's sync work (unum/#79, math/#80), which surfaced several non-obvious hazards worth writing down:
pkg/arvo/lib/); urbit/vere compiles the jets. Fixes usually flow out of numerics, but sometimes land in a vere PR first and must be mirrored back.<fam>/vere/(pre-vere64,c3_w, variadicu3r_mean) vs<fam>/vere64/(post-vere64,c3_h, bracedu3r_mean). A fix goes to both; loom-agnostic edits are byte-identical, loom-specific lines differ only in those two respects. lagoon is being collapsed to one mirror.q.h/w.h/<kelvin>/tree.cpull in unrelated families. Trust the family.cby byte-identity; normalizeu3_weak↔u3_nounto isolate real deltas.u3_weaktyping +@Refcountannotations, 0 findings under--strict-weak..git-file symlink workaround), and the provenance rule (Hoon is ground truth; trace "the spec says …" before trusting it — cf. the fabricated C-fmod%mod).Draft — easy to amend; corrections welcome on the PR.
🤖 Generated with Claude Code
https://claude.ai/code/session_01Rqqco86RgnvtiC4axw8Px3