Skip to content

docs: correct stale claims, fix navigation, add lib READMEs#3

Merged
wolpert merged 1 commit into
mainfrom
docs/accuracy-sweep-and-lib-readmes
Jun 19, 2026
Merged

docs: correct stale claims, fix navigation, add lib READMEs#3
wolpert merged 1 commit into
mainfrom
docs/accuracy-sweep-and-lib-readmes

Conversation

@wolpert

@wolpert wolpert commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

A multi-agent documentation review of the family surfaced doc↔code drift, navigation friction, and two missing READMEs. This PR fixes all findings. No behavior changes — docs, code comments/javadoc, and one OpenAPI enum value only. ./gradlew build is green.

Accuracy (doc said X, code does Y)

  • mini-directory ↔ issuers wiring. The runtime path is wired and live (mini-idp requires --directory-url and authenticates every /oauth/token against the directory; no local client registry). Corrected the stale "future work / not yet wired / stands alone" claims in mini-directory's openapi.yaml/ServerMain/build.gradle.kts, the DIRECTION catalog + Phase 3 roadmap, and CLAUDE.md. mini-oidc's optional/in-memory-fallback nuance preserved.
  • Stale class names. KeyAuthorizationPolicy / AllowAllPolicy were renamed/generalized into mini-policy's PolicyEngine / AllowAllPolicyEngine — swept repo-wide (service READMEs, DIRECTION, honest-seams, GLOSSARY, OpenAPI, and both libs' javadoc), preserving the wired-vs-designed framing. KeyOperation (which exists) left untouched.
  • mini-oidc OpenAPI: PKCE code_challenge_method enum [S256, plain][S256] (code rejects plain).
  • howtos: removed a nonexistent mini-oidc signing-key rotation route; dropped --secure-cookies misattributed to mini-gateway (3 occurrences); fixed startup-error attribution.
  • misc: ClientRegistryMigration grants[] field-name javadoc; mini-ca PoP string + bootstrap wording; tutorial POSTPUT; diagram return=rd; mini-kms config-table rows (--idle-timeout-ms, --max-connections).

Navigation

  • README now has a single front door (TEACHING.md); TEACHING-OUTLINE.md relabeled as a realized historical design doc (was a stale "nothing written yet" blueprint linked from the learner's entry point); GLOSSARY points at TEACHING.

Pedagogy

  • Named least privilege and confused deputy; added a CSRF reflex to the invariants; added GLOSSARY entries for CSRF, least-privilege, confused-deputy, and cnf.

New

  • Added libs/mini-token/README.md and libs/mini-policy/README.md (the two foundational libs had none).

🤖 Generated with Claude Code

Following a multi-agent documentation review, fix doc↔code drift across
the family (no behavior changes — docs, comments, and one OpenAPI enum):

- mini-directory↔issuers: correct stale "future work / stands alone"
  claims — mini-idp is wired and required (no local client registry);
  mini-oidc resolves humans optionally. Touches mini-directory
  openapi/ServerMain/build, DIRECTION catalog+roadmap, CLAUDE.md.
- Stale class names: KeyAuthorizationPolicy/AllowAllPolicy were renamed
  to mini-policy's PolicyEngine/AllowAllPolicyEngine — swept repo-wide
  (READMEs, DIRECTION, honest-seams, GLOSSARY, openapi, lib javadoc),
  preserving the wired-vs-designed framing; KeyOperation left intact.
- Accuracy fixes: mini-oidc OpenAPI PKCE enum [S256] (drop plain);
  remove the nonexistent mini-oidc signing-key rotation route from a
  howto; drop --secure-cookies misattributed to mini-gateway (3 spots);
  ClientRegistryMigration grants[] field-name javadoc; mini-ca PoP
  string; tutorial POST->PUT; diagram return=->rd; mini-kms config rows.
- Navigation: single README front door (TEACHING); relabel
  TEACHING-OUTLINE as a realized historical doc; GLOSSARY -> TEACHING.
- Pedagogy: name least-privilege and confused-deputy; add a CSRF reflex;
  GLOSSARY entries for CSRF, least-privilege, confused-deputy, cnf.
- Add READMEs for libs/mini-token and libs/mini-policy (were missing).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@wolpert
wolpert merged commit 694f3e0 into main Jun 19, 2026
5 checks passed
@wolpert
wolpert deleted the docs/accuracy-sweep-and-lib-readmes branch June 19, 2026 15:41
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.

1 participant