← Back to Pull requests

chore(docs): align agent-facing docs with the real tool and flag names #70

Closed
unknown closed this pull request without merging on Oct 11, 2026 20:35 UTC
View on GitHub
unknown unknown commented on Oct 11, 2026 20:12 UTC
Author

Why

Agents copy tool names, arguments and flags from the docs. Some docs use names that do not exist, so the first call fails. Other docs are stale.

What changes

  • docs/how-to/check-code-drift.md: batch_get becomes batch_get_entities.

  • docs/how-to/draft-then-land.md: step 4 calls get_impact with the flat kind, namespace, slug and version arguments. The tool has no root argument.

  • docs/reference/reliability-rules.md and docs/how-to/declare-an-slo.md: say "model validation" instead of validate_model. validate_model is an internal Rust function, not a tool.

  • docs/reference/failure-reasons.md: the check_operation next action names the tool to call (get_operation, or trogon-atlas operation get). The wire value does not change.

  • trogon-atlas-mcp/README.md: the config table adds --rpc-timeout-secs and --branch.

  • devops/docker/compose/dev/README.md: correct RPC count (50), proto path, workspace path, and tool output. The Debug output was removed.

  • trogon-atlas-mcp/src/tools.rs: the EntitySpec.kind description points to list_entity_kinds. It listed 13 of 29 kinds.

  • Studio fix prompt: names Atlas and the trogon-atlas and trogon-atlas-mcp binaries instead of "Eventmodel". The unit test follows.
  • Checks

  • markdownlint, typos and lychee --offline pass.

  • cargo fmt, cargo clippy -D warnings and cargo test -p trogon-atlas-mcp pass.

  • Studio pnpm lint and validation-context.test.ts pass.
  • <!-- codesmith:footer -->
    ---
    <a href="https://app.blacksmith.sh/TrogonStack/codesmith/atlas/pr/70?autoLogin=true&ref=codesmith_pr_footer"><picture><source media="(prefers-color-scheme: dark)" srcset="https://pr-comments-assets.blacksmith.sh/codesmith/view-with-codesmith-dark-v3.svg"><source media="(prefers-color-scheme: light)" srcset="https://pr-comments-assets.blacksmith.sh/codesmith/view-with-codesmith-light-v3.svg"><img alt="View with [code]smith" src="https://pr-comments-assets.blacksmith.sh/codesmith/view-with-codesmith-dark-v3.svg"></picture></a> <a href="https://backend.blacksmith.sh/track/enable-autofix?expires=1794341524&installation_model_id=437969&pr_number=70&ref=codesmith_pr_footer&repository=TrogonStack%2Fatlas&return_to=https%3A%2F%2Fgithub.com%2FTrogonStack%2Fatlas%2Fpull%2F70&signature=387c8ec1bb596e361238ba9c1c87e481506e33d0d1d5b30942e3b9462788e788"><picture><source media="(prefers-color-scheme: dark)" srcset="https://pr-comments-assets.blacksmith.sh/codesmith/autofix-with-codesmith-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://pr-comments-assets.blacksmith.sh/codesmith/autofix-with-codesmith-light.svg"><img alt="Autofix with [code]smith" src="https://pr-comments-assets.blacksmith.sh/codesmith/autofix-with-codesmith-dark.svg"></picture></a>
    <sup>Need help on this PR? Tag <code>@codesmith-bot</code> with what you need. Autofix is disabled.</sup>

    <!-- codesmith:autofix:disabled -->
    <!-- /codesmith:footer -->

    Diff: 370 lines (+277 / -93) across 4 files Reviewer: yordis Review duration: 23m
    All Vouch review confidence checks passed
    Residual risk 0.17 = Change Risk (0.43) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.43 · 370 lines diff across 4 files
    0.43
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    60%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.354
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #70"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 42.8% (MEDIUM) · Higher = larger blast radius
    42.8%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 60.5% · Lower = rushed or shallow review
    60.5%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 16.9% · Safe to merge
    16.9%