Repository navigation
docs(usage): make the operator guide user-friendly - #187
Merged
Merged
Conversation
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).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.mdwere all numbered3; now correctly numbered 1–17 sequentially. All sub-page## N.headers updated to match, and every§Ncross-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 loopfrom headings and prose. These are internal roadmap tracking labels. The hooks### Phasestable (SessionStart/PreToolUse/etc.) was preserved — that's a user-facing concept.3. Removed issue-tracker references
~25
issue #NNreferences removed from prose across 10 files. The URL link toissues/118ininstall.mdstays (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:as the config-driven path.defaultRules()" Go snippet with a plain statement that the shipped rules are baked into the binary.6. Fixed stale mecatequi tag examples
@v0.0.4in YAMLuses:lines →@<latest>, while keeping the explanatory prose that warns against pinning stale tags.Verification
task docspasses: 0 broken links, 0 broken anchors, 0 orphans, 0 ambiguous, 0 unreachablellms.txtregeneratedissue #in prose (only the URL link), noPhase [0-9], noWORKSPACE-TRUST, nointernal/paths