Skip to Content
Draft developer docs. Mentura is a working name (EE-027).
InterfacesRoutes

Routes

Every record and command a venture has is a route, generated from the data model and the kits. The CLI, the MCP server and the HTTP API share one route table, so they cannot disagree.

Routes follow the Next.js App Router. Layers stay in the path, so a route is its record’s folder path: purpose/validation/problem is purpose/validation/problem.json.

Next.jsHere
routeRecord actions read, write, check and template; command routes run
pageThe view action: a Markdown page for a person
layoutThe context an agent gets before acting: kit purpose, skills, references, template, gate and need-now status
not-found, loading, errorA missing record answers with its template; a waiting draft is reported; a failed check answers with how to fix it
[id]Collection items, such as purpose/product/kettle
[...slug]The venture, by id or by a nested venture’s path (studio/print)
(group)One group per phase
@slotsystem/overview: slots that render side by side
_private_drafts/, never routed
proxyGates before every write
robotsThe routes a team-plan role may read and write
redirectsRoute aliases for renamed routes

Every route

RouteActionsFiles or scriptDecision classWhat it is
evidence/evidenceread, view, layout, checkevidence/results/*.jsonAppend-only results of running checks
evidence/evidence/[id]read, view, layout, write, checkevidence/results/*.jsonAppend-only results of running checks
execution/handoffread, view, layout, checkexecution/handoffs/*.json
execution/handoff/[id]read, view, layout, write, checkexecution/handoffs/*.json
governance/boardread, view, layout, write, checkgovernance/board.jsonownership-or-controlFormal and advisory boards, their seats and reserved matters
governance/decision-rightsread, view, layout, write, checkgovernance/decision-rights.jsonstrategy-or-constitution
governance/exitread, view, layout, write, checkgovernance/exit.jsonownership-or-controlExit paths kept open and sale values to model; payouts computed by payouts.mjs
governance/founder-agreementread, view, layout, write, checkgovernance/founder-agreement.jsonownership-or-controlWhat founders agreed: roles, commitment, IP, departure, deadlock; prose beside it
governance/ownershipread, view, layout, write, checkgovernance/ownership.jsonownership-or-controlThe cap table: share classes and their rights, holders, grants with vesting, option pool, SAFEs and notes (EE-022)
governance/payoutsrun, view, layoutschema/payouts.mjsWho gets what at a sale value, from the cap table (EE-022); input value, else the scenarios in exit.json
governance/pillarread, view, layoutpillars/*.mdThe product, brand and business pillars: teams, roles and deliverables. The template holds the guides; a venture holds one-line stubs that link to them
governance/pillar/[id]read, view, layoutpillars/*.mdThe product, brand and business pillars: teams, roles and deliverables. The template holds the guides; a venture holds one-line stubs that link to them
governance/publication-policyread, view, layout, write, checkgovernance/publication-policy.jsonstrategy-or-constitutionWhere the venture publishes and who may publish what there: channels, guidelines, checks, preview and approvers; every publication passes this gate (EE-025)
knowledge/venture-profileread, view, layoutprofile.mdThe venture's story and thesis in prose, beside venture.json
operations/mad-answersread, view, layoutoperations/systems/*.answers.jsonAnswers to the MAD questions for one system; MAD repo has record.schema.json, not yet folded in
operations/mad-answers/[id]read, view, layoutoperations/systems/*.answers.jsonAnswers to the MAD questions for one system; MAD repo has record.schema.json, not yet folded in
operations/team-planread, view, layout, write, checkoperations/team-plan.jsonWho the venture needs, agent or person, when, with what authority, and where a human stays in the loop; recruiting briefs for open person roles (EE-029)
purpose/accountread, view, layout, checkaccounts/*/account.jsonA named party the venture keeps a record for: client, customer, user, member or partner (EE-021). Optional
purpose/account/[id]read, view, layout, write, checkaccounts/*/account.jsonA named party the venture keeps a record for: client, customer, user, member or partner (EE-021). Optional
purpose/anatomy-answersread, view, layoutpurpose/anatomy.answers*.jsonScores per product per question; the matrix is rendered from them
purpose/productread, view, layout, checkproducts/*.json
purpose/product/[id]read, view, layout, write, checkproducts/*.json
purpose/telosread, view, layout, write, check, templatepurpose/telos.jsonstrategy-or-constitutionThe end the venture exists to reach: statement, end state, measures, owner outcome, exit criteria per phase (EE-023)
purpose/validation/go-to-marketread, view, layout, write, check, templatepurpose/validation/go-to-market.jsonValidation sub-score: path, motion, channels and evidence a channel works; the path sets the weights (EE-026)
purpose/validation/operations-readinessread, view, layout, write, check, templatepurpose/validation/operations-readiness.jsonValidation sub-score: per MAD tier evidence; grades as the weakest tier (EE-026)
purpose/validation/pricingread, view, layout, write, check, templatepurpose/validation/pricing.jsonValidation sub-score: price model, points, buyer and evidence they pay (EE-026)
purpose/validation/problemread, view, layout, write, check, templatepurpose/validation/problem.jsonThe problem sub-score of validation: the claim and its cited evidence, each item graded (EE-026). Shares schema/validation-evidence.schema.json with every sub-score
purpose/validation/product-market-fitread, view, layout, write, check, templatepurpose/validation/product-market-fit.jsonValidation sub-score: retention cohorts, Ellis survey and evidence that a segment keeps using it (EE-026)
purpose/validation/scorerun, view, layoutschema/check-validation.mjsThe validation score from graded evidence (EE-026)
purpose/validation/solutionread, view, layout, write, check, templatepurpose/validation/solution.jsonValidation sub-score: how it solves the problem and the evidence people choose it (EE-026)
purpose/validation/teamread, view, layout, write, check, templatepurpose/validation/team.jsonValidation sub-score: skills needed, held and the gaps; cofounder sought (EE-026)
system/need-nowrun, view, layoutschema/need-now.mjsWhat the venture needs now, soon, or should hold back (EE-028)
system/overviewrun, view, layoutrouterThe venture at a glance: telos, validation, need-now, time to ready, team and recent provenance, rendered as parallel slots
system/provenanceread, view, layout, checkprovenance.jsonlWho or what wrote each record, how, from what and under which decision: one append-only line per write, hash-chained, after W3C PROV (EE-031)
system/robotsrun, view, layoutrouterWhich roles may read and write which routes, from the team plan
system/time-to-readyrun, view, layoutschema/time-to-ready.mjsTime to running, and to ready per layer and MAD tier
Last updated on