Skip to content

docs(usage): make the operator guide user-friendly - #187

Merged
JAORMX merged 1 commit into
mainfrom
docs/usage-user-friendly
Jun 25, 2026
Merged

JAORMX merged 1 commit into
mainfrom
docs/usage-user-friendly

Conversation

@JAORMX

@JAORMX JAORMX commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

Summary

The usage documentation leaked internal development artifacts that mean nothing to an end user. This PR cleans them up across all 17 files under docs/usage/.

Changes

1. Fixed TOC numbering

Seven sections in docs/usage.md were all numbered 3; now correctly numbered 1–17 sequentially. All sub-page ## N. headers updated to match, and every §N cross-reference corrected to point to the right renumbered section.

2. Removed internal phase labels

Stripped WORKSPACE-TRUST Phase 0/1/2a/2b/2c, cloud-native Phase 4, Phase C2, Phase 3/4/5, Phase-2 learning loop from headings and prose. These are internal roadmap tracking labels. The hooks ### Phases table (SessionStart/PreToolUse/etc.) was preserved — that's a user-facing concept.

3. Removed issue-tracker references

~25 issue #NN references removed from prose across 10 files. The URL link to issues/118 in install.md stays (it's a proper hyperlink).

4. Removed internal Go package paths

internal/app, internal/adapter/permconfig, internal/adapter/envscrub, internal/adapter/llmresilience, internal/adapter/redisstore, internal/adapter/k8slease, internal/cliconfig, engine/agent/... — replaced with plain descriptions like "the permission-config resolver", "the shared composition layer", "the shared CLI config wiring".

5. Reframed developer-facing guidance

  • hooks.md: no longer tells the user to edit Go source with a code snippet; honestly states that global hooks require editing the composition layer and rebuilding, and points to agent-def hooks: as the config-driven path.
  • permissions-config.md: replaced the "edit defaultRules()" Go snippet with a plain statement that the shipped rules are baked into the binary.

6. Fixed stale mecatequi tag examples

@v0.0.4 in YAML uses: lines → @<latest>, while keeping the explanatory prose that warns against pinning stale tags.

Verification

  • task docs passes: 0 broken links, 0 broken anchors, 0 orphans, 0 ambiguous, 0 unreachable
  • llms.txt regenerated
  • Verification greps clean: no issue # in prose (only the URL link), no Phase [0-9], no WORKSPACE-TRUST, no internal/ paths

The usage documentation leaked internal development artifacts that mean
nothing to an end user. This cleans them up:

- Fix TOC numbering: seven sections were all numbered 3; now sequential 1-17.
  All sub-page headers and cross-references (§N) updated to match.

- Remove internal phase labels from headings and prose: WORKSPACE-TRUST
  Phase 0/1/2a/2b/2c, cloud-native Phase 4, Phase C2, Phase 3/4/5, etc.
  The hooks "### Phases" table (SessionStart/PreToolUse) was preserved
  since it is a user-facing concept.

- Remove ~25 issue-tracker references (issue #27, #14, #33, etc.) from
  prose across 10 files. The URL link to issues/118 in install.md stays.

- Remove internal Go package paths from user-facing prose: internal/app,
  internal/adapter/permconfig, internal/adapter/envscrub, engine/agent/...,
  etc. Replaced with plain descriptions.

- Reframe hooks.md and permissions-config.md: the hooks page no longer
  tells the user to edit Go source with a code snippet; it honestly states
  that global hooks require editing the composition layer and rebuilding,
  and points to agent-def hooks as the config-driven path. The permissions
  page replaced the "edit defaultRules()" snippet similarly.

- Fix stale mecatequi tag examples: @v0.0.4 in YAML uses: lines → @<latest>.

Verified: task docs passes (0 broken links, 0 broken anchors, 0 orphans).
@JAORMX
JAORMX merged commit 01d7b90 into main Jun 25, 2026
13 checks passed
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