oficina / mapa Public

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.

  1. Every Notion-hosted file was refused (all 144 at the virtual-hosted prod-files-secure.s3.us-west-2.amazonaws.com bucket). Re-pinned to notion main 169302d, 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.
  2. last_edited_time is rounded to the minute. - Pages were already decided on the rendered title and body (§13.2); Survey reads every page, no shortcut. TestI2AnEditInTheSameMinuteIsPickedUp holds 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_images now 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