Skip to content

Rework docs - #265

Merged
tonyketcham merged 7 commits into
mainfrom
toeknee/trim-internal-docs-22c0
Aug 23, 2026
Merged

Rework docs#265
tonyketcham merged 7 commits into
mainfrom
toeknee/trim-internal-docs-22c0

Conversation

@tonyketcham

@tonyketcham tonyketcham commented Aug 23, 2026

Copy link
Copy Markdown
Collaborator

What changed

  1. Trim — deleted internal-only docs.
  2. Rewrite — renamed pmf-decision-rubric.mdcomparison.md; rewrote internal-staff language for end-users.
  3. Fix refs — repaired every dangling link repo-wide.

What's gone

What's kept (6 end-user docs)

File For
glossary.md collections, records, refs, relations, IDs, validation
positioning.md what Flatbread is and isn't; Proof + relational-content use cases
comparison.md Flatbread vs SQL DBs, hosted CMSs, build tools, note tools
data-ownership.md what you own + exit paths (raw files, Git, JSON/CSV, GraphQL, types)
json-export.md exportCollectionsAsJson / exportCollectionsAsCsv API
local-dev-loop.md flatbread start --watch behavior, reload matrix, limits

Language rewritten (staff → user)

  • comparison.md: the "What to emphasize" sales-enablement table ("If someone is comparing Flatbread with… Explain that Flatbread offers…") → "When to choose Flatbread" ("If you are coming from… Flatbread gives you…").
  • glossary.md: dropped roadmap notes ("future ID work should…", "Near-term validation work should…", "Any future generated TypeScript reader…"); states current validation behavior.
  • data-ownership.md: "portability story starts with a simple constraint" → "portability rests on one constraint"; "relational integrity work" → "validated content graph"; dropped the "prototype" hedge.
  • json-export.md: dropped "A future option may…" and "do not yet have a stable flat representation".
  • local-dev-loop.md: "prototype read API" → "read API".

Dangling refs fixed

  • flatbread-flow-pmf-audit.md → rubric link now ./docs/comparison.md.
  • flatbread-search-and-memory-research.md → removed broken links to deleted docs/research/performant-context-search/README.md; reworded (dossiers were never checked in).
  • .flatbread-proof/findings/fnd-pmf-rubric-understates… → citation path pmf-decision-rubric.mdcomparison.md. Path-only fix; claim unchanged. Flagging because Proof records normally use typed mutations — there is no rename-citation mutation, so I edited the file directly.
  • examples/nextjs/README.md → "Full walkthrough" link to the deleted demo doc replaced with the existing demo:restore instruction.

Why

Many docs were written for internal use before Proof shipped. End-users reading docs/ hit benchmarks, issue drafts, and sales-enablement language. This keeps only what helps a user install, understand, and decide.

How to review

Fast path: skim the diffstat (mostly deletions), then read docs/comparison.md and docs/glossary.md in full — those carry the substantive rewrites. The other four kept docs only had a line or two changed each.

Verification

  • pnpm lint:fix:fast clean; pretty-quick --staged passed each commit.
  • Repo-wide grep for every deleted/renamed path and filename: no matches.
  • All kept-doc internal links + external README links resolve to existing files.

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

  • I added doc comments to any new public exports, and inline comments to any hard-to-understand areas — N/A, docs-only PR; no new public exports.
  • My changes generate no new console errors locally — N/A, docs-only.
  • If applicable, try to include a test that fails without this PR but passes with it — N/A, no behavior change to test.

Does this introduce any non-backwards compatible changes?

  • Yes
  • No — docs and one README edit only; no code or config touched.

Does this include any user config changes?

  • Yes
  • No

cursoragent and others added 3 commits August 23, 2026 08:34
Delete docs written for internal use before Proof shipped:
- docs/edit-file-see-query-update-demo.md: issue #158 repro harness
- docs/experiments/: starter benchmarks, issue drafts, DAG fixtures
- docs/research/: internal research methodology

Keep the six end-user docs (glossary, positioning, pmf-decision-rubric,
data-ownership, json-export, local-dev-loop). Fix the one inbound link in
examples/nextjs/README.md that pointed at the removed demo walkthrough.

Change-Id: Ia4a82d15c61a4f142b542840f048e3f6912e6f35

Co-authored-by: Erika Ruth Witt <erikawitt@users.noreply.github.com>
Rename docs/pmf-decision-rubric.md to docs/comparison.md so the filename
matches its user-facing title.

