Skip to content

docs(handoff): capture the civitai generate session state - #234

Merged
ZacxDev merged 3 commits into
mainfrom
docs/handoff-civitai-generate
Aug 7, 2026
Merged

ZacxDev merged 3 commits into
mainfrom
docs/handoff-civitai-generate

Conversation

@ZacxDev

@ZacxDev ZacxDev commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Session handoff for the civitai generate work, so the next session starts with zero re-discovery.

Covers what shipped (#210, #215, #218, #221), the three civitai/civitai issues and how each resolved, and — the part worth the lines — the live diagnosis state for the two open follow-ups, with observed values rather than narrative.

Also records the traps that cost real time:

  • make ci runs neither gofmt nor golangci-lint, and make lint silently degrades to go vet — a red lint job shipped on feat(generate): add --image for image-to-image, with a credential-free upload #215 this way.
  • zsh does not word-split unquoted parameters, so for c in $LIST loops once and reports a confident wrong zero.
  • A test hang prints FAIL with no --- FAIL line, so a grep-based detector reads it as a pass.
  • The img2img promotion detector that must never be re-added: Flux1Kontext, NanoBanana and Seedream are edit-capable and price identically with and without images, so both the factors.images check and the price-differential version would refuse valid img2img.

Docs only — no code paths touched.

🤖 Generated with Claude Code

ZacxDev and others added 3 commits August 6, 2026 19:28
Records what shipped (#210/#215/#218/#221), the three platform issues and
their outcomes, and the live diagnosis state for the two open follow-ups so
the next session does not re-run probes that already have answers.

Also captures the traps that cost real time here: make ci runs neither gofmt
nor golangci-lint, zsh does not word-split unquoted parameters, a test hang
prints FAIL with no --- FAIL line, and the img2img promotion detector that
must never be re-added because three edit-capable ecosystems price
identically with and without images.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Investigation 1 described a hazard that does not exist on main. The finding
was real but against PR #222 -- a competing implementation of the same
feature that DID resolve version ids to names in the render path. #222 was
closed as a duplicate and #221 merged instead; I carried the finding across
without re-reading the merged code.

Verified at ba3136c: reportModelSubstitutions takes (io.Writer, []ModelSubstitution,
substitutionPhase), does zero I/O, and prints raw ids. resolveVersion is called
only in buildGenerateGraph pre-estimate.

A handoff carrying a wrong diagnosis is worse than one carrying none -- it is
the first thing the next session acts on. Retracted in place, with where the
false premise came from, so it cannot be re-derived.

Also records both follow-ups as resolved by #237.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
…te was wrong

The #3667 section said "Ruled out - IMPORTANT, do not re-derive: there is no
known bypass". That is false, and it is the shape of note that gets a security
gate lifted, so it is retracted in place with the reasoning that failed: some
graphs composing a shared promptGraph says nothing about graphs that opt out of
the shared node names, and two do.

Hunyuan3D declares no `prompt` node at all (hunyuan3d-graph.ts:71), so the audit
at orchestration-new.service.ts:1460 never runs, and the handler then maps
`hunyuanPrompt` back to `prompt` for the generator (handler:58). PolyGen`s
`texturePrompt` is covered by no audit block and is the only text in an
img2model3d request. Verified at a7e0bcd668 across all 79 declared node
keys; escalated on civitai/civitai#3667.

Consequently: DECIDED to keep `--input` pinned to txt2img (next-steps item 3),
since the gate`s stated lift condition is now answered in the negative.

Also records the independent re-verification of PR #237 (2377 PASS / 0 FAIL,
10/10 call-site-weighted mutants killed, with a positive control proving the
harness can report a survivor), and warns that the base clone is currently on
another session`s branch with uncommitted work.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@ZacxDev
ZacxDev merged commit 74e895f into main Aug 7, 2026
12 checks passed
@ZacxDev
ZacxDev deleted the docs/handoff-civitai-generate branch August 7, 2026 01:22
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