Skip to content

docs: non-tautological doc summaries across 5 domains (#29) - #250

Merged
Destynova2 merged 5 commits into
mainfrom
docs/tautologies-fix-v2
Apr 21, 2026
Merged

docs: non-tautological doc summaries across 5 domains (#29)#250
Destynova2 merged 5 commits into
mainfrom
docs/tautologies-fix-v2

Conversation

@Destynova2

Copy link
Copy Markdown
Contributor

Summary

Rewrite ~45 /// summaries that merely restated the function name, adding scope, constraint, unit, or edge-case information per RFC 505 + M-DOC (≤15 words, third person singular indicative, never "This function...").

Covered domains:

  • rpc (src/server/rpc/*): pledge status/clear, keys create/revoke, HIT set/get, type-error builder
  • commands (src/commands/*): setup wizard + writer, bench scenario/escalation, status/model RPC fallback, common health probes
  • features (src/features/*): pledge CLI formatters, DLP hot_config/prompt_injection/signed_config/url_exfil, harness mock backend, MCP bench cases
  • providers (src/providers/*, src/server/openai_compat/*): tool_use/tool_choice transforms, Codex SSE extractor, Gemini block mapper
  • shared/lib (src/lib.rs, src/shared/*, src/auth/*, src/preset/*, src/routing/*): home_dir override, ACME cache dir, zstd compressor, token classifier, TUI renderer

Taxonomy validated N=5 at Phase 0 Reflect (scope / constraint / unit / edge-case).

Test plan

  • cargo fmt --check
  • cargo clippy --all-features -- -D warnings
  • cargo doc --no-deps --all-features (28 warnings — same as main baseline, no regression)
  • Pre-push hooks pass (fmt, clippy, tests, doc tests, deny, doc coverage, audit)
  • CI green on the PR

Audit item: #29

commis-ci-fix added 5 commits April 21, 2026 22:59
Rewrite one-liner summaries in server/rpc/* that merely restated
the function name. Each now adds scope (caller role, persistence
semantics) or return-shape information per RFC 505 + M-DOC.
Rewrite doc summaries across setup/, bench/, status.rs, model.rs,
common.rs, and start.rs that merely restated the function name.
Each now carries scope (what is printed), constraint (RPC vs
config fallback), or side-effect details per RFC 505 + M-DOC.
Rewrite one-liner summaries across dlp/, harness/, mcp/, and pledge/
that merely restated the function name. Each now adds scope (what
is compared, what fingerprint indexes), constraint (catch-all rule),
or return-shape details per RFC 505 + M-DOC.
Rewrite doc summaries across providers/, shared/, auth/, preset/,
routing/classify/, and lib.rs that merely restated the function
name. Each now carries scope (what is mapped/extracted), constraint
(override semantics), or unit/edge details per RFC 505 + M-DOC.
Replace the tautological one-liner on `oauth_delete_token` with a
summary that names the effect (token-store removal) and downstream
consequence (re-authorization required).
@Destynova2
Destynova2 enabled auto-merge (squash) April 21, 2026 21:17
@Destynova2
Destynova2 merged commit 870d30a into main Apr 21, 2026
42 checks passed
@Destynova2
Destynova2 deleted the docs/tautologies-fix-v2 branch April 21, 2026 21:32
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