Skip to content

Update pipeline and add diagnostic commands for SCF parser - #5

Merged
sc2ben merged 2 commits into
mainfrom
4-scf-20263-validation-gate-failed
Oct 17, 2026
Merged

sc2ben merged 2 commits into
mainfrom
4-scf-20263-validation-gate-failed

Conversation

@sc2ben

@sc2ben sc2ben commented Oct 17, 2026

Copy link
Copy Markdown
Member

Upstream restructured the workbook again, which broke the autopilot validation
gate (issue #4). The parser now reads 2026.1.1, 2026.2 and 2026.3 from one code path:

  • Risk/threat likelihood matrix. The two per-control summary columns are gone;
    each control now rates every risk (65) and threat (45) as Unlikely, Possible
    or Likely. controls[].risks / threats keep their id-list shape and hold the
    ids rated Possible or Likely. New additive fields risk_likelihood and
    threat_likelihood carry every rating ({id: rating}). A rating outside that
    vocabulary fails the gate (likelihood-value).
  • Compensating controls moved inline. The separate tab is gone; the same
    columns now sit on the control tab. Output shape is unchanged.
  • Smaller header changes: Documentation Artifact is now ERL Artifact, the
    Organization Defined Parameters column became Notes (still emitted as
    org_defined_parameters), and the risk catalog gained an Old Risk # column.
  • The MON-03.3 evidence-request typo is fixed upstream, so its override is now
    scoped to 2026.1.1 and 2026.2.

- Introduced `diagnose` command to parse workbooks and suggest fixes for structural misses.
- Added `triage` command to summarize validation report findings by check.
- Implemented `headers` command to display column headers and samples from specified sheets.
- Created SKILL.md files for scf-regenerate, scf-release-fix, and scf-workbook-recon to document new workflows.
- Updated AGENTS.md with operational guidelines for small-context agents.
- Enhanced error handling in workbook.py for better diagnostics.
- Added tests for new commands and functionalities in test_diagnose.py.
@sc2ben sc2ben added the enhancement New feature or request label Oct 17, 2026
@sc2ben sc2ben linked an issue Oct 17, 2026 that may be closed by this pull request
@sc2ben
sc2ben requested a review from tsunaminoai October 17, 2026 16:16

@tsunaminoai tsunaminoai left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Reviewed non-generated file edits. Looks good.

@sc2ben
sc2ben merged commit b5ebc9c into main Oct 17, 2026
1 check passed
@sc2ben
sc2ben deleted the 4-scf-20263-validation-gate-failed branch October 17, 2026 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SCF 2026.3: validation gate failed

2 participants