|
Some checks failed
CI / Lint, typecheck, test (pull_request) Successful in 6m12s
CI / Build container images (pull_request) Successful in 3m4s
CI / Auth e2e pack (pull_request) Successful in 8m35s
CI / Import/export fidelity gate (pull_request) Successful in 1m2s
CI / Import/export fidelity gate (push) Blocked by required conditions
CD / Build and push images (push) Successful in 29s
CD / Deploy to Test (push) Successful in 12s
CD / Smoke tests against Test (push) Successful in 1m35s
CD / Promote to Int (push) Successful in 12s
CI / Lint, typecheck, test (push) Successful in 6m10s
CI / Build container images (push) Has been skipped
CI / Auth e2e pack (push) Has been cancelled
Every upload stores the SHA-256 of its bytes, computed from the in-memory buffer that is written — never by re-reading disk. Every download re-hashes the stored object BEFORE the first byte leaves (memory bounded by the max_file_bytes quota that gated the upload) and fails closed on mismatch with attachment_integrity_failure; the mismatch lands in the audit trail as file.integrity_failed with both hashes. Detection of payload manipulation is the one integrity duty par. 52 VSA leaves with the application — only it knows what the file should be. Pre-#199 rows are hashed by a bounded, idempotent backfill that rides the existing nightly orphan-file-sweep job (no new scheduler job, job fence untouched); unreadable files are logged and retried, never silently skipped, and null-hash rows are served unverified only until the backfill reaches them. Operator runbook note in security.md (restore from backup, re-download, audit entry carries both hashes). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0168Ph5uBmHm8X28CSVpbpnJ |
||
|---|---|---|
| .. | ||
| 20260704171456_init | ||
| 20260704224132_auth_models | ||
| 20260705090100_ponds | ||
| 20260705185146_quotas | ||
| 20260705200714_pages | ||
| 20260708082627_attachments | ||
| 20260708101011_trash_and_jobs | ||
| 20260709060328_collab_open_sessions | ||
| 20260709062007_page_versions | ||
| 20260709062727_page_version_created_by | ||
| 20260709082418_labels | ||
| 20260709104519_page_links | ||
| 20260709111040_search_vector | ||
| 20260709115727_role_grants | ||
| 20260709140000_owner_admin_grants | ||
| 20260710035316_conversion_jobs | ||
| 20260710041215_import_pages_conversion | ||
| 20260710120000_data_export_expiry | ||
| 20260710130000_plugins | ||
| 20260711100000_setup_completed_backfill | ||
| 20260711180000_audit_log_and_job_duration | ||
| 20260711220000_comments | ||
| 20260711230000_watches | ||
| 20260712000000_notifications | ||
| 20260712010000_digest_frequency | ||
| 20260712020000_api_tokens | ||
| 20260714000000_page_hierarchy | ||
| 20260714120000_conversion_job_options | ||
| 20260716000000_page_favorites | ||
| 20260719223755_page_time_filter_indexes | ||
| 20260719224240_feed_tokens | ||
| 20260719232202_page_mentions | ||
| 20260730120000_drop_attachment_deleted_at | ||
| 20260730140000_clear_trashed_search_vectors | ||
| 20260730170000_prune_conversion_job_payloads | ||
| 20260731090000_attachment_sha256 | ||
| migration_lock.toml | ||