WikifitaGitHub live67e8de5
outro · co-fita/co-fita-honcho-comparison

Honcho vs Wikifita: Memory as Reasoning vs Memory as Storage

Comparative analysis of Honcho's peer-model memory architecture with Wikifita's OKF knowledge base, the Neuromancer model, and the recommended hybrid approach.

Baixar raw

Honcho vs Wikifita: Memory as Reasoning vs Memory as Storage

Source: RESEARCH_REPORT.md (2026-07-22) Cross-references: co-fita-harness, co-fita-governance, wikifita, co-fita-dynamic-workflows


Overview

This analysis compares two fundamentally different approaches to persistent memory in AI agent ecosystems:

  • Honcho -- a peer-model memory architecture where an LLM maintains a structured mental model of the user, reasoning over past interactions to generate contextualized responses. Memory is the reasoning process itself.
  • Wikifita -- an Open Knowledge Format (OKF) knowledge base where structured pages, constitutional directives, and cross-referenced memories provide context through retrieval. Memory is organized storage that the agent reads.

The distinction is not academic. It shapes how agents handle context windows, how they maintain continuity across sessions, how they scale, and how the human principal maintains control.


The Two Philosophies

Honcho: Memory as Reasoning

Honcho's core insight: memory is not a database -- it is a model of the world maintained by an LLM. The "memory" is not a set of facts retrieved by keyword; it is a living representation that evolves through inference.

graph LR
    U[User Message] --> M[Memory Model<br/>(LLM-maintained)]
    M --> R[Reasoning over<br/>past interactions]
    R --> C[Contextualized Response]
    C --> M2[Updated Memory Model]

Key properties:

  • The memory model is an LLM's internal representation, not a structured document
  • New interactions are integrated through inference, not insertion
  • The model "understands" the user -- it does not merely "store" facts about the user
  • Memory quality degrades gracefully: partial recall produces reasonable responses

Wikifita: Memory as Storage

Wikifita's core insight: memory is organized knowledge that the agent retrieves and applies. The OKF format ensures consistency, constitutional directives enforce quality, and cross-references enable discovery.

graph LR
    U[User Message] --> CLAUDE["CLAUDE.md<br/>(Project Instructions)"]
    CLAUDE --> RET["Retrieval from<br/>memorias/, diretivas/"]
    RET --> R["Agent reads<br/>relevant pages"]
    R --> C["Response using<br/>retrieved knowledge"]
    C --> WRITE["Updated pages<br/>if new knowledge"]

Key properties:

  • Memory is structured pages in OKF format (type, title, description, tags, timestamp)
  • Retrieval is explicit: the agent reads specific files
  • Quality is enforced by constitutional directives (diretivas/)
  • Memory is searchable, version-controlled, and auditable
  • Cross-session continuity through memorias/MEMORY.md index

Architecture Comparison

Honcho Architecture

ComponentRole
Peer ModelLLM that maintains a mental model of the user
Dialogue ManagerRoutes messages to the peer model for reasoning
Memory StoreBackend for persisting the peer model's state
Context WindowThe peer model's "working memory" for the current session

The peer model is the key innovation. It is not a retrieval system -- it is a reasoning agent whose job is to understand the user. When a new message arrives, the peer model reasons over its accumulated understanding to produce the most relevant context.

Wikifita Architecture

ComponentRole
OKF PagesStructured knowledge in memorias/, diretivas/, etc.
Index (index.md)Tag-based cross-referencing system
Memory Index (MEMORY.md)Per-user structured memory with links
Constitutional DirectivesQuality rules in diretivas/
Git PersistenceVersion control as the persistence layer
CLAUDE.mdProject-level agent instructions

Wikifita has no peer model. The agent (Claude) reads structured pages and uses them as context. The quality of the memory depends on:

  1. The quality of the OKF pages (enforced by directives)
  2. The relevance of the retrieval (driven by the agent's judgment)
  3. The breadth of cross-references (enabled by tags)

The Neuromancer Model

Honcho's approach draws on a model from William Gibson's Neuromancer: an AI that maintains a persistent model of a human across interactions, adapting its behavior based on accumulated understanding.

Properties of the Neuromancer Model

PropertyHoncho ImplementationWikifita Equivalent
Persistent user modelPeer model LLMmemorias/user_alefita.md
Adaptive behaviorMemory-informed response generationAgent reads memory before responding
Cross-session continuityPeer model persists across sessionsMEMORY.md index persists across sessions
Graceful degradationPartial memory still produces reasonable outputMissing pages produce standard behavior
EvolutionModel updates with each interactionPages updated after significant changes

Where They Diverge

The critical divergence is in how memory influences reasoning:

Honcho: The peer model's internal representation directly shapes its reasoning. It does not "look up" facts -- it "knows" them because they are part of its model. This is analogous to how a human colleague remembers your preferences without consulting a notebook.

Wikifita: The agent reads structured pages and uses them as context. This is analogous to how a new team member reads the team's documentation before starting work. The documentation is comprehensive and well-organized, but the agent must actively seek it out.

DimensionHoncho (Peer Model)Wikifita (Structured Storage)
Memory accessImplicit (part of reasoning)Explicit (agent reads files)
Memory qualityDepends on LLM capabilityDepends on OKF quality + agent retrieval
Memory persistenceBackend-dependentGit (distributed, version-controlled)
Human readabilityLow (LLM internal state)High (markdown pages)
AuditabilityLimited (what did the model "know"?)Full (git log shows every change)
PortabilityTied to Honcho backendAny agent that reads markdown
ScalabilityBounded by context windowBounded by retrieval quality
ControlIndirect (prompt engineering)Direct (edit the page)

Peer Model vs Document Model: Trade-offs

When Peer Model Wins

  1. Ambiguous queries. When the user asks something vague that depends on understanding their history and preferences, the peer model's implicit understanding produces better responses than explicit retrieval.

  2. Nuanced preferences. "Use dark mode" is easy to store as a fact. "Alefita prefers directness but appreciates dry humor" is a nuanced model that a peer model captures more naturally.

  3. Contextual adaptation. The peer model can adjust its behavior based on mood, recent events, or evolving priorities without explicit page updates.

  4. Low-friction interaction. The user does not need to remember what they told the system. The peer model integrates information organically.

When Document Model Wins

  1. Auditable memory. Every change to Wikifita is a git commit with a diff. Every directive is a readable file. You can ask "what does the system know about X?" and get a precise answer.

  2. Portable memory. Wikifita's OKF pages can be read by any agent -- Claude, Gemini, DeepSeek, or a future model. A Honcho peer model is tied to its specific backend.

  3. Constitutional control. The diretivas/ directory enforces quality rules, visual identity, and technical preferences at the document level. The agent cannot "forget" these rules because they are structural.

  4. Collaborative editing. Multiple agents and the human principal can read and write to Wikifita. The git history shows who changed what and when. Peer models are opaque to collaboration.

  5. Cross-project memory. Wikifita's memorias/ structure supports per-project memories alongside a global user profile. This maps naturally to Alefita's multi-project workflow (co-fita, clickfix, camdom, unit-distance).

  6. Failure recovery. If the agent misunderstands a memory, the human can edit the page. If a peer model misunderstands, the human must figure out how to "retrain" it through conversation.


The Hybrid Approach

Why Hybrid

Neither approach is sufficient alone:

GapPeer ModelDocument Model
Implicit understandingStrongWeak
Explicit knowledgeWeakStrong
AuditabilityWeakStrong
Nuanced preferencesStrongModerate
PortabilityWeakStrong
Scale (many projects)Bounded by contextBounded by retrieval
ControlIndirectDirect

Recommended Architecture

graph TB
    subgraph "Layer 1: Structured Knowledge (Wikifita)"
        OKF["OKF Pages<br/>memorias/, diretivas/"]
        IDX["Index + Tags<br/>index.md, MEMORY.md"]
        GIT["Git Persistence<br/>Version Control"]
    end

    subgraph "Layer 2: Agent Reasoning (Claude)"
        CLAUDE["CLAUDE.md<br/>Project Instructions"]
        SUB["Subagents<br/>Specialized retrieval"]
        THINK["Extended Thinking<br/>Reasoning over context"]
    end

    subgraph "Layer 3: Governance (Co-Fita)"
        GOV["Governance Engine<br/>Proposals + Congress"]
        ELO["Elo Tournament<br/>Quality evaluation"]
        CHAN["Chancela<br/>Human approval"]
    end

    OKF --> CLAUDE
    IDX --> CLAUDE
    CLAUDE --> SUB
    SUB --> THINK
    THINK --> GOV
    GOV --> ELO
    ELO --> CHAN
    CHAN -.->|"feedback"| OKF

How the Layers Work Together

Layer 1 (Wikifita) provides structured, auditable, portable knowledge. This is the foundation -- the "documentation" that any agent can read. OKF format ensures consistency. Tags enable cross-referencing. Git ensures durability.

Layer 2 (Agent Reasoning) is where the agent reads Layer 1 and applies reasoning. This is where the "peer model" behavior emerges -- not from an opaque LLM state, but from the agent's ability to synthesize structured knowledge with conversational context. Extended thinking allows the agent to reason over complex, multi-page knowledge.

Layer 3 (Governance) ensures quality. The co-fita-governance system evaluates proposed changes to Layer 1 through Elo tournament debate and human chancela. This prevents the degradation that can affect both peer models (drift) and document models (stale pages).

The Chancela Difference

The most important advantage of the hybrid approach: Alefita has direct control over what the system "knows."

In Honcho's peer model, the human cannot directly inspect or edit the model's understanding. They can only influence it through conversation, and there is no guarantee that the model will update as expected.

In the hybrid approach, Alefita can:

  1. Read any page in memorias/ to see what the system knows
  2. Edit any page to correct misunderstandings
  3. Use chancela to approve or veto proposed changes
  4. Use git to see the full history of memory evolution
  5. Use constitutional directives to enforce quality standards

This is the "human-in-the-loop" principle from co-fita-governance applied to memory itself.


Scalability Analysis

Honcho Scaling

FactorBehavior
Number of interactionsPeer model context window limits how much history can be "known"
Number of usersEach user needs a separate peer model
Number of projectsPeer model context shared across projects (can cause confusion)
Knowledge freshnessModel must be re-prompted to integrate new information

Wikifita Scaling

FactorBehavior
Number of pagesBounded by retrieval quality (tags + index help)
Number of usersmemorias/user_*.md provides per-user profiles
Number of projectsmemorias/projetos/ provides per-project isolation
Knowledge freshnessPages updated directly; git tracks staleness

The Multi-Project Advantage

Alefita operates across multiple projects simultaneously: co-fita-harness, clickfix-attack-chain, camdom-architecture, unit-distance-methodology, kaggle-agent-security. Each project has its own CLAUDE.md, its own context, its own memory.

Wikifita's structure naturally supports this:

memorias/
├── user_alefita.md          # Global profile (shared across all projects)
├── feedback/                 # Cross-project feedback
└── projetos/
    ├── co-fita.md           # Per-project memory
    ├── clickfix.md
    ├── camdom.md
    └── unit-distance.md

A peer model would need to maintain all of this in a single context window, which becomes impractical as the number of projects and interactions grows.


The Governance Feedback Loop

The hybrid approach creates a feedback loop that neither Honcho nor Wikifita alone provides:

  1. Agent encounters a situation that reveals a gap or error in memory
  2. Agent proposes a change via the co-fita-governance system
  3. Congress debates the proposal via Elo tournament
  4. Alefita gives chancela (approve or veto)
  5. The change is applied to the OKF page
  6. The system's memory improves in a controlled, auditable way

This is the co-fita-sdlc-protocol Phase 7 (Control Encoding) applied to memory management. The finding (memory gap) becomes a governance proposal, which becomes a durable control (updated page).

graph TD
    A["Agent reads memory"] --> B["Encounters gap or error"]
    B --> C["Proposes memory update"]
    C --> D["Congress debates"]
    D --> E["Chancela (approve/veto)"]
    E --> F["Page updated"]
    F --> G["Memory improved"]
    G --> A

Connection to Dynamic Workflows

The co-fita-dynamic-workflows analysis identifies that Dynamic Workflows' intermediate results live in script variables, not in the agent's context. This is similar to Honcho's peer model state -- ephemeral, session-scoped, and opaque.

Wikifita's OKF pages, by contrast, are persistent, cross-session, and transparent. The hybrid approach would use:

  • Dynamic Workflows for ephemeral, task-specific reasoning (Fan-out-and-synthesize, Adversarial verification)
  • Wikifita for durable, cross-session knowledge (findings, directives, user profile)
  • Governance for quality-controlled updates to Wikifita

This maps the three concerns (ephemeral reasoning, durable knowledge, quality control) to three systems (workflows, wikifita, governance).


Recommendations

For Co-Fita's Memory Layer

  1. Keep Wikifita as the primary knowledge store. Its auditability, portability, and human-control properties are critical for the governance model.

  2. Enhance retrieval quality. Tags and cross-references are the retrieval mechanism. Investing in better tagging, automated link checking (the wikifita_audit.py script), and index maintenance improves the "implicit knowledge" quality.

  3. Use extended thinking for synthesis. When the agent needs to reason over multiple pages, extended thinking allows it to synthesize structured knowledge into a coherent understanding -- providing the "peer model" behavior without an opaque LLM state.

  4. Implement the governance feedback loop. Memory gaps should be automatically flagged as governance proposals. This creates the self-improving memory system that neither Honcho nor plain Wikifita provides.

  5. Consider Honcho-style techniques for specific use cases. For example, the Elo tournament judge prompts could incorporate a lightweight "user model" built from memorias/user_alefita.md to improve evaluation quality. This is not replacing Wikifita with Honcho -- it is using peer-model techniques to enhance document-model retrieval.

For the Broader Ecosystem

The hybrid approach is generalizable:

ComponentRoleWhy
Wikifita (OKF)Structured knowledgeAuditable, portable, controllable
Agent reasoningSynthesis and adaptationFlexible, contextual, creative
Governance (Co-Fita)Quality controlDemocratic, transparent, human-approved
Dynamic WorkflowsEphemeral task reasoningScalable, isolated, deterministic

Each component addresses a specific weakness of the others. The result is a memory system that is:

  • As structured as a database (OKF)
  • As adaptive as a peer model (agent reasoning)
  • As controlled as a democracy (governance)
  • As scalable as a workflow engine (dynamic workflows)

Summary

Honcho and Wikifita represent two ends of a spectrum: memory as reasoning vs. memory as storage. Honcho's peer model provides natural, implicit, adaptive knowledge but sacrifices auditability, portability, and human control. Wikifita's OKF knowledge base provides structured, auditable, controllable knowledge but requires explicit retrieval and maintenance.

The recommended hybrid approach uses Wikifita as the foundation (structured, persistent, auditable), agent reasoning as the synthesis layer (adaptive, contextual), and governance as the quality layer (democratic, transparent). This combines the strengths of both approaches while mitigating their weaknesses, and it aligns with the co-fita-governance principle that all system changes -- including memory changes -- should be proposed, debated, and approved through a structured, human-supervised process.


This document is alive. It evolves as the research evolves. Challenge it. Improve it. That is the protocol.