Files
boshu2__agentops/docs/philosophy.md
T
boshu 9a23ba9cc5 refactor(skills): execute the audit retire wave — 8 skills retired/merged, 66 -> 58, spine 15 -> 13 (age-skills-audit-fable-l6ic.12)
Executes the age-e3zk decision (fresh disposition pass: docs/audits/
skills-audit-2026-07-06.md; council 2026-07-06 parked this behind age-p2c7,
which landed as d7f950ca8; operator directive 2026-07-07 authorized finishing
all filed work).

RETIRED: red-team (validate --debate absorbs), perf (frontier-generic, zero
repo bindings), flywheel (ao flywheel status CLI is the surface).
MERGED: eval-outcomes -> validate (--mode=pre-impl --target=scenario),
review -> validate (--mode=pr), compile + curate -> post-mortem (mining half;
mechanical surfaces stay ao compile / ao lookup), recover -> status
(--recover mode; deep playbook preserved at status/references/
recovery-playbook.md; delivers l6ic.7 and the l6ic.13 row reconcile).

Mechanics: ao skills retire x8 (trees incl. images/*/skills, terminal ledger
rows via --into, .agy-plugin review bundle removed); absorption tombstones in
docs/SKILLS.md + SKILL-TIERS.md (56 user-facing + 2 internal = 58, counted);
spine gate re-anchored 15 -> 13 (l6ic.11 minimal consistency: review +
red-team leave; membrane 7 + bookkeeper 6); bespoke twins post-mortem/status
hand-mirrored per AGENTS-CODEX; manifest pruned of orphan twin rows (62 -> 57);
overrides catalog pruned of 8 retired rows; gemini verify core_skills +
claude/codex image manifests updated; retired-subject eval
red-team-adversarial-validation.json removed (not canary-listed).

Gates: spine-integrity 13 PASS; wiring-closure PASS; skill-frontmatter 58/58;
codex manifest+artifacts+parity PASS; regen-check ALL GREEN; SKILL-TIERS also
fixed Opus 4.6 -> 4.8, GOALS.yaml -> GOALS.md, flywheel diagram to CLI truth
(l6ic.6 pre-work). Residual prose mentions in non-gated docs are the l6ic.2
debris sweep's scope.
2026-07-07 11:06:35 -04:00

7.1 KiB

last_reviewed
last_reviewed
2026-04-12

AgentOps Philosophy

The Problem

Coding agents are good at thinking. They are bad at bookkeeping.

Every session starts cold. The agent that spent two hours debugging a timeout bug last Tuesday has no memory of it. The pattern you hard-won in session 3 is gone by session 15. The planning rule that would have prevented a regression sits buried in a transcript no one reads.

This is not a model problem. It is an environment problem. The model is capable. The environment around it does not compound.

What AgentOps Is

AgentOps is a context compiler.

The compiler analogy is exact: raw session signal (decisions, failures, patterns, warnings) is processed through extraction, scoring, curation, and promotion into reusable artifacts — learnings, findings, planning rules, enforcement gates. The next session runs against a richer environment than the last. The model stays the same. The environment gets smarter.

This maps directly to what Andrej Karpathy observed about knowledge work: the tedious part is not the thinking, it is the bookkeeping. Organizing, surfacing, routing, and keeping knowledge fresh. AgentOps automates that layer.

The Flywheel

Sessions → Bookkeeping → Learnings → Findings → Planning Rules → Gates
    ↑                                                                │
    └────────────────────── Better next session ─────────────────────┘

Each phase is deliberate:

  • Sessions produce signal: commits, decisions, failures, retros.
  • Bookkeeping (/post-mortem, which folded the retired /curate mining modes, ao harvest) extracts and scores that signal. Scores on specificity, actionability, novelty, and confidence filter noise.
  • Learnings are the raw output — scored, attributed, timestamped.
  • Findings are promoted learnings: higher confidence, cross-session validation, broader applicability.
  • Planning rules are enforcement-level knowledge: if a finding is violated, the pre-mortem blocks the plan.
  • Gates are automated checks in /pre-mortem, /validate, and /council that prevent known failure modes before they ship.

The loop closes. The system does not just capture knowledge — it enforces it.

The Data Format

.agents/ is the universal data format.

Plain markdown files, versioned in git, readable by any LLM, browsable in Obsidian, diffable in any editor. No embeddings, no vector database, no proprietary store.

This is a deliberate bet against the current tooling consensus. Vector databases optimize for semantic recall at scale. .agents/ optimizes for editorial control, freshness management, and human legibility. For a codebase knowledge base where:

  • Volume is bounded (one project, not the internet)
  • Freshness matters more than recall breadth (stale knowledge is worse than no knowledge)
  • Human curation is the highest-leverage action
  • Portability is required (repo-local state, no AgentOps-hosted control plane, mirrorable dependencies)

...markdown + wikilinks outperforms embeddings. The agent can grep it, the human can read it, and ao defrag can maintain it.

The Tiered Model

Not every knowledge operation needs a frontier model. AgentOps uses three tiers:

Tier When Why
Local 8B (ollama, etc.) — optional, user-supplied Volume work — dedup, defrag, freshness scoring, overnight compounding Fast, private, cheap. Runs while you sleep. AgentOps ships no model host; bring your own, or run these on your frontier model.
Frontier (Claude, GPT-4o, etc.) Quality work — council validation, pre-mortem review, pattern extraction Accuracy matters more than throughput.
Human Curation and promotion decisions Judgment calls that agents get wrong systematically.

The dream loop (retired as a standalone /dream command; folded into the out-of-session substrate) uses the local tier when one is configured (otherwise your frontier model) for continuous compounding; when that compounding runs out of session — always-on, scheduled, unattended — it runs on an out-of-session substrate (reference: NTM + MCP + managed-agents), not an AgentOps daemon. /council and /pre-mortem use the frontier tier for high-stakes validation. The human reviews promotions from learning → finding → rule.

The ratio is intentional. On this repo, validation and curation have run several times the implementation time. This is not overhead — it is the ratchet. Without it, the flywheel runs backward.

The Ratchet

AgentOps adopts the Brownian Ratchet as a first principle: embrace agent variance, filter aggressively, and make progress one-way.

Agents produce noisy output. Some sessions are brilliant; some are catastrophic. The naive response is to constrain the agent. The AgentOps response is to ratchet: let variance happen, filter at gates (/pre-mortem blocks bad plans, /validate blocks bad code, /council blocks bad decisions), and only let good output advance. The gate is asymmetric — easy to pass in the forward direction, impossible to pass backward.

This is why validation gates are blocking, not advisory. An advisory gate with no enforcement is not a ratchet. It is a suggestion.

What This Is Not

AgentOps is not a chatbot wrapper. It does not make prompts bigger. It does not add more agents to the same problem.

It is not trying to replace thinking. The model thinks. AgentOps manages what the model knows when it thinks.

It is not a SaaS product or a managed service. All state lives locally. All operations are reversible. The product is the compounding environment — the skills/, the ao CLI, and the discipline enforced by the local pre-push gate. AgentOps 3.0 is hookless: skills and the CLI guide the workflow and the local pre-push Go gate (ao gate check) is the release authority (CI is a backstop). Hooks are opt-in — you author your own via the hooks-authoring skill — never installed by default. That environment is yours to own, version-control, and take with you.

The Thesis, and What Is Actually Proven

The proven part is the verification: every change reaches done only with an independent proof artifact. Whether the knowledge corpus compounds over time is a separate, explicitly-named unproven hypothesis — demoted to that status in ADR-0004 and ADR-0011, which found the compounding claim faces a structural data-starvation headwind. Do not read the numbers below as a validated flywheel.

What this repo has accumulated (descriptive, not a compounding proof):

  • 163 learnings extracted, scored, and curated
  • 13 planning rules enforced at pre-mortem gates
  • 12 patterns promoted from repeated findings
  • 10/12 ao doctor checks passing, with the full CI gate suite green

Session 1 started cold. Session 100+ starts with a knowledge corpus that can catch known failure modes before implementation begins — that the corpus keeps paying off as it grows is the hypothesis, not a settled result.

That is the aim. Not a bigger prompt. A repo that remembers.