Rewrite language that read as internal marketing or roadmap notes:

- comparison.md: replace the 'What to emphasize' sales-enablement table
  ('If someone is comparing Flatbread with... Explain that Flatbread
  offers...') with a user-facing 'When to choose Flatbread' table that
  addresses the reader directly. Tighten the intro.
- glossary.md: drop internal roadmap notes ('future ID work should...',
  'Near-term validation work should...', 'Any future generated TypeScript
  reader...'). State current validation behavior. Update the See-also
  link to comparison.md.
- positioning.md: update the comparison link to comparison.md.
- data-ownership.md: replace 'portability story starts with a simple
  constraint' with 'portability rests on one constraint'; replace
  'relational integrity work' with 'validated content graph'; drop the
  'prototype' hedge on the generated read API.
- json-export.md: drop 'A future option may strip _path / _filename...'
  and 'do not yet have a stable flat representation' roadmap language.
- local-dev-loop.md: drop the 'prototype' hedge on the generated read API.

Change-Id: I2eecee9e8e93617862d609359558b773901dc544

Co-authored-by: Erika Ruth Witt <erikawitt@users.noreply.github.com>
After trimming internal docs and renaming pmf-decision-rubric.md to
comparison.md, three tracked files still pointed at the old paths:

- flatbread-flow-pmf-audit.md: update rubric link to ./docs/comparison.md.
- flatbread-search-and-memory-research.md: drop the broken link to the
  deleted docs/research/performant-context-search/README.md (methodology
  dossiers were never checked in; reword to state that).
- .flatbread-proof/findings/fnd-pmf-rubric-understates...: update the
  evidence citation path from docs/pmf-decision-rubric.md to
  docs/comparison.md so the citation resolves. Claim substance unchanged.

Verified no remaining repo-wide references to edit-file-see-query-update-demo,
docs/experiments, docs/research, pmf-decision-rubric, performant-context-search,
or any individual deleted experiment file. All kept docs internal links and
external README links resolve to existing files.

Change-Id: I6e4e61f4463c90436b91502b5af634942aabc025

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

cursoragent and others added 2 commits August 23, 2026 08:47
Move the four root-level internal research/playbook dossiers out of the
repo front door into internal/:

- flatbread-flow-pmf-audit.md (PMF audit)
- flatbread-search-and-memory-research.md (search/memory research)
- flatbread-agent-artifact-opportunity.md (agent-artifact opportunity)
- flatbread-flow-agentic-workflows.md (agentic workflows playbook)

These are internal strategy dossiers the agent harness uses as living
alignment references, not end-user docs. The root now holds only user-facing
files (README, AGENTS, CONTRIBUTING, CHANGELOG). Moving all four together
keeps their mutual cross-links intact (intra-directory bare links still
resolve).

Add internal/README.md marking the directory as internal, not end-user
docs, and pointing end-users back to docs/ and the root README.

Fix the two .cursor/ config references that point at these files:
- .cursor/agents/flatbread-architecture-planner.md
- .cursor/skills/flatbread-major-migration/SKILL.md

No end-user-facing file referenced the dossiers, so no other fixes needed.

Change-Id: I6d68fa292030f38cff948a3b46a3604069311010

Co-authored-by: Erika Ruth Witt <erikawitt@users.noreply.github.com>
The agent harness should not anchor to the PMF audit: it self-declares as
a May 2026 stale snapshot ('background research, not current setup
instructions'). The search-and-memory and agent-artifact dossiers are
one-time research with no live agent-harness wiring. Only the
agentic-workflows playbook is current and referenced by the harness
(architecture-planner alignment + major-migration DAG topology).

- Delete internal/flatbread-flow-pmf-audit.md
- Delete internal/flatbread-search-and-memory-research.md
- Delete internal/flatbread-agent-artifact-opportunity.md
- .cursor/agents/flatbread-architecture-planner.md: drop the stale
  PMF-audit anchor; keep the playbook reference.
- internal/flatbread-flow-agentic-workflows.md: reword line 3 to not
  name the deleted PMF audit file.
- internal/README.md: list only the playbook.

This also clears the ~13 root-relative markdown links my prior move had
broken inside the three deleted dossiers. The playbook has no broken
markdown links (its package references are code spans, not links).

Change-Id: I348fff27ee55e1e35ea1530534a1e79f3dfea16a

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

@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.

Stale comment

Verdict

REQUEST_CHANGES — the path-only Proof finding now states false facts about docs/comparison.md.

Prior notes

None. This PR had no earlier automation threads.

Domain verdicts

  • Architecture: COMMENT
  • Quality: COMMENT
  • Proof journal: REQUEST_CHANGES
  • Correctness: COMMENT (same HIGH on the stale finding)

What is fine

  • docs/ is now six end-user pages. GraphQL stays one read interface.
  • Deleted paths have no remaining live refs.
  • Glossary ID/validation, export, and watch claims match packages/core (ids.ts, validate.ts, export JSON, watch coordinator).
  • No new Decision is required for the docs/ vs internal/ split. internal/README.md already states it, so unique signal fails.
  • Path retarget of the finding is allowed. There is no rename-citation mutation.

Required

Close fnd-pmf-rubric-understates-shipped-validation-and-wa--p04gd8xfknwvz2pe. This PR already did the refresh the Implication asked for: docs/comparison.md rates local development Medium–Strong with flatbread start --watch, and configured refs Strong with pre-schema checks. The finding still says the opposite.

Write a Finding on eff-relational-content-foundation--8a8332x4cazgf2k0 that the comparison page now matches shipped watch and validation, then Supersede this record. Use Invalidate only if you treat the current sentences as wrong rather than obsolete.

Held

  • Root and packages/flatbread READMEs still omit docs/comparison.md (those files are not in this diff).
  • examples/nextjs/README.md still calls the generated read API a prototype (those lines are not in the hunk).
  • internal/flatbread-flow-agentic-workflows.md still opens as a PMF-audit execution workflow after that dossier was deleted.

Models

  • Architecture, proof, correctness: inherit (latest Cursor Grok)
  • Quality: composer-2.5
  • Oven missing; Task fallback
Open in Web View Automation 

Sent by Cursor Automation: Flatbread PR Review

@tonyketcham
tonyketcham enabled auto-merge August 23, 2026 09:02
cursoragent and others added 2 commits August 23, 2026 09:06
Write a Finding that the comparison page now matches shipped watch
and configured-ref validation, then supersede the old rubric claim.

Addresses review on #265.

Change-Id: Ide3d5bd592a8fe51c109503fb3ef38131b592b44

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

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

@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.

Verdict

APPROVE — the stale comparison Finding is superseded. Kept docs match shipped watch and validation.

Prior notes

Closed the earlier request on fnd-pmf-rubric-understates-shipped-validation-and-wa--p04gd8xfknwvz2pe. New Finding fnd-comparison-page-now-matches-shipped-watch-and-va--bkat8y0abty4pvcz supersedes it on eff-relational-content-foundation--8a8332x4cazgf2k0. The old body stays as history. That is the right edge.

Domain verdicts

  • Architecture: APPROVE
  • Quality: COMMENT (wording only; no blocker)
  • Proof journal: APPROVE
  • Correctness: APPROVE

What is fine

  • docs/ is six end-user pages. GraphQL stays one read interface.
  • Deleted paths have no remaining live refs. The playbook no longer cites flatbread-flow-pmf-audit.md.
  • Glossary ID/validation, export, and watch claims match packages/core (ids.ts, validate.ts, export JSON, watch coordinator) and flatbread start --watch.
  • The new Finding scores 4/4. Typed WriteFinding + Supersede; back-edge is materialized. No extra Decision is needed for the docs/ vs internal/ split.

Optional

  • examples/nextjs/README.md now says “Restore the files after with pnpm run demo:restore.” Prefer “Afterward, restore the files with…”.
  • internal/README.md calls the playbook schema-migration guidance; the playbook also covers docs, CLI, and release gates.

Held

  • Root and packages/flatbread READMEs still omit docs/comparison.md (those files are not in this diff).
  • examples/nextjs/README.md still calls the generated read API a prototype (those lines are not in the hunk).
  • The playbook opening still says “the PMF audit.” The file link is gone, and dag-flatbread-flow-pmf-audit.json still exists.

Models

  • Architecture, proof, correctness: inherit (latest Cursor Grok)
  • Quality: composer-2.5
  • Oven missing; Task fallback
Open in Web View Automation 

Sent by Cursor Automation: Flatbread PR Review

@tonyketcham
tonyketcham merged commit b28dd3d into main Aug 23, 2026
21 checks passed
@tonyketcham
tonyketcham deleted the toeknee/trim-internal-docs-22c0 branch August 23, 2026 09:13
@cursor cursor Bot mentioned this pull request Aug 23, 2026
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