Skip to content
DOCS · ARCHITECTURE · 40 MIN READ

Epistemic Framework & Evidence Grading Specification

The 8 Core Principles, Admiralty-derived A–E evidence grading system, WEP sensitivity analysis, and anti-pattern guardrails.

Overview

### Complete Specification for Evidence-Grounded Technical Research *Version 0.1.0 — Empirically Validated via 11 Meta-Research Sessions*

Executive Philosophy & The Three Research Scopes

Note

**The Research-First Law:** *Investigate irreversible architectural decisions and comparative choices with graded, verifiable evidence — whether architecting a new system on Day 0, resolving an architectural dilemma on Day 30, or evaluating competing technologies on Month 6. Develop nothing based on cached assumptions, outdated training data, or hallucinated consensus.*

Technical failures and architectural rewrites are rarely caused by poor implementation — they are caused by **premature decisions made on unverified assumptions.** Vivechak is an evidence-grounded research meta-framework that discovers, evaluates, resolves, and grounds technical decisions across the software lifecycle.

### The Three Research Scopes

Vivechak operates at three distinct scope levels calibrated to decision blast radius:

Terminal
┌──────────────────┬──────────────────┬──────────────────┬────────────────────────┐
│ 1. Comparison    │ 2. Decision      │ 3. Project       │ 4. OUT OF SCOPE        │
│    (WEP Matrix)  │    (ADR D-NNN)   │    (FAD Pipeline)│    (NO Vivechak)       │
├──────────────────┼──────────────────┼──────────────────┼────────────────────────┤
│ • 1 session      │ • 1–3 sessions   │ • 4–30 sessions  │ • 0 sessions           │
│ • ~5 minutes     │ • ~30 minutes    │ • Full pipeline  │ • Direct execution     │
│ • 0 DAG          │ • 0 DAG          │ • Topological DAG│ • Zero ceremony        │
│ • 0 FAD / 0 Gate │ • 0 FAD          │ • FAD + Phase 0  │ • No MCP tools called  │
│ • 1 template     │ • 2 templates    │ • 6 templates    │                        │
└──────────────────┴──────────────────┴──────────────────┴────────────────────────┘

1. **Comparison Scope (`GENERATOR-COMPARISON.md`):** Rapid evaluation between 2–5 options producing an evidence-graded Weighted Evaluation Protocol (WEP) matrix in a single session without DAG or gate overhead. 2. **Decision Scope (`GENERATOR-DECISION.md`):** Focused investigation for an architectural dilemma in an existing project, producing a validated Architectural Decision Record (ADR) in 1–3 sessions. 3. **Project Scope (`GENERATOR-PROJECT.md`):** Greenfield system architecture or major platform rewrite, decomposing uncertainty into an information DAG, synthesizing findings into a Founding Architecture Document (FAD), and verifying pre-codebase exit criteria via the Phase 0 Gate.

