Operator Playbooks
Operator Playbooks
Scan workflow
wrkr scan --path ./scenarios/wrkr/scan-mixed-org/repos --profile standard --report-md --report-md-path ./.tmp/scan-summary.md --report-template operator --jsonCheck top_findings, repo_exposure_summaries, profile, and optional report.md_path.
Shareable report workflow
wrkr report --md --md-path ./.tmp/wrkr-summary.md --template operator --share-profile internal --json
wrkr report --md --md-path ./.tmp/wrkr-summary-public.md --template public --share-profile public --json
wrkr report --pdf --pdf-path ./.tmp/wrkr-summary.pdf --template exec --jsonUse internal profile for engineering/security reviews. Use public profile for external packets with deterministic redaction.
Fix workflow
wrkr fix --top 3 --jsonCheck remediation_count, deterministic fingerprint, and unsupported finding reasons.
Evidence workflow
wrkr evidence --frameworks eu-ai-act,soc2 --output ./.tmp/evidence --jsonCheck framework_coverage, report_artifacts, and manifest/chain paths.
framework_coverage reflects evidence currently present in scanned state.
- Low/0% coverage indicates documented control gaps in current evidence.
- Low/0% does not imply Wrkr lacks support for that framework.
- Treat low coverage as an action queue: remediate, rescan, and regenerate evidence.
Recommended low-coverage response:
- Run
wrkr report --top 5 --jsonto prioritize the highest-risk missing controls. - Complete control implementation or lifecycle approvals for the affected identities/tools.
- Re-run
wrkr scan --json, thenwrkr evidence --frameworks ... --jsonand compare updatedframework_coverage.
Unsafe output-path handling
If output directory is non-empty and not Wrkr-managed, evidence fails closed with exit 8 and unsafe_operation_blocked.
Verify workflow
wrkr verify --chain --jsonCheck chain.intact and chain.head_hash.
Regress workflow
wrkr regress init --baseline ./.wrkr/last-scan.json --output ./.tmp/wrkr-regress-baseline.json --json
wrkr regress run --baseline ./.tmp/wrkr-regress-baseline.json --summary-md --summary-md-path ./.tmp/regress-summary.md --template operator --jsonUse exit 5 and drift reasons as gate criteria.
Identity lifecycle workflow
wrkr identity list --json
wrkr identity show <agent_id> --json
wrkr identity approve <agent_id> --approver @maria --scope read-only --expires 90d --json
wrkr identity deprecate <agent_id> --reason "tool retired" --json
wrkr identity revoke <agent_id> --reason "policy violation" --json
wrkr lifecycle --org local --summary-md --summary-md-path ./.tmp/lifecycle-summary.md --template audit --jsonUse lifecycle transitions and proof-chain history to track approval and revocation.
Scenario references (Tier 11)
- FR11: policy checks
- FR12: profile compliance
- FR13: posture score
Reference scenario suites in internal/scenarios/ and coverage mapping in internal/scenarios/coverage_map.json.