Skip to content

docs: document secret redaction in infer insights - #831

Merged
edenreich merged 1 commit into
mainfrom
docs/issue-830-20260926-1621
Sep 26, 2026
Merged

edenreich merged 1 commit into
mainfrom
docs/issue-830-20260926-1621

Conversation

@inference-gateway-maintainer

Copy link
Copy Markdown
Contributor

Summary

Documents the local secret redaction that infer insights / /insights applies before the digest reaches the analysis model and before the report is written under ~/.infer/insights/.

  • New ### Insights Shortcut section in cli.md: what /insights [since] does, and the redaction guarantee - PEM private-key blocks, GitHub token shapes (ghp_, gho_, ghu_, ghs_, ghr_, github_pat_), and values of provider-secret env vars (plain and JSON-escaped), each replaced with [redacted].
  • Viewing telemetry data: an infer insights bullet noting verbatim error and log samples are masked before the model call.
  • Built-in shortcuts table: the /insights row links to the redaction note.
  • Directory table: an insights/ row (reports written redacted, kept by /reset).
  • /reset insights and the preserved-paths line now say the saved report is redacted.

Mapping note: the issue lists docs/shortcuts-guide.md, docs/directory-structure.md, docs/telemetry.md and docs/configuration-reference.md, which are CLI-repo paths. In this repo all four topics live in cli.md, so the equivalent four spots there were updated. logging.insights_min_level is not documented in this repo, so there was no place to hang that line; if it should be documented, that is a separate addition to the logging config list.

Validation: bun run lint:md, bun run format:check, bun run build all pass.

Closes #830

@inference-gateway-releaser

inference-gateway-releaser Bot commented Sep 26, 2026 •

Copy link
Copy Markdown
Contributor

🗑️ Preview environment destroyed.

@edenreich
edenreich merged commit 7ae06bb into main Sep 26, 2026
1 check passed
@edenreich
edenreich deleted the docs/issue-830-20260926-1621 branch September 26, 2026 16:26
inference-gateway-releaser Bot added a commit that referenced this pull request Sep 30, 2026
## [0.9.19](0.9.18...0.9.19) (2026-09-30)

### 📚 Documentation

* ag-ui resume snapshot and cancelled run outcome ([#861](#861)) ([53e4c80](53e4c80))
* **agents:** add code readability guidelines ([#832](#832)) ([9435459](9435459))
* **agents:** add code readability guidelines ([#834](#834)) ([6b06d8b](6b06d8b))
* artifacts route is not served by the daemon ([#867](#867)) ([513e866](513e866))
* browser-use routes through the daemon socket ([#865](#865)) ([79a9292](79a9292))
* bundled ffmpeg covers desktop timeline export ([#837](#837)) ([43ff30c](43ff30c))
* daemon.yaml binding and channel thread path ([#871](#871)) ([9f6efc5](9f6efc5))
* document autocomplete kind labels ([#847](#847)) ([94b0ceb](94b0ceb))
* document ctrl+r prompt history search in chat ([#869](#869)) ([08239c2](08239c2))
* document custom tools in the CLI ([#852](#852)) ([e32cf2e](e32cf2e))
* document infer daemon as the client hub ([#860](#860)) ([6fabb62](6fabb62))
* document nested AGENTS.md awareness in the CLI ([#854](#854)) ([e6c17a9](e6c17a9))
* document secret redaction in infer insights ([#831](#831)) ([7ae06bb](7ae06bb))
* headless --serve ag-ui worker over stdio ([#863](#863)) ([ac80158](ac80158))
* lead agent pages with bare-name infer agents add ([#835](#835)) ([113179d](113179d))
* opentask tab recording skill loop ([#840](#840)) ([48b6bde](48b6bde))
* single /agents view and markdown subagents ([#845](#845)) ([9557066](9557066))
* **skills:** document the built-in demo skill and infer-action record-demo ([#849](#849)) ([393b0c9](393b0c9))
* sync cli page with new upstream cli docs ([#855](#855)) ([88e0905](88e0905))

### 🔧 Miscellaneous

* **deps-dev:** bump the bun group with 2 updates ([#846](#846)) ([c278297](c278297))
* **deps:** bump claude-code 2.1.280 -> 2.1.283 ([#858](#858)) ([3a23dc8](3a23dc8))
* **deps:** bump infer CLI v0.208.0 -> v0.218.0 ([#859](#859)) ([fd05fc6](fd05fc6))
@inference-gateway-releaser

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 0.9.19 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@inference-gateway-releaser inference-gateway-releaser Bot added the released Shipped in a release label Sep 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

released Shipped in a release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[DOCS] Document secret redaction in infer insights reports

1 participant