fix/real-workspace
Two fixes the first read-only run against Paul's real Notion workspace found, before he imports. Spec §12, §15, §19 (steps 4–5), §25 note 17.
- Every Notion-hosted file was refused (all 144 at the virtual-hosted
prod-files-secure.s3.us-west-2.amazonaws.combucket). Re-pinned to notion main169302d, which allows that host as its own pair.TestI14TheRealFileShapeIsDownloadedAndAttached: an image at the real shape (and one at the old path-style shape) passes production's pin and is downloaded and attached end to end. last_edited_timeis rounded to the minute. - Pages were already decided on the rendered title and body (§13.2); Survey reads every page, no shortcut.TestI2AnEditInTheSameMinuteIsPickedUpholds it (two same-minute edits, each picked up; the run after writes nothing), with a mutation adding the edit-time shortcut. - Images were not: reuse and copies compared the block's edit time.notion_imagesnow keeps the file's key (notion.FileKey: host + path, which hold the file id, signature dropped), taken from the file actually downloaded; reuse, copies and permanent refusals compare it. Unchanged images are still not re-downloaded (I2; the fake now re-signs URLs on every read, so a key that kept the signature fails). Gates:TestI14AnImageReplacedInTheSameMinuteIsFetched,TestI14AChangedSharedImageIsFetchedOnce,TestI14AFileReplacedMidRunIsKeyedAsDownloaded, the refusal test, each with mutations.
User mentions: the importer writes @Name from Notion's user object when present (I1's @Ana end to end, notionmd's mentions-other); @Anonymous was the missing "user information" capability.
Gates: make ci, make browser, make mutate (136/136) green. Fable: CHANGES REQUIRED (M1 fake signing), answered; recheck APPROVED.
Human
Import images at Notion's real file host; decide image reuse by file key, not minute-rounded edit times
Commits
4
Discussions
0
0 open
Tasks
0/0
done
Discussions
- No discussions on this branch yet.
Tasks
- No tasks yet.
Activity
- paul@keymail.dev pushed 0d15bbf Pin the notion module at main 169302d, where the real-workspace fixes landed
- paul@keymail.dev pushed 2703b8b make mutate: R3L7's lease checks follow addImage's new return; the signed-URL key is I14's
- paul@keymail.dev pushed 74e1441 Import: answer Fable's review of the real-workspace fixes
- paul@keymail.dev pushed 8ba8887 Import: images keyed by their file, not the minute-rounded edit time; the real file host