Repository navigation
docs(rewrite): the crate map, the deploying guide and the migration runbook (#1336) - #1338
Conversation
🦋 Changeset detectedLatest commit: d72bd3f The changes in this PR will be included in the next version bump. This PR includes changesets to release 0 packagesWhen changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the
|
[Low impact] The documentation changes appear safe to merge; all numbered previous findings are addressed.
|
|
Round-1 rework pushed in The architecture lens's three high findings, and what changed.
Medium and low: Oracle unchanged: |
|
Round-2 rework pushed in The nine rows you named, each measured.
The sweep. For all 142 distinct targets: a target is a stub when every The other half of the rule found more than nine, and here it is rather than absorbed: 49 rows changed — 40 target-only, 9 reclassified. 34 factory rows named a crate's Counts: The tool list. |
|
Three prose figures corrected in |
|
The header's tree figures, in |
Three documents and one changeset; no code. Closes #1336.
docs/rewrite/carries the decisions, the benchmark, the fuzz runbook and the review, but notthe three things a person needs to run or port this tree. This adds them, each measured against
9c25d743rather than described from memory.crate-map.md— 357 rows, in the capture's tree and outside itTwo labelled groups, because the left column is the capture's tree and not today's
src/:296 rows for the capture modules still in the tree (
git ls-tree -r 242a3001 -- src→ 298,minus the two
#924deleted ate4174378) and 61 rows for the files added after it. Thecounts and the commands that produce them are in the header; the two deleted modules are named
in a subsection, since a row cannot cite a file the tree does not have. 296 + 61 = 357.
Generated from both trees against the eight
lib.rsownership blocks, with brace lists, globsand directory tokens expanded the way the ownership rule requires a reader to expand them. 305
files are named by a
lib.rsblock and 28 are claimed by two crates (the row names the cratethat owns the type first and the other's share in parentheses). Dispositions are
moved222,split28,type-only30 andnot moved77 — and a row whose only Rust answer is aPhase 1/Phase 2stub isnot moved, nevermoved, with every factory that composes itsaying the same. Eight rows name
#1336, because a decision is not a gap and no issue tracksADR 0010's deletions.
The reverse direction is a section, not a gap: the ten Rust modules with no TypeScript ancestor,
by full path.
deploying.md— the measured commandsStore and
--data-dir, the settings precedence chain, the port chain,WORKER_COUNTas theruntime thread count, the scrape with its bearer token (
401then200), the admin gate(
404when disabled,200with a console when enabled, the cookie's exact attributes), the MCPcredential and its four refusals, and the facts that were once stated wrongly: the listen address
is
0.0.0.0, there is no Redis, and NIP-11 is not served yet.migrating.md— the runbookPreflight in the order the tool applies it, the five refusal sentences measured, resume from
migration-manifest.json,verifycompared to the store's own manifest rather than the source(#1306, #1314) — demonstrated by a nine-table manifest recording zero rows beside a store
holding three events:
[events] manifest 0 rows, target 3 rows— and rollback as "start the oldbackend", because the copy never writes the source.
The Postgres arms are marked
[unverified] becausethis sandbox has no Postgres and no Dockerdaemon, and say so rather than being written as if they ran.
The checks
Every citation resolves (
citation-meaning.pyexits 0 on all three, 433 citations), thecoverage count is 0 unclaimed modules, and the six spec scenarios print the same output at the
base commit and at this branch head — the change moves no behaviour.
Found while documenting, filed once
#1337 covers the five stale
CONFIGURATION.mdrows (:12,:54-58,:59-61,:193,:280)that describe a Redis cache, a Redis stream fan-out, NIP-98 replay storage and a NIP-66 Redis
snapshot the rewrite deleted. The permanently
degradedhealth card is already #1334 and islinked, not twinned;
search-index.locktaking the umask is #1316, linked the same way.Not in this PR
No Rust, no test, no manifest:
git diff --stat 9c25d743 -- crates src scripts Cargo.toml Cargo.lock resourcesis empty. The stale documents themselves (CONFIGURATION.md,docs/SETUP.md,docs/REDIS.md,CLI.md,docs/rewrite/kpis.md:26) are theirs to fix, and #1337 is the first.