Skip to content

docs(platform): port the LavaFlow redaction docs from volcano-hosting - #172

Merged
swkeever merged 1 commit into
mainfrom
skeever/port-late-docs-2
Nov 13, 2026
Merged

swkeever merged 1 commit into
mainfrom
skeever/port-late-docs-2

Conversation

@swkeever

Copy link
Copy Markdown
Contributor

Why

Kong/volcano-hosting#3401 changed docs/public after #171 ported the last late change. Kong/volcano-hosting#3404 deletes docs/public, so this carries the change over before that lands.

What changed

  • content/platform/guides/issues.md and content/platform/guides/lavaflow.md: the docs/public diff from volcano-hosting 2dc8049 to e03f56b, applied as is.

Testing

  • pnpm lint:docs content and pnpm check:links: pass.

🤖 Generated with Claude Code

Copilot AI balanced review requested due to automatic review settings November 13, 2026 17:03
@swkeever
swkeever enabled auto-merge November 13, 2026 17:03

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

The changes relax security-sensitive redaction guarantees, but the inaccessible hosting PR prevents verification that the documentation matches the implementation and released production behavior.

No open issues 🎉

What changed in this PR

Ports the latest LavaFlow redaction documentation from volcano-hosting into the platform guides before upstream docs/public is removed, following the earlier settings-docs port in #171.

Changes:

  • Documents masking based on project secret values and gitleaks detection, with updated Hidden: … messages.
  • Updates run-field and diff-withholding documentation, including credential-held runs and older saved fixes.
File Description
content/​platform/​guides/​lavaflow.md Updates redaction rules for run text, review findings, check output, and diffs.
content/​platform/​guides/​issues.md Updates secret detection and replacement text for issue explanations.

Review effort: Balanced

@github-actions

Copy link
Copy Markdown
Contributor

AI review: no P0-P2 findings

Reviewed b3b744d. Run log

Docs-only port of volcano-hosting#3401 into issues.md and lavaflow.md. It replaces the old per-field "LavaFlow left this … out because it may contain a credential" wording with one rule: a field that holds a project secret value or a secret gitleaks detects reads Hidden: this field matched a secret. Paths in that case read "", and fields on a run held with possible_credential read Hidden: the fix may add a credential. I found no stale references to the old wording elsewhere in content/. The anchors the change uses (#read-a-reviews-findings, #follow-runs) exist. The risk is low, and I found only minor wording issues.

⚪ P3

  • content/platform/guides/lavaflow.md:473 Secret-check link points to a section that only redirects to the real explanation
  • content/platform/guides/lavaflow.md:1753 Names the scanner behind secret hiding (gitleaks), unlike the rest of the guide

Not checked: The AI review read the diff, the code, and the PR's text; it ran no tests or builds and read nothing outside this repository.

  • Whether the new redaction behavior (Hidden: … text, gitleaks detection, no 4,000-char budget) is live in production, as spec/writing.md's release-timing rule requires.
  • Whether this text matches the volcano-hosting docs/public diff 2dc8049..e03f56b exactly, and whether that diff matches what volcano-hosting#3401 implemented.
  • Verify that volcano-hosting's documented redaction behavior is deployed to production before publishing these pages.

Human review: not needed

@swkeever
swkeever added this pull request to the merge queue Nov 13, 2026
command and output reads so when the run is held with `possible_credential`.
`status` and `exit_code` always show.
Commands and their output are checked for secrets like every text a run
serves ([Read a review's findings](#read-a-reviews-findings)). `status` and

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚪ P3: Secret-check link points to a section that only redirects to the real explanation

The new sentence "Commands and their output are checked for secrets like every text a run serves (Read a review's findings)" sends readers to the findings section. That section only says "as a run's other text does" and defines a secret value. The paragraph that lists repository check commands and output and explains the Hidden: … text is in Follow runs (line 1749). Linking #follow-runs directly would save readers the extra hop.

Found by claude-opus-5-5

`diagnosis`, review findings and questions, hold reasons, and repository check
commands and output, in the run and in the runs list. A field that holds one
of your project's exact secret values, or a secret that
[gitleaks](https://github.com/gitleaks/gitleaks)' default rules detect, reads

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚪ P3: Names the scanner behind secret hiding (gitleaks), unlike the rest of the guide

spec/writing.md, which AGENTS.md says every page follows, asks docs to "describe what the platform does, not the vendor behind it." The new text in lavaflow.md and issues.md (line 227) defines hidden fields by "a secret that gitleaks' default rules detect." Elsewhere the same guide describes the same check as "anything that looks like a known kind of secret" or "a recognized secret" (lines 828–839). The new wording also makes a specific tool's default rule set part of the public contract, so the docs go stale if the detector or its version changes. issues.md also names gitleaks without the link lavaflow.md gives it. If you want to keep the tool's name, make the wording match across both pages; otherwise use the guide's existing "recognized secret" wording.

Found by claude-opus-5-5

Merged via the queue into main with commit ac3bfd6 Nov 13, 2026
18 checks passed
@swkeever
swkeever deleted the skeever/port-late-docs-2 branch November 13, 2026 17:08
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.

2 participants