Repository navigation
Description
What I was doing
Locking the first shippable kamp.us product with the founder (CTO/CPO session). The North Star vision lives in discussion #1194; this is the v1 cut, deliberately fenced from the horizon.
What I observed — the locked v1 scope
Build the core of the ekşi-style earned-authorship rite, dark-shipped behind a Flagship flag (ADR 0081/0083 — zero-throwaway: if the loop doesn't pull, the flag stays off):
- Read → public, anonymous (sözlük + pano already ship).
- Register → open; a new account is a çaylak (rookie).
- Çaylak writes to a sandbox → entries visible only to moderators + the author (reuse the soft-delete/visibility substrate, ADR 0096).
- Promotion çaylak→yazar → manual moderator call + author vouching ("if an author says ok, it's ok" — vouch + a reduced karma bar as a tandem). The elaborate selection economy (seasons, karma-threshold auto-promotion) is OUT (North Star).
- Seed ~20 founding author-mods → minted directly in D1 as yazar + moderator; they write the seed corpus AND hold promotion authority. Mod is fused into the founding cohort ("earning mod later" is North Star). Extends the existing
member|moderatorrole with çaylak/yazar tiers. - Surface karma (already written in the vote batch, ADR 0050; rendered on
/u/:username) → topbar + own profile + a thin activity signal + a first-contribution on-ramp. - Humans only; agents climb in v1.1.
The DESIGN-AUDIT.md NOW bucket (identity mirror, text hierarchy, a11y+motion globals, tactile vote, draft autosave, one search contract, lowercase voice) folds in as supporting finishing work.
Why it matters
The one riskiest assumption: does the aspiration loop actually pull çaylaks up into yazars — do invited builders contribute, or lurk? Everything in the North Star is downstream of this answer. Triangulated by two independent design audits, both ranking "thesis is copy, not mechanism / karma invisible" as #1.
a11y is a non-negotiable baseline, not a phase — every child carries it as an acceptance criterion: real semantics, redundant (non-color) state, keyboard paths, AA contrast, reduced-motion respect. (Owner is a design-system & a11y engineer.)
Pointers
- North Star (horizon, fenced): discussion 🧭 kamp.us North Star — earned-authorship commons (horizon, not the v1 build) #1194.
- Substrate: ADR 0096 (visibility/soft-delete → the sandbox), 0050 (D1 karma), 0081/0083 (flags + dark-ship), the
member|moderatorrole. - Audits:
DESIGN-AUDIT.md(9-lens) + the product-design-advisor panel. - Surfaces:
apps/web/src(sözlük / pano / pasaport / profile).
Suggested next step (non-binding)
This is an epic → plan-epic into tracer-bullet children. Natural seeds: (1) çaylak/yazar tier model; (2) mod-only sandbox visibility; (3) promotion path (mod action + author vouch); (4) seed the 20 founding author-mods; (5) surface karma (topbar/own-profile); (6) activity signal; (7) first-contribution on-ramp; (8) the Flagship flag wrapping it all; + the DESIGN-AUDIT.md NOW finishing items. Every child carries the a11y baseline AC. Humans-only; agents are v1.1.
Filed by an agent · branch main · 2026-06-22 · v1 locked with founder; milestone attached per founder roadmap directive (ADR 0072)
Plan (plan-epic)
Problem & who has it
kamp.us has the substrate of an earned-authorship product but not the loop. Public read works (sözlük + pano). Registration works. Karma is written (ADR 0050) but invisible where it would do work. Soft-delete/visibility exists (ADR 0096) but isn't used to sandbox a rookie. Roles are member|moderator with no authorship tier. The result: a newcomer ("çaylak") who wants to become an author ("yazar") has no path, no signal that they're progressing, and no protected place to try — and two independent design audits both ranked "the thesis is copy, not mechanism / karma is invisible" as the #1 problem. The people with this problem: a prospective contributor (can't tell joining leads anywhere), a founding author-mod (no tooling to bring rookies up), and the product itself (the riskiest assumption — does the aspiration loop pull çaylaks up into yazars? — is currently untestable because the loop doesn't exist).
What changes
Once this ships (dark, behind a flag), the experience is: anyone reads anonymously; registering makes you a çaylak; your writing lands in a mod-only sandbox (you and moderators see it, the public doesn't); founding author-mods read that sandbox and promote you to yazar by a manual call backed by an author's vouch + a reduced karma bar; once a yazar, your writing is live. Throughout, you can see your karma (topbar + profile) and see your contribution track record (a thin activity signal), and a first-contribution on-ramp turns "I just joined" into "I wrote my first thing." The whole loop is gated by one Flagship flag, default-off, so if the loop doesn't pull, the flag stays off and nothing was thrown away (ADR 0081/0083).
User stories
- As a new visitor, I want registering to make me a çaylak with a clear tier, so that there's a named first rung on the authorship ladder.
- As a çaylak, I want my first writing to land in a protected sandbox, so that I can contribute without my unproven work going straight to the public.
- As a çaylak, I want to always see my own sandboxed content, so that I know my contributions are saved and pending.
- As a moderator, I want to promote a çaylak to yazar manually, so that authorship is earned and granted, not automatic.
- As a yazar, I want to vouch for a çaylak, so that "if an author says ok, it's ok" — my judgment carries weight in promotion.
- As a çaylak, I want a vouch + clearing a reduced karma bar to promote me, so that there's an earnable, legible path up (without the elaborate North-Star selection economy).
- As a founder, I want ~20 founding author-mods minted directly as yazar+moderator, so that there's a seed cohort to write the corpus and hold promotion authority on day one.
- As a signed-in user, I want my karma visible in the topbar and on my profile, so that the reputation I'm earning is ambient and causal, not buried.
- As a çaylak, I want a thin activity signal of my contributions, so that I can see I'm building a track record toward promotion.
- As a new çaylak, I want a first-contribution on-ramp, so that joining leads to writing my first entry instead of a dead end.
- As a moderator, I want a çaylak's sandboxed backlog resolved on promotion, so that nothing they wrote is orphaned when they become a yazar.
- As the platform, I want the authorship tier to be server-managed and unspoofable, so that no client can self-escalate to yazar.
- As a human releaser, I want the entire loop behind one default-off flag, so that I — not an agent — decide when it goes live (agents deploy, humans release).
- As any user (incl. assistive-tech users), I want global a11y + motion foundations (skip-link, reduced-motion, motion tokens), so that every loop surface inherits accessible, motion-safe behavior.
- As any user, I want a real text-hierarchy ladder, so that the loop's new states (karma, activity, tier, pending) read as a hierarchy and don't rely on color alone.
- As any user, I want the vote to be tactile with a non-color cue, so that the karma-earning moment is legible (and WCAG 1.4.1-compliant) — karma is the spine of promotion.
- As anyone writing, I want a draft autosave that survives the auth round-trip, so that the on-ramp doesn't destroy my first contribution before it's saved.
Goal / non-goals
Goal: a complete, demoable, dark-shipped çaylak→yazar loop — tier model, mod-only sandbox, manual+vouch promotion, founding seed, surfaced karma + activity + on-ramp — plus the DESIGN-AUDIT NOW finishing work that the loop leans on, every user-facing child carrying an a11y baseline.
Non-goals (explicitly OUT — North Star, discussion #1194): the elaborate selection economy (seasons, karma-threshold auto-promotion); "earning mod later" (mod is fused into the founding cohort); the agent content economy (humans only — agents climb the ladder in v1.1); broader DESIGN-AUDIT items beyond the NOW bucket that don't serve the loop.
Resolved questions
- How is the tier modeled? As a server-managed authorship dimension (
çaylak | yazar) alongside the existingmember|moderatorrole, read throughpasaportwith the same capability discipline asModerator.requiredand the sameinput:falseunspoofability asrole(ADR 0098). Not a loose string — a domain type. - Where does the sandbox live? On the ADR 0096 soft-delete/visibility substrate (
EntityLifecycle), extended with a sandboxed/pending visibility the content reads respect at the same layer theremoved_at IS NULLguard lives — not a parallel mechanism. - What is the promotion rule? Manual moderator action or a yazar vouch + reduced-karma-bar tandem. No auto/season promotion (North Star).
- How are founders seeded? A direct-D1 idempotent script (not a runtime route — the public seeder pattern was deleted as a fail-open hole, CLAUDE.md "Sözlük seed"), minting role=moderator + tier=yazar.
- Why one flag, declared first? So every subsequent child gates behind a single key (ADR 0081/0083); declaring it in Phase 1 gives the rest of the epic a stable seam to wrap.
Approach
A thin foundation (Phase 1) the rest stands on: the tier model in pasaport (schema + server-managed write + read capability), the single Flagship flag (the flagship Flags service seam), and the design-system globals (a11y/motion foundation + text-hierarchy ladder) that let every user-facing child satisfy its a11y baseline cheaply. Phase 2 builds the loop's core on the tier: mod-only sandbox on the ADR 0096 lifecycle substrate, then the promotion path (which writes the tier and resolves the sandbox backlog). Phase 3 is the founding seed, the user-facing surfaces (karma, activity, on-ramp), and the loop-supporting finishing work (tactile vote, draft autosave) — all parallel once the core exists. Every loop surface is gated behind the one flag; karma reads user_profile.total_karma (ADR 0050); writes honor the vote/karma atomicity (ADR 0014). Conventions: Effect feature services as isolate-level layers (ADR 0029), Turkish for product nouns / English for technical (.glossary/), make invalid states unrepresentable.
Testing strategy
The contract-bearing children are TDD yes: the tier model (default-on-registration, read capability, unspoofable write), the sandbox (the full visibility matrix across actor × ownership), the promotion path (mod-direct, vouch-below-bar denied, vouch-above-bar promoted, self-promotion denied, backlog resolution), and draft autosave (save → auth-redirect → restore). These are unit-tested over the service seam per ADR 0040's taxonomy and .patterns/effect-testing.md — behavior, not implementation. The seed script, flag wiring, and the render-only surfaces (karma/activity/on-ramp, vote feel, design-system globals) are TDD no — they're config/scaffolding/presentation verified by review + the a11y baseline AC, not a unit contract. a11y is a per-child acceptance criterion on every user-facing child (not a separate test child).
Task-split rationale
The split is tracer-bullet vertical and falls on natural seams. Phase 1 is the foundation everything imports: the tier (stories 1, 12) is the type every other child reads or writes; the flag (story 13) is the gate every child wraps; the a11y/motion globals (story 14) and text-hierarchy ladder (story 15) are the design substrate the per-child a11y baselines lean on — all independent of each other, so parallel. Phase 2 is the loop's core, ordered by data dependency: the sandbox (stories 2, 3, 11) needs the tier; the promotion path (stories 4, 5, 6, 11) needs both the tier and the sandbox (it flips the tier and resolves the sandboxed backlog). Phase 3 is everything that needs the core but not each other: the seed (story 7) needs the tier; karma surfacing (8), activity signal (9), on-ramp (10), tactile vote (16), and draft autosave (17) are independent render/finishing slices that each gate behind the flag — maximally parallel. Many thin slices over few thick ones: each is one demoable piece a write-code agent finishes in a PR or two.
Dependencies
Phase 1 — foundation (parallel)
- çaylak/yazar tier model — extend the role with an authorship tier #1203 — çaylak/yazar tier model (the type every other child reads/writes)
- Flagship flag — dark-ship the authorship loop (default-off) #1204 — Flagship flag, default-off (the gate every child wraps)
- a11y + motion globals — skip-link, reduced-motion, motion tokens #1211 — a11y + motion globals (the a11y foundation user-facing children inherit)
- Text-hierarchy ladder — re-stratify the collapsed text tokens #1212 — text-hierarchy ladder (the perceptual ladder the new states lean on)
Phase 2 — loop core (data-ordered)
- Mod-only sandbox — çaylak content visible to moderators + author only #1205 — mod-only sandbox (requires: çaylak/yazar tier model — extend the role with an authorship tier #1203)
- Promotion path çaylak→yazar — mod action + author vouch (reduced karma bar) #1206 — promotion path çaylak→yazar (requires: çaylak/yazar tier model — extend the role with an authorship tier #1203, Mod-only sandbox — çaylak content visible to moderators + author only #1205)
Phase 3 — seed + surfaces + finishing work (parallel)
- Seed ~20 founding author-mods — direct-D1 mint as yazar + moderator #1207 — seed ~20 founding author-mods (requires: çaylak/yazar tier model — extend the role with an authorship tier #1203)
- Surface karma — topbar + own profile (ambient self-karma) #1208 — surface karma: topbar + own profile
- Thin activity signal — surface a çaylak's contribution track record #1209 — thin activity signal
- First-contribution on-ramp — guide a çaylak to their first entry #1210 — first-contribution on-ramp (requires: Draft autosave — survive the auth round-trip, don't destroy writing #1214)
- Tactile vote + non-color cue — press, fill-on-pressed, count flash #1213 — tactile vote + non-color cue
- Draft autosave — survive the auth round-trip, don't destroy writing #1214 — draft autosave (auth round-trip)
Divan sub-decomposition (#1287–#1292) — extends #1206's promotion path
A second, later (2026-06-27) decomposition of one sub-design within this epic — the divan, the reviewer-panel proving ground that turns the backend promotion capabilities into a usable çaylak→yazar workspace. Filed via report→triage (not a plan-epic re-run, which would have emitted duplicate children over the already-shipped originals). Registered here so the parent→child link is bidirectional (closes the gap surfaced in #1295). All six shipped.
- [divan] divan read model + yazar/mod gate (backend) #1287 — divan read model + yazar/mod gate (requires: Mod-only sandbox — çaylak content visible to moderators + author only #1205, çaylak/yazar tier model — extend the role with an authorship tier #1203)
- [divan] enable voting on sandboxed items from the divan (backend) #1288 — voting on sandboxed items from the divan (requires: [divan] divan read model + yazar/mod gate (backend) #1287)
- [divan] vouch flow + order-independent tandem resolver (backend) #1289 — vouch flow + order-independent tandem resolver (requires: [divan] divan read model + yazar/mod gate (backend) #1287) — extends Promotion path çaylak→yazar — mod action + author vouch (reduced karma bar) #1206, see below
- [divan] divan surface — roster + çaylak detail (frontend) #1290 — divan surface: roster + çaylak detail (frontend; requires: [divan] divan read model + yazar/mod gate (backend) #1287, [divan] enable voting on sandboxed items from the divan (backend) #1288, [divan] vouch flow + order-independent tandem resolver (backend) #1289)
- [divan] çaylak "yazarlığa giden yol" status block (frontend) #1291 — çaylak "yazarlığa giden yol" status block (frontend; requires: Surface karma — topbar + own profile (ambient self-karma) #1208 karma atom)
- [divan] register "divan" in the glossary (doc) #1292 — register "divan" in the glossary (doc)
Topology: #1287 → #1288 / #1289 → #1290 / #1291; #1208 (karma atom) is the prerequisite for #1291's status block.
#1206 ↔ divan reconciliation (the #1295 judgment call): EXTEND, not supersede. #1206 (PR #1285) shipped the promotion path in pasaport — mod-direct + the author-vouch tandem. #1289 (PR #1310) extended that tandem to be order-independent and added withdraw-vouch, relocating the Vouch capability into kunye (ADR 0107 §2–3). The two compose rather than replace: pasaport/mutations.ts imports kunye's Vouch / VouchLedger / moderate / requireVouch, and pasaport + divan share the one resolveTandem resolver. The code records this directly — apps/web/worker/features/pasaport/mutations.ts: "Author-vouch promotion (#1206, tandem extended in #1289)." #1206 remains closed-completed (its mutation is live and called); it is not closed-superseded.
Sub-issues
Collapse Sub-issuesSub-issues
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
usirin commentedon Jun 22, 2026
Triage:
type:epic·p0· milestone #14 retained. Not split — decomposition isplan-epic's job (per the founder's seed list of ~8 tracer-bullet children + theDESIGN-AUDIT.mdNOW finishing items). p0 because this is the v1 flagship product loop and the campaign milestone's core; the whole North Star (discussion #1194) is downstream of whether this loop pulls. Brief left intact (append-down for epics). Handing off toplan-epic.19 remaining items
[divan] gated proving-ground read model + yazar/mod gate (#1287) (#1303)
usirin commentedon Jun 27, 2026
Epic handoff — slice 3/6: vouch flow + order-independent tandem resolver (#1289)
PR: #1310 (
Fixes #1289) — awaitingreview-code.Done
apps/web/worker/features/pasaport/tandem.ts). Promotes when(≥1 active vouch) AND (karma ≥ bar)hold in either arrival order, reusing Promotion path çaylak→yazar — mod action + author vouch (reduced karma bar) #1206's atomicPasaport.promoteToYazar. Dark behindPHOENIX_AUTHORSHIP_LOOP.authorship_vouchschema. Active-by-existence: row present + candidate stillçaylak; withdraw deletes, promotion returns the slot.kunye/standing.ts.Affects siblings
resolveTandem(authorId)— that is what makes karma-side promotion live. The seam is exported and tested for both orders; [divan] enable voting on sandboxed items from the divan (backend) #1288 just wires it in. Until then the resolver fires only on the vouch act.user.vouch/user.withdrawVouch; surface the newVOUCH_LIMIT_REACHEDwire code (already in SPAFATE_WIRE_CODES) as the "you've used all 3 vouches" state.VOUCH_PROMOTION_KARMA_BAR) + vouch-exists;VouchLedger.hasActiveForis the existing read.Watch out
Moderategrant or the completed-tandem invariant;resolveTandemholds none. Don't add a yazar-level promote right.activeCountForinner-join touser.tier = 'çaylak', not a write — don't add a vouch-row mutation to the promotion batch.usirin commentedon Jun 27, 2026
Handoff: #1288 — [divan] enable voting on sandboxed items from the divan (backend)
Done. Divan slice 2 of 6. PR #1314 (
Fixes #1288) — adivan.votemutation lets a yazar/mod score a sandboxed item from the divan, crediting the author's global karma (the merit signal for the reduced bar). BehindPHOENIX_AUTHORSHIP_LOOP(default-off). D2 (global karma) + D3 (yazar/mod equal weight) confirmed against ADR 0050/0014 — no deviation.Affects siblings:
divan.votemutation +DivanVoteReceiptview (<kind>:<itemId>id, score, myVote). That's the integration point.Vote.castnow rejects a sandboxed target (VoteTargetSandboxed); the sandbox-permitting path is the newVote.castOnSandboxed. Any sibling casting on a possibly-sandboxed target must usecastOnSandboxed(and gate it). The error-union pins indomain-error-boundary.unit.test.tswere updated to match.user_profile.total_karma, which this vote path increments globally.Watch out:
requireDivanAccess/ViewDivan, enforcement-by-R (ADR 0107). Don't reintroduce anif (tier === yazar || isMod);yield* ViewDivanis the gate.sandboxVisibleWhere/ inline{mod, author}reach is deliberately NOT widened — the divan is the only widening.feat(kunye): vouch flow + order-independent tandem resolver (#1289) (#…
docs(glossary): register divan brand noun + çaylak/yazar standing tie…
usirin commentedon Jun 29, 2026
Ledger reconciliation — divan cohort registered (#1295)
The
## Dependenciesledger now down-links the divan sub-decomposition #1287–#1292 (previously up-linked only in slice prose), closing the one-directional gap surfaced in #1295. The original plan-epic ledger (#1203–#1214, review-plan-PASSED 2026-06-22) is intact and untouched — the "never plan-epic'd" premise was false (per #1295's own triage note).#1206 ↔ divan overlap, settled: EXTEND, not supersede. Grounded in the merged code, not intuition —
pasaport/mutations.tsimports kunye'sVouch/VouchLedger/moderate/requireVouchand shares the oneresolveTandemwithdivan; the code comments it directly ("Author-vouch promotion (#1206, tandem extended in #1289)"). #1206 (PR #1285) shipped the promotion path; #1289 (PR #1310) extended its tandem (order-independent + withdraw-vouch) and moved theVouchcapability into kunye (ADR 0107 §2–3). #1206 stays closed-completed — its mutation is live and called — not closed-superseded; no re-scope needed.Topology captured in the ledger: #1287 → #1288/#1289 → #1290/#1291; #1208 (karma atom) prereq for #1291. All six divan slices shipped.
usirin commentedon Jul 1, 2026
Canonical post-flip product roadmap (CPO ratification)
Recording the rung sequence so v1's boundary is durable across sessions and no one — human or agent — mistakes downstream products for v1 scope.
v1 (#1202) = the çaylak→yazar earned-authorship loop, and nothing else. Humans-only, dark-shipped behind the Flagship flag. Everything below is a separate, later release, sequenced — not part of v1.
The spine: one loop → its signal → the deepening the signal justifies. Validate v1's single bet (does the aspiration loop pull çaylaks into yazars?) before committing to the products it's meant to justify.
Explicitly: künye / imge / kampus-CLI are NOT v1. Their milestones (9/10/11) now carry this banner. They are greenlit only on a positive Rung-1 read — if çaylaks lurk instead of climb, künye's economy (and the rest) may never ship as specified. North Star horizon is fenced in discussion #1194.
Ratified in a CPO/CTO/founder roadmap session · 2026-07-01
feat(funnel): conversion-funnel readout tracer bullet — mod-gated tie…
feat(funnel): promotion rate — the çaylak→yazar headline number (#1593)…
feat(funnel): first-contribution rate — share of çaylaks with ≥1 sand…
feat(funnel): vouch rate — share of çaylaks who received ≥1 vouch/kef…
feat(funnel): time-to-promotion — median registration→yazar from prom…
usirin commentedon Jul 2, 2026
Closing as completed: all children shipped, and the authorship loop is both merged and released (phoenix-authorship-loop flag ON in prod). Successor work is tracked in #1665 (moderator UI) and #1666 (notifications). — backlog grooming 2026-07-02 (evidence-verified against main)