Skip to content

docs: gates, tiers, review role and identities (stacked on #41) - #42

Closed
mojomast wants to merge 3 commits into
mainfrom
docs/review-identity-tiers
Closed

mojomast wants to merge 3 commits into
mainfrom
docs/review-identity-tiers

Conversation

@mojomast

Copy link
Copy Markdown
Owner

What

Brings rizzstack's documentation up to date with the last three days: the merge gate and risk tiers, the oracle lock, gate-only reruns, the hyvv deploy path, the outside-review role, and the identity plan.

Stacked on #41. This branch starts from #41's head, so until #41 merges the diff below includes its commit too. Review only 44de53b0.

Fixes a mismatch in #41

policy/outside-review.md said an owner approval "needs no bee". In the gate, APPROVE (owner) is an owner attestation (required on sensitive paths) and never satisfies the non-slice review rule. A human review counts as independent only in the form APPROVE (independent review — owner, human) at <sha>. The policy now says so. Hermes caught it.

Changes

  • Codemap: pins bumped to current main in all six repos, generated layer rebuilt with Python 3.12 (--check passes). The references that moved are fixed: risk_policy.py and hive_docket.py now live in bundlebees/contrib/unwired.
  • codemap/ci-gates.md: lease-tamper, the ci-gate aggregate, review-rerun.yml, the oracle lock, workflow docs parity, and the difference between dispatch-time risk.tier and merge-time T1/T3. The page said tiers weren't in CI, which is no longer true.
  • codemap/invariants.md: who merges, who may approve as an independent reviewer, gate/policy changes never pre-authorized, the oracle rule, reviews trusted by text until identities land.
  • codemap/change-recipes.md: changing the gate (re-vendor to all six), deploying hyvv, reviewing a PR.
  • codemap/L1/bundlebees.md, codemap/L1/hyvv.md: oracle lock, subversion scan, pinned tools, brief_validation, the journal save lock, apply-update.
  • codemap/gaps.md: items 11–15 (text-trusted reviews, review pipeline not built, quadratic restart time, dry run and no preauth yet, rizzstack fix(tier): always-T3 name patterns cover .jsx/.cjs/.mts #40 held).
  • policy/merge-lane-v5.md: current status (dry run since 2026-11-27T14:26Z), the risk-tier/T1 rule, rollout, re-vendoring.
  • policy/outside-review.md: reviewer routing by author model family (Kimi by default, DeepSeek when Kimi authored, the owner or outside reviewer otherwise) and the shadow-calibration bar before post_mode: auto.
  • policy/identities.md (new): owner / coordinator app / reviewer app, permissions, key custody, what the gate will check, migration (last step: the owner's token off the coordinator host).
  • Indexes and news: the policy/README.md index, an AGENTS.md pointer, a README bullet, and a NEWS entry for 2026-11-25..27 (decisions, landings, incidents).

Checks

  • python3 -m unittest discover -s tests: 353 tests OK. scripts/codemap tests: 31 OK.
  • build.py --check and --verify-docs: OK at the new pins; budgets met.
  • gitleaks: no leaks. No hosts, IPs or private paths.

Tier: T3 (policy/, codemap/), so this needs the owner's review. The author can't independently review its own PR.


Generated by Claude Code

…ma, brief template, policy)

The outside reviewer becomes a role any agent and any model can fill: the
coordinator dispatches a review bee with the model configured for the role,
and the bee follows skills/rizzstack-outside-review/SKILL.md against an offline
review packet, writing a rizzstack.review-verdict/1 verdict. policy/outside-review.md
is the coordinator's half: independence by model family, packet contents,
dispatch, verdict validation, the gate-parsed first lines, post_mode, and the
paths whose approvals always need the owner.

- skills/rizzstack-outside-review/SKILL.md: procedures per review type
  (lease_contract, contract_refreeze, slice, gate_security, vendored_copy,
  deploy_path, general), claim checking, verdict rules; vendor-neutral.
- references/bypass-catalogue.md: the 17 bypass classes found in review so far.
- verdict.schema.json: verdict/finding consistency (approve has no blocking
  finding, changes_requested has one, needs_owner names a decision, blocking
  findings carry a failure scenario, evidence lives under review/scratch/).
- templates/review.brief.template.json: a rizzstack.brief/1 review brief that
  writes only review/verdict.json.
- tests/test_outside_review_skill.py: skill shape and neutrality, schema rules,
  template shape, and the posted first lines parse in the vendored gate.
- AGENTS.md and policy/README.md point at the role.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014a9GXnU5XiXf2aYdgdoZXs
…and identities

- Codemap pins bumped to current main in all six repos; generated layer
  rebuilt (python 3.12). Fixed the references that moved
  (risk_policy.py and hive_docket.py now live in bundlebees/contrib/unwired).
- policy/merge-lane-v5.md: current status (dry run since 2026-11-27T14:26Z),
  the merge-time risk tier and T1 rule, the rollout, and re-vendoring.
- policy/outside-review.md: an owner attestation is not an independent review.
  The gate counts a human review only in the independent form, so the earlier
  "owner approval needs no bee" line was wrong. Adds reviewer routing by
  author model family (Kimi by default, DeepSeek when Kimi authored,
  owner/outside when neither is independent) and shadow calibration before
  post_mode=auto.
- policy/identities.md (new): owner, coordinator app and reviewer app; app
  permissions; key custody; what the gate will check; migration, ending with
  the owner's token off the coordinator host.
- codemap: ci-gates (lease-tamper, ci-gate, review-rerun, oracle lock, docs
  parity, the two different risk tiers), invariants (merge, approve, gate
  changes, the oracle), change recipes (gate change, hyvv deploy, review),
  L1 bundlebees/hyvv (oracle lock, subversion scan, pinned tools,
  brief_validation, journal lock, apply-update), gaps 11-15.
- policy/README.md index, AGENTS.md pointer, README "since 24 November"
  bullet, NEWS entry for 2026-11-25..27 with decisions, landings and incidents.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014a9GXnU5XiXf2aYdgdoZXs
…nd the two open gaps

Both apps exist; the installations still cover all of the owner's repos
(narrow to the seven), and both keys sit under the coordinator's user (move the
reviewer key to the poster's own user before any gate trusts its login).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014a9GXnU5XiXf2aYdgdoZXs

@mojomast mojomast left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

APPROVE (independent review — owner, human) at 62382e7

rizzstack-coordinator Bot added a commit that referenced this pull request Nov 27, 2026
docs: gates, tiers, review role and identities (re-cut of #42)
@rizzstack-coordinator

Copy link
Copy Markdown
Contributor

Superseded by #45, which carries the same tree re-cut from main after #41 was squash-merged. Closing; no content is lost.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants