Arkive

Synergy

As of
Version2.4.3
Kindplan
Length3,511 words, about 15 min
Tagsplanliving-planphase-3synergyrlspostgresqlapigraph

Synergy is Phase 3: how any entity in any module links to any other. Scope: the entity index and version log, links and relation types, staleness, lists, mentions and anchors, delete and restore, and tags, built in two parts (3a the store and its API, 3b resolving and rendering links).

Milestone: Synergy is live in packages/platform/synergy. Any entity can be linked to any other entity and tagged, links stay true when their targets change, and every module renders a link the same way. It is proven across a module boundary by two mock providers, before Taxila becomes the first real tenant.

Learning payoff: graph modelling in Postgres (recursive CTEs, composite foreign keys, partial unique indexes), concurrency (advisory locks, stale-write checks, race tests with two connections), an outbox, per-package migrations, layered packages enforced by lint, and contracts shared by server and browser.

The design is settled: the Synergy PRD and spec say what Synergy does, and the Synergy system design (1.3.0) and its decisions say how. This plan turns that design into lessons.

Phase 3 has two parts. 3a builds the store, its rules and its API. 3b resolves and renders links. Only 3a is planned in lessons now: what 3b needs depends on how 3a gets built, so Checkpoint 3a plans 3b (Pratik, 2026-11-01).

Two more pieces of work run inside Phase 3, from the One Repo PRD. Lesson 0 moves Arkive into the Sidekick repo before lesson 1, so Synergy is built and recorded in one repo. The site lessons S1 to S7 rebuild the public site and move it to ossidekick.com, between Checkpoint 3a and 3b (Pratik, 2026-11-05). Just before them, lesson M1 replaces Mantine with native ui primitives (Pratik, 2026-11-06), and the i18n lessons I1 and I2 replace @sidekick/copy with next-intl and make the App i18n-ready (Pratik, 2026-11-05). The site is temporary and stays English with no catalogs (D256).

Lessons (3a: the store and its API)

Lessons run one at a time, in this order, each in its own thread, on Pratik's Mac through Remote Control. A lesson starts only after the previous lesson's PRs merge. Each one ends at a check Pratik can run, and depends only on the lessons above it.

Lesson Brief What Pratik learns Status
0 One repo rewriting and merging history, one workspace lockfile, Turbo inputs, a Worker with static assets ✅
1 Layer folders and lint monorepo layers, git mv, ESLint boundaries policies
2 Per-package migrations Drizzle configs and migration tables, Turbo task ordering, a shared test database
3 Entity index and version log RLS without the tombstone filter, restore-aware triggers, advisory locks, stale-write checks
4 Sandbox providers and the first routes feature packages, deferrable foreign keys, ETags and 304, error codes to HTTP
5 Outbox, status and versions the outbox pattern, transaction ids and commit order, a read-only role
6 Links, relation types and cycles polymorphic references, recursive CTEs with CYCLE, idempotency keys, registries as data
7 Staleness dots and the roll-up snapshots, state derived on read, one query for a roll-up
8 Lists and supersede composite foreign keys, CHECK constraints, lexorank, confirm-then-act requests
9 Save call current sets vs. diffs, self-healing writes, Tiptap JSON
10 Save call anchors in content, passage protection, the anchor receipt
11 Delete and restore soft-delete batches, re-checking under a lock, restore_conflict
12 Tags aliases, merges, key:value checks, tagging a link
13 Race tests two-connection tests, measuring before optimising
✦ Checkpoint 3a proving a part on main, planning from what was built

To start a lesson, open a new thread and paste this, changing the lesson number:

Code
Coach me through Phase 3 lesson 1. Read AGENTS.md, the Phase 3 plan
(content/docs/04-phases/03-synergy/00-plan.md) and that lesson's
brief (the plan's Lessons table links each one) before we start.

How we build

Phase 3 follows Phase 2's how we build, in the style Pratik chose from Phase 2 lesson 4 on, and the agent guide's Working with Pratik:

  • Pratik writes the code. The coach gives exactly what to write for one small piece, then explains it below: what each part does, why, the concepts, the consequences and the alternatives rejected. No quiz questions. Design questions come as recommendations; Pratik decides. A brief's "good to write yourself" steps are ones worth designing before seeing the coach's version.
  • Explain backend mechanisms from first principles: the concept, then the problem as a practical story, then the fix, then ask to agree.
  • One piece at a time. Nothing lands in the repo until Pratik agrees to it. Pratik commits, pushes and opens the PR unless they ask otherwise.
  • Tests go through the guarded API wherever a route exists (testing layers). Whether a pure function also gets a unit test is Pratik's call in each lesson; the briefs point out the candidates.
  • The design can change. When Pratik's design wins in a lesson, the coach updates the Synergy overview (or the decision it touches) and bumps its version in the lesson's docs PR, so later lessons build on what was built.
  • Every lesson ends with one docs PR: a walkthrough at 04-phases/03-synergy/00-lessons/lesson-N-<slug>/01-walkthrough.md, a learnings note at 04-phases/03-synergy/00-lessons/lesson-N-<slug>/02-notes.md (publish: false) holding everything explained in the lesson, the lesson marked ✅ in the table above, and a "Handover from lesson N" section in the next brief. A fix that changes an earlier lesson's or phase's result adds a post note to that walkthrough. Verify with pnpm turbo run build --filter=@sidekick/www (Astro and both gates).

Exit criteria

From scope and phases. Integration tests through the public API only prove that:

Criterion Proven in
a link can carry a label and a type lesson 6
a version bump with a change note shows the red dot lesson 7
deprecate and supersede work lessons 5 and 8
deleting a referenced target is blocked lesson 11
reference cycles are rejected lessons 6 and 11
key:value tags work lesson 12
disabling a module makes its links locked lesson 6
another user's entities never leak every lesson with a table
search finds entities by title and metadata 3b

Checkpoint 3a re-proves the 3a rows on main. The phase closes with a close-out lesson at the end of 3b, like Phase 2's lesson 8.

Native UI lesson

After Checkpoint 3a and before I1 (Pratik, 2026-11-06), the App leaves Mantine for ui primitives on native HTML (Native UI, D255), and ui gets its token contract and Sidekick's theme (Design tokens, D254). It comes first so I1 rewrites copy on Sidekick's own components with no Mantine direction provider, and S1 reuses the tokens. About two days. The coach writes the ui components and Pratik reviews them; Pratik rewires the screens.

Lesson What gets built What Pratik learns Status
M1 Native UI: the token contract and themes/sidekick.css in ui with the contract check and a pre-paint dark-mode script; Button (primary, secondary), TextInput, PasswordInput and a link in ui; login, signup, the app shell and the dashboard on them, with plain markup for Text, Title, Paper, Stack and AppShell; the form pattern (a native form, zod with key messages, inline role="alert" errors) replacing useForm and notifications; @mantine/*, postcss-preset-mantine and sidekick/no-mantine-style-props deleted the platform's dialog, popover and form validation, a theme with no flash, one form pattern for every later form

M1's docs PR removes Mantine from every live doc it makes false: the agent guide (the depth list and the native-first rule), best practices, the tag taxonomy, Technology stack, CSS modules (the no-mantine-style-props line), Testing layers, Internationalization, the living plan and the Zinsser plan, and Sidekick's README. Finished plans, tasks and walkthroughs keep their historical text; the Front Door walkthrough gets a post note that Mantine was removed in M1. The same holds for every lesson: its docs PR updates each live doc the lesson makes false (Pratik, 2026-11-06).

i18n lessons

After Checkpoint 3a and before S1 (Pratik, 2026-11-05), Sidekick becomes i18n-ready as Internationalization (D240 to D248) describes: still English only, but a new language is new catalogs plus config. The App's screens from M1 are the first real user, then the Sneak Peek Link's words in 3b; lessons 1 to 13 have no UI, so nothing earlier needs it. The site stays out of it (D256). Each lesson gets a brief before it starts, written from what was built before it.

Lesson What gets built What Pratik learns Status
I1 Messages and formats: @sidekick/i18n (locale config with ar as a mock, named formats, AppConfig types, mergeCatalogs, the common catalog), next-intl in the App with the locale read in i18n/request.ts, today's copy rewritten as whole ICU sentences in apps/app/messages, @sidekick/copy deleted, lang and dir on <html>, the tz cookie and an explicit timeZone (D253), zod's customError and the common.validation messages (D252), and /dev/i18n showing English and Arabic side by side ICU messages, plurals and selects, Intl number, currency, date, relative-time and list formats, time zones, typed message keys, collecting catalogs like a registry
I2 Guard rails: no-literal-string in jsx-only mode, the i18n import ban in ui (D249), stylelint-use-logical, the sidekick/catalog-namespace rule on JSON, the catalog check script in Turbo, and any physical CSS properties left in the App made logical; the site is exempt (D256) ESLint rules over JSON with @eslint/json, cross-file checks, logical properties and right-to-left layout, the same catalogs in Astro with no client JS

I1's docs PR also points the docs that name packages/copy at the new home: the Synergy overview (D201), the spec's relation-type labels, the agent guide, best practices (D23), the harness notes, the architecture invariants and lesson 1's move list (if lesson 1 has run, its walkthrough gets a post note). It retires Centralized Copy (status: deprecated) and adds a post note to the Front Door walkthrough's Task 1.17.

Site lessons (the redesign)

After Checkpoint 3a and the i18n lessons, and before 3b (Pratik, 2026-11-05), the public site is rebuilt from the design handover and moves to ossidekick.com, as the One Repo PRD and the spec's One Repo section describe. Until then arkive.blog keeps the current design, served from Sidekick since Lesson 0. Each lesson gets a brief before it starts, written from what the previous one built, and each keeps the sitemap diff empty. The site is temporary (D256): global stylesheets, English with no catalogs, and the contracts of D257 kept.

Lesson What gets built What Pratik learns Status
S1 Tokens and chrome: the site on ui's theme from M1, the new stylesheet, header, footer and Menu, the cycling theme button with its pre-paint script, the one 58rem breakpoint, and the site's house rules rewritten custom properties and theming, dialog and popover, a theme with no flash
S2 Generated docs: the /docs/ index, folder listings with _index.md descriptions, breadcrumbs, the sidebar tree and the Contents view, /writings/, /docs/ and /tags/ as real pages getStaticPaths, building a tree once and rendering it recursively
S3 Entry pages: Writing and Doc layouts, the meta table, pagers, tag pages, the Writings index, the code figure with the monochrome Shiki theme and Copy rehype transforms, Shiki themes, progressive enhancement
S4 Plates: plates.mjs at build time, the motif map, the bands and the home hero seeded randomness, generating SVG at build time
S5 Home: the hero, the milestone tiles from the phase plans, the latest Writings and Docs, the Writings-only feed data from frontmatter, auto-fit grids, RSS
S6 Search: the build-time index and the dialog, / and Esc, and the new site script client-side search with a static index, a JS budget
S7 Cutover: the host PR, the moved-site notice, arkive.blog's redirect rules, www to the apex, app.ossidekick.com, the redirect check script DNS, 301 rules and canonical hosts, a move with no downtime

The sidekick:<name> components plugin and its map (D260) are built in whichever lesson first has an entry that needs one, not before.

Candidates from the planning handover, to be merged, split or reordered at the checkpoint. None has a brief yet.

  • One React: a pnpm catalog for react, react-dom and @types/react; apps/app uses catalog:; @sidekick/ui and @sidekick/synergy list React as a peer (decision). Check: pnpm why react resolves to one version.
  • Resolve and the React registry: resolve on LinkableTypeServer (batched per provider), LinkableTypeReact, the registry assembling both maps, POST /api/synergy/links/resolve, the resolved-link zod schema frozen in /contracts.
  • Sandbox renderers: resolve and render for the sandbox notes and tasks.
  • Sneak Peek Link: the /react component with pure render, plain link and words props, translateRefs, the App's client wrapper for the editor, and words from the providers' catalogs and the synergy catalog through message references (D250, D251), tested in Vitest browser mode with Testing Library and MSW.
  • Render cache and backlinks: cache keyed by (entity, content_seq, display type); backlinks list live links only.
  • Links by type across the graph: GET /api/synergy/links?type=, cursor-paged, with a (user_id, type) index, so one list shows every open violation from any module (decision).
  • Search: simple full-text plus pg_trgm on display names, btree_gin indexes leading with user_id, GET /api/synergy/search, and the test pinning spec story 71 (trigram word_similarity).
  • Playground and the RLS uuid fix: a playground page in apps/app behind the sandbox entitlements, built on the public API; Sidekick migrations 0002 and 0007 compare uuids directly instead of casting to text.
  • A test that no API response carries label text (keys, never copy), once the resolved link exists.

Decisions made while planning

Settled with Pratik on 2026-10-31 and 2026-11-01. Each can be revisited in its lesson.

  • The mock providers are feature packages, not ops. Nothing may import packages/ops, which holds the privileged postgres client, so neither apps/app nor the registry could use mocks there. They live in packages/features/_sandbox/notes and packages/features/_sandbox/tasks: the underscore marks them dev-only, and retiring them deletes one folder. Two packages, not one, because a single provider and entitlement can't prove that disabling a module locks its links: revoking it would hide the note too. Provider and feature keys are sandbox-notes and sandbox-tasks. This overrides the PRD and spec (provider ops, entitlement sandbox).
  • Routes in every lesson, not one API lesson at the end. Each lesson adds the routes for what it builds, and its tests go through them. Lesson 3 is the exception: entities are created through provider routes, which arrive in lesson 4, so lesson 3 tests the repository directly.
  • Lesson size. The handover's 10 candidates for 3a became 13 lessons: relationships split into links, staleness, and lists with supersede; the save call split into mentions and anchors; the API lesson spread over the others; the outbox moved up so each later lesson writes its own events.
  • The server half of the registry lands in 3a (lesson 6), because POST /links refuses locked and only a type's registration names its entitlement. addAnchor joins it in lesson 10; resolve and the React half are 3b.
  • One Phase 3, with Checkpoint 3a. 3b is part of Phase 3's exit criteria, not a new phase, because Phase 4 needs its renderers and a new phase would renumber Phases 4 to 12. 3b is planned at the checkpoint.
  • Delete models are chosen, not drifted into (Pratik, 2026-11-01). Lesson 3 revises row-level security and soft-delete support into explicit variants, with a guide for choosing among hard delete, soft delete with tombstones hidden (the default) and soft delete with tombstones visible. The guide lists every table and its model; each Drizzle schema file and each new migration names its model. Applied migrations are not edited.
  • Cloudflare builds arkive on Node 24. undici 8 (through Astro's unifont) needs Node 22.19 or later, and Pages built on 22.12. Cloudflare reads the version from the repo's .node-version (was 22, now 24), not from a dashboard setting; arkive's engines asks for >=22.19.0. Since lesson 0 the site is the Worker sidekick-www, built from the repo root with the root .nvmrc and engines 24.x (Hosting and domains).
  • violates and exception-to are in Phase 3 (Pratik, 2026-11-01). Dogfooding Synergy on Arkive found two gaps in the vocabulary: no directed violation and no exception. Both types are seeded in lesson 6. A violation has no status: unlinking resolves it, retyping it to exception-to waives it, and that retype takes a fresh snapshot. The graph-wide list of links by type (every open violation, from any module) is a 3b candidate; issue tracking is post-MVP (Violations and exceptions).
  • Lesson 0 runs before lesson 1 (Pratik, 2026-11-03). Lesson 1's git mv work and the live recordings happen in the merged repo, and lessons 1 to 13 keep their numbers.
  • The site lessons come after Checkpoint 3a (Pratik, 2026-11-05). After Lesson 0 the current site keeps working, so Synergy starts at once; the checkpoint is a natural break, and 3b is planned from what 3a built while the site is rebuilt.
  • i18n-ready before the site lessons (Pratik, 2026-11-05). @sidekick/copy gives way to next-intl in the App and use-intl on the site, still English only: locale from the person in the App with no URL locales, catalogs colocated per package with shared words in @sidekick/i18n, logical CSS, an Arabic mock locale on dev-only test pages, and lint for all of it. Two lessons, I1 and I2, between Checkpoint 3a and S1, because the site lessons are the first to write interface text (Internationalization).
  • The Phase 3 additions system-design pass (Pratik, 2026-11-06, handover): the site is temporary and exempt from the App's styling, i18n and strictness rules (D256), so the site no longer uses use-intl; Mantine leaves the App in a new lesson M1 before I1 (D255).
  • Deferred to Checkpoint 3a: whether the shared editor moves ahead of Taxila's passages (Phase 4) or the passages move to Phase 5, and which lessons retire the sandbox providers. Both shape Phase 4, not 3a; mock note bodies are minimal Tiptap JSON either way.

Handover from system design

Every item from the system-design session, and where it is built.

Item Where
Layer folders: core, ui, copy into packages/foundation/; packages/platform/synergy; workspace globs; boundaries element types, policies and the unknown-files rule; live docs that name old paths; a post note in the Phase 2 walkthrough (decision, dependency flow 1.3.0) lesson 1
Per-package migrations in dependency order lesson 2
provider, not module, in the schema and every API field lessons 3, 4
content_seq: the stale-write check (stale_content), the ETag (decision) lessons 3, 4
Lock first: pg_advisory_xact_lock(hashtextextended(user_id::text, 0)) before every Synergy write lesson 3
Tombstones: RLS compares only user_id, the restore-aware update trigger (decision); revising the RLS and soft-delete templates lesson 3
GET /entities/:id with If-None-Match and 304; the error-to-HTTP map; /server, /react and /contracts entry points lesson 4 (/react stays empty until 3b)
Outbox with xact_id, every event type, a read-only consumer role; outbox and idempotency keys hard-deleted; no pruning job until the first reader (decision) lesson 5 (idempotency keys: lesson 6)
violates (association) and exception-to (reference) seeded; an association-to-reference type change takes a fresh snapshot; the type filter on GET /entities/:id/links (decision) lessons 6, 7, 11
List links: type NOT NULL with seeded untyped, role in the composite FK, relation types keyed by source_key and target_key, lexorank with unique (parent_id, position) lessons 6, 8
Links and mentions: cited and mentioned, tombstone when both are false; the outgoing-reference roll-up (decision) lessons 6, 7, 9
Supersede: superseded-by from old to each replacement, any number of successors lesson 8
Anchors: to_anchor_id and quote, no from_anchor, the (to_id, to_anchor_id) index; the save call's current sets built with extractRefs; entity_anchors and entity_mentions; mock note bodies in minimal Tiptap JSON (decision) lessons 9, 10
Anchor receipt on link create lesson 10
Restore checks: restore, undo and relink re-run the delete block and the cycle check, restore_conflict, deletion_batch_id lesson 11
Race tests with two connections; the cycle check on a large synthetic graph lesson 13
Keys, never copy: Synergy stores and returns keys only every lesson; the response test in 3b
Testing: integration tests through the guarded API (testing layers) every lesson
The site boundaries element, the site's minimal lint with eslint-plugin-astro, the Pages Router ban ignoring apps/www (D258, boundaries); copy moves into packages/foundation/ as planned and I1 deletes it lesson 1
content/ holds content only: no main or exports, scripts/check-content.mjs in CI and pre-commit (D259) Lesson 0, PR 3
Token contract, Sidekick theme and contract check; native ui primitives; Mantine removed (D254, D255) M1
ui holds no words (D249); time zone from the device (D253); validation messages are keys and the API's own error shape (D252) I1, I2
Message references in registrations and render data (D250); the Sneak Peek Link with link and words props, translateRefs and the App's client wrapper (D251) lesson 6 (messages slots on the server half), 3b
The content component map with zod props (D260) the first site lesson that needs a component
React as a peer dependency; resolve, POST /links/resolve and the frozen resolved-link schema; the Sneak Peek Link in Vitest browser mode with MSW; render cache; simple full-text and pg_trgm; spec story 71 3b, planned at Checkpoint 3a
Editor order; the 409 auto-merge and the "Page updated" banner (built with the shared editor, not in Phase 3) decided at Checkpoint 3a
Arkive

Index

Notes, decisions, and progress on my journey as I build Project Sidekick — built in the open; written as it happens.

Tags (145)

View

242 entries.

As ofTitleKind
2026-11-11Synergy Lesson 0 Walkthrough: One Repobuild walkthrough phase-3 monorepo one-repo git cloudflareguidance
2026-11-11Hosting and Domainssystem-design deployment vercel cloudflare domainspec
2026-11-11Synergy Lesson 0: One Repoplan phase-3 task monorepo one-repo git cloudflareplan
2026-11-11Synergy Checkpoint 3a: Prove the Store, Plan 3bplan phase-3 checkpoint guidanceplan
2026-11-11Synergy Lesson 1: Layer Folders and Lintplan phase-3 task monorepo eslintplan
2026-11-11Synergy - Feature Specificationsprd spec synergyprd
2026-11-11Agent Guideai-coding agent gateway agent-guidance rls supabase drizzle api react prettierguidance
2026-11-11Backlogged / Unplannedplan living-plan backlog feature-system taxila zinsser alter-ego parrot rls supabaseplan
2026-11-11SynergyReadingplan living-plan phase-3 synergy rls postgresql api graphplan
2026-11-09Notesai-coding-harness agent-guidance nextjs eslint pnpm cssguidance
2026-11-08Synergy Lesson 4: Sandbox Providers and the First Routesplan phase-3 task synergy feature-system apiplan
2026-11-08Violations and Exceptionssystem-design synergyspec
2026-11-08Testing Layerssystem-design testing vitest playwrightspec
2026-11-08Best Practice Rulessystem-design code-quality-check eslintspec
2026-11-08Front Door: Hardening Walkthroughbuild walkthrough pre-2 rls supabase drizzle postgresql testing eslintguidance
2026-11-08Alter Egoplan living-plan phase-6 taxila zinsser alter-ego war-room factory core-driveplan
2026-11-08API Versioningsystem-design apispec
2026-11-08Approve Buildssystem-design monorepo nextjs pnpmspec
2026-11-08Best Practicesai-coding-harness agent-guidance drizzle api react pnpm css offline embedding soft-deleteguidance
2026-11-08Centralized Copysystem-design contentspec
2026-11-08dotenv CLIsystem-design config clispec
2026-11-08Installation at Workspace Levelsystem-design code-quality-check typescript pnpmspec
2026-11-08Pocketplan living-plan phase-8 taxila alter-ego nextjs vercel pwa mobileplan
2026-11-08Server Actionssystem-design nextjs rls api authenticationspec
2026-11-08Taxilaplan living-plan phase-4 taxila api-guard rls drizzle api authenticationplan
2026-11-08War Roomplan living-plan phase-7 war-room factory core-drive rls api offlineplan
2026-11-08With API Guardsystem-design security api-guard rls api authentication typescriptspec
2026-11-08Zinsserplan living-plan phase-5 taxila zinsser api mantine ai embeddingplan
2026-11-06Design Tokenssystem-design css design-systemspec
2026-11-06Native UIsystem-design css design-system mantinespec
2026-11-06Public Site: System Designsystem-design site one-repospec
2026-11-06Internationalizationsystem-design content i18nspec
2026-11-06Decisions Logdecisionlog
2026-11-06Synergy: System Designsystem-design synergyspec
2026-11-06CSS Modulessystem-design css eslint stylelintspec
2026-11-06Dependency Flowsystem-design monorepo clispec
2026-11-06ESLint Plugin Boundariessystem-design code-quality-check eslintspec
2026-11-06Non-Syncable Tablessystem-design database offlinespec
2026-11-06Prettier at Repo Levelsystem-design code-quality-check prettierspec
2026-11-06Runtime Validationssystem-design typescriptspec
2026-11-06Shared tsconfigsystem-design code-quality-check typescriptspec
2026-11-06Syncable Tablessystem-design database offline soft-deletespec
2026-11-06Technology Stacksystem-design supabase drizzle postgresql nextjs typescript turborepo pnpm vercelspec
2026-11-06Architectural OverviewSidekick's architectural overview — an API-first platform tuned for solo developerssidekick project technical architecturedocument
2026-11-05One Repoprd feature synergy one-repoprd
2026-11-05Overview of Synergyprd feature synergyprd
2026-11-03Commands and Environmentai-coding command environment agent-guidance prettier pnpm cliguidance
2026-11-01Synergy Lesson 10: Save Call, Anchorsplan phase-3 task synergy apiplan
2026-11-01Synergy Lesson 11: Delete and Restoreplan phase-3 task synergy databaseplan
2026-11-01Synergy Lesson 12: Tagsplan phase-3 task synergy apiplan
2026-11-01Synergy Lesson 13: Race Testsplan phase-3 task synergy testing postgresqlplan
2026-11-01Synergy Lesson 2: Per-Package Migrationsplan phase-3 task database drizzle testingplan
2026-11-01Synergy Lesson 3: Entity Index and Version Logplan phase-3 task synergy database rls postgresqlplan
2026-11-01Synergy Lesson 5: Outbox, Status and Versionsplan phase-3 task synergy database postgresqlplan
2026-11-01Synergy Lesson 6: Links, Relation Types and Cyclesplan phase-3 task synergy graph postgresql apiplan
2026-11-01Synergy Lesson 7: Staleness Dots and the Roll-Upplan phase-3 task synergy apiplan
2026-11-01Synergy Lesson 8: Lists and Supersedeplan phase-3 task synergy graph postgresqlplan
2026-11-01Synergy Lesson 9: Save Call, Mentionsplan phase-3 task synergy apiplan
2026-11-01Content Sequencesystem-design synergyspec
2026-11-01Tombstone Visibilitysystem-design synergy rlsspec
2026-11-01Anchors in Contentsystem-design synergy anchorsspec
2026-11-01Capture External Contentsystem-design synergy taxilaspec
2026-11-01Lexicon Highlightingsystem-design synergy taxilaspec
2026-11-01Mentions and Link Lifetimesystem-design synergyspec
2026-11-01Synergy Store Choicessystem-design synergy postgresqlspec
2026-11-01Relationshipsprd feature synergyprd
2026-11-01Scope and Phasesprd feature synergyprd
2026-11-01Stay on ESLint, Revisit Oxlintsystem-design eslint typescriptspec
2026-11-01App Runtime for Drizzlesystem-design database drizzle postgresqlspec
2026-11-01Corepacksystem-design monorepo pnpmspec
2026-11-01Edge Runtimesystem-design security supabasespec
2026-11-01Env Vars in Turbo JSONsystem-design monorepo turborepo vercelspec
2026-11-01Flat Configsystem-design code-quality-check eslintspec
2026-11-01Force Dynamicsystem-design nextjs supabasespec
2026-11-01GraphQL and Relaysystem-design api graphql relayspec
2026-11-01Living Implementation Planplan living-plan taxila zinsser alter-ego war-room factory parrot core-driveplan
2026-11-01Module Resolution: Bundlersystem-design code-quality-check typescriptspec
2026-11-01Profile Creation Postgres Triggersystem-design security postgresql api authenticationspec
2026-11-01Public API Onlysystem-design api rls authentication clispec
2026-11-01tsupsystem-design code-quality-check eslintspec
2026-11-01Turboreposystem-design monorepo turborepo pnpmspec
2026-10-31Build mind palaceprd value-proposition specificationprd
2026-10-31Exponential Evolutionprd value-proposition specificationprd
2026-10-31Remember everythingprd value-proposition specificationprd
2026-10-31Entities and the Entity Indexprd feature synergyprd
2026-10-31Foundationsprd feature synergyprd
2026-10-31Keeping Links Trueprd feature synergyprd
2026-10-31Sneak Peek Linkprd feature synergyprd
2026-10-30Search and Backlinksprd feature synergyprd
2026-10-30Tagsprd feature synergyprd
2026-10-29Cost to Add Laterprinciple product engineeringguidance
2026-10-27Individual Firstprinciple productguidance
2026-10-27One Interfaceprinciple api cliguidance
2026-10-24Gatekeeper Lesson 7 Walkthrough: The Ops Package and Entitlements Grantbuild walkthrough phase-2 feature-system database postgresql cliguidance
2026-10-24Gatekeeper Lesson 8: Close-Outplan phase-2 task guidanceplan
2026-10-24Gatekeeper Walkthroughbuild walkthrough phase-2 api-guard feature-system rls authenticationguidance
2026-10-24Gatekeeper Lesson 3 Walkthrough: Entitlementsbuild walkthrough phase-2 feature-system database drizzle rls postgresql testingguidance
2026-10-24Gatekeeper Lesson 4 Walkthrough: withApiGuardbuild walkthrough phase-2 api-guard rls api authentication testingguidance
2026-10-24Gatekeeper Lesson 5 Walkthrough: Request and Auth-Failure Loggingbuild walkthrough phase-2 api-guard observability eslint testingguidance
2026-10-24Gatekeeper Lesson 6 Walkthrough: /api/health and Guard Verificationbuild walkthrough phase-2 api-guard api nextjs testingguidance
2026-10-24Gatekeeper Lesson 2 Walkthrough: resolveApiCallerbuild walkthrough phase-2 api-guard authentication supabase testingguidance
2026-10-24Gatekeeper Build Rules and Target Designplan phase-2 api-guard rls api authentication typescript guidanceplan
2026-10-24Gatekeeper Lesson 1 Walkthrough: Feature Registrybuild walkthrough phase-2 feature-system typescript monorepo testingguidance
2026-10-24Gatekeeper Lesson 7 (Task 2.10): Dev Entitlement Seed Scriptplan phase-2 task feature-system database postgresqlplan
2026-10-24Gatekeeperplan living-plan phase-2 api-guard rls api authentication feature-systemplan
2026-10-24Terminalplan living-plan phase-9 taxila api-guard rls api authentication cliplan
2026-10-23Gatekeeper Lesson 3 (Tasks 2.8, 2.9): Entitlements Table and getEnabledFeaturesplan phase-2 task feature-system database drizzle rls postgresql testingplan
2026-10-23Gatekeeper Lesson 4 (Tasks 2.2, 2.3): withApiGuard With withRLSplan phase-2 task api-guard rls api security testingplan
2026-10-23Gatekeeper Lesson 5 (Tasks 2.4, 2.5): Request and Auth-Failure Loggingplan phase-2 task api-guard observability eslintplan
2026-10-23Gatekeeper Lesson 6 (Tasks 2.11, 2.12): /api/health and Guard Verificationplan phase-2 task api-guard api nextjs testingplan
2026-10-23Centralizedsystem-design observability api authenticationspec
2026-10-23Database and Securityai-coding database security agent-guidance api-guard rls drizzle api react repository-patternguidance
2026-10-23Error Handlingsystem-design observability api-guard rls supabase api nextjs react aispec
2026-10-23Front Door: Row-Level Security Walkthroughplan phase-1.1 rls database supabase drizzle postgresql api typescriptguidance
2026-10-23Groundwork Checkpoint B Walkthroughbuild walkthrough phase-0 checkpointguidance
2026-10-20Gatekeeper Lesson 2 (Task 2.1): resolveApiCallerplan phase-2 task api-guard authentication supabase nextjsplan
2026-10-18Gatekeeper Lesson 1 (Tasks 2.6, 2.7): FeatureManifest and ALL_FEATURESplan phase-2 task feature-system typescript monorepoplan
2026-10-18Registrysystem-design feature-systemspec
2026-10-17Core Drive to Be Practical and Grounded in Realitysystem-design feature core-drive prdprd
2026-10-17MVP Scopeprd mvp specification core-drive taxila war-room factory alter-ego zinsser parrot api cli native-appprd
2026-10-17An AI Writing Coach and an Appsystem-design prd feature zinsser aiprd
2026-10-17Overview of Taxilasystem-design prd feature taxila ragprd
2026-10-16Front Door: Hardeningplan pre-2 foundation security database testingplan
2026-10-14Profiles Schemasystem-design security rls authenticationspec
2026-10-14Tag Taxonomyai-coding agent-guidance taxonomy discoveryguidance
2026-10-13Anatomy of a Core Drive Entrysystem-design prd feature core-driveprd
2026-10-13Core Drive Stores Personal and Sensitive Informationsystem-design prd feature core-drive taxila graphprd
2026-10-13Core Drive Stores Values Onlysystem-design prd feature core-drive war-room factoryprd
2026-10-13Core Drive to Foster Reflections and Learningssystem-design prd feature core-driveprd
2026-10-13Groundwork: Checkpointsplan phase-0 api nextjs typescript eslint turborepo pnpmplan
2026-10-13Model Routingprd vercel ai embedding routingprd
2026-10-13Overview of Core Drivesystem-design prd feature core-drive factory ai alter-egoprd
2026-10-13Source Attributionprd feature alter-ego aiprd
2026-10-12Command Paletteprd ux specificationprd
2026-10-12MVP Design Objectiveprd ux specificationprd
2026-10-12Be the Best Version of Yourselfprd value-proposition specificationprd
2026-10-12Make the Right Behavior Easierprd value-proposition specificationprd
2026-10-11Solve Problems and Build Thingsmotivation creativityjournal
2026-10-11A Personal Discoverymotivation discipline bucket-list ambition entrepreneurship sidekickjournal
2026-10-11Commercialize Sidekickmotivation finance freedomjournal
2026-10-10Realityprinciple reality pragmatism survivalguidance
2026-10-10Seek Closureprinciple productivity happiness purposeguidance
2026-10-08No Do-Oversprinciple core-drive execution productivityguidance
2026-10-08Pragmatismprinciple practical pragmaticguidance
2026-10-04Protect Your Mind and Your Timeprinciple productivity automation minimalismguidance
2026-10-03Focus Funnelprinciple core-drive productivityguidance
2026-10-02Fuel Career Growthmotivation career ambitionjournal
2026-10-02Learnmotivation learning ai ragjournal
2026-09-19Actual Stateglossary terminologyglossary
2026-09-19Algorithm of Lifeglossary terminology nextjsglossary
2026-09-19Alter Egosystem-design prd feature taxila alter-ego factory aiprd
2026-09-19API Firstsystem-design api clispec
2026-09-19Architectural Driverssystem-design offlinespec
2026-09-19Architecture Invariantsai-coding architecture invariant agent-guidance api nextjsguidance
2026-09-19Asynchronoussystem-design rag embeddingspec
2026-09-19Atomicsystem-design rag embeddingspec
2026-09-19Authenticationsystem-design security taxila api authentication pwa mobile clispec
2026-09-19Background Jobssystem-design vercel background-jobspec
2026-09-19Build for Today, Designed for Futuresystem-design offlinespec
2026-09-19Bundle Everythingsystem-design monorepospec
2026-09-19Capacitorsystem-design native-app nextjs mobile offlinespec
2026-09-19Centralizedsystem-design feature-systemspec
2026-09-19Centralized and Client-Agnosticsystem-design security rls api authentication clispec
2026-09-19CLIsystem-design cli apispec
2026-09-19Context Assemblersystem-design ai war-room factory api-guardspec
2026-09-19Coresystem-design feature-systemspec
2026-09-19Core Drive and Taxilasystem-design prd feature taxila core-driveprd
2026-09-19Driving Forces and Key Featuressystem-design api offlinespec
2026-09-19Embedding Status Fieldsystem-design rag embedding typescriptspec
2026-09-19Enforced Conventionssystem-designspec
2026-09-19Essential and Ideal Stateglossary terminologyglossary
2026-09-19Evolvabilitysystem-design rls offlinespec
2026-09-19Factorysystem-design prd feature factoryprd
2026-09-19Feature Package Workai-coding feature monorepo agent-guidance feature-systemguidance
2026-09-19Front Doorplan living-plan phase-1 api-guard rls supabase drizzle postgresql apiplan
2026-09-19Front Door Task 1.1plan phase-1 task supabase postgresql api authentication nextjsplan
2026-09-19Front Door Task 1.10plan phase-1 task rls supabase drizzle postgresql authentication typescriptplan
2026-09-19Front Door Task 1.11plan phase-1 task api-guard rls supabase api authentication nextjsplan
2026-09-19Front Door Task 1.14plan phase-1 task react pnpm mantine cssplan
2026-09-19Front Door Task 1.17plan phase-1 task supabase authenticationplan
2026-09-19Front Door Task 1.18plan phase-1 task api-guard rls supabase drizzle postgresql authenticationplan
2026-09-19Front Door Task 1.2plan phase-1 task supabase drizzle postgresql authentication nextjs pnpmplan
2026-09-19Front Door Task 1.3plan phase-1 task supabase nextjs typescriptplan
2026-09-19Front Door Task 1.4plan phase-1 task supabase authentication nextjs react typescriptplan
2026-09-19Front Door Task 1.5plan phase-1 task rls supabase authentication typescriptplan
2026-09-19Front Door Task 1.6plan phase-1 task rls supabase drizzle authentication typescript offlineplan
2026-09-19Front Door Task 1.7plan phase-1 task drizzle postgresql typescriptplan
2026-09-19Front Door Task 1.8plan phase-1 task turborepo pnpmplan
2026-09-19Front Door Task 1.9plan phase-1 task rls supabase drizzle postgresql authenticationplan
2026-09-19Front Door Tasks 1.12 and 1.13plan phase-1 task supabase api authentication nextjs react typescriptplan
2026-09-19Front Door Tasks 1.15 and 1.16plan phase-1 task supabase authentication nextjs react mantineplan
2026-09-19Front Door: Original Planplan phase-1 rls supabase drizzle postgresql authentication nextjsguidance
2026-09-19Front Door: Row-Level Securityplan living-plan phase-1.1 rls supabase drizzle postgresql pnpm soft-deleteplan
2026-09-19Groundworkplan living-plan phase-0 nextjs typescript eslint prettier turborepo pnpmplan
2026-09-19Groundwork Checkpoint Aplan phase-0 checkpoint nextjs typescript turborepo pnpm cliplan
2026-09-19Groundwork Checkpoint Bplan phase-0 checkpoint eslint prettier turborepo pnpmplan
2026-09-19Groundwork Checkpoint Cplan phase-0 checkpoint nextjs pnpmplan
2026-09-19Groundwork Checkpoint Dplan phase-0 checkpoint api-guard rls supabase drizzle api authenticationplan
2026-09-19Historic Stateglossary terminologyglossary
2026-09-19Idempotent APIsystem-design api idempotencyspec
2026-09-19Independent Deploymentssystem-design feature-systemspec
2026-09-19Informationglossary terminologyglossary
2026-09-19Instrumentationsystem-design observability vercel embeddingspec
2026-09-19Isolationsystem-design feature-systemspec
2026-09-19Lifecycle and Traceabilityprd governance planningguidance
2026-09-19Many Clients and Many Consumerssystem-design api pwa ai rag clispec
2026-09-19May Become Part of Taxilasystem-design core-drive taxilaspec
2026-09-19Middlewaresystem-design security api authenticationspec
2026-09-19Migrationsystem-design database drizzle pnpmspec
2026-09-19Model Router Contractsystem-design ai model-routing provider-agnostic embeddingspec
2026-09-19Never Mutate Outside API Layersystem-design apispec
2026-09-19Observabilitysystem-design api-guard api authentication vercel observabilityspec
2026-09-19Observablesystem-design rag embedding observabilityspec
2026-09-19Offline Readysystem-design api pwa offline soft-delete idempotencyspec
2026-09-19Open Houseplan living-plan phase-11plan
2026-09-19Parrotsystem-design prd feature parrotprd
2026-09-19Prefer JSON Configsystem-design monorepospec
2026-09-19Present Stateglossary terminologyglossary
2026-09-19Productivity Modulesystem-design prd feature war-roomprd
2026-09-19PWAsystem-design pwa offlinespec
2026-09-19RAGsystem-design rag ai embeddingspec
2026-09-19Repository Clientsystem-design database rls supabase drizzle api repository-patternspec
2026-09-19Request Flowsystem-design monorepo api offlinespec
2026-09-19Retryablesystem-design rag embeddingspec
2026-09-19Row-Level Securitysystem-design security rls drizzle offlinespec
2026-09-19Soft-Delete Supportsystem-design database soft-deletespec
2026-09-19Start Todayprinciple core-drive execution consistencyguidance
2026-09-19State Representationsystem-design api aispec
2026-09-19Storefrontplan living-plan phase-12 api offlineplan
2026-09-19Structured Response Attributionsystem-design ai structured-streaming source-attribution citationspec
2026-09-19System Overview Diagramsystem-designspec
2026-09-19Tiered Context Modelsystem-design core-drive domain situation war-room factory ai embeddingspec
2026-09-19Tiptap Requirementsystem-design rag embeddingspec
2026-09-19Use Navigation Hooksystem-design nextjsspec
2026-09-19Watchtowerplan living-plan phase-10 api-guard rls api authentication nextjs offlineplan
2026-07-19Project Sidekick - A Bird’s Eye ViewAn introduction to Project Sidekick. What is it? What problem does it solve? Why am I building it?sidekick project essaydocument
2026-07-10Building in the Margins of RealityProject kick-off post and a confessional essay about my past attempts and their failures. Why start now? What do I hope to achieve?sidekick project essayjournal
2026-05-29Config Files Explainedbuild walkthrough phase-0 turborepo typescript eslint prettierguidance
2026-05-29Front Door: Original Walkthroughbuild walkthrough phase-1 supabase drizzle authenticationguidance
2026-05-29Groundwork Checkpoint A Walkthroughbuild walkthrough phase-0 checkpointguidance
2026-05-29Groundwork Checkpoint C Walkthroughbuild walkthrough phase-0 checkpointguidance
2026-05-29Groundwork Checkpoint D Walkthroughbuild walkthrough phase-0 checkpointguidance