Skip to content

docs: document YAML input for attest custom - #592

Merged
dangrondahl merged 2 commits into
mainfrom
autopilot/ab34f1e2
Dec 2, 2026
Merged

dangrondahl merged 2 commits into
mainfrom
autopilot/ab34f1e2

Conversation

@mintlify

@mintlify mintlify Bot commented Dec 2, 2026 •

Copy link
Copy Markdown
Contributor

Explains that kosli attest custom --attestation-data now takes YAML as well as JSON, including multi-document files and the quoting caveats. GA: shipped in CLI v2.61.1.

Based on feat(attest): accept YAML for attest custom --attestation-data.

Upstream (does not block this merge)

  • kosli-dev/cli → cmd/kosli/attestCustom.go: the --attestation-data flag help names only octal as the reason to quote "1.10"; it should also say decimals lose trailing zeros (1.10 becomes 1.1).

@mintlify
mintlify Bot requested a review from a team as a code owner December 2, 2026 07:09
@mintlify

mintlify Bot commented Dec 2, 2026 •

Copy link
Copy Markdown
Contributor Author

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
kosli 🟢 Ready View Preview Dec 2, 2026, 7:15 AM

💡 Tip: Enable Automations to automatically generate PRs for you.

@claude

claude Bot commented Dec 2, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @mintlify[bot]'s task in 1m 16s —— View job


Follow-up review complete

  • Fetch prior review comments on PR docs: document YAML input for attest custom #592
  • Diff BEFORE..AFTER and map prior findings to changed lines
  • Classify each prior finding: resolved / partially addressed / not addressed
  • Check changed lines for new bugs/regressions
  • Close resolved inline threads, post new inline comments if needed
  • Post summary comment

Scope: git diff 3081ce9..c28e323 touches only getting_started/attestations.md (lines 212–215).

Prior findings:

  1. "1.10 reasoning named only octal, not the real cause (decimal truncation)" — ✅ Resolved. Line 213–215 now reads "YAML reads an unquoted number with a leading zero as octal (0644 becomes 420) and drops trailing zeros from decimals (1.10 becomes 1.1)", naming both causes as suggested. Closed the inline thread.
  2. "client_reference/kosli_attest_custom.md:51 has the same wording and needs fixing upstream in cmd/kosli/attestCustom.go" — ⚠️ Not addressed (expected/out of scope for this PR — that page is generated from the CLI repo per CLAUDE.md, so it can't be fixed here).

No new bugs or regressions found in the changed lines; 1 inline comment posted (closing the resolved thread).

Comment thread getting_started/attestations.md Resolved
Comment on lines +213 to +215
`.yaml` or `.yml` file to JSON before sending it, and reads any other file as JSON. YAML reads an
unquoted number with a leading zero as octal (`0644` becomes `420`) and drops trailing zeros from
decimals (`1.10` becomes `1.1`), so quote version-like values and codes (`"1.10"`, `"0123"`)

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.

Resolved — this now names both causes (octal leading zero and dropped trailing zeros on decimals), matching the suggested wording. Closing this thread.

@dangrondahl
dangrondahl merged commit bad1e07 into main Dec 2, 2026
8 checks passed
@dangrondahl
dangrondahl deleted the autopilot/ab34f1e2 branch December 2, 2026 07:25

This branch was successfully deployed

1 active deployment
staging — c28e323d Deployed Dec 2, 2026 by mintlify[bot]
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