docs(rust): perm.inventory in PROTOCOL 19.9, and the permission manager as built #293

Merged
whitlocktech merged 1 commits from docs/rust-perm-manager into main 2026-09-28 16:38:31 +00:00
Member

What & why

The spec and as-built record for step 3's first redesign, the permission manager. Code PRs: Module-Rust feat/perm-manager, Rust-Plugins feat/perm-inventory, Rust-Link feat/perm-inventory. Tracking: Module-Rust#21.

  • rust-link/PROTOCOL.md §19.9:
    • perm.inventory: its shape, owners, the verbatim titles, leased, and the paging and snapshot rules;
    • the slicing and the 8 s ceiling;
    • busy / stale / too-large;
    • perm.sync's protocol-13 changes: parent; titles and ranks written, with absent meaning "leave it"; groupsUpdated; managed and foreign removed.
  • modules/rust/PLAN_REDESIGNS.md §1.9:
    • what the build settled (the data model, read → reconcile → push under one lock, what is never judged, import removals pushed back, the adopt hold);
    • the walk on both rigs, case by case;
    • what is not walked yet.

How it was tested

Docs only. Every figure is from the rig walk (the walk core's log, the rustp16 rows, rg.inventory on both rigs).

Checklist

  • I have read CONTRIBUTING.md.
  • The change builds and existing tests/checks pass locally.
  • I have added or updated tests/docs where it makes sense.
  • My commits are reasonably scoped with clear messages.

AI-assisted contributions (required)

  • No AI tools were used to produce this contribution.
  • AI tools were used. Tool(s): Claude Code (Claude Opus 5.5). I have reviewed and understand
    every change, and take responsibility for it. AI-authored commits are
    marked with a Co-Authored-By / Assisted-By trailer.

License

  • I agree that my contribution is licensed under this project's license
    (GNU GPL v3.0 or later), and I have the right to contribute it.

🤖 Generated with Claude Code

https://claude.ai/code/session_01E14m6SuuY6i1vASFeGDBeY

## What & why The spec and as-built record for step 3's first redesign, the permission manager. Code PRs: Module-Rust `feat/perm-manager`, Rust-Plugins `feat/perm-inventory`, Rust-Link `feat/perm-inventory`. Tracking: Module-Rust#21. - **`rust-link/PROTOCOL.md` §19.9:** - `perm.inventory`: its shape, owners, the verbatim titles, `leased`, and the paging and snapshot rules; - the slicing and the 8 s ceiling; - `busy` / `stale` / `too-large`; - `perm.sync`'s protocol-13 changes: `parent`; titles and ranks written, with absent meaning "leave it"; `groupsUpdated`; `managed` and `foreign` removed. - **`modules/rust/PLAN_REDESIGNS.md` §1.9:** - what the build settled (the data model, read → reconcile → push under one lock, what is never judged, import removals pushed back, the `adopt` hold); - the walk on both rigs, case by case; - what is not walked yet. ## How it was tested Docs only. Every figure is from the rig walk (the walk core's log, the `rustp16` rows, `rg.inventory` on both rigs). ## Checklist - [x] I have read [CONTRIBUTING.md](CONTRIBUTING.md). - [x] The change builds and existing tests/checks pass locally. - [x] I have added or updated tests/docs where it makes sense. - [x] My commits are reasonably scoped with clear messages. ## AI-assisted contributions (required) - [ ] No AI tools were used to produce this contribution. - [x] AI tools were used. Tool(s): `Claude Code (Claude Opus 5.5)`. I have reviewed and understand every change, and take responsibility for it. AI-authored commits are marked with a `Co-Authored-By` / `Assisted-By` trailer. ## License - [x] I agree that my contribution is licensed under this project's license (**GNU GPL v3.0 or later**), and I have the right to contribute it. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01E14m6SuuY6i1vASFeGDBeY
wtclaude added 1 commit 2026-09-28 16:27:16 +00:00
PROTOCOL.md 19.9 specifies perm.inventory (owners, groups with parents,
holders, leased pairs; sliced, paged, one snapshot) and perm.sync's
protocol-13 changes (parents, titles and ranks written, absent means
leave it, managed and foreign gone). PLAN_REDESIGNS 1.9 records what the
build settled and the walk on both rigs.

Refs RunicGateway/Module-Rust#21

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01E14m6SuuY6i1vASFeGDBeY
whitlocktech merged commit 5328ff35b5 into main 2026-09-28 16:38:31 +00:00
whitlocktech deleted branch docs/rust-perm-manager 2026-09-28 16:38:32 +00:00
Sign in to join this conversation.
No description provided.