Todo sync'd pages should still have transcription #88

Merged
jfro merged 1 commit from fix-81-todo-transcription into main 2026-11-13 12:49:23 +00:00
Owner

What changed

A todo-synced page's tasks (including the lines rM-Analyzer wrote, which the transcription leaves out) now reach read_pages in the chat and MCP, and the chat's current-page context, as a checklist with the project name; red-then-green tests C6, precommit C7, docs/mcp.md updated.

Red, then green

  • read_pages (chat and MCP) and the chat's current-page context now include a todo-synced page's tasks, including the lines rM-Analyzer wrote that the transcription leaves out; deleted and not-yet-written tasks and unmapped pages are excluded.: bash -c 'eval "$(mise activate bash --shims)"; MIX_ENV=test mix test test/rm_analyzer/chat/notes_test.exs test/rm_analyzer/chat/prompt_test.exs'
    • fails on the base (60213ac): exit 1
    • passes on the branch (615ded7): exit 0

Checks

  • mix precommit passes on the #81 branch. (Upper Wolfjaw): bash -o pipefail -c 'eval "$(mise activate bash --shims)"; mix precommit 2>&1 | tail -3', exit 0
  • Read the diff against main, checked the schema enum/field names in the new query, confirmed other PageText.texts callers are unaffected, and ran the full suite (1363 pass); untested: live browser/MCP session and CI (branch unpushed). (Prover): bash -o pipefail -c 'eval "$(mise activate bash --shims)"; MIX_ENV=test mix test test/rm_analyzer/chat/notes_test.exs test/rm_analyzer/chat/prompt_test.exs', exit 0

Risks

search_notes still matches only transcription and printed text, so a synced task's words aren't searchable (read_pages shows them). Handwritten tasks appear twice on a page (in the transcription and in the task list). Checkbox shows the app state (done), not the page's own tick. Branch is local only (fix-81-todo-transcription @ 615ded7); needs pushing and a PR before CI runs.

Prover

Passed (Sonnet): Read the diff against main, checked the schema enum/field names in the new query, confirmed other PageText.texts callers are unaffected, and ran the full suite (1363 pass); untested: live browser/MCP session and CI (branch unpushed).

Every command above was run by Fortysix's Basecamp itself, on the branch named.

## What changed A todo-synced page's tasks (including the lines rM-Analyzer wrote, which the transcription leaves out) now reach read_pages in the chat and MCP, and the chat's current-page context, as a checklist with the project name; red-then-green tests C6, precommit C7, docs/mcp.md updated. ## Red, then green - read_pages (chat and MCP) and the chat's current-page context now include a todo-synced page's tasks, including the lines rM-Analyzer wrote that the transcription leaves out; deleted and not-yet-written tasks and unmapped pages are excluded.: `bash -c 'eval "$(mise activate bash --shims)"; MIX_ENV=test mix test test/rm_analyzer/chat/notes_test.exs test/rm_analyzer/chat/prompt_test.exs'` - fails on the base (60213ac): exit 1 - passes on the branch (615ded7): exit 0 ## Checks - mix precommit passes on the #81 branch. (Upper Wolfjaw): `bash -o pipefail -c 'eval "$(mise activate bash --shims)"; mix precommit 2>&1 | tail -3'`, exit 0 - Read the diff against main, checked the schema enum/field names in the new query, confirmed other PageText.texts callers are unaffected, and ran the full suite (1363 pass); untested: live browser/MCP session and CI (branch unpushed). (Prover): `bash -o pipefail -c 'eval "$(mise activate bash --shims)"; MIX_ENV=test mix test test/rm_analyzer/chat/notes_test.exs test/rm_analyzer/chat/prompt_test.exs'`, exit 0 ## Risks search_notes still matches only transcription and printed text, so a synced task's words aren't searchable (read_pages shows them). Handwritten tasks appear twice on a page (in the transcription and in the task list). Checkbox shows the app state (done), not the page's own tick. Branch is local only (fix-81-todo-transcription @ 615ded7); needs pushing and a PR before CI runs. ## Prover Passed (Sonnet): Read the diff against main, checked the schema enum/field names in the new query, confirmed other PageText.texts callers are unaffected, and ran the full suite (1363 pass); untested: live browser/MCP session and CI (branch unpushed). Every command above was run by Fortysix's Basecamp itself, on the branch named.
jfro added this to the v1.6.1 milestone 2026-11-13 03:08:35 +00:00
feat(chat): a todo-synced page's tasks reach the chat and MCP
All checks were successful
CI / test (pull_request) Successful in 2m17s
615ded751b
Todo sync writes its lines in our own layer and OCR leaves that layer out,
so a synced page's transcription had only his handwriting: the chat and
MCP read_pages never saw the synced tasks. PageText gives a mapped page's
tasks as a checklist (deleted ones and ones not on the page yet left out),
shown by read_pages and the chat's page context.

Closes #81
jfro merged commit 193a4990c2 into main 2026-11-13 12:49:23 +00:00
jfro deleted branch fix-81-todo-transcription 2026-11-13 12:49:24 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
jfro/rm-analyzer!88
No description provided.