AI coding agents and project harnesses: the knowledge hub
The BRAIN FLUID knowledge hub: how an AI project harness keeps agent work organized, checked and recorded, and how BRAIN FLUID approaches each part. Read the concepts here, then follow the step-by-step guides.
PERSISTENT MEMORY AND CONTEXT
Context loss, context windows, session handoffs and project memory that outlives a chat.
- AI agent project memory AI agent project memory explained: why durable project records beat chat history, and how BRAIN FLUID keeps context with the work.
- How to hand off an AI coding session How to hand off an AI coding session: a short end-of-session routine so the next agent or person can continue without guessing.
- Recording architecture decisions for AI agents Recording architecture decisions for AI agents: short decision records an agent will read, where to keep them and how to supersede one.
- Bounded task context Bounded task context: give an agent the slice of a project one task needs, chosen by relationship, capped in size, with omissions stated.
- Context window limits for coding agents Context window limits for coding agents: what fills the window in real work, what gets dropped first and how it turns into mistakes.
- Per-task Markdown memory Per-task Markdown memory: one short record per unit of work, with outcome, scope, criteria, findings and next step, instead of one global notes file.
- project cards vs chat threads Project cards vs chat threads: when a conversation with an AI agent is enough, and when a structured card record is the better home for the work.
- Keeping secrets out of AI project memory Keeping secrets out of AI project memory: what never goes into notes, cards, prompts or handoffs, and redaction habits that hold up.
- Stale AI project memory Stale AI project memory: how notes and evidence an agent reads fall out of date, how to detect it, and what a freshness check cannot tell you.
- What gets lost when an agent summarizes a long session What gets lost when an agent summarizes a long session: which details survive, which vanish, and how to protect constraints and exact values.
CLAUDE CODE AND CODEX WORKFLOWS
Practical routines for real coding projects with one or several agent CLIs.
- Claude Code project management Claude Code project management as a workflow: run Claude from project cards, schedule tasks and review results before you accept them.
- Codex CLI project management Codex CLI project management as a workflow: launch Codex from project cards, schedule explicit tasks and inspect outcomes before accepting.
- Breaking a large refactor into agent-sized tasks Breaking a large refactor into agent-sized tasks: expand, migrate and contract in ordered steps that each keep the build green and have a check.
- Running several AI agent terminals without losing track Running several AI agent terminals without losing track: one task per terminal, task-based names, a session ledger and a close-out check.
- multi-agent project coordination Multi-agent project coordination: keep Claude and Codex work on one project organized with shared cards, scope, authority and review.
- AI coding across several repositories AI coding across several repositories: one parent feature with the contract, one task per repository, and dependencies on released versions.
- Organizing a repository so AI agents can navigate it Organizing a repository so AI agents can navigate it: a short README map, one test command, consistent layout, small modules, clear entry points.
- Read-only first: planning sessions before an agent edits code Read-only first: planning sessions before an agent edits code, using Claude plan mode or a Codex read-only sandbox, then a scoped task.
- Preventing two AI agents from editing the same files Preventing two AI agents from editing the same files: separate scopes, separate worktrees, refusing stale writes, and where each layer stops.
- Using an AI agent as a reviewer, not an implementer Using an AI agent as a reviewer, not an implementer: read-only review sessions, what to ask, and why findings are input rather than a verdict.
- Switching a task between Claude Code and Codex Switching a task between Claude Code and Codex mid-way: what carries over, what stays behind in the old session, and a handoff checklist.
- How to write a task an AI coding agent can finish How to write a task an AI coding agent can finish: one outcome, a scope, dependencies, completion criteria and the check that proves them.
AGENT RELIABILITY AND VERIFICATION
Completion evidence, stale results, flaky checks and work that needs reopening.
- When an AI agent edits the tests to make them pass When an AI agent edits the tests to make them pass: the signs, why it happens, and how to keep test files out of an implementation task's scope.
- evidence gates for AI work Evidence gates for AI work: separate proposed from approved execution, run checks, and record outcomes so acceptance rests on evidence.
- Flaky tests and AI coding agents Flaky tests and AI coding agents: how nondeterministic checks cause false completions and false failures, and the retry and quarantine rules that help.
- human review of agent output Human review of agent output: what to inspect before accepting AI changes, and how recorded outcomes make the review honest.
- Deciding which AI agent tasks need human sign-off Deciding which AI agent tasks need human sign-off: a risk-based policy, who signs off what, and why DONE is not the same as released.
- Why narrow acceptance tests miss AI regressions Why narrow acceptance tests miss AI regressions: a task's check can pass while a shared change breaks another consumer. A worked example and a fix.
- Choosing proportionate checks for each AI coding task Choosing proportionate checks for each AI coding task: one check that proves the criterion, a fast baseline, and clear rules for widening.
- Reopening work an AI agent already closed Reopening work an AI agent already closed: when new evidence shows a DONE task is wrong, reopen it with the evidence instead of fixing it quietly.
- Self-reported vs independently run checks for AI agent work Self-reported vs independently run checks for AI agent work: why an agent's own "tests pass" is weaker than a check the system runs itself.
- Stale test results Stale test results describe code that has since changed. Bind each result to a revision and rerun checks on every completion attempt.
DEPENDENCIES AND BLAST RADIUS
Hidden dependencies, change impact and what an AI change can break elsewhere.
- The blast radius of AI code changes The blast radius of AI code changes: what one agent edit can break elsewhere, a worked rounding example, and how a reviewer finds affected features.
- My AI agent fixed one bug and broke another feature Your AI agent fixed one bug and broke another feature? Find the shared code, find its other consumers, rerun their checks and record it as linked work.
- Declared vs inferred dependencies in change-impact analysis Declared vs inferred dependencies in change-impact analysis: what task links and import graphs each catch, where each is blind, how to combine them.
- When a dependency changes, which approvals go stale? When a dependency changes, which approvals go stale? How evidence tied to source bytes goes stale, and what a stale flag does and does not tell you.
- Dependency cycles in AI project plans Dependency cycles in AI project plans: how agent plans create loops, why they deadlock task selection and how a planner should refuse them.
- Why a parent task can't be done before its children Why a parent task can't be done before its children: required versus related work, and why finishing a child changes eligibility, not status.
- Reviewing cross-file changes made by AI agents Reviewing cross-file changes made by AI agents: check scope, read shared modules first, test interface changes and handle generated files apart.
- Task dependency graphs for AI agents Task dependency graphs for AI agents: declare prerequisites, let selection skip blocked work and keep dependencies in the context each agent gets.
AI PROJECT MANAGEMENT
Boards, Gantt, WIP, priorities, milestones and progress for long-running agent work.
- agent run history and reports Agent run history and reports: what to record about AI agent runs, how to read usage coverage honestly and where unknown differs from zero.
- Keeping an AI project backlog clean Keeping an AI project backlog clean: decline or hold work instead of deleting it, merge duplicates, avoid ID collisions and groom on a schedule.
- Gantt planning for AI-assisted development Gantt planning for AI-assisted development: when a timeline helps with dependencies and deadlines, when it misleads, and how to treat undated work.
- kanban for AI agents Kanban for AI agents: the board states that matter when software does the work, including review, blocked and decision owed.
- Keeping long-running AI coding projects on track Keeping long-running AI coding projects on track: written goals, scheduled re-planning, drift checks between plan and code, and tested backups.
- Milestones for AI-assisted projects Milestones for AI-assisted projects: define them by accepted outcomes and passing checks, not by cards closed, and keep release a separate decision.
- Prioritizing a backlog when agents work fast Prioritizing a backlog when agents work fast: rank by value, review effort, risk and dependency order, and use P0 to P3 as real commitments.
- A solo developer's workflow with AI agents A solo developer's workflow with AI agents: one person as planner, reviewer and release owner, with a weekly plan and a short daily routine.
- Tracking AI agent progress: built vs accepted Tracking AI agent progress: built vs accepted. Keep implementation, current evidence and acceptance as separate numbers and read them weekly.
- Weighted progress: why card counts mislead Weighted progress: why card counts mislead. Give tasks explicit weights against a fixed baseline, count only accepted work, and rebase when scope changes.
- WIP limits for AI agent work WIP limits for AI agent work: why agents make starting too easy, and why the limit belongs on review capacity rather than on running sessions.
AUTONOMOUS AGENTS AND ORCHESTRATION
Authorization, bounded runs, discovered work, interruption and where a person steps in.
- Managing tasks an AI agent discovers mid-work Managing tasks an AI agent discovers mid-work: record each as a new linked task, mark it required or optional and never widen the current task silently.
- Keeping AI coding agents within scope Keeping AI coding agents within scope: declare paths, approve them separately with an expiry, check writes during the run and compare the diff after.
- Can you put a hard spending cap on an AI coding agent? Client-side budget flags in agent CLIs are estimates that can overshoot. A hard cap needs a reservation before each request. Here are practical limits instead.
- AI assistance vs autonomous project management AI assistance vs autonomous project management: five levels from assisted edits to autonomous coordination, and what each level must prove.
- Bounded autonomy: limits every unattended agent run needs Bounded autonomy: limits every unattended agent run needs, from an explicit task list to launch, retry, time, failure and spend limits.
- Recovering interrupted AI agent work Recovering interrupted AI agent work: inspect what was written, check what is still running, refuse blind replays and resume with a fresh authorization.
- scheduled agent tasks Scheduled agent tasks done carefully: explicit prompts, readiness and authority checks, and why a started run is not a finished one.
- Running dependent AI tasks in sequence Running dependent AI tasks in sequence: start the next task only after a verified completion, one assignment at a time, with an explicit policy for blocks.
- When an autonomous agent run should stop and ask When an autonomous agent run should stop and ask: failed checks, missing approval, open blockers, impact obligations, out-of-scope writes or uncertain state.
TROUBLESHOOTING AI CODING AGENTS
Specific problems developers hit with AI coding agents, answered directly.
- What to do when an AI agent can't get the tests to pass When an agent can't get tests passing: stop the retries, separate environment from code failures, check the test, shrink the task, record the blocker.
- Why does my AI coding agent change files I didn't ask about? Unrequested edits come from missing scope, vague tasks, formatters and refactor drift. How to tell them apart, revert them and catch them next time.
- Why did my AI agent forget what we decided yesterday? Agent sessions don't carry memory, and decisions left in chat vanish. Find where the decision lives, write a record, and read it at session start.
- Why does my AI agent ignore project instructions? Agents skip project instructions that are buried, contradicted, lost to context limits or too vague to act on. How to find which, and fix it.
- Why does my AI coding agent keep repeating work? Agents repeat work when nothing records what was done or declined, tasks are duplicated, or context is lost. How to tell which, and fix it.
- Why is my AI coding agent stuck in a loop? Agents loop when they lack real feedback, face contradictory constraints or chase flaky checks. How to spot a loop, set limits and decide to stop.
- Why can't I see how many tokens my AI agent used? Token usage goes missing in interactive sessions, failed runs, uncounted cache categories and subagents. Why, and what to record instead of zero.
- How do I know whether an AI agent actually finished a task? Process exited, agent says done and verified are three different states. A checklist to tell which one your AI agent's task is really in.
- Why do tests pass for the agent but fail later? Tests that passed for an agent can fail later because of the environment, stale results, narrow selection, later changes or flakiness. How to tell.
TOOLS AND COMPARISONS
Harnesses, project managers, memory approaches and fair ways to evaluate them.
- AI harness vs agent framework AI harness vs agent framework: wrap existing agent CLIs with project structure, or build your own agent with an SDK. What each gives you and who each fits.
- AI pair programming vs delegating tasks to agents AI pair programming vs delegating tasks to agents: what each mode needs from you, where each pays off, and the signals that tell you to switch.
- CLAUDE.md alternatives CLAUDE.md alternatives compared: what a project instruction file does well, where it stops, and what a project harness like BRAIN FLUID adds.
- AI coding agent vs AI project manager AI coding agent vs AI project manager: an agent does one task, a project layer holds plan, context, checks and record across many. Neither replaces the other.
- How to evaluate an AI coding workflow tool How to evaluate an AI coding workflow tool without trusting demos: matched pairs, independent checks, every failure kept, and limits stated plainly.
- Interactive vs unattended AI coding sessions Interactive vs unattended AI coding sessions: terminal pairing, single unattended tasks and authorized multi-task runs compared on authority and failures.
- Do you need an AI harness if you already use an issue tracker? Do you need an AI harness if you already use an issue tracker? What trackers do well, what agent work adds, and when a tracker is enough.
- local AI agent workflow A local AI agent workflow keeps project records and agent runs on your own computer. Here is what that gives you and what it costs.
- Measuring token usage of AI coding agents fairly Measuring token usage of AI coding agents fairly: whole-session ledgers, separate categories, deduplicated records, failed runs kept and unknown never zero.
- Relationship-based vs semantic retrieval for AI project context Relationship-based vs semantic retrieval for AI project context: declared links vs similarity search, how each misses, and how to combine them.
- When you don't need an AI project harness When you don't need an AI project harness: short scripts, one-off tasks and short-lived repos where plain agent sessions plus a notes file are enough.
STEP-BY-STEP GUIDES
- What is a project management harness?
- How to create a project card in BRAIN FLUID Desk
- How to find and organize work across projects
- Cards vs scheduled tasks: what starts an agent?
- How to preview work with the BRAIN FLUID harness CLI
- How to read project progress in BRAIN FLUID Build
- How to read BRAIN FLUID reports and provenance
- Gantt planning in BRAIN FLUID: the integrated view and its prototype
BRAIN FLUID AI HARNESS
COMING SOON
Verified against the v1.8.5 development candidate (October 30, 2026 build) (reviewed October 30, 2026)
Free Windows software, not released yet. The download opens on the product page when the release is approved, with nothing to sign up for.