Skip to content

fix(records): reject duplicate model rollup rows - #21

Open
localai-org-maint-bot wants to merge 1 commit into
mudler:mainfrom
localai-org-maint-bot:codex/road-v1-a6-model-rollup-uniqueness
Open

fix(records): reject duplicate model rollup rows#21
localai-org-maint-bot wants to merge 1 commit into
mudler:mainfrom
localai-org-maint-bot:codex/road-v1-a6-model-rollup-uniqueness

Conversation

@localai-org-maint-bot

Copy link
Copy Markdown
Contributor

Summary

  • reject duplicate lifecycle-count rows in the model architecture checklist rollup
  • reject duplicate Total rows instead of silently accepting the last parsed value
  • add RED-first mutations for both duplicate classes and record the CPU-only maintenance checkpoint

Design

The parser keeps its existing small, pure API. parse_rollup() now returns explicit duplicate-key diagnostics alongside the parsed counts. Rejecting duplicate binding rows is preferable to summing them because each lifecycle key and Total must have one authoritative snapshot row.

This is ROAD-V1-A6 / CLAIM-MODEL-CHECKLIST-ROLLUP-UNIQUENESS. It changes no model matrix row, lifecycle, support claim, runtime code, README, or benchmark.

Verification

  • RED reconstruction on 1448e981: focused suite fails exactly 2/12, with both duplicate mutations returning no errors
  • GREEN focused suite: 12/12
  • full tests/scripts Python suite: 97/97
  • all eight standalone scripts/check-*.py repository checkers pass
  • git diff --check passes
  • independent review: PASS, no findings

The unrelated Triton AOT shell mutation test cannot start on this host because cmake is not installed. No Triton, CMake, generated artifact, source, model, or runtime file is changed by this PR.

Make the architecture checklist checker reject duplicate lifecycle and Total rows instead of silently accepting the last parsed value. Add RED-first mutations and the required governance checkpoint records.

FOLLOWING_AGENTS_PROTOCOL

Assisted-by: Codex:gpt-5 [Codex]
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