Skip to content

docs: add CLAUDE.md, fix README inaccuracies - #343

Merged
n1ckl0sk0rtge merged 1 commit into
mainfrom
update-docs
Aug 17, 2026
Merged

n1ckl0sk0rtge merged 1 commit into
mainfrom
update-docs

Conversation

@n1ckl0sk0rtge

Copy link
Copy Markdown
Contributor

What

  • CLAUDE.md (new) — guidance file for Claude Code: repo layout, build prerequisites (GitHub Packages auth for org.pqca:cbomkit-lib), commands, scan flow, write/read model split, compliance setup and code conventions.
  • README.md — fixes found while checking it against the current code:
    • <policy_name> in the OPA section was written bare in prose, so GitHub's renderer swallowed it as an HTML tag ("The identifies the policy being evaluated."). Now backticked, along with VUE_APP_POLICY_NAME and quantum_safe.
    • Fixed a = that should have been - in the rule-structure list, and a duplicated word ("compliance compliance service").
    • Added a note that the compliance service is resolved once and cached in a static field (infrastructure/Configuration.java), so changing CBOMKIT_OPA_API_BASE requires a restart — the previous wording implied it was dynamic.
    • Documented make edge and opa/upload_quantum_safe.sh, both of which existed but were unmentioned.
    • Architecture overview now mentions the OPA service used in the ext-compliance deployment.
  • .gitignore — ignore local-only Claude Code artifacts (.claude/settings.local.json, .claude/worktrees, .superpowers).

Docs only — no source changes.

Out of scope

Two unrelated bugs surfaced during the README check, left for a separate PR:

  • VUE_APP_POLICY_NAME is read in frontend/src/app.config.js but is not declared in frontend/.env.development, .env.production, or the compose frontend env, so it is only settable by rebuilding.
  • The Makefile deploy target sets --set cbomkit.tag, but the chart's key is backend.tag (the README's helm snippet is correct).

Add CLAUDE.md documenting the repo layout, build prerequisites, commands,
scan flow, persistence model, compliance setup and conventions.

README fixes:
- escape `<policy_name>` so it is not swallowed as an HTML tag by the renderer
- fix broken list bullet and duplicated word in the OPA section
- note that the compliance service is chosen once and cached, so changing
  CBOMKIT_OPA_API_BASE requires a restart
- document `make edge` and opa/upload_quantum_safe.sh
- mention the OPA service in the architecture overview

Also gitignore local-only Claude Code artifacts (.claude/settings.local.json,
.claude/worktrees, .superpowers).
@n1ckl0sk0rtge n1ckl0sk0rtge self-assigned this Aug 17, 2026
@n1ckl0sk0rtge n1ckl0sk0rtge added the documentation Improvements or additions to documentation label Aug 17, 2026
@n1ckl0sk0rtge
n1ckl0sk0rtge marked this pull request as ready for review August 17, 2026 07:30
@n1ckl0sk0rtge
n1ckl0sk0rtge requested a review from a team as a code owner August 17, 2026 07:30
@n1ckl0sk0rtge
n1ckl0sk0rtge merged commit 2ee7418 into main Aug 17, 2026
2 of 3 checks passed
@n1ckl0sk0rtge
n1ckl0sk0rtge deleted the update-docs branch August 17, 2026 07:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant