Commit Graph
3 Commits
Author SHA1 Message Date
lucioandClaude Fable 5 6b95d772f1 Add case-tables: Verible-style text-in/text-out test suite
183 {input, expected} cases across 10 construct files under
tests/cases/, driven by a ~180-line std-only harness (==== / ----
format). Each case asserts formatting and idempotency; #SKIP parks
known formatter bugs and fails the suite once they start passing.

Documents four real formatter bugs found while deriving expected
output (block-comment re-indent non-idempotency, comment lifted out
of expression groups, closing block labels dropped, multi-instance
declaration layout) — parked as #SKIP, to be fixed in a follow-up
feature. Also adds rustfmt.toml matching the codebase style.

Dev: Opus agent; QA: Sonnet agent; review in
docs/features/case-tables/README.md.

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-08-18 23:38:58 -07:00
lucioandClaude Fable 5 ee4762b6b6 Add CLAUDE.md: agent working agreement
Simplicity-first rules, Rust standards, and document-based development:
every feature gets docs/features/<name>/README.md with assumptions,
handshakes, work/QA logs, and a lead review section.

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-08-18 23:18:01 -07:00
lucioandClaude Fable 5 d3d9786791 Initial commit: vfmt — ruff-style Verilog/SystemVerilog formatter
Workspace with comment-preserving parser (vlog_parser), prettier-style
document IR + formatting rules (vlog_formatter), and CLI (vfmt).
Includes snapshot/idempotency tests and a TODO backlog of practices
adopted from ruff and Verible.

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-08-18 23:12:01 -07:00