Skip to content

docs: use supported state flag in record fetch example - #1740

Merged
potiuk merged 2 commits into
apache:mainfrom
masyarakatai:docs/fix-record-fetch-example
Oct 20, 2026
Merged

potiuk merged 2 commits into
apache:mainfrom
masyarakatai:docs/fix-record-fetch-example

Conversation

@masyarakatai

Copy link
Copy Markdown
Contributor

Fixes #1732

vulnogram-api-record-fetch does not support --jq; use its documented --state-only option to verify the record state after the update.

masyarakatai and others added 2 commits October 20, 2026 19:45
The sync push rule emitted the same unsupported `--jq` record-fetch command
the doc fix replaced; point it, and the eval fixture that quotes it, at
`--state-only`. Restore the list item's 3-space fence indent.

Generated-by: Claude Opus 5

@potiuk potiuk left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks @masyarakatai, nice catch: vulnogram-api-record-fetch has no --jq flag, so the documented command failed, and --state-only is the right replacement. I pushed one small fixup commit (a65e6ed) instead of a review round trip:

  • The same command was also emitted by code. tools/security-management/src/security_management/issue_sync/push.py built the "verify the state advance" hint with --jq '.body.CNA_private.state', so an agent running sync was still handed the broken command. It now uses --state-only, and so does the eval fixture that quoted it (step-5b-judged-gates/.../case-5-clean-push-fix-released/report.md).
  • Restored the 3-space fence indent so the code block lines up with its list item's content, as before.

The issue-sync rule tests (37) pass locally.


This review was drafted by an AI-assisted tool and
confirmed by an Apache Magpie maintainer. The maintainer
approving this PR has read the findings and signed off. If
something feels off, please reply on the PR and a maintainer
will follow up.

More on how Apache Magpie handles maintainer review:
Contributing guide.

@potiuk
potiuk enabled auto-merge (squash) October 20, 2026 21:09
@github-actions github-actions Bot added family:security security-* skills family:tools tools/* capability:intake Import external signal + sync tracker state substrate:analytics Tool substrate: read-only metrics / dashboards / renderers labels Oct 20, 2026
@potiuk
potiuk merged commit 057f180 into apache:main Oct 20, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

capability:intake Import external signal + sync tracker state family:security security-* skills family:tools tools/* substrate:analytics Tool substrate: read-only metrics / dashboards / renderers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

issue-sync docs: vulnogram-api-record-fetch --jq does not exist

2 participants