Files
rclone/docs/plans
Lucas WintherandClaude Opus 5.5 27d06dca19 protondrive: add drive state to the fake server
Every fake user now has a real, correctly encrypted drive: a volume, a
main share and a root folder, built as the SDK's
generateVolumeBootstrap does. Seeding helpers create folders, files in
the current format (v6 PKESK content key, SEIPDv2 GCM blocks, encrypted
block signatures, signed manifest, extended attributes), legacy files
(v3 PKESK, SEIPDv1) and Proton Docs nodes; Corrupt damages them as a
hostile server would and Dump decrypts and verifies the whole tree.

The read routes (my-files, volume, share, link metadata, children,
revision) answer with the field names of the SDK's driveTypes.ts, and
block bytes are served from the same server behind pm-storage-token.

AddUserWithoutDrive models a brand-new account, whose my-files answers
HTTP 422 code 2501, and POST /drive/volumes creates its volume after
checking the key material decrypts with the address key.

protontest/crypto.go is written from the SDK independently of the
backend's crypto.go. Interface additions are recorded in the plan.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 12:14:13 +01:00
..

Plans

Fork-only. Implementation plans from the superpowers writing-plans workflow. Transient: a plan lives only on its feature branch and is removed with git rm before the merge request is opened. This README stays.

  • Naming: NNN-short-slug.md, matching its spec number.
  • Links back to its spec. Bite-sized checkbox tasks with exact file paths, test commands, and commit checkpoints.
  • Written for an engineer with zero context for this codebase - spell out the obvious.
  • Tick checkboxes as you go so another agent can resume an interrupted session.
  • Front matter: status: draft | approved | in-progress. There is no done - a finished plan is deleted.