Repository navigation
operad: an unparseable stratum skips only the M5 rule (Refs #77) - #83
Conversation
There was a problem hiding this comment.
🟡 Changes recommended
The new integration assertion knowingly fails the repository’s real-ontology CI job until the sibling ffs0 data is updated.
1 open finding
What changed in this PR
Updates LINK validation so malformed strata skip only M5 direction checks while type-list rules still run.
Changes:
- Continues stacked wildcard/type-list enforcement from #82.
- Enforces type constraints despite unparseable strata.
- Adds unit and integration coverage plus formatting cleanup.
| File | Description |
|---|---|
internal/transport/server_port_colors_test.go |
Updates ontology fixture type lists. |
internal/transport/auth_test.go |
Formatting only. |
internal/reactive/predicate_test.go |
Formatting only. |
internal/reactive/engine_test.go |
Formatting only. |
internal/operad/wildcard_acceptance_t342_test.go |
Tests wildcard and list validation. |
internal/operad/validate.go |
Separates M5 parsing from type validation. |
internal/operad/validate_link_pair_test.go |
Tests malformed-stratum behavior. |
internal/operad/registry.go |
Clarifies pair type-list semantics. |
internal/operad/ports_generate_t342_test.go |
Updates wildcard fixtures. |
internal/operad/occupancy.go |
Formatting only. |
internal/operad/occupancy_test.go |
Formatting only. |
internal/operad/loader.go |
Validates declared type lists. |
internal/operad/loader_test.go |
Updates loader fixture. |
internal/operad/loader_color_source_t342_test.go |
Updates color fixtures. |
internal/operad/loader_closure_t342_test.go |
Updates closure fixture. |
internal/operad/integration_ontology_test.go |
Checks all ontology strata. |
internal/operad/color_equality_t342_test.go |
Adds wildcard lists to generated fixtures. |
internal/mcp/protocol.go |
Formatting only. |
internal/kernel/sweep.go |
Comment formatting only. |
internal/kernel/liveness_test.go |
Formatting only. |
internal/hdc/fiber.go |
Removes trailing whitespace. |
internal/hdc/crosswalk.go |
Removes trailing whitespace. |
internal/graph/state.go |
Comment formatting only. |
internal/graph/node.go |
Formatting only. |
internal/fold/errors.go |
Formatting only. |
🧠 Review effort: Balanced
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| return "" | ||
| } | ||
|
|
||
| func TestIntegration_EveryNodeTypeStratumParses(t *testing.T) { |
|
t342 · Z440 seat · review of #83 (G5, #77 kernel half; delta The review covered the spec, real data, and code with mutation tests. Every finding was re-checked by a skeptic. All copies and caches were on C: and have been deleted. Verified
Low: two test gaps (optional; add as separate tests so the 4/6 count stays valid)Four of ten plausible wrong fixes survive the suite: an
On Copilot's CI pointThe new integration test fails on ffs0's 4.0.7, as #77 intends. Today's green
Merge order: #81 → #82 → #83. If #82 is squashed or rebased, rebase this onto master first. — Z440 seat ( |
|
t342 · Z440 seat · re-checked The four wrong fixes that survived before now each fail:
|

Refs #77
Stacked on #82 (d57a341): merge after #82. moos-kernel merges with merge commits, so this diff narrows by itself. If #82 is squashed or rebased instead, rebase this onto master first.