Skip to content

ci: story baselines move to a companion repo — snapshot-per-commit, merge-is-acceptance - #425

Draft
Yona-Appletree wants to merge 3 commits into
mainfrom
claude/story-baselines-companion
Draft

ci: story baselines move to a companion repo — snapshot-per-commit, merge-is-acceptance#425
Yona-Appletree wants to merge 3 commits into
mainfrom
claude/story-baselines-companion

Conversation

@Yona-Appletree

Copy link
Copy Markdown
Collaborator

Plan: lp2025/2026-08-14-1132-story-baselines-external
Path: ~/.photomancer/planning/lp2025/2026-08-14-1132-story-baselines-external/plan.md

P2 of the story-baselines companion-repo plan

Moves story-baseline storage OUT of this repo: validate-stories now
compares against a snapshot fetched from
lightplayer-stories
(nearest captured main ancestor), pushes the fresh capture there as a
pr-<n> snapshot (app-token auth), and posts a sticky comment with
before/after thumbnails plus a compare link. Visual changes PASS CI —
merging is acceptance.
Nothing in CI writes to this repo anymore
(contents: read).

Committed baselines under story-images/ are deliberately untouched — they
are deleted in P3 only after the G1 gate passes. The last commit is a
deliberate visible story tweak (G1 probe) and gets reverted before merge.

Status: P1 done (repo seeded from main bcd1ac433, ref
sha-bcd1ac… + latest). This PR is the live test rig for gate G1.

Resume notes: read plan.md + p2-pipeline-rewrite.md in the planning dir;
P1 deviation (deploy keys disabled → lightplayer-infra app token) is in
p1-companion-repo-seed.md → Implementation Result.

🤖 Generated with Claude Code

Yona-Appletree and others added 3 commits August 14, 2026 13:03
validate-stories no longer reads or writes baselines in this repo. Baselines
live in PhotomancerArt/lightplayer-stories as one snapshot commit per
captured main commit (sha-<sha> refs, parented on the compared-against
snapshot); PR runs compare against the nearest captured ancestor, push a
pr-<n> snapshot via the lightplayer-infra app token, and post a sticky
comment with thumbnails and a compare link. Visual changes PASS — merging
is acceptance. Auto-commit, bot heads, and PNG add/add conflicts are gone
structurally.

New: story-baseline-lookup.mjs (ancestor walk + shallow fetch),
story-snapshot.mjs (manifest-applied snapshot builder; tolerated evidence
rides in tolerated/). Rewritten: story-drift-comment.mjs.
Committed baselines stay in-tree until the G1 gate passes (cutover is P3).

Plan: lp2025/2026-08-14-1132-story-baselines-external

Co-Authored-By: Claude Fable 5 <[email protected]>
Deliberate label tweak in the inline-button in-a-row story so the G1 gate
has a real modified-story comment + compare view to judge. Revert this
commit once the gate passes.

Plan: lp2025/2026-08-14-1132-story-baselines-external

Co-Authored-By: Claude Fable 5 <[email protected]>
…HEAD^1

The depth-1 checkout grafts HEAD as parentless, so 'git rev-parse HEAD^1'
fails with 'unknown revision' even after the depth-60 main fetch. Read the
first-parent sha from the raw commit header instead, which shallow grafts
do not touch.

Plan: 2026-08-14-1132-story-baselines-external

Co-Authored-By: Claude Fable 5 <[email protected]>
@github-actions

Copy link
Copy Markdown
Contributor

Story visual changes

This PR changes rendered stories: 28 changed.

Review all changes in the stories repo (swipe / onion-skin on every PNG).

Baseline: main bcd1ac433a · captured at head be738a35d0 · merging this PR is acceptance — no baseline files to commit.

Story Before After
base__inline-button__in-a-row__sm.png base__inline-button__in-a-row__sm.png@13f2f941b0 base__inline-button__in-a-row__sm.png@be810c0724
base__inline-button__in-a-row__md.png base__inline-button__in-a-row__md.png@13f2f941b0 base__inline-button__in-a-row__md.png@be810c0724
base__inline-button__in-a-row__lg.png base__inline-button__in-a-row__lg.png@13f2f941b0 base__inline-button__in-a-row__lg.png@be810c0724
studio__mapping-editor__editor-fit-preview__sm.png studio__mapping-editor__editor-fit-preview__sm.png@13f2f941b0 studio__mapping-editor__editor-fit-preview__sm.png@be810c0724
studio__mapping-editor__editor-fit-preview__md.png studio__mapping-editor__editor-fit-preview__md.png@13f2f941b0 studio__mapping-editor__editor-fit-preview__md.png@be810c0724
studio__mapping-editor__editor-fit-preview__lg.png studio__mapping-editor__editor-fit-preview__lg.png@13f2f941b0 studio__mapping-editor__editor-fit-preview__lg.png@be810c0724
studio__mapping-editor__editor-group-selected__sm.png studio__mapping-editor__editor-group-selected__sm.png@13f2f941b0 studio__mapping-editor__editor-group-selected__sm.png@be810c0724
studio__mapping-editor__editor-group-selected__md.png studio__mapping-editor__editor-group-selected__md.png@13f2f941b0 studio__mapping-editor__editor-group-selected__md.png@be810c0724
20 more file(s)
  • studio__mapping-editor__editor-group-selected__lg.png (changed)
  • studio__mapping-editor__editor-panel-wiring__sm.png (changed)
  • studio__mapping-editor__editor-panel-wiring__md.png (changed)
  • studio__mapping-editor__editor-panel-wiring__lg.png (changed)
  • studio__mapping-editor__editor-path-draft__sm.png (changed)
  • studio__mapping-editor__editor-path-draft__md.png (changed)
  • studio__mapping-editor__editor-path-draft__lg.png (changed)
  • studio__mapping-editor__editor-reference-trace__sm.png (changed)
  • studio__mapping-editor__editor-reference-trace__md.png (changed)
  • studio__mapping-editor__editor-reference-trace__lg.png (changed)
  • studio__mapping-editor__editor-repeat-scoped__sm.png (changed)
  • studio__mapping-editor__editor-repeat-scoped__md.png (changed)
  • studio__mapping-editor__editor-repeat-scoped__lg.png (changed)
  • studio__mapping-editor__editor-repeated-sector__sm.png (changed)
  • studio__mapping-editor__editor-repeated-sector__md.png (changed)
  • studio__mapping-editor__editor-repeated-sector__lg.png (changed)
  • studio__mapping-editor__editor-selection-popover__sm.png (changed)
  • studio__mapping-editor__editor-selection-popover__md.png (changed)
  • studio__mapping-editor__editor-selection-popover__lg.png (changed)
  • studio__workbench__workbench__workbench-mobile-outputs-summoned__lg.png (changed)

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