*(For detailed scope methodology, invariants I1–I9, and decision routing, see [§9. Multi-Scope Research](#9-multi-scope-research).)*

### Positioning: What Vivechak Is vs. What Vivechak Is Not

What Vivechak ISWhat Vivechak IS NOT
**Epistemic Grounding Engine:** Pre-coding research meta-framework providing empirical evidence grades (`E-A` through `E-E`)**A Code Generator:** It does not write production code, components, endpoints, or scripts
**Architectural Gatekeeper:** Enforces pre-coding exit criteria (`Track A` Two-Way vs. `Track B` One-Way Doors) with interactive human sign-off (`vck signoff`)**A Linter or Static Analyzer:** It does not analyze ASTs, enforce formatting, or typecheck code
**Reversibility-Calibrated Sieve:** 1-session comparisons (`C-NNN`), 1–3 session ADRs (`D-NNN`), or multi-session DAG pipelines**An Autonomous Orchestrator for Everything:** Not an open-ended loop for routine programming tasks
**Structured Falsification:** Mandates disconfirming evidence searches, substantive discovered concerns, and premortems**A Prompt Persona:** No expert persona roleplays, XML prompt bloat, or arbitrary search count quotas

### How Project Scope Operates (Full Pipeline)

Terminal
PROJECT VISION
    │
    ▼
┌─────────────────────────────────────────────────────┐
│  COMPLEXITY SCORING (8 dimensions, 0–24 pts)        │
│  → Determines research depth tier (0–3)             │
│  → Routes each decision by reversibility            │
└───────────────────────┬─────────────────────────────┘
                        │
                        ▼
┌─────────────────────────────────────────────────────┐
│  CONSTRAINED DAG EXECUTION                          │
│  Sessions run when dependencies are satisfied       │
│  Default: unblocked. Hard deps block; soft don't.   │
│  Adaptive checkpoints expand/contract scope         │
└───────────────────────┬─────────────────────────────┘
                        │
                        ▼
┌─────────────────────────────────────────────────────┐
│  STAGED TRIANGULATION & EVIDENCE GRADING            │
│  Single-model default → critique probe →            │
│  full triangulation (One-Way Doors only)            │
│  A–E grades + modifiers + verification tracking     │
└───────────────────────┬─────────────────────────────┘
                        │
                        ▼
┌─────────────────────────────────────────────────────┐
│  TWO-TRACK PHASE 0 GATE                             │
│  Track A: Fast-track for Two-Way Doors              │
│  Track B: Rules G1–G11 gate + premortem for One-Way Doors │
└───────────────────────┬─────────────────────────────┘
                        │
                        ▼
┌─────────────────────────────────────────────────────┐
│  FOUNDING ARCHITECTURE DOCUMENT (FAD)               │
│  Map-Reduce synthesis → sealed specification        │
│  → Repository scaffolding begins                    │
└─────────────────────────────────────────────────────┘

Core Principles

Vivechak v0.1.0 is governed by 8 evidence-grounded principles. Each was empirically validated through the meta-research pipeline and cites its supporting evidence.

### P1: The Context Architecture Law *Supersedes: pre-validation Aspect-Isolation Law*

Research quality is governed by **attention budget, context purity, and task boundaries** — not by arbitrary session counts. The constraint is real (token/search budget is the dominant predictor of performance on web research benchmarks — OpenAI BrowseComp scaling analysis), but the remedy is conditional decomposition, not blanket fragmentation.

**Rules:**

  • Decompose into dedicated research contexts when sub-tasks have low interdependency, high individual complexity, or divergent search spaces.
  • Integrate coupled topics into structured joint sessions when evaluating holistic system tradeoffs.
  • Every decomposed investigation **must** conclude with an explicit downstream synthesis pass.
  • Over-isolation triggers the split-attention effect, introduces 4–15× token overhead, and misses systemic cross-cutting trade-offs.
Note

**Evidence:** E-001 (OpenAI BrowseComp — accuracy scales with search budget/compute), E-002 (MTI +12.4% on joint tasks), E-003 (Chandler & Sweller split-attention), E-004 (Chroma context rot)

Note

**Terminology note:** P1 aligns with the 2025-2026 "context engineering" paradigm — the systematic design of what information reaches a model's context window, in what form, and at what priority. Vivechak's decomposition-by-attention-budget and synthesis-after-decomposition rules are specific operational principles within that broader discipline.

### P2: Reversibility-Calibrated Rigor

The depth of research, evidentiary burden, and review overhead allocated to a decision must scale directly with its **reversibility and blast radius**.

Door TypeDefinitionResearch DepthEvidence Bar
**One-Way (Type 1)**Consequential, costly/impossible to reverse (primary datastore, data model, auth architecture, core language/runtime, regulatory compliance, public API contracts, hosting infrastructure, deployment architecture)Deep research, multi-session, corroborated evidenceGrade A/B, human review, premortem
**Two-Way (Type 2)**Cheap, fast to reverse (UI framework, styling, CI tooling, non-core utility libraries)Fast spike or convention decision on ~70% informationGrade B/C acceptable, no gate required
Note

**Evidence:** E-010 (Cynefin), E-011 (DORA defect concentration), E-012 (Amazon Type 1/2 doors)

### P3: Evidentiary Grounding & Verification Provenance

No technical assertion or architectural decision may be accepted without:

  • An explicit **evidence grade** (A through E)
  • Provenance tracking (`verification_method`: fetched, cached, recalled, secondhand, human-provided)
  • Contextual modifiers (corroboration, recency, directness)

**Hard rule:** Unverified AI parametric recall is capped at Grade D. Zero recalled citations may support One-Way Door decisions.

Note

**Evidence:** E-013 (GRADE framework), E-014 (Admiralty Code collapse), E-015 (AI citation confabulation)

### P4: Prescriptive Scope, Dynamic Method *Supersedes: pre-validation 8-section XML prompt anatomy*

Research briefs must be:

  • Prescriptive on WHAT to investigate, WHY it matters, WHAT boundaries apply, and WHAT coverage is required.
  • Directional on HOW to execute: no pre-scripted search queries, no artificial search counts, no expert role-playing personas, no rigid output skeletons.

**Bounded Exploration Mandate:** Prescriptive scope defines the **minimum coverage floor**, not a ceiling. If research reveals critical concerns, risks, dependencies, or opportunities beyond the stated scope that are material to the decision being informed, the researching agent should investigate and include them — justified with evidence. This prevents the "hyper-literalism" effect where frontier models constrain their native reasoning to only the explicitly listed elements, missing emergent or adjacent concerns the prompt author could not have anticipated.

Front-load the complete brief in a single turn. Never drip-feed instructions across multiple turns (39% performance drop documented).

Note

**Evidence:** E-017 (Laban et al. ICLR 2026, 39% multi-turn drop), E-018 (persona debunking), E-019 (ReAct paradigm), E-020 (format restriction penalty)

**Audience framing vs. persona assignment:** Specifying the target audience (e.g., "a Principal Architect needing production-grade tradeoffs") sets the QUALITY BAR for the output. This is distinct from persona assignment (e.g., "You are an expert database engineer"), which attempts to alter the model's reasoning behavior. Audience framing is prescriptive scope (WHAT quality level); persona assignment is method prescription (HOW to think). The former is permitted under P4; the latter is empirically refuted.

**The Zero-Tooling Boundary (Out-of-Scope Protection):** Vivechak's evidentiary rigor applies strictly to technical choices, comparisons, architectural evaluations, and system design. It must **never** be invoked for routine code implementation, syntax questions, local debugging, or micro-refactoring. Applying research ceremonies to everyday programming triggers cognitive friction, slows development, and wastes model attention budget.

### P5: Commodity-Maximized Composition *Supersedes: pre-validation fixed ~40/60 ratio*

  • Compose 100% of commodity/utility components from battle-tested providers (Auth, DB, Storage, Queues, UI primitives, CI/CD).
  • Build 100% custom only for proprietary domain intelligence, core state machines, differentiated business logic, and unique algorithms.

The ratio varies by domain. Use Wardley evolution mapping, not fixed percentages.

Note

**Evidence:** E-024 (Wardley mapping), E-025 (Fowler MonolithFirst), E-026 (DORA loosely-coupled architecture)

### P6: Dual-Audience Artifact Architecture

Research outputs must serve both human readers and machine consumers:

  • Hybrid Markdown + YAML frontmatter — human-readable body with machine-parseable metadata.
  • Standardized 7-section H2 skeleton — consistent structure enabling automated Map-Reduce synthesis.
  • Strict separation between `Recommendation` and `Alternatives Considered` — prevents AI code-generation contamination from rejected options.
Note

**Evidence:** E-021 (MADR 4.0), E-022 (GraphRAG header chunking), E-023 (Git diff mechanics)

### P7: Staged Triangulation & Diagnostic Disagreement *Supersedes: pre-validation mandatory 3-model triangulation*

Multi-model consensus is an **escalation tool, not a mandatory ritual**.

StageWhenMethod
**Default**All sessionsSingle-model deep research
**Critique Probe**Medium-stakes decisionsFeed Pass 1 output to a second model for adversarial critique
**Full Triangulation**One-Way Doors + Novel Domain + Genuine ContestationRun identical prompt across 2–3 models; synthesize divergence via ACH matrix

Disagreement is treated as a **diagnostic signal** of problem ambiguity, not a vote to average out.

Note

**Evidence:** E-005 (Kim et al. ICML 2025, 60% correlated errors), E-006 (Gao & Xiao, model house styles), E-007 (Lorenz et al. crowds breakdown)

### P8: Structured Falsification & Diagnostic Review

Architectural analysis must prioritize **falsification over confirmation**.

  • Research prompts must explicitly seek disconfirming evidence against favored options.
  • Decision records must document rejected alternatives with causal rationale.
  • Every locked ADR must carry a `review_trigger` — explicit conditions or dates for mandatory re-evaluation.
  • One-Way Doors require a **Gary Klein Premortem** before commitment.
  • Every One-Way Door ADR should carry a `review_date` set BEFORE the outcome is known, and an optional `prediction` field recording the expected outcome. Post-project retrospectives compare predictions to actuals — without this closing loop, decision calibration can never improve over time.
Note

**Evidence:** E-028 (Mitchell, Russo & Pennington 1989 prospective hindsight, 30% risk identification improvement; popularized as the Premortem by Klein 2007), Heuer's ACH, Annie Duke decision journaling

Pipeline Architecture

### 3.1 Topology: Constrained DAG with Adaptive Checkpoints

Vivechak v0.1.0 replaces rigid stage gating with a **Directed Acyclic Graph** governed by explicit information dependencies.

#### The Inverted Dependency Default Every research session defaults to **unblocked** (eligible to execute immediately) unless an explicit hard information dependency is declared.

#### Dependency Classification

TypeDefinitionEffect
**Hard (Information)**Session B literally cannot formulate valid outputs without an artifact from Session ABlocks execution — DAG edge
**Soft (Contextual)**Session B benefits from terminology or constraints from Session ANo blocking — inject a Shared Context Brief (a concise summary of relevant terminology, constraints, and preliminary findings from upstream sessions, included in the prompt's BRIEF block)

#### Dependency Injection Protocol

When injecting upstream session outputs as context for downstream sessions:

1. **Extract only the specific information** declared in the dependency specification — typically 3–5 sentences summarizing the relevant decision, finding, or constraint. 2. **Do NOT attach full research artifacts** as context. A 10,000-word research report should be condensed to the specific findings the downstream session needs. 3. **Label the dependency type** in the downstream prompt: - **Constrains:** The upstream decision must be respected (e.g., "Database: PostgreSQL 16 — this is a locked One-Way Door decision") - **Informs:** The upstream finding provides context but should not limit independent evaluation (e.g., "Prior research found latency under 50ms at current scale — verify independently") 4. **Minimizing dependencies maximizes parallelism.** Most Layer 0 and many Layer 1 sessions can run concurrently. Reserve hard dependencies for genuine information prerequisites. 5. **Context Injection Slots:** In automated orchestration (MCP server), prompt templates include explicit slots: - `[UPSTREAM_FINDINGS]`: Injected into downstream session prompts with upstream decisions and evidence. - `[ALL_SESSION_FINDINGS]`: Injected into the final grand synthesis prompt (`SYN-01`) aggregating all completed session findings.

#### Adaptive Checkpoints

  • Expansion: If a session reveals unexpected Cynefin-Complex trade-offs, spawn a maximum of 2 child sub-sessions.
  • Contraction: If a planned session's core question has been authoritatively resolved upstream, close it immediately.
  • Incremental Synthesis: Partial FAD compilation begins as soon as any structural branch closes.

#### Pipeline Termination Criteria A research pipeline may be terminated early when ALL of the following are met:

  • Every identified One-Way Door decision has a locked ADR with Grade A/B evidence.
  • No remaining unexecuted sessions would inform an unresolved One-Way Door.
  • All executed sessions have produced actionable recommendations (not vague summaries).
  • No outstanding `contested` corroboration flags remain on critical claims.

Termination does NOT require executing every planned session. Two-Way Door sessions that remain unexecuted at termination are decided by convention and logged as Track A decisions.

#### Pipeline Failure Modes

When a research pipeline encounters problems, apply these recovery protocols:

**Session produces garbage (vague summaries, hallucinated citations, off-topic output):** 1. Check the prompt — is the BRIEF clear on WHAT to learn and WHY it matters? 2. Try a different model (Gemini → Claude → ChatGPT). Model strengths vary by domain. 3. If the topic is too broad, split into 2 focused sub-sessions. 4. If the model lacks web access, the output will be parametric recall at best — cap at Grade D and note `verification_method: recalled`.

**Synthesis deadlocks (sessions produce contradictory recommendations with equal evidence):** 1. This is expected, not a failure. Use `templates/CONFLICT-RESOLUTION.template.md` — the ACH matrix is designed for exactly this. 2. Check whether the contradiction is real (different evidence) or apparent (different scoping assumptions). 3. If evidence is genuinely equal, classify by reversibility: Two-Way Door → pick either and spike; One-Way Door → escalate to triangulation (run the same prompt on a second model). 4. If deadlock persists after triangulation, the decision may be in the Cynefin Complex domain. Consider a technical spike instead of more research.

**Gate reveals gaps (Phase 0 checklist fails on specific items):** 1. Identify which One-Way Doors lack adequate evidence. 2. Spawn targeted follow-up sessions for those specific gaps — do NOT re-run the entire pipeline. 3. If gaps are in Two-Way Door decisions, decide by convention (Track A) and move forward. 4. If gaps indicate the project vision itself is unclear, pause and clarify scope before spawning more sessions.

#### Progressive Elaboration Protocol

For Tier 2–3 projects where research may span weeks, the project vision may evolve mid-pipeline. When new constraints, pivots, or stakeholder feedback emerge:

1. **Update the RESEARCH-PIPELINE.md** with a dated amendment section noting the change. 2. **Assess impact on existing sessions:** If completed sessions are invalidated, mark their ADRs as deprecated with superseded_by linking to new sessions. 3. **Add or modify sessions** in the DAG to address new concerns. New sessions follow the same tier-appropriate rigor. 4. **Do NOT restart the pipeline from scratch** unless the fundamental project vision has changed (e.g., pivot from B2B to B2C). Incremental amendment preserves completed research investment.

This protocol balances research continuity with responsiveness to change — a core tenet of evidence-grounded decision-making.

### 3.2 Adaptive Scaling Model

#### 8-Dimension Complexity Scoring (0–24 Points)

Dimension0 (Low)1 (Moderate)2 (Substantial)3 (Extreme)
**Domain Novelty**Standard pattern (e.g., CRUD / retail)Established category (e.g., B2B SaaS, standard protocol)Unconventional workflow / modelNew category / paradigm
**Technical / Operational Novelty**Known stack / standard processFamiliar platform, new componentNew framework / workflow paradigmUnproven infra / model
**Regulatory Exposure**Zero sensitive data / standard rulesInternal dataPII, GDPR, SOC 2, financialHIPAA, PCI-DSS, KYC/AML, SEC
**Reversibility**Throwaway / easily swappedModularly swappableCore schema / key contractsDeep platform / legal lock-in
**Investment Horizon**Hackathon / weekend spikeLean MVP / internal toolFunded ventureEnterprise mission-critical
**Coordination Complexity**Single decision-makerSmall team alignment (2–4)Cross-team / cross-function (5–12)Multi-org / ecosystem (>12)
**Expected Longevity**Days to weeksMonths (prototype)1–3 years (product)5+ years (platform)
**Integration Complexity**Standalone1–2 external interfaces (APIs, feeds)Multiple complex integrationsRegulated rails / legacy systems

#### Tier Mapping

ScoreTierSession BudgetCharacter
**0–4**Tier 0: Minimal1–3 sessionsFast spike on core unknown
**5–9**Tier 1: Light4–8 sessionsStandard SaaS/internal tools
**10–15**Tier 2: Standard9–16 sessionsCommercial product with core ADRs
**16–24**Tier 3: Deep17–30 sessionsNovel, regulated, multi-tenant platform

**What constitutes a "session":** A session is one independent research execution — a single prompt sent to a frontier AI model's deep research mode, producing one complete output artifact. Sessions are calibrated for deep research modes that perform 20–100+ web searches per run. If using standard (non-deep-research) chat, a single "session" may require multiple conversational turns to achieve equivalent depth — adjust session budgets accordingly. The tier budgets are relative proportions between tiers, not absolute figures to copy without calibration for your specific tools and workflow.

Note

**🚨 Hard Override:** If Regulatory Exposure = 3, all intersecting decisions automatically receive Tier 3 treatment regardless of total score.

**Rubric calibration:** The 0–3 scales and tier boundaries are structured heuristics, not calibrated measurement instruments. After completing 2–3 projects, compare the assigned tier to the actual research effort required. If projects consistently need more depth than their tier suggests, adjust boundaries upward. If sessions are routinely closed early because the question was already answered, adjust downward. The rubric should evolve with your team's experience — treat it as a living instrument, not a fixed table.

#### Per-Decision Routing Matrix

**Known Pattern****Unknown / Novel**
**Reversible (Two-Way Door)****SKIP** — decide by convention**FAST SPIKE** — 1 timeboxed session
**Irreversible (One-Way Door)****CONFIRM & COMMIT** — 1 session + ADR**DEEP RESEARCH** — 2–5 sessions + ADR + premortem

### 3.3 Staged Triangulation Protocol

StageTriggerMethodCost
**Default**All sessionsSingle-model deep research1×
**Critique Probe**Medium-stakes decisionsFeed Pass 1 synthesis to Model B for adversarial critique1.3×
**Full Triangulation**One-Way Doors + Novel Domain + Genuine ContestationRun identical prompt on 2–3 models; synthesize divergence via ACH matrix3×

Research Prompt Design

### 4.1 The 8-Block Prompt Anatomy

BlockPurposePrescriptive or Directional?
**DECISION**What architectural decision this feeds, door type (one-way/two-way), reversal condition**Prescriptive** — anchors session to purpose
**BRIEF**Investigation goal, question kind (lookup/causal/evaluative), context, target audience**Prescriptive** — what and why
**SCOPE**Boundaries, time window, in/out scope, source priorities, date anchor**Prescriptive** — boundaries
**KNOWN**Upstream findings slot (`[UPSTREAM_FINDINGS]`) or starting assumptions to stress-test**Prescriptive** — inherited baseline
**CALIBRATION**5 epistemic calibration rules: memory as hypothesis, honest gaps, expert objections**Directional** — epistemic discipline
**APPROACH**Exploration strategy (DEEPEN, WIDEN, CORROBORATE, FALSIFY, PIVOT), research depth mandate, iterative guidance, domain probes**Directional** — guide how, don't prescribe
**DONE**3-5 quality-based completion criteria (primary answer, grounded tradeoffs, failure modes, reversal conditions)**Prescriptive** — definition of done
**FORMAT**Single complete Markdown file artifact with YAML frontmatter and standard section flow**Prescriptive** — output structure

#### What Was Removed and Why

Pre-validation ElementVerdictEvidence
`<system>` expert persona**Removed** — personas don't improve factual accuracyZheng et al. EMNLP 2024; Basil et al. 2025
`<web_searches>` hardcoded queries**Removed** — violates agentic ReAct loopYao et al. 2023; OpenAI BrowseComp scaling analysis
`<bias_resistance>` negative instructions**Removed** — triggers ironic "white bear" reboundDocumented in T2-06
`<output_spec>` rigid sections**Replaced** with coverage checklistTam et al. EMNLP 2024
Minimum search counts**Removed** — artificial floors don't match model judgmentT1-02
Multi-turn drip-feeding**Banned** — front-load everything in one turnLaban et al. ICLR 2026 (39% drop)

### 4.2 Standard Prompt Template

Terminal
# RESEARCH BRIEF: [Topic Title]

## DECISION
[Neutral decision question]; informs [D-NNN: Title]. Door: [one-way | two-way]. What would change the recommendation: [reversal condition].

## BRIEF
We are investigating [core technical/architectural question]. Question type: [lookup | causal | evaluative].
This research will directly inform Architectural Decision [D-NNN: Title].
The target audience is a Principal Architect requiring rigorous, production-grade
technical evaluation with concrete tradeoffs, operational failure modes, and
verified benchmarks — not high-level introductory summaries. Context (requester-stated, unverified): [context].

## SCOPE
- **Temporal Anchor:** Today's date is [YYYY-MM-DD]. Focus on developments within
  the last 18–24 months. Flag findings older than [date] as potentially stale.
- **In Scope:** [Explicit boundary 1], [boundary 2], [boundary 3].
- **Out of Scope:** [Explicit exclusion 1], [exclusion 2].
- **Source Priorities:** Prioritize primary sources (official docs, RFCs, source
  code, peer-reviewed benchmarks) over secondary aggregators, blogs, and vendor claims.

## KNOWN
[UPSTREAM_FINDINGS] — treat inherited claims as assumptions to stress-test, not settled facts.
Key assumptions this session starts with (requester-stated, unverified): [assumptions].

## CALIBRATION
1. Treat your memory as a hypothesis to test. Note initial beliefs; report what evidence confirmed, updated, or contradicted.
2. A significant claim is most valuable when grounded with a verifiable source. "Not found after searching X, Y, Z" is a valid, valued result.
3. An unsupported claim presented as fact costs more than an honest gap.
4. Before finishing: state the strongest objections an expert would raise and what evidence you found for or against each.
5. Distinguish what you found from what you recalled. Mark recalled claims honestly — they are starting points, not conclusions.

## APPROACH
Use the research move that fits each question:
- DEEPEN: trace a claim to its primary source
- WIDEN: search with different vocabulary or source types
- CORROBORATE: find independent support for a load-bearing claim
- FALSIFY: actively search for evidence against your leading answer
- PIVOT: reframe the question when results suggest the framing is wrong

- Do NOT limit yourself to the exact terms in the research question. Use ALLIED TERMS: synonyms, competitor names, failure modes, edge cases.
- Execute MULTIPLE SEARCH STRATEGIES per finding: Direct, Adversarial, Comparative, Community.
- Target 8-12 SUBSTANTIVE findings with evidence grades, not 20 shallow bullet points.
- For every recommendation, search for the STRONGEST ARGUMENT AGAINST it.
- If your research reveals critical concerns beyond the stated scope, investigate and include them.

## DONE
This session is complete when:
1. A recommendation is stated with evidence for the primary question.
2. Tradeoffs and options are evaluated with verifiable evidence citations.
3. At least one concrete failure mode per top contender is documented with the strongest disconfirming evidence found.
4. "What would change this recommendation" is answered with specific reversal triggers.
5. Discovered Concerns (if research revealed material concerns beyond stated scope).

## FORMAT
Single Markdown file with YAML frontmatter (id, title, date, status, topic, tags, informs_decisions, confidence).
Sections: Prior (pre-research beliefs: 3-5 checkable propositions "I believe [X] because [reasoning]") →
Research Question → Key Findings (3-7 bullets) → Recommendation (isolated from rejected options) →
Alternatives Considered → Detailed Findings → Open Questions & Risks →
Delta (what research changed: table with Prior Belief | Status | Evidence | Impact) → Sources & Evidence Ledger.
Filename: [Session-ID]-[slug].md

### 4.3 Research Output Quality Rubric

A research session output meets Vivechak's quality bar when it satisfies ALL of the following:

CriterionMinimum Standard
**Evidence Density**≥3 distinct claims backed by Grade A or B evidence
**Options Evaluated**≥2 competing options analyzed for comparison sessions
**Failure Modes**≥1 concrete failure scenario identified per recommended option
**Reversal Triggers**Explicit conditions for when to re-evaluate the recommendation
**Source Diversity**Not all evidence from a single vendor or source
**Disconfirming Evidence**At least one actively sought disconfirming argument documented

Sessions failing this rubric should be re-executed with a refined prompt before their findings inform ADRs.

Evidence & Decision System

### 5.1 Evidentiary Tiers (A through E)

GradeLabelDescriptionAllowed ProvenanceGate Impact
**Grade A**Primary EmpiricalOfficial specifications, canonical source code, RFCs, or primary documentation with explicit URL anchor.`fetched, human-provided`G6, G7
**Grade B**Secondary EmpiricalPeer-reviewed papers, reproducible third-party benchmarks, published postmortems, or corroborated engineering reports.`fetched, cached`G6, G7
**Grade C**Vendor & PractitionerVendor marketing, product whitepapers, vendor benchmarks, conference talks, or interested-party documentation.`fetched, cached`Advisory
**Grade D**Informal & OpinionBlog posts, forum discussions, StackOverflow answers, or model memory recall (capped at Grade D).`fetched, cached, recalled`Advisory
**Grade E**Speculative & UnsubstantiatedUnverified hypotheses, uncorroborated parametric recall, or ungrounded assertions.`recalled, unverified`Advisory

*Rule*: Parametric memory recall is capped at **Grade D**. Grade A requires canonical URL or specification anchor.

*Gate*: G6 counts Grade A/B claims that sit on a line with their URL, written as the composite citation (§5.5), a bracketed grade tag (`[A · single · fresh · direct · fetched](url)`, `[Grade A: url | fetched]`) or an evidence-ledger row whose Grade cell is A or B; G7 counts those whose verification label is exactly `fetched` or `human-provided` (§7.2).

### 5.2 Contextual Modifiers

ModifierValuesPurpose
**Corroboration**`single` · `corroborated` (≥2 independent sources) · `contested` (direct contradiction)How many sources agree?
**Recency**`fresh` (within domain half-life) · `aging` (approaching half-life) · `stale` (past half-life)Is this current?
**Directness**`direct` (exact workload/target) · `indirect` (analogical evidence)Does this apply to our case?

**Domain Half-Life Guidance:** The threshold between `fresh` and `aging` varies by domain:

  • Cloud pricing and provider features: ~6 months
  • Framework/library APIs and benchmarks: ~12 months
  • Security advisories and CVEs: ~3 months
  • Database internals and query optimizers: ~18 months
  • Regulatory requirements (GDPR, HIPAA, PCI): ~24 months
  • Foundational CS/architecture principles: ~5+ years

When in doubt, treat evidence as `aging` rather than `fresh`.

### 5.3 Verification Method

MethodDefinitionGrade Cap
`fetched`Retrieved and validated live via tool/web call during this sessionNone
`cached`Read from local repository file or previously verified artifactNone
`recalled`Generated from model parametric memory without live verification**Capped at Grade D**
`secondhand`Sourced from an article summarizing a primary sourceNone
`human-provided` (or `human`)Injected directly by a human engineerNone

### 5.4 Hard Rules

1. **Recalled claims capped at Grade D** regardless of apparent source quality. 2. **Zero recalled citations may underpin One-Way Door decisions.** Every One-Way Door decision needs at least two Grade A/B claims with URLs whose verification is `fetched` or `human-provided` (gate rule G7); `cached` and `secondhand` claims may support it but do not count. 3. **Contested claims must be surfaced, not resolved by majority.** Document the contradiction and causal resolution reasoning.

### 5.5 Composite Citation Format

Terminal
Claim text (Grade [A-E] · [corroboration] · [recency] · [directness] | [verification_method])

Example:

Terminal
PostgreSQL 16 logical replication supports bi-directional failover.
(Grade B · corroborated · fresh · direct | fetched)

### 5.6 Decision Confidence (Decoupled from Evidence Grade)

ConfidenceDefinition
`high`Multiple corroborated Grade A/B sources; alternatives thoroughly evaluated
`medium`Adequate evidence but some alternatives lack evaluation, or key claims rest on single sources
`low`Decision under uncertainty; thin, contested, or indirect evidence

### 5.7 Architecture Decision Records (D-NNN)

Every architectural decision is documented as a YAML-frontmattered Markdown file:

YAML
---
id: D-001
title: "Primary Datastore Selection"
status: accepted          # proposed | accepted | rejected | deprecated | superseded
door_type: one-way        # Sets evidentiary bar
date: 2026-08-18
confidence: high          # Decoupled from evidence grade
evidence_refs: [E-012, E-047]
informed_by_sessions: [T2-03, T2-05]
supersedes: null
superseded_by: null
amends: null
review_trigger: "Re-evaluate if ingestion exceeds 50k ops/sec or storage >2TB"
review_date: 2027-02-18   # Set BEFORE outcome is known
prediction: "PostgreSQL will handle projected load for 18+ months"
tags: [datastore, infrastructure]
authored_by: "agent-vivechak"
human_reviewed: true      # Mandatory for one-way doors
schema_version: "0.1.0"
---

**Required body sections:** 1. Context & Problem Statement 2. Evaluated Options (with evidence references) 3. Decision Outcome & Rationale 4. Rejected Alternatives & Tradeoffs 5. Failure Modes & Reversal Triggers

Output Architecture

### 6.1 Hybrid Markdown + YAML Frontmatter

Every research artifact combines:

  • YAML frontmatter — machine-parseable metadata
  • Markdown body — human-readable narrative with standardized section structure
  • Strict separation between `Recommendation` and `Alternatives Considered`

### 6.2 Standardized 9-Section Body Skeleton

#SectionPurpose
1`## Prior`Pre-research assumptions and starting beliefs (mitigates confirmation bias)
2`## Research Question`Precise 1–2 sentence statement of inquiry
3`## Key Findings`3–7 atomic bullet points with inline evidence grades extractable by synthesis agents
4`## Recommendation`Explicit guidance (isolated from rejected options, referencing evidence)
5`## Alternatives Considered`Evaluated competing options and rejection rationale
6`## Open Questions & Risks`Unresolved items, dependencies, and downstream risks
7`## Discovered Concerns`Unexpected constraints, trade-offs, or failure modes outside initial scope (≥50 chars for one-way doors)
8`## Delta`Tracking shift from prior beliefs (Confirmed / Contradicted / Updated)
9`## Sources & Evidence Ledger`Tabular citations with composite grade, verification method, and claimed provenance

### 6.3 Map-Reduce Synthesis Workflow

When synthesizing research sessions into the Founding Architecture Document:

YAML
---
id: SYN-01
title: "[Project Name] — Founding Architecture Document"
synthesis_date: YYYY-MM-DD
status: draft                  # draft | sealed
research_sessions_ingested: 0   # Count of final sessions ingested
decisions_locked: 0             # Count of accepted ADRs
open_questions: 0               # Count of unresolved questions
schema_version: "0.1.0"
---

1. **Filter:** Ingest only `status: final` sessions 2. **Group:** Cluster by `topic` tags 3. **Map:** Extract atomic Key Findings and Recommendation sections 4. **Reduce:** Merge topic clusters into unified subsystem chapters 5. **Reconcile:** Resolve cross-session contradictions using confidence + date weighting 6. **Trace:** Annotate all FAD blocks with originating session and ADR IDs 7. **Gate:** Subject to Track B Phase 0 Gate before committing

#### 6.3.1 FAD Versioning and Post-Seal Updates

Once sealed, a FAD is immutable. When a `review_trigger` fires or new evidence invalidates a locked ADR:

1. **Open a new research session** targeting the specific decision under review. 2. **Record a new ADR** (D-NNN+1) with `supersedes: D-NNN` linking to the original. 3. **Issue a FAD Amendment** (SYN-01.1, SYN-01.2, etc.) documenting only the changed sections with full traceability. 4. **Re-run the Phase 0 Gate** for the amended decision only.

Do NOT modify the original sealed FAD. Amendments are additive documents that reference the sealed original.

### 6.4 Weighted Evaluation Protocol (Comparison Sessions)

When a research session involves comparing multiple options (e.g., database selection, framework evaluation, vendor comparison), the qualitative analysis must be complemented by a **quantitative weighted scoring matrix** to counteract narrative volume bias — the systematic tendency of AI models to favor options with more training data, blog coverage, and community advocacy regardless of project-specific fit.

#### Why This Matters

Qualitative-only comparison is vulnerable to three documented biases:

  • Narrative volume bias: Technologies with larger communities produce more positive text, creating an illusion of superiority that reflects popularity, not fitness.
  • Verbosity bias: Models prefer longer, more detailed responses — well-documented options get richer analysis, which reads as stronger evidence.
  • Vendor marketing contamination: Well-funded products produce Grade C evidence (vendor claims) at scale, drowning out Grade A/B evidence for alternatives.

Weighted scoring forces the model to evaluate each option against explicit, project-derived criteria rather than relying on narrative coherence.

#### Protocol

For any session that evaluates 2+ competing options:

1. **Derive Criteria from Project Context:** Extract 5–8 evaluation criteria directly from the project vision and the decision being informed. Do not use generic criteria — every criterion must trace to a specific project requirement or constraint.

2. **Assign Weights (must sum to 1.0):** Weight each criterion by its importance to this specific project. Justify each weight with a one-line rationale. Example:

| Criterion | Weight | Rationale | |---|---|---| | Write throughput at scale | 0.25 | Core use case: high-volume event ingestion | | Operational complexity | 0.20 | Solo developer, no dedicated DevOps | | Query flexibility | 0.20 | Ad-hoc analytics required by product spec | | Ecosystem maturity | 0.15 | Long-term maintenance, not greenfield research | | Cost at projected scale | 0.10 | Bootstrap budget, cost-sensitive first 18 months | | Migration path | 0.10 | Two-way door if wrong, but migration still has cost |

3. **Score Each Option (1–5 scale):** Score every option against every criterion using this scale: - **5:** Exceptional fit, clear leader on this criterion (with evidence) - **4:** Strong fit, minor gaps - **3:** Adequate, meets minimum requirements - **2:** Weak, notable gaps or concerns - **1:** Poor fit, significant risk or missing capability

Each score must reference the specific evidence (E-NNN or inline citation) that justifies it. Scores without evidence references are invalid.

4. **Compute Weighted Totals:** Multiply each score by its weight and sum across criteria.

5. **Sensitivity Check:** Identify the top 2 criteria by weight. Re-run the calculation with those weights shifted ±20%. If the ranking changes, flag the recommendation as **weight-sensitive** and note which criteria drive the instability.

6. **Synthesize:** The final recommendation must consider BOTH the weighted score AND the qualitative analysis. The score is a **bias-correction lens**, not the sole decision input. If qualitative analysis and scoring disagree, explicitly address the divergence and explain which signal the recommendation follows and why.

#### Important Constraints

  • This protocol applies ONLY to comparison sessions. Landscape scans, single-technology deep dives, and blueprint sessions do not require scoring.
  • The weighted score is a complement to qualitative analysis, never a replacement. Architectural decisions involve judgment dimensions (team culture, strategic direction, ecosystem trajectory) that resist quantification.
  • Criteria selection itself can introduce bias. The model must justify WHY these criteria and not others.

Phase 0 Exit Gate

### 7.1 The Two-Track Standard

TrackApplies ToRequirementsSpeed
**Track A: Fast-Track**Two-Way Door decisionsDecision logged, reversibility confirmed, single corroborated sourceMinutes
**Track B: Rigorous Gate**One-Way Door decisionsPre-codebase exit gate (Rules G1–G11) + Gary Klein PremortemHours–Days

### 7.2 Track B: Pre-Codebase Exit Checklist (Rules G1–G11)

1. **DAG Closure (G1/G2)** — All planned dependency sessions terminated in `status: complete` 2. **Contradiction Resolution** — All divergences explicitly resolved 3. **Evidentiary Threshold (G6)** — ≥2 Grade A/B claims, each on a line with its URL, across the ADR and the sessions that inform it: the composite citation (§5.5), a bracketed grade tag such as `[A · single · fresh · direct · fetched](url)` or `[Grade A: url | fetched]`, or an evidence-ledger row whose Grade cell is A or B. Uncorroborated Grade C/D/E claims must not underpin irreversible pillars 4. **Verification Integrity (G7)** — of the claims G6 counts, ≥2 carry the verification label `fetched` or `human-provided` (`human`), read exactly from the tag's last field or the ledger row's Verification cell; `cached`, `secondhand`, `recalled`, `verified` and `unverified` do not count. Labels are as reported by the agent; Vivechak does not fetch or verify sources 5. **No Placeholders & Alternatives Documented (G8)** — Every ADR includes evaluated and rejected options with substantive tradeoffs and zero placeholder stubs 6. **Decay Triggers Assigned (G9)** — Every ADR contains explicit, measurable `review_trigger` 7. **Adversarial Red-Team Challenge (G10)** — One-Way Door decisions subjected to adversarial stress testing with cited challenge record (`D-NNN-R1.md`) before commitment 8. **Human Review (G11)** — Named Principal Architect signature on all One-Way Door ADRs (`human_reviewed: true` via `vck signoff`) 9. **FAD Sealed (G3)** — Founding Architecture Document compiled, committed, ready for scaffolding 10. **Decision Traceability & Locked Status (G4/G5)** — All referenced decisions have corresponding ADRs locked in accepted or superseded status 11. **Premortem Protocol** — Gary Klein prospective hindsight: *"Assume catastrophic failure in 12 months. What caused it?"*

Generator Architecture

The pipeline generator uses a **deterministic/AI hybrid** architecture that produces two documents: a unified pipeline containing the execution plan and copy-paste-ready research prompts, plus a separate decision registry that evolves during execution. See [GENERATOR-PROJECT.md](GENERATOR-PROJECT.md) for the working generator prompt.

The long-term vision is a 5-layer code-based tool:

LayerFunctionImplementation
**0: Input**Collect project vision via open-ended descriptionAI — parameter extraction from natural language
**1: Classification**6-archetype domain classifier + 8-dimension complexity scoringDeterministic — rule-based decision tree
**2: Skeleton**Assemble session matrix from archetype templates + tier budgetDeterministic — template composition
**3: Prompt Synthesis**Generate project-specific prompt prose for each session slotAI — N parallel scoped calls
**4: Registry Seeding**Generate project-specific D-NNN hypothesesAI — scoped calls tied to vision + constraints
**5: Validation**Schema validation, archetype completeness, budget verificationDeterministic — CI-style gates

### The 6 Domain Archetypes

ArchetypeUnique Research Needs
**B2B SaaS**Multi-tenancy, RBAC/SAML, CRM integrations, seat/usage pricing
**Developer Tools**DX & time-to-first-value, CLI/SDK idioms, open-source licensing
**FinTech**KYC/AML, banking rails, immutable ledgers, PCI-DSS, fraud detection
**AI/ML Systems**Model selection, eval benchmarks, inference cost, context architecture
**Consumer Mobile**App Store compliance, offline-first sync, push/retention, in-app billing
**Real-Time / IoT**MQTT/WebSockets, edge vs cloud compute, fleet OTA, hardware constraints

#### Beyond Software: Domain Adaptation

Vivechak's epistemic core — evidence grading (Admiralty-Code-derived source grading with GRADE-inspired modifiers), ACH conflict resolution (CIA/Heuer), premortem protocol (Gary Klein), reversibility routing (Bezos Type 1/2 doors), and map-reduce synthesis — was not invented for software. These primitives govern how intelligence reasons about truth, risk, and irreversibility in *any* domain.

The generator prompt already uses "technical project" rather than "software project." The 6 operational templates (Decisions, Conflict Resolution, Comparison Session, FAD, Phase 0 Gate, Session Note) contain zero software-specific content. Non-software domains have been successfully researched using adapted versions of the generator.

**To adapt for a non-software domain:** 1. The 8 core principles, evidence grading, and all templates work without modification. 2. Add domain-specific archetypes to the generator (equivalent to the 6 software archetypes above). Each archetype defines the unique research needs for that domain. 3. Adapt the complexity scoring rubric labels — replace software-specific terms ("Standard CRUD," "New library") with domain-equivalent complexity indicators. 4. Adjust the APPROACH block's target audience — replace "Principal Architect" with the domain-equivalent decision-maker.

#### Archetype Maintenance

Archetypes are versioned data, not finished code. Domain research needs shift as technology and regulations evolve. Each archetype should be treated as a living reference:

  • Review archetypes after every 2–3 projects that use them.
  • If a project required significant ad-hoc adaptation beyond its assigned archetype, consider whether a new archetype is warranted.
  • If the generator's fallback path (projects that don't fit any archetype) triggers frequently, that's a signal a new archetype is needed — not evidence the fallback is working.

Multi-Scope Research

Vivechak operates at three scope levels. Scope and depth are **independent axes** — a comparison can be shallow or deep; a project can be Tier 0 or Tier 3. The scope level determines the entry point, output shape, and which methodology mechanisms apply; the depth determines how many sessions and how much evidence is required.

### 9.1 The Three Scope Levels

ScopeEntry PointSessionsOutputWhen to Use
**Project**`GENERATOR-PROJECT.md`Tier-determined (1–30)Full pipeline → FADNew project, major pivot, or system-wide re-evaluation
**Decision**`GENERATOR-DECISION.md`1–3 (capped; escalate if more)Research plan + proposed ADRSingle architectural decision, standalone or mid-project
**Comparison**`GENERATOR-COMPARISON.md`1 (always)WEP comparison matrixBounded comparison of 2–5 named options

**Scope selection is the user's choice**, not an automatic classification. The generators include guards (SCOPE CHECK, ESCALATE) that flag when a chosen scope may be insufficient, but never block output.

### 9.2 Methodology Invariants (I1–I9)

These rules hold at **every** scope level. They are the shared methodology kernel — the text that must stay byte-identical across all three generators.

#InvariantSourceHow It Carries
**I1**Bounded Exploration Mandate — stated scope is a coverage floor, not a ceilingP4Verbatim instruction in APPROACH block
**I2**Evidence grading: A–E base + corroboration/recency/directness modifiers + verification method; recalled capped at Grade D§5.1–5.4Verbatim grading legend in DELIVERABLE block
**I3**8-block prompt anatomy: DECISION → BRIEF → SCOPE → KNOWN → CALIBRATION → APPROACH → DONE → FORMAT§4.1Structural template in every emitted prompt
**I4**Audience framing, not persona assignment — quality bar, not role-playP4BRIEF block: "a principal architect needing production-grade tradeoffs"
**I5**7-section output skeleton; Recommendation isolated from Alternatives ConsideredP6, §6.2FORMAT block
**I6**Weighted Evaluation Protocol (WEP) for any session comparing 2+ options§6.4DELIVERABLE block in C-role and comparison prompts
**I7**Structured falsification: seek disconfirming evidence; premortem for one-way doorsP8APPROACH block + F-role sessions
**I8**Door-type test (Bezos one-way/two-way)P2Classification step in decision generator; SCOPE CHECK in comparison generator
**I9**No drip-fed instructions — front-load the complete brief in one turnP4All generators emit single, self-contained prompts

### 9.3 Decision Routing (Decision Scope)

At decision scope, the 8-dimension project complexity score is replaced by a 4-dimension **R/N/B/X profile** scored 0–3:

Dimension0123
**R** Reversal cost (against current STAGE)Flag flipModule swapData/contract migrationRewrite/external commitment
**N** Novelty (higher of domain and technical)Team standardNew to teamUnconventional/fast-movingUnproven
**B** Blast radiusOne moduleOne subsystemSeveral subsystems/dependent decisionsWhole product/external contracts
**X** RegulatoryNoneInternal dataPII/GDPR/SOC2HIPAA/PCI/KYC/children

**Classification:** One-way door if R≥2 or B=3. Novel if N≥2. Hard override: X=3 forces DEEP RESEARCH.

**Routing matrix** (same 4 lanes as §3.2):

Known (N<2)Novel (N≥2)
**Two-way** (R<2 and B<3)SKIP — ADR skeleton + 1 optional promptFAST SPIKE — 1 session
**One-way** (R≥2 or B=3)CONFIRM & COMMIT — 1 sessionDEEP RESEARCH — 2–3 sessions

**Session roles:** L (Landscape — maps the option space), C (Comparison — WEP evaluation), F (Falsify — premortem and failure analysis). Hard cap of 3 sessions; if more are needed, escalate to project scope.

### 9.4 Scope Boundaries and Guards

GuardLocationBehavior
**SCOPE CHECK**Comparison generatorDetects one-way doors, sensitive data, yes/no framing, incomplete option lists. Adds "Use the decision-level generator" but still writes the comparison prompt.
**ESCALATE**Decision generatorFires when >3 sessions would be needed or the context contains multiple coupled decisions. Outputs "ESCALATE: use the project-level generator" with the sub-decisions listed.
**Adjacent decisions**Decision generatorLists up to 3 noticed adjacent decisions (one line each) rather than absorbing them into the current scope.

### 9.5 What Changes Between Scopes

Four project-level mechanisms are **correctly omitted** below project scope:

1. **8-dimension / 0–24 project complexity score and tier mapping** — replaced by R/N/B/X at decision scope; absent at comparison scope. 2. **6-archetype classifier** — meaningless for a single decision or comparison. 3. **DAG session-matrix construction** — a decision has at most 3 sessions in a simple dependency shape; a comparison has exactly 1. 4. **"Add sessions for concerns the user didn't mention"** — replaced by "list adjacent decisions, don't absorb them" at decision scope, and SCOPE CHECK redirect at comparison scope.

Composition Strategy

Replace fixed compose/build ratios with Wardley evolution mapping:

Evolution StageStrategyExamples
**Commodity/Utility**100% composeAuth, DB, Storage, Queues, UI primitives
**Product**Evaluate compose vs customizeCMS, analytics, email, payments
**Custom**Extend/fork existing toolsSpecialized dashboards, domain UI patterns
**Genesis**100% custom buildCore algorithms, domain state machines, business logic

Specification Provenance

This framework was produced by applying Vivechak to itself:

  • 11 independent research sessions across frontier AI platforms
  • 31 evidence nodes from peer-reviewed studies, industry standards, and empirical benchmarks
  • 10 hypothesis verdicts — 0 fully validated as-is, 3 refuted, 5 refined, 2 validated with enhancements

The complete evidence base is preserved in [docs/meta-research/](docs/meta-research/). The framework is fully self-contained without it.

Grounded in Vivechak v0.1.0 release specificationView source docs on GitHub