Skip to content

Cohesion: extract RBAC/grid/ramp/iter/order/stats — closes #4 - #5

Merged
SMC17 merged 2 commits into
mainfrom
fix/cohesion-extract
Jul 14, 2026
Merged

SMC17 merged 2 commits into
mainfrom
fix/cohesion-extract

Conversation

@SMC17

@SMC17 SMC17 commented Jul 14, 2026

Copy link
Copy Markdown
Owner

Closes #4

tableformat-zig shipped 7 orphaned modules (RBAC, staggered grid, glyph ramp, row iterator, price-time buffer, column histogram, histogram quantile) with zero table-format-core importers — a cohesion violation from the audit's cohesion_split_plan.csv.

Change

  • Removed the 7 files + their root.zig exports. zig build test -> 52/52 (core intact, free of RBAC/grid/ramp/order/stats baggage).
  • New standalone packages (dependency-free, verified green): policy-auth-zig, structured-grid-zig, terminal-ramp-zig, column-iter-zig, order-primitives-zig, streaming-stats-zig.
  • Moved the 2 table-format bridge files (tableformat_persistence, tableformat_rowgroup) into this repo from workflow-event-log-zig (they import the tableformat module natively).
  • Added COHESION_SPLIT.md.

Verification

tableformat-zig after: zig build test -> 52/52
each new package:   zig build test -> pass (8-17 tests each)

SMC17 added 2 commits July 14, 2026 00:06
…ges (closes #4)

tableformat-zig is a table-format library; it shipped 7 orphaned modules
(RBAC, staggered grid, glyph ramp, row iterator, price-time buffer, column
histogram, histogram quantile) with zero table-format-core importers — a
cohesion violation per the audit's cohesion_split_plan.csv.

- Removed those 7 files + their root.zig exports. zig build test -> 52/52
  (DQ core intact, free of RBAC/grid/ramp/order/stats baggage).
- New standalone packages (dependency-free, tests green):
    SMC17/policy-auth-zig, SMC17/structured-grid-zig, SMC17/terminal-ramp-zig,
    SMC17/column-iter-zig, SMC17/order-primitives-zig, SMC17/streaming-stats-zig
- Moved the 2 table-format bridge files (tableformat_persistence,
  tableformat_rowgroup) IN from workflow-event-log-zig, where they import the
  tableformat module natively (resolves a cross-cutting coupling).
- Added COHESION_SPLIT.md.
@SMC17
SMC17 merged commit 8502edd into main Jul 14, 2026
1 check passed
@SMC17
SMC17 deleted the fix/cohesion-extract branch July 14, 2026 04:10
SMC17 added a commit that referenced this pull request Nov 16, 2026
* Cohesion: extract RBAC/grid/ramp/iter/order/stats to standalone packages (closes #4)

tableformat-zig is a table-format library; it shipped 7 orphaned modules
(RBAC, staggered grid, glyph ramp, row iterator, price-time buffer, column
histogram, histogram quantile) with zero table-format-core importers — a
cohesion violation per the audit's cohesion_split_plan.csv.

- Removed those 7 files + their root.zig exports. zig build test -> 52/52
  (DQ core intact, free of RBAC/grid/ramp/order/stats baggage).
- New standalone packages (dependency-free, tests green):
    SMC17/policy-auth-zig, SMC17/structured-grid-zig, SMC17/terminal-ramp-zig,
    SMC17/column-iter-zig, SMC17/order-primitives-zig, SMC17/streaming-stats-zig
- Moved the 2 table-format bridge files (tableformat_persistence,
  tableformat_rowgroup) IN from workflow-event-log-zig, where they import the
  tableformat module natively (resolves a cross-cutting coupling).
- Added COHESION_SPLIT.md.

* docs: correct bridge-file note in COHESION_SPLIT.md

---------

Co-authored-by: SMC17 <systems@sunlitmoon.online>
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.

[P0][verified] Name says 'table format' but root exports RBAC, staggered grid, glyph ramp, price-time buffer, histograms

1 participant