Repository navigation
docs(handoff): capture the civitai generate session state - #234
Merged
Merged
Conversation
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>
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.
Session handoff for the
civitai generatework, so the next session starts with zero re-discovery.Covers what shipped (#210, #215, #218, #221), the three
civitai/civitaiissues 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 ciruns neither gofmt nor golangci-lint, andmake lintsilently degrades togo vet— a redlintjob shipped on feat(generate): add--imagefor image-to-image, with a credential-free upload #215 this way.for c in $LISTloops once and reports a confident wrong zero.FAILwith no--- FAILline, so a grep-based detector reads it as a pass.factors.imagescheck and the price-differential version would refuse valid img2img.Docs only — no code paths touched.
🤖 Generated with Claude Code