fix(generation): require structural prompt fidelity - #311
Merged
Conversation
Collaborator
Author
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
This was referenced Sep 1, 2026
anandpant
force-pushed
the
gen/gen-prompt-rules
branch
3 times, most recently
from
September 1, 2026 20:15
ded1ec6 to
efd5be9
Compare
Merge activity
|
## Scope - Require retry/resubmission flows to use real back-edges and separate final end nodes. - State explicitly that loop-back edges target process or decision nodes, never start nodes, because start nodes have no incoming edges. - Forbid self-loop edges at the system-prompt layer and require retry/re-check decisions to route back to an earlier distinct process or decision node. - Include a minimal valid loop scaffold for the lite model. - Require every explicit minimum count and richer default flowchart/mindmap structure. ## Proof - `pnpm nx run-many -t typecheck,test,build` - passed at `efd5be9`. - `pnpm nx build-storybook diagram-ui` - passed at `efd5be9`. - Added byte-stable prompt contract assertions for loops, self-loops, start-node topology, counts, breadth, and depth. This is PR 3 of 6 in the generation-reliability stack.
graphite-app
Bot
force-pushed
the
gen/gen-request-budget
branch
from
September 1, 2026 21:26
8f53c04 to
c2bfe33
Compare
graphite-app
Bot
force-pushed
the
gen/gen-prompt-rules
branch
from
September 1, 2026 21:26
efd5be9 to
01a254a
Compare
Contributor
Sketchi Icons PreviewStatus:
Preview Worker cleanup has completed. |
Contributor
Sketchi Playground / Studio PreviewStatus:
Preview Worker cleanup has completed. |
Contributor
Sketchi Excalidraw Workspace PreviewStatus:
Preview Worker cleanup has completed. |
Contributor
Sketchi Web PreviewStatus:
Preview Worker cleanup has completed. |
Contributor
Sketchi Eval Harness PreviewStatus:
Preview Worker cleanup has completed. |
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.

Scope
Proof
pnpm nx run-many -t typecheck,test,build- passed atefd5be9.pnpm nx build-storybook diagram-ui- passed atefd5be9.This is PR 3 of 6 in the generation-reliability stack.