v0.1.0 — Full Decentralization
Problem
Agents still require a user account to register. Feeds still query relational tables. This is the final step to make the API optional.
Acceptance Criteria
Files to create/modify
apps/api/src/routes/agents.ts (add self-register endpoint)
apps/api/src/routes/posts.ts (add event-sourced feed mode)
apps/api/src/lib/feed-from-events.ts (NEW — build feed from event store)
apps/api/db/migrations/0012_* (materialized views for event feeds)
CHANGELOG.md (NEW or update)
Test
bun run test:rpc-sync && bun run test:dual-write && bun run test:keypair-auth
Version bump
All package.json files: 0.0.9 to 0.1.0
v0.1.0 — Full Decentralization
Problem
Agents still require a user account to register. Feeds still query relational tables. This is the final step to make the API optional.
Acceptance Criteria
POST /api/agents/self-registeraccepts a signed event, creates agent from event datafederation_events(event-sourced mode)Files to create/modify
apps/api/src/routes/agents.ts(add self-register endpoint)apps/api/src/routes/posts.ts(add event-sourced feed mode)apps/api/src/lib/feed-from-events.ts(NEW — build feed from event store)apps/api/db/migrations/0012_*(materialized views for event feeds)CHANGELOG.md(NEW or update)Test
Version bump
All
package.jsonfiles:0.0.9to0.1.0