Skip to content

Update spec pin, CI validation, and sample naming - #1

Merged
ANierbeck merged 1 commit into
mainfrom
update-spec-pin-and-naming
Oct 22, 2026
Merged

ANierbeck merged 1 commit into
mainfrom
update-spec-pin-and-naming

Conversation

@ANierbeck

Copy link
Copy Markdown
Contributor

Summary

Brings the sample up to date now that TrainingProvenanceRecord is merged into the spec (apache/sourcelume-spec#10).

  • scripts/validate-records.py fails fast when SOURCELUME_SPEC is not set, instead of defaulting to a stale local worktree path.
  • CI now checks out apache/sourcelume-spec and validates both records; this step was skipped before. It follows spec main unpinned, because the spec has no published release yet.
  • README: the spec validation row refers to merged spec main; the registry row refers to the follow-up PR Support TrainingProvenanceRecord end to end sourcelume-registry#15.
  • Naming: train.py and the dataset record say "sample" instead of "training demo" after the repository rename.

The registry rows stay "expected to fail" on purpose until apache/sourcelume-registry#15 is merged.

Testing

  • Without SOURCELUME_SPEC the script exits with status 2 and a hint.
  • With SOURCELUME_SPEC pointing at spec main (b5ab8e7): a fresh train.py run, then both records PASS.
  • No "training demo" left in tracked files.
  • The CI change is verified by this PR's own run.

Apache-ai: Yes
Generated-by: pi (claude-sonnet-5-5)
Reviewed-by: anierbeck

- validate-records.py: fail fast without SOURCELUME_SPEC instead of
  defaulting to a stale local worktree path; PR #10 is merged into
  spec main, so any current checkout works
- ci.yml: check out apache/sourcelume-spec and validate both records
  in CI (previously skipped); spec main is followed unpinned until a
  spec release is published
- README: record-type status rows now reference merged spec main and
  the registry follow-up PR (sourcelume-registry#15)
- train.py and data/provenance-record.json: use the sample naming
  consistently after the training-demo rename

Apache-ai: Yes
Generated-by: pi (claude-sonnet-5-5)
Reviewed-by: anierbeck
@ANierbeck
ANierbeck merged commit 1c6786d into main Oct 22, 2026
1 check passed
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