feat: ovens plugin framework + per-repo identity + review fixes#4
Merged
Conversation
Collaborator
Author
|
Addressed the review — pushed 5 commits ( Blockers
Completeness
Deferred (documented): Scope unchanged: this is the framework slice; the |
apresmoi
force-pushed
the
feat/ovens-framework
branch
from
July 14, 2026 18:09
b350447 to
b668812
Compare
…fter release checkout
apresmoi
force-pushed
the
feat/ovens-framework
branch
from
July 14, 2026 18:16
b668812 to
8277b9a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Turns ovens from a hardcoded special-case into a real framework, fixes the review
findings from #2/#3/#4, and adds CI + a publish workflow.
Ovens framework
engine or branches on
id === "differential-testing". Each oven registers ahandler (data, dashboard rows, background warm); unknown ids stay
validated:false.(repoKey, ovenId);built-ins are global. Discovery,
/api/ovens,/api/ovens/:id?repoKey, oven-data,and run creation all resolve per repo — two repos with the same custom oven id
never collide, and a run snapshots the correct repo's definition.
oven bind,oven fork(writesoven.jsonlineage), per-repo binding stores.(
<id>/current->rev-*), swapped by atomic file-rename. Reads are lock-free(resolve
currentonce); GC is retirement-grace so a reader never hits ENOENT.burnlist initignores.local/); paths arecontainedJoin-guarded againstsymlink escapes; malformed packages/bindings are isolated, never destroyed.
ovenRevision; run manifest schemaVersion 3 -> 4 (verified against snapshot).Review fixes (#2 landing, #3 lifecycle, #4 ovens)
rollback, resumable/validated close).
(it becomes a Blocked row). CLI
oven listand/api/ovensisolate malformed packages.CI/CD
ci.yml: build + verify + package check on PRs and pushes to main, Node 18/20/22.publish.yml: manual dispatch (patch/minor/major); refuses non-main; commit-boundrecovery — publishes/tags the exact npm artifact commit (
gitHead), resumes fromcurrent
origin/main, and fails on operational errors rather than mis-tagging.The dashboard stays a read-only observer; only the CLI (and token-gated
.local/POSTs) mutate canonical state.
Note: publishing needs an
NPM_TOKENrepo secret; the version bump happens in thepublish workflow.