Skip to content

Rewrite main READMEs - #266

Merged
tonyketcham merged 3 commits into
mainfrom
toeknee/rewrite-flatbread-proof-readmes-630a
Aug 23, 2026
Merged

Rewrite main READMEs#266
tonyketcham merged 3 commits into
mainfrom
toeknee/rewrite-flatbread-proof-readmes-630a

Conversation

@tonyketcham

Copy link
Copy Markdown
Collaborator

No description provided.

cursoragent and others added 2 commits August 23, 2026 09:05
**Summary of changes**

- split the Flatbread start path between Proof agent memory and relational app content
- recast Proof as portable, Git-tracked alignment across sessions and coworkers
- move corrected filters, pagination, and override details into a query reference

### Please don't delete this checklist! Before submitting the PR, please make sure you do the following:

- [x] I added doc comments to any new public exports, and inline comments to any hard-to-understand areas (not applicable: docs only)
- [x] My changes generate no new console errors locally
- [x] If applicable, try to include a test that fails without this PR but passes with it (not applicable: docs only)

### Does this introduce any non-backwards compatible changes?

- [ ] Yes
- [x] No

### Does this include any user config changes?

- [ ] Yes
- [x] No

Test plan:
- pnpm lint:fix:fast
- pnpm lint
- verify README commands in scratch projects
- check local and external links

Change-Id: I487546b09a0390dbccb9da4a4c218bcb092961ba

Co-authored-by: Erika Ruth Witt <erikawitt@users.noreply.github.com>
State that read and write commands need a complete proofContent preset while bootstrap reports missing or incomplete setup.

Tested with:
- pnpm lint:fix:fast
- pnpm lint
- scratch bootstrap checks for action_required and ready states

Change-Id: I7e784d9689e1f16ee2112a3e2a4a31aa3439e48c

Co-authored-by: Erika Ruth Witt <erikawitt@users.noreply.github.com>
@mergify

mergify Bot commented Aug 23, 2026

Copy link
Copy Markdown
Contributor

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • Queue this pull request

@tonyketcham
tonyketcham merged commit 1809613 into main Aug 23, 2026
21 checks passed
@tonyketcham
tonyketcham deleted the toeknee/rewrite-flatbread-proof-readmes-630a branch August 23, 2026 09:24

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

REQUEST_CHANGES. The two-path README split is sound, and the query, bootstrap, and CLI claims match packages/core. Two defects should land before merge.

Must fix

  1. packages/proof/README.md names the edge derive_from. The writer, planner, and glossary use derives_from. An agent that copies the README field will fail the write.
  2. This rewrite dropped #quickstart-posts-authors-and-tags and #choosing-a-read-interface. Those fragments are still linked from CONTRIBUTING.md, docs/positioning.md, packages/codegen/README.md, examples/nextjs/README.md, and the content READMEs. Restore HTML anchors, or retarget those links to Path 2 / the Next.js example in this PR.

Also fix

  • docs/query-reference.md says an.array[] maps over every element. query-executor test 15 and fieldOverrides tests show resolve gets the whole raw array. Say that.

Held / not blocking

  • No Proof journal in this PR. The README itself plus dec-lead-flatbread-1-0-with-effort-graph-agent-memor already carry the two-path reason. A new Decision fails unique-signal (same bar as #260 / #261).
  • Sample pins v1.1.0 / flatbread@1.1.0 match packages/proof/skills/proof/release.json. Keep the samples; the prose already points at the manifest.
  • After rebase onto main (#265), add docs/comparison.md to the “Find the next detail” table. Do not link it on this branch: the file is not here.
  • Path 1 bootstrap is duplicated with the Proof README. Collapse the main README path to a short pitch plus a link if you want less drift later.
  • The query reference is GraphQL-only. The prototype TypeScript read API is all() / find() and does not take filter / sortBy / skip / limit. Say so when you point codegen readers at that page.

Prior notes closed: none. First review of this PR. No open threads.

Domain verdicts

  • architecture: REQUEST_CHANGES (inbound heading IDs; comparison row after rebase)
  • quality: REQUEST_CHANGES (same inbound IDs; duplicated Path 1 bootstrap)
  • proof-journal: APPROVE (no new record required)
  • correctness: REQUEST_CHANGES (derive_from; an.array[])

Models: architecture, proof-journal, and correctness inherit latest Cursor Grok. Quality is composer-2.5. Oven missing; Task fallback. Judge: /tmp/review-judge-final.md.

Open in Web View Automation 

Sent by Cursor Automation: Flatbread PR Review

Comment thread packages/proof/README.md
| **Blob** | Attached content such as a document, JSON payload, or image |

Typed relations preserve the reasoning between records. A Decision can
`derive_from` the Findings, Constraints, and Issues it responds to. A Finding

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not a valid Proof edge. The writer, planner, and glossary use derives_from. An agent that copies derive_from into flatbread proof write will fail validation.

Rename this to derives_from.

authors by id, and Flatbread resolves them. You get versioned, reviewable
content and joins over files without a CMS database. Start with the
[Quickstart](#quickstart-posts-authors-and-tags).
## Path 2: relational content for apps

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Path 2 replaces the old #quickstart-posts-authors-and-tags and #choosing-a-read-interface sections, but those heading IDs are gone. These links now 404:

  • CONTRIBUTING.md (GitHub blob #quickstart-posts-authors-and-tags)
  • docs/positioning.md
  • packages/codegen/README.md (both fragments)
  • examples/nextjs/README.md (five links)
  • examples/content/README.md, examples/nextjs/content/README.md, examples/sveltekit/content/README.md

Either add HTML anchors (<a id="quickstart-posts-authors-and-tags"> and choosing-a-read-interface) on this path, or retarget those files to Path 2 / the Next.js example in this PR.

Comment thread docs/query-reference.md
| Pattern | Meaning |
| ----------------------- | ------------------------------------------------------ |
| `nested.object` | A field inside a nested object |
| `an.array[]` | Map over every element of an array field |

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

an.array[] does not map resolve over each element. getFieldOverrides strips a trailing [] and passes the whole raw array (packages/core/src/utils/tests/fieldOverrides.test.ts, query-executor test 15: “resolves trailing-array overrides against the whole raw array”). The Next.js OverrideTest resolver also calls .map on that array itself.

Say “resolve receives the raw array”. The per-element case is an.array[]with.object.

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.

2 participants