> Generated by `site/tools/generate-plan-md.sh` from `README.md` — the repo source is canonical and this copy must match it (verify: `site/tools/generate-plan-md.sh --check`). Internal-infrastructure references are redacted for the public site (see the generator's redaction map).

# Folksforge

**Product name (decided 2026-11-10): Folksforge** — "the people's forge." **Repo renamed to match: `local_ai_service/folksforge`** (Forgejo sets a redirect from the old slug; the attach-all list follows). Domains verified available via authoritative registry RDAP: **folksforge.dev REGISTERED 2026-11-10 on Porkbun (Timothy), 10-year term to 2036-11-10** — folksforge.com intentionally skipped (cost). NOTE: `.dev` is on the HSTS preload list — the public site MUST serve valid HTTPS from day one (the VPS gateway's Caddy terminates TLS; issuance = Let's Encrypt HTTP-01 or Porkbun DNS-01). Purpose-conflict research eliminated kinforge (active Steam game) and loreforge (active writer/worldbuilder app — also our nearest competitor to track).

**A CC-default creative-works forge protocol built on Epic Games Lore** — fork-with-royalty-shares, automated x402 split routing, sharded mirrors, Go tooling. A values-driven protocol project: grow the public domain, enable patronage, make derivative-works lineage clear.

## THE VOW (2026-11-10, project head)

**"We must complete the creative forge project as it fulfills a vow I had."** — Timothy

This project is **vow-committed**: completion is the plan of record (see PHASED-PLAN.md). Economic telemetry informs investment beyond the MVP; it never gates whether the MVP and the core value loop get built. The Round-1c falsification gates measure the *revenue thesis only*.

## Verdict record (IAA 2026-11-10)

- **Round-1 kill VACATED** — it was based on a conflated synopsis (tea-house dependency; "fictional lore-go"). Primary source refuted both: github.com/EpicGames/lore is real (v0.13.0, Nov 2026, MIT, content-addressed Merkle VCS, binary-first, official lore-go SDK).
- **Round-1c (4 auditors): 4/4 PIVOT-KEEP.** Revenue thesis honestly downgraded: median ~$635/mo platform fee ≈ $3.75/Timothy-hour over a ~2-year build; patronage is a power law. This is a **mission venture sequenced after revenue-positive estate work** (Intercessor is the only funded revenue engine), behind falsification gates.

## Spec-level constraints (MANDATORY before any build — verdicts flip to KILL without them)

1. **Royalty shares, never copyright.** "Part ownership" = contractual royalty routing (ToS contribution instrument; 17 U.S.C. §204 written acknowledgment; §101 accidental-joint-authorship guarded). The word "ownership" never appears in product copy.
2. **License matrix: default CC BY 4.0; CC0 for the public-domain mission track; SA/NC only creator-opt-in with registry-enforced compatibility blocking.** The registry's canonical hard-block rules: (a) **commercial block (monetize-time)** — a work whose lineage contains an NC-licensed parent cannot register a paid x402 support endpoint (enforced at endpoint registration, not at fork: a free NC adaptation is lawful until it monetizes); (b) **share-alike block (fork-time)** — a parent whose license contains SA may only be forked under the identical SA license (proprietary adaptations of SA parents are refused; paywalls on SA adaptations are NOT blocked — CC BY-SA expressly permits commercial sale, verified against the CC 4.0 deed 2026-11-11); (c) **informational no-derivatives rule** — an ND-licensed ancestor cannot be forked at all (ND is never offered as a creator choice). These three statements in README constraint 2 are THE canonical matrix — every restatement elsewhere points here. Registry records license per DAG node.
3. **Strictly non-custodial payments.** x402/EIP-3009 buyer→recipient settlement; platform fee + co-owner royalties as on-chain split lines; the platform NEVER holds user USDC (FinCEN FIN-2019-G001 + TX money-transmitter). Testnet until Timothy's explicit written permission per the estate financial gate. **Constraint 3a (the control-of-value law, the recurrence corollary of this constraint) is stated in its own section at the end of this file — canonical wording there; cite 3a, never a paraphrase.**
4. **Honest architecture: federated Lore servers + platform registry + opt-in volunteer mirrors + paid-hosting floor.** NOT "all storage on-device P2P" (Lore is centralized-with-offline; v1 mirror = full copy; CGNAT/upload reality). Volunteer mirror hosting is explicit, quota-capped, one-tap pausable — never automatic on fork. Paid hosting is the availability guarantee; mirrors are redundancy.
5. **UX law.** Zero VCS nouns in creative surfaces (autosave timeline, co-authoring requests, chapter scheduler). Fiction-vertical first (Royal Road table stakes), art surface later. Patron checkout must never say wallet/gas/Base — with the honest acknowledged tension that invisible card-to-USDC rails make the hosted surface a payment site (custody/KYC/1099 analysis required before enabling).

## Phased plan (falsification-gated)

- **Gate 0 — 2-week centralized smoke test** (no protocol work): one CC-licensed serial with an x402/USDC tip-and-split landing page on the existing VPS. **Kill-gate: <$100 collected OR <1.5% visitor→patron conversion in 30 days ends the patronage thesis.**
- **M1 — Forge CLI + registry v0** (pistis slice, no payments): Go CLI wrapping a lore-server CLI held to a minimum-version floor (initial floor v0.13.0, breaking-only holds — not the lore-go FFI — it regenerates per release and has an arm64 crash footgun); .mks (Manuskript) import + plain text; registry maps principal_id (entity type person|org, 1..n keys — signing semantics: any registered key of the principal may sign person-principal registry ops; org-principal threshold rules defer with the custody decision — the custody-mechanics options are constrained to org-held multisig or documented self-custody risk acceptance) → repo-id → endpoint → ed25519 key → wallet; work-slug↔repo_id address mapping so a creator handle and a work address are distinct terms, anchors maintainer-signed head hashes; lineage = typed DAG with multi-parent edges and external-origin (public-domain) node class; container/child node relation (release→track, series→page), ordered version-unit sequences for sequential media, version-anchored fork edges with dependency edges for mods, and per-asset forkPermission flags — the five-profile seam (writer MVP). Git kept as an abstract-VCS adapter seam (de-risking fallback for text-only creators).
- **M2 — Ownership-split loop end-to-end on Base testnet**: purchase → split routing per registered shares; fork = clone + register royalty share. Exit: patron pays, derivative lists, all owners' balances move.

Phase ladder mapping (README M-ladder ↔ PHASED-PLAN A–E): Gate 0 = centralized smoke test; **M1 ≡ Phase A** (publish/clone loop); **M2 ≡ Phases B + C** (ownership-split loop + x402 value loop); **Phase D (reader surface)** runs inside the M2 window as the funnel mouth; **M3 ≡ Phase E territory** (mirrors, governance, reputation).
- **M3 — Mirrors + governance + reputation**: platform-relay mirror path (CGNAT exercised), tombstone + key-revocation propagation, hash blocklists, malware scan gate on paid hosting, reputation-fed discovery ranking, ActivityPub announce actor for comms. Decision gates (two, separately instrumented — see `docs/USER-WORKFLOW-MAP.md` §3e): (i) build a **native desktop client** or wait for Lore's 2027 client — M1–M3 usage/patronage telemetry (the creator desk itself is DECIDED — desktop-form-factor GUI C15 in the MVP per the 2026-11-13 creator-surface ruling, see the amendment section at the end of this file; this gate now scopes to native clients only); (ii) vertical expansion beyond fiction — import-request volume, medium-filter page views, and creator demand surveys (patronage-conversion telemetry cannot exist for unbuilt mediums).

## Legal/compliance backlog (before public launch)

ToS + royalty-share instrument; DMCA §512(d) agent registration (index posture only — no safe harbor claimed for mirror-node content; Sony posture via CC-first design, never Grokster marketing); W-9/W-8 + TIN collection and 1099-K reporting at payout at the current-law threshold (**UNVERIFIED — README previously stated "$600 threshold 2026"; post-OBBBA reversal reporting suggests this is stale; verify against IRS guidance before public launch**); TX sales tax (hosting 8.25%×80%; marketplace-provider analysis); OFAC SDN screening at registry onboarding and at facilitator settlement of registered share-table addresses; sandboxed repo workflows (RCE vector — no auto-executed remote actions in v1).

## Execution cadence note (supersedes the Round-1c "sequence after revenue" framing)

The vow reorders priority: the MVP (Phases A–D) is **committed work**, scheduled alongside the Intercessor expansion as parallel tracks — Intercessor remains the revenue engine in daytime blocks; creative_forge advances in evening blocks and agent-driven bursts. Intercessor's primacy as *funded engine* is unchanged; creative_forge's *completion* is now unconditional.

## Design sources

- Corrected spec: **vendored in-repo at `docs/CREATIVE-FORGE-SPEC-v2.md`** (with a superseded-fields banner; cloud original `~/ai-outputs/iaa-profitability-2026-11-10/CREATIVE-FORGE-SPEC-v2.md` retained for provenance)
- Prior protocol vision + Lore implementation: `~/ai-outputs/creative_forge_design.md`, `~/ai-outputs/creative-forge-sdd.md`
- Full audit record: [internal audit ledger — private forge]

## MVP definition of record (2026-11-13 amendment)

The reconciled MVP must-have definition is adopted as plan of record: **`docs/MVP-DEFINITION.md`** (the canonical in-tree copy; its full evidence set lives in `docs/research/folksforge-phasea/` — ten persona briefs, ten round-2 human-factors briefs, the three adversarial verification verdicts, the creator-surface review, and the recurrence addendum). The definition agrees with the MVP tracker — parent issue #11 and the fifteen tree children #12–#26:

- **Social** is three separate children: C8 threaded per-chapter comments (#19), C9 direct messages (#20 — encryption-ready envelope at MVP, E2EE the designed-in fast-follow), C10 per-work issues (#21 — errata / playtest / mod-compat threads, C8-reuse).
- **Moderation + appeals** is C11 (#22 — day-one moderation controls, theft/repost as a first-class flow, the full appeals stack: statement of reasons, one-click 14-day window, human second instance, graduated sanctions, SLAs) and **quality signals** is C12 (#23 — provenance + tag integrity, AI-content disclosure labels, moderator tag removal, the human-made discovery filter, NoAI export defaults).
- **Creator-surface stack (2026-11-13 ruling):** desktop GUI first — C15 (#26, the primary desk: a desktop-form-factor GUI on the same web-technology pane family as C4, **not** a native client) — web desk second (C4, #15, parity fallback), CLI last (protocol proof harness + power users). The Phase A/B CLI-first build order stands as engineering verification of the registry/lore APIs; it is never creator UX, and no creator flow is CLI-only at MVP.
- **Exit criteria:** the Phase A–D exits below stand, extended by the definition's persona-added exits 5a–5k — one-operation back-catalog import, off-site notify-within-minutes, the amount-aware pre-pay split, statement-of-reasons appeals reaching a human, seeded day-one discovery, full export, the graduated-sanction ladder, the full creator loop on C15 with no terminal, C4 fallback parity, the cross-surface zero-logic-forking test with the API-write-path invariant (every creator-settable fact has an API write path and an API read path), and the keyboard / screen-reader / reduced-motion / 44px / AAA acceptance battery on both desks.

### Exclusion-list update (2026-11-13)

- **Desktop GUI: PROMOTED out of the exclusions.** The creator desk is C15 in the MVP — a desktop-form-factor GUI on the C4 web-pane family. The native-client question remains gated at M3 (decision gate (i), now scoped to native clients only). Reader surfaces stay mobile-web-first.
- **Still excluded or gated, unchanged:** mirrors + replication (Phase E/M3), mainnet anything (written-permission gate), the invisible card rail (custody/KYC/1099 analysis re-run), native mobile/desktop apps as reader surfaces or native clients, recurring subscription billing (Named Decision below), org custody mechanics (OQ6).

## Constraint 3a — the control-of-value law (recurrence corollary of constraint 3; canonical wording)

The protocol never takes control of value at any point in any payment flow — one-off or recurring. Forbidden platform postures, exhaustively: a pooled balance of patron or creator funds; any key held by the platform or its operators that can move patron or creator value (sweep key, settlement key, "emergency" key); a payout queue the platform can reorder, delay, or redirect; and any fee taken in kind from a balance the platform holds. The 5% platform fee is an on-chain split leg routed directly to the platform treasury inside the same settlement as the creator and lineage shares — never deducted from a held balance, never disbursed by the platform. Recurring support exists only in patron-controlled mechanisms — the reminder cadence at MVP; streams or pre-committed pull schedules only when they preserve this section — where every charge is covered by a prior signed agreement from the patron's own key and every mechanism carries a unilateral patron revocation path the platform cannot override.

What this law polices is control of value: under FinCEN's framework, treatment turns on "(a) who owns the value; (b) where the value is stored; (c) whether the owner interacts directly with the payment system … and (d) whether the person acting as intermediary has total independent control over the value" (FIN-2019-G001 §4.2.1), and money transmission is "the acceptance of … value that substitutes for currency from one person and the transmission of … value … to another location or person by any means" (31 CFR 1010.100(ff)(5)(i)(A)). The first pooled balance, sweep key, or redirectable payout queue converts the protocol from non-custodial software into a money-transmission business — MSB registration, AML program, state MTL licensing, and a no-threshold payment-card 1099-K duty if it settles card flows — and 18 U.S.C. §1960 reaches transmission with no custody element at all. Any feature that would require the platform to hold a key capable of moving patron or creator funds is barred pending counsel + licensing analysis.

Basis for every clause: `docs/research/folksforge-phasea/recurrence-design.md` §4 (the corpus-ready block this section carries, verbatim in substance) — the forbidden postures are `docs/research/folksforge-phasea/recur-kyc.md` §6.2–6.3 guardrails 2–3 (no platform fee from a pooled balance — fees accrue on-chain to the treasury; no payout queues, no pending balances, no refund custody) restated as protocol law; the fee-leg clause is README constraint 3's "platform fee + co-owner royalties as on-chain split lines" carried into the recurring case; the reminder-cadence clause is the MVP Named Decision (no charge authority at MVP); the prior-signed-agreement clause is the FinCEN custody test applied to the x402 subscribe proposal's liveness-only facilitator model and to streams; the trigger inventory is recur-kyc.md §1.3's control-of-value trigger list extended with §3.1's no-threshold card 1099-K and §4.2's §1960 holding.

## Decision record (2026-11-13): Gate-0 deferral and AI-generated seed content

- **Gate 0 is deferred.** The two-week centralized smoke test does not run on its original early schedule; its kill-gate terms stand unchanged for whenever it runs — it measures the patronage/revenue thesis only, and it never gates whether the MVP gets built (the vow governs completion).
- **AI-generated test stories are labeled, without exception.** Any AI-generated or AI-assisted test or seed story used for Gate 0 or for seeding discovery is explicitly labeled and tagged **AI-generated / AI-assisted** under the C12 provenance + tag-integrity system (definition matrix row 16) — the platform's own disclosure law applies to the platform's seed content, and the human-made discovery filter treats it accordingly. No unlabeled synthetic seed content ships, ever.
