Issues Commands
The issues command group manages control implementation issues. Issues are the durable home for gaps, missing evidence, unresolved ambiguity, and remediation work.
Narratives should describe the implemented control state only. Evidence should describe the artifact and what it supports only. Do not use narratives or evidence descriptions as a workaround issue log.
Create Local Issue
pretorin issues create ac-02 fedramp-moderate \
-c "Gap: Missing SSO evidence. Manual next step: collect IdP configuration screenshots."
Creates a local markdown file at issues/<framework>/<control>/<slug>.md with YAML frontmatter. Existing local notes/ files remain supported through the deprecated pretorin notes compatibility commands.
Options:
--content / -c— Issue content (required)--name / -n— Custom name (defaults to content summary)
Push Issues
pretorin issues push --dry-run
pretorin issues push
Batch-pushes all unsynced local issues to the platform. Issues are append-only on the platform. After a successful push, the local file’s platform_synced frontmatter is set to true.
List Issues
pretorin issues list --local
pretorin issues list --local --framework fedramp-moderate
pretorin issues list ac-02 fedramp-moderate --system "My System"
Use --local to list local issue files. Without --local, provide a control and framework to list platform issues for that control.
Add an Issue
pretorin issues add ac-02 fedramp-moderate \
--content "Gap: Missing SSO evidence. Manual next step: collect IdP configuration screenshots."
Options:
--content / -c— Issue content (required)--system / -s— System name or ID (uses active context if omitted)
Resolve or Reopen an Issue
pretorin issues resolve ac-02 fedramp-moderate <issue_id> --resolution-note "SSO config verified in IdP logs."
pretorin issues resolve ac-02 fedramp-moderate <issue_id> --reopen
Options:
--system / -s— System name or ID--reopen— Reopen a resolved issue instead of resolving it--resolution-note / --justification— Required when resolving; stored as the closure audit trail--content / -c— Optional updated issue content--pinned— Optional pinned state
Compatibility
pretorin notes ... remains available as a deprecated alias for one compatibility window. Existing ./notes/<framework>/<control>/<slug>.md files can still be listed and pushed through that command group. New local files should use ./issues/.