Skip to content

test(id): first app PoC — sticky notes + did-it tracker (#3790) - #12707

Merged
dezren39 merged 4 commits into
mainfrom
felix/2056-first-app-poc
Nov 22, 2026
Merged

dezren39 merged 4 commits into
mainfrom
felix/2056-first-app-poc

Conversation

@dezren39

@dezren39 dezren39 commented Nov 22, 2026 •

Copy link
Copy Markdown
Member

What

The #3790 PoC — Phase 3 of #2031, under epic #2056: the first ID app (sticky notes fused with the did-it tracker) composed from the library slices that landed independently, as one Rust integration test plus the example README.

How it composes what already landed

Evidence (laptop venue, under fleet-build-lock)

  • Fail-before, pristine origin/main (dee25f7): cargo test --test first_app_poc → error: no test target named 'first_app_poc'.
  • Pass-after, this head (718bb0f): cargo test --test first_app_poc → 1 passed; 0 failed. The test asserts: replica convergence (documents + tag claims identical); notes view (2 logical notes; B's revision is note-1's head; C's note present — the writer set filters the did-it view, not the timeline); did-it view (3 records listed, exactly C's uncounted, with author); counted verdict for the live window = 2 of 3 walks, Due; control verdict over all records = 3 of 3, Satisfied (the exclusion is what held the view at two); C's record body retrieved byte-exact from A's store after a restart.
  • Neighbours at the same head: didit lib tests 30/30, documents 19/19, writer_set_projection 4/4. New test file is rustfmt-clean.

Scope

PoC only. It does not build the permanent feature, and the #2031 review round (schema, trust behaviour, the design's open privacy questions for Drew) remains the gate before any product work. This PR references #3790; it does not close #2031, whose tracker closes when the review round is recorded.


Proof this PR
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

felix added 4 commits November 22, 2026 23:00
…t store (#3790)

Phase 3 of #2031, under epic #2056. Composes the landed slices —
documents + tag claims, didit schema/evaluator (#3788), writer-set
projection (#3789), generic body persistence (#4837) — into the
#2031 acceptance scenario: A and B exchange notes and did-it events
in one shared group timeline; A's counted view excludes C's record
while C's claim stays stored, listed with its author, and retrievable
byte-exact after a restart. A control evaluation over all records
shows the exclusion is what holds the verdict at 2 of 3 walks.

PoC only: no permanent feature is built on this without the #2031
review round. The executable artifact is the integration test; the
example README lives at pkgs/id/examples/first-app-poc/README.md.
@dezren39
dezren39 requested a review from a team as a code owner November 22, 2026 23:14
@coderabbitai

coderabbitai Bot commented Nov 22, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 22 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 04ad3a13-dc94-4c07-be41-afad82e82405
Commits

Reviewing files that changed from the base of the PR and between 7817b4e and 718bb0f.

Files selected for processing: 2

  • pkgs/id/examples/first-app-poc/README.md
  • pkgs/id/tests/first_app_poc.rs
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 22, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-22T23:17:13.550295Z 718bb0f PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@dezren39
dezren39 merged commit 1402855 into main Nov 22, 2026
2 checks passed
@dezren39
dezren39 deleted the felix/2056-first-app-poc branch November 22, 2026 23:15

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 718bb0fb1b

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +232 to +234
heads.insert(
note_id.clone(),
NoteHead {

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Preserve all concurrent heads for each logical note

When two revisions share a note.id and both supersede the same earlier revision, both survive the superseded filter, but this insertion overwrites one with the other. Since documents() returns records sorted by event ID, the view silently selects the larger-hash revision instead of exposing the conflict. This contradicts the README's concurrent-head guarantee and the explicit requirement in doc/2026-11-01_design_id2031.md. Store multiple heads per logical note and include a concurrent-edit case so the PoC demonstrates that revisions remain visible.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

id: design+PoC: sticky-notes / did-it tracker — the first ID app

1 participant