Skip to content

kamp.us v1 — earned authorship: the çaylak→yazar proving ladder (dark-shipped) #1202

Closed
12 of 12 issues completed

Description

@usirin

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|moderator role 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

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

  1. 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.
  2. 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.
  3. As a çaylak, I want to always see my own sandboxed content, so that I know my contributions are saved and pending.
  4. As a moderator, I want to promote a çaylak to yazar manually, so that authorship is earned and granted, not automatic.
  5. 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.
  6. 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).
  7. 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.
  8. 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.
  9. 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.
  10. 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.
  11. 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.
  12. As the platform, I want the authorship tier to be server-managed and unspoofable, so that no client can self-escalate to yazar.
  13. 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).
  14. 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.
  15. 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.
  16. 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.
  17. 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 existing member|moderator role, read through pasaport with the same capability discipline as Moderator.required and the same input:false unspoofability as role (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 the removed_at IS NULL guard 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)

Phase 2 — loop core (data-ordered)

Phase 3 — seed + surfaces + finishing work (parallel)

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.

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

Sub-issues

12 of 12 Issues completed
Loading 12 sub-issues

Activity

  1. added
    status:needs-triage
    on Jun 22, 2026
  2. self-assigned this
    on Jun 22, 2026
  3. added
    p0
    status:triaged
    type:epic
    and removed
    status:needs-triage
    on Jun 22, 2026
  4. usirin commented on Jun 22, 2026

    @usirin
    MemberAuthor

    Triage: type:epic · p0 · milestone #14 retained. Not split — decomposition is plan-epic's job (per the founder's seed list of ~8 tracer-bullet children + the DESIGN-AUDIT.md NOW 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 to plan-epic.

  5. removed their assignment
    on Jun 22, 2026
  6. added
    status:planning
    on Jun 22, 2026
  7. 19 remaining items

  8. usirin commented on Jun 27, 2026

    @usirin
    MemberAuthor

    Epic handoff — slice 3/6: vouch flow + order-independent tandem resolver (#1289)

    PR: #1310 (Fixes #1289) — awaiting review-code.

    Done

    Affects siblings

    Watch out

    • The yazar never holds a promote capability — authority is the Moderate grant or the completed-tandem invariant; resolveTandem holds none. Don't add a yazar-level promote right.
    • Cap-slot return on promotion is derived via the activeCountFor inner-join to user.tier = 'çaylak', not a write — don't add a vouch-row mutation to the promotion batch.
  9. usirin commented on Jun 27, 2026

    @usirin
    MemberAuthor

    Handoff: #1288 — [divan] enable voting on sandboxed items from the divan (backend)

    Done. Divan slice 2 of 6. PR #1314 (Fixes #1288) — a divan.vote mutation lets a yazar/mod score a sandboxed item from the divan, crediting the author's global karma (the merit signal for the reduced bar). Behind PHOENIX_AUTHORSHIP_LOOP (default-off). D2 (global karma) + D3 (yazar/mod equal weight) confirmed against ADR 0050/0014 — no deviation.

    Affects siblings:

    • [divan] divan surface — roster + çaylak detail (frontend) #1290 (divan surface) renders the per-item up-vote off the new divan.vote mutation + DivanVoteReceipt view (<kind>:<itemId> id, score, myVote). That's the integration point.
    • Vote engine contract changed: Vote.cast now rejects a sandboxed target (VoteTargetSandboxed); the sandbox-permitting path is the new Vote.castOnSandboxed. Any sibling casting on a possibly-sandboxed target must use castOnSandboxed (and gate it). The error-union pins in domain-error-boundary.unit.test.ts were updated to match.
    • [divan] vouch flow + order-independent tandem resolver (backend) #1289 (vouch/tandem) is the consumer of the karma this slice produces — the reduced bar reads user_profile.total_karma, which this vote path increments globally.

    Watch out:

    • The divan-audience gate is reused from slice 1 ([divan] divan read model + yazar/mod gate (backend) #1287) — requireDivanAccess / ViewDivan, enforcement-by-R (ADR 0107). Don't reintroduce an if (tier === yazar || isMod); yield* ViewDivan is the gate.
    • sandboxVisibleWhere / inline {mod, author} reach is deliberately NOT widened — the divan is the only widening.

    Note: epic #1202's body/ledger still does not list the divan slices #1287–#1292 (flagged by triage on #1288). Wiring the children ledger is plan-epic/owner work.

  10. usirin commented on Jun 29, 2026

    @usirin
    MemberAuthor

    Ledger reconciliation — divan cohort registered (#1295)

    The ## Dependencies ledger 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.ts imports kunye's Vouch/VouchLedger/moderate/requireVouch and shares the one resolveTandem with divan; 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 the Vouch capability 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.

  11. usirin commented on Jul 1, 2026

    @usirin
    MemberAuthor

    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.

    Rung What Gate to advance
    0 — v1 live Seed ~20 founding author-mods, flip the Flagship flag to the cohort Prod deploy path trustworthy (#1436)
    1 — the read #1585 conversion instrumentation + #1586 ship-digest — make the loop legible, not new product Conversion signal legible + non-zero
    2a — künye (#41, milestone 10) Reputation DO — karma write-path, invite tree, agent identity Only if Rung 1 reads positive (karma load-bearing)
    2b — imge (#102, milestone 9) Media host — media embeds lift contribution quality Rung 1 stable (parallel-with-read is an open founder call)
    3 — kampus CLI (#113, milestone 11) + agents climb (v1.1) Authenticated CLI surface Behind künye's agent-identity design (#145)

    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

  12. usirin commented on Jul 2, 2026

    @usirin
    MemberAuthor

    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)

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    p0status:triagedtype:epic

    Type

    No type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions