Skip to content

docs: adopt the Krateo Documentation Standard - #19

Merged
braghettos merged 2 commits into
mainfrom
docs-standard
Aug 7, 2026
Merged

docs: adopt the Krateo Documentation Standard#19
braghettos merged 2 commits into
mainfrom
docs-standard

Conversation

@braghettos

Copy link
Copy Markdown
Collaborator

Converts plumbing to the Krateo Documentation Standard, library profile (index type: Library).

What's in the bundle

  • README.md — rewritten to the thin routing skeleton (What is this / Install / Configure / Examples / Docs / Develop & release). The old Go Report Card + pkg.go.dev badges pointed at the dead org; replaced with the current module identity (go.mod is github.com/krateo-platformops/plumbing since v1.13.0, so old-org references were bugs, not intentional upstream paths).
  • docs/index.md (Library) — the map; also curates the code-adjacent crdgen/docs/ref-resolution-redesign.md design record.
  • docs/overview.md — package design: the helm/v3 fork-free apply-if-changed Reconcile engine (flow traced step-by-step from helm/v3/reconcile.go), crdgen, the labels compile-time cross-repo contract, the kubeutil family, and how core-provider (crdgen, objectclient/hasher/rbacgen — pins v1.13.2) and composition-dynamic-controller (Client.Reconcile in Observe) consume it.
  • docs/usage.mdgo get + the real pinning conventions: exact tags only, contract packages same-version on both sides, module identity since v1.13.0, the tag→consumer-bump→installer-pin chain.
  • docs/configuration.md — the honest config surface: the library itself reads HELM_DRIVER, CLUSTER_NAME, KUBERNETES_SERVICE_HOST/PORT; AUTHN_JWT_SECRET is a key-NAME constant (CreateToken takes the key via options — its doc comment claiming an env read is stale relative to the code); test-only build tags envtest / integration.
  • docs/api.md — the exported package map, one line per package derived from the actual package docs/exported surfaces (not godoc duplication), linking pkg.go.dev.
  • docs/release.md — reality: tag-only Go module, no OCI artifact, no release workflow; v-prefixed semver (unlike the chart/image repos), off-main v1.7.x maintenance line through v1.7.16 verified against the tag graph.
  • docs/log.md — curated history from the actual git/tag history (v0.x utility-belt era → helm client v1.0.0 → apply-if-changed reconcile v1.10.x → org-independence v1.13.0 → objectclient Apply fix v1.13.1 → mapping-miss retry v1.13.2).
  • docs/llms.txt — pinned to v1.13.2.
  • examples/minimal/ — runnable, cluster-free: feeds a chart-style values.schema.json to crdgen.Generate and prints the CRD. Part of the module, so go build ./... compiles it; verified with go build, go vet and go run.

CI

Appended the shared lint-docs reusable (krateo-platformops/.github/.github/workflows/lint-docs.yaml@main) as a second job in the existing PR workflow (test.yaml). The extracted inline linter run from the repo root exits 0 errors, 0 warnings.

No code changes outside examples/ and the workflow append.

🤖 Generated with Claude Code

braghettos and others added 2 commits August 7, 2026 11:51
Library-profile bundle: README thin skeleton + docs/{index,overview,usage,
configuration,api,examples,release,log}.md + docs/llms.txt + a runnable
examples/minimal (crdgen values.schema.json -> CRD, part of the module so
`go build ./...` keeps it compiling). Every claim traced to current source:
the helm/v3 apply-if-changed Reconcile flow from reconcile.go, the exported
package map from the actual package docs, env vars from the code
(HELM_DRIVER, CLUSTER_NAME, in-cluster host/port), the tag-only release
convention from the real tag history (v1.13.2 current, off-main v1.7.x
maintenance line). Dead-org badge links in the README replaced with the
current module identity (go.mod says krateo-platformops since v1.13.0).
CI: appended the shared lint-docs reusable to test.yaml; the extracted
linter exits 0 from the repo root.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LJsLqtryCgWwEt8FnPE1se
usage.md claimed core-provider and composition-dynamic-controller both
pin plumbing v1.13.2; CDC main (v1.4.0) actually pins v1.13.0. State
the two pins separately.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LJsLqtryCgWwEt8FnPE1se
@braghettos
braghettos merged commit a0eabec into main Aug 7, 2026
2 checks passed
@braghettos
braghettos deleted the docs-standard branch August 7, 2026 10:21
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