Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ Goal: invites and links that work, pull, fork recovery, and the CLI that exposes

**Phase 8** (each becomes a phase document when it starts):

- P8.1 Time and witnesses (task 09, deferred).
- P8.1 Time and witnesses (task 09): not reopened. Owner ruling 2026-11-03 on issue #802 made causal-validity-only the permanent Phase 8 scope; time/witness features are not part of Phase 8 (ruling: https://github.com/developing-today/code/issues/802#issuecomment-6599887845).
- P8.2 Retention and pruning (task 10, item 1). Needed before large groups run for a long time.
- P8.3 Multi-device (task 10, item 2).
- P8.4 Views: explorer and web (task 10, item 7).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@
- `p8-views`: P8.4 views (directory explorer lines in shared grammar).
- P8.5 cross-world rules: reconciled with delegation (checked against P2.7 `src/groups/worlds.rs`).
- Explicitly skipped/deferred:
- P8.1 time and witnesses (task 09, deferred; causal validity only).
- P8.1 time and witnesses (task 09): not reopened. Owner ruling 2026-11-03 on issue #802 made causal-validity-only the permanent Phase 8 scope; time/witness features are not part of Phase 8.
- P8.7 BeeKEM (owner confirmed: skip).
- P8.8 clippy/lint sweeps (review later; do nothing now).

## Steps

| Step | Track | Status | Commits | Tests | Notes |
| ---- | ----------- | -------- | ------------------ | -------------------------------------------------- | ------------------------------------------------------------------ |
| P8.1 | - | deferred | | | causal validity only (task 09) |
| P8.1 | - | not reopened | | | causal validity only is the permanent Phase 8 scope (task 09) |
| P8.2 | pruning | done | 678e9e63, a3c82d7c | retention_pruning: 4; event_store: 92 | retention behind causal-cut snapshot |
| P8.3 | multidevice | done | 862639b4, 76f5084d | multidevice: 6 (22 red compile errors before feat) | device chains & account delegations; cascade revocation & counting |
| P8.4 | views | done | 1d8321f1, babadcb4 | views_explorer: 6; directory_view: 21 | directory explorer waiting, voided, frozen sections |
Expand Down Expand Up @@ -71,3 +71,9 @@
- Save acceptance requires tests for applied signed record metadata, filename claim, blob retrieval, distinct repeated revisions, and an error response rather than success when publication fails.
- The web state opens `LocalEvents` under the identity database's sibling `events` directory, signing with the node key already supplied to `AppState::new`. `/api/save` stores the blob, then publishes a `document.put` and its `filename` claim before updating the legacy filename tag. A publication failure returns an error; the new blob may remain unreferenced, but is never reported as a successful save.
- Red, then green: before implementation, the two web route tests failed because saves returned no `document_id` and an unpublishable filename still got a 200. After implementation, both pass. `local_events::tests`: 2 passed; `tests/documents.rs`: 5 passed. Web TypeScript typecheck passes, and Vitest reports 343 passed, 9 skipped.

## 2026-11-03 Note: P8.1 permanent scope boundary (owner ruling)

- Owner ruling 2026-11-03 on issue #802 ([ruling](https://github.com/developing-today/code/issues/802#issuecomment-6599887845)): option B — causal-validity-only is the permanent Phase 8 scope, and P8.1 time and witnesses is not reopened.
- This supersedes the 2026-10-28 option A direction under which issue #1825 (witness protocol design) and issue #1827 (witness timekeeping proof of concept) were created; both are closed as superseded, with no time/witness behavior implemented.
- "Deferred" in earlier entries above and in the phased plan meant awaiting this ruling; as of 2026-11-03 the boundary is permanent for Phase 8, not a deferral.