Skip to content

fix(generation): derive mindmaps from nested output - #312

Merged
graphite-app[bot] merged 1 commit into
mainfrom
gen/gen-mindmap-nested
Sep 1, 2026
Merged

fix(generation): derive mindmaps from nested output#312
graphite-app[bot] merged 1 commit into
mainfrom
gen/gen-mindmap-nested

Conversation

@anandpant

@anandpant anandpant commented Sep 1, 2026

Copy link
Copy Markdown
Collaborator

Scope

  • Replace model-authored flat mindmap IDs, edges, and depth metadata with a typed recursive tree contract.
  • Derive canonical flat mindmap IR deterministically in code while retaining the existing flat parser for callers.
  • Update mindmap instructions and compact example to require the top-level diagram ID while forbidding only derived topic/node/edge IDs.

Proof

  • pnpm nx run-many -t typecheck,test,build - passed at this branch.
  • pnpm nx build-storybook diagram-ui - passed at this branch.
  • Added recursive property coverage proving arbitrary generated trees derive into valid flat mindmap IR.
  • Added deterministic ID, edge, depth, sibling-order, and prompt-contract coverage.

This is PR 4 of 6 in the generation-reliability stack.

anandpant commented Sep 1, 2026

Copy link
Copy Markdown
Collaborator Author

How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • merge - adds this PR to the back of the merge queue
  • fast - for urgent changes, fast-track this PR to the front of 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.

@graphite-app

graphite-app Bot commented Sep 1, 2026

Copy link
Copy Markdown

Merge activity

## Scope

- Replace model-authored flat mindmap IDs, edges, and depth metadata with a typed recursive tree contract.
- Derive canonical flat mindmap IR deterministically in code while retaining the existing flat parser for callers.
- Update mindmap instructions and compact example to require the top-level diagram ID while forbidding only derived topic/node/edge IDs.

## Proof

- `pnpm nx run-many -t typecheck,test,build` - passed at this branch.
- `pnpm nx build-storybook diagram-ui` - passed at this branch.
- Added recursive property coverage proving arbitrary generated trees derive into valid flat mindmap IR.
- Added deterministic ID, edge, depth, sibling-order, and prompt-contract coverage.

This is PR 4 of 6 in the generation-reliability stack.
@graphite-app
graphite-app Bot force-pushed the gen/gen-prompt-rules branch from efd5be9 to 01a254a Compare September 1, 2026 21:27
@graphite-app
graphite-app Bot force-pushed the gen/gen-mindmap-nested branch from 0cac637 to f014afc Compare September 1, 2026 21:27
Base automatically changed from gen/gen-prompt-rules to main September 1, 2026 21:30
@graphite-app
graphite-app Bot merged commit f014afc into main Sep 1, 2026
4 checks passed
@graphite-app
graphite-app Bot deleted the gen/gen-mindmap-nested branch September 1, 2026 21:31
@graphite-app
graphite-app Bot deployed to production September 1, 2026 21:31 Active
@github-actions

github-actions Bot commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Sketchi Playground / Studio Preview

Status: deleted

  • Surface: public product preview
  • Project: playground
  • Worker identity: sketchi-studio
  • Route policy: playground.sketchi.app product surface; authenticated Studio remains unexposed
  • Preview Worker: sketchi-studio-pr-312
  • Commit: f014afc99b22
  • Workflow run: https://github.com/shpitdev/sketchi/actions/runs/33561528357

Preview Worker cleanup has completed.

@github-actions

github-actions Bot commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Sketchi Icons Preview

Status: deleted

Preview Worker cleanup has completed.

@github-actions

github-actions Bot commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Sketchi Excalidraw Workspace Preview

Status: deleted

  • Surface: internal preview; not linked from public navigation
  • Project: excalidraw
  • Worker identity: sketchi-excalidraw
  • Route policy: internal canvas workspace; no public product domain
  • Preview Worker: sketchi-excalidraw-pr-312
  • Commit: f014afc99b22
  • Workflow run: https://github.com/shpitdev/sketchi/actions/runs/33561528357

Preview Worker cleanup has completed.

@github-actions

github-actions Bot commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Sketchi Eval Harness Preview

Status: deleted

  • Surface: internal preview; not linked from public navigation
  • Project: eval-harness
  • Worker identity: sketchi-playground
  • Route policy: internal eval harness; no public product domain
  • Preview Worker: sketchi-playground-pr-312
  • Commit: f014afc99b22
  • Workflow run: https://github.com/shpitdev/sketchi/actions/runs/33561528357

Preview Worker cleanup has completed.

@github-actions

github-actions Bot commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Sketchi Web Preview

Status: deleted

Preview Worker cleanup has completed.

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