Skip to content

opc: accept directories in lint - #15

Merged
runesleo merged 1 commit into
mainfrom
opc/lint-directory-ux-20260828
Aug 28, 2026
Merged

runesleo merged 1 commit into
mainfrom
opc/lint-directory-ux-20260828

Conversation

@runesleo

Copy link
Copy Markdown
Owner

Incident-driven UX fix from an external-agent clean-checkout run. The lint command previously raised IsADirectoryError when an agent naturally passed the synthetic company directory. This patch expands directory inputs to JSON files, returns controlled OPC_LINT_ERROR for bad paths or JSON instead of tracebacks, and adds a regression test. Local validation passed: OPC_TEST_OK, QuietHarness VERIFY_OK, OPC_LINT_OK files=5, and git diff check.

@runesleo
runesleo merged commit eb34aa5 into main Aug 28, 2026
1 check passed
@runesleo
runesleo deleted the opc/lint-directory-ux-20260828 branch August 28, 2026 09:49
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