breaking-coding-chaos
Health Uyari
- License — License: MIT
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Low visibility — Only 8 GitHub stars
Code Gecti
- Code scan — Scanned 12 files during light audit, no dangerous patterns found
Permissions Gecti
- Permissions — No dangerous permissions requested
Bu listing icin henuz AI raporu yok.
A human-in-the-loop control plane for reliable agentic coding—plan, challenge, implement, verify, and preserve progress.
breaking-coding-chaos
breaking-coding-chaos (BCC) is a human-in-the-loop dual-loop control-plane skill suite for coding agents: you keep progress and technical detail under control while the agent ships your idea — without losing the plot.
Works with all agents. Standard Agent Skills layout (SKILL.md folders) — install once for Claude Code, Codex, Grok, Cursor, OpenCode, Hermes, OpenClaw, and any runtime that loads the same skill format.
Idea first. Bring a reasonably concrete idea (what to build, what “done” means).
BCC helps you implement it 1:1 with control over progress and technical detail — not invent a product from a blank void.
Without a real idea, there is nothing honest to code.
Why a control plane
Agentic coding is powerful — and chronically unreliable at the exact moment precision matters.
When the work needs fine-grained design, explicit trade-offs, and progress you can audit, sessions often end in:
- Memory collapse — after
/clear, compaction, or a long tool chain, goals and constraints evaporate. The agent rediscovers the same bugs and re-asks the same architecture questions. - Hallucinated certainty — the model fills gaps with plausible inventiveness: wrong APIs, phantom modules, “fixes” that never touch the real failure mode.
- Attention smear — the more “helpful” global context you inject, the harder it becomes to put all of the model’s attention on the one hard problem in front of you.
Long-term memory tools are not the same problem
There is a rich ecosystem of agent memory products and libraries — for example mem0 and agentmemory. They excel at cross-session recall, retrieval, and carrying identity/preferences through time. That is valuable.
High-effort implementation asks a different question. Soft memory asks “what did we decide last month?” Hard work asks “what exactly do we code this hour, and how do we prove it?” More context can help chat; on a critical path it often dilutes attention. Continuity tools optimize for remembering; engineering control optimizes for a contract — checklist, verification, and a bound on what is allowed to change now.
When the work is hard — a subtle concurrency bug, a paper-faithful experiment, a multi-module migration — a blurry global memory layer can become a tax: the agent half-remembers everything and fully owns nothing. You need a control plane: durable notes for the whole endeavor, one living coding brief for the current hard slice, pressure on that brief before code, then the smallest correct diff, with progress written back where you can see it.
That is breaking-coding-chaos (BCC).
Where these ideas come from
Agentic coding already has a few well-tested patterns: context on disk, alignment before code, and minimal diffs. BCC is a human-in-the-loop control plane that brings those strands into one dual loop — not a clone of any single project, and not an official endorsement by the authors below.
People and projects behind the patterns:
- Manus — AI agent company whose context-engineering write-up popularized treating the filesystem as durable agent context (chat as RAM, disk as the notebook). Widely cited after major industry attention around the company and its approach.
- planning-with-files (Othman Adi et al.) — highly adopted open skill that operationalizes Manus-style plan / progress / findings markdown so multi-step work survives
/clearand context loss. - Matt Pocock — TypeScript educator (Total TypeScript); formerly XState core team and developer advocate at Vercel. His open skills (grill / domain-modeling style) push hard questions, shared language, and ADRs before code.
- ponytail (Dietrich Gebert) — widely used open skill that encodes a senior “lazy” YAGNI ladder: smallest change that works, stop over-building.
Not another memory layer — a human-in-the-loop control plane.
See the whole endeavor. Focus one hard slice at a time.
Dual loop, hard order: map → spar the plan → cut the minimum.
One living brief per slice. Progress must write back. Wrong step cannot fire early.
How it works
Dual loop. Human gates. One living plan per sub-task.
Throughline sits on top: the project progress bar over whatever sub-tasks you mapped (A → B → C → D; not a fixed template).
Under it, plan-spar and clean-cut cooperate on one current sub-task — lock a living coding brief, you APPROVE, minimal ship, write back; the bar moves, then the next sub-task gets the same pair again.
Artifacts
- Global (throughline only) —
plans.md,progress.md,findings.md: where is the endeavor, what happened, what did we learn? - Current coding — one living
PLAN.md(updated in place per hardpoint): what do we code now, and how do we verify? - Support —
CONTEXT.mdanddocs/adr/*: domain words and hard-to-reverse decisions. - Session (optional) —
.bcc/session.json: cross-chat APPROVE + plan hash for clean-cut preflight.
Pipeline by act
- Map (
bcc-throughline) — goal, phases, hardpoint map; status and reprioritize. You approve or edit the map. - Brief (
bcc-plan-spar) — short human Q&A; lock the single living plan (plus CONTEXT / ADR as needed). - Stress (
bcc-plan-spar) — adversarial review (self / subagent / optional CLI); revise the plan. You APPROVE implement, amend, or stop. - Ship (
bcc-clean-cut) — minimal diff, verify against the plan, mandatory writeback to throughline.
A few rules that matter:
- Auto-review
VERDICT: APPROVEDis not permission to code — only your implement gate is. - There is one living plan file, not a pile of per-slice plan files; endeavor history lives in throughline.
- plan-spar always after throughline (hard preflight).
- Clean-cut without writeback is incomplete.
Skills list
bcc-breaking-coding-chaos— main entry: Mode A chain, or a short status + next step.bcc-throughline— global cockpit.bcc-plan-spar— align and review the current plan.bcc-clean-cut— minimal implement + writeback.
Slash ids use bcc-…. Chat may use bcc:… for readability (argument-hint on each skill).
Two usage modes
| Mode A — Agent chains | Mode B — You control | |
|---|---|---|
| Entry | /bcc-breaking-coding-chaos |
/bcc-throughline |
| Order | Thin orchestrator loads children in sequence | You invoke each step in hard order |
| Best for | First use, large goals | Status checks, precise control |
Same four skills, same files. Mixing is fine.
Mode B order (required): always throughline → plan-spar → (you APPROVE) → clean-cut → writeback to throughline.
You choose when to call each skill, but you do not skip the map, spar a plan before throughline exists, or ship code before implement APPROVE. After a slice ships, return to throughline, then plan-spar again for the next slice.
How to invoke
You do not have to paste the whole dual-loop ritual by hand every time. Use whichever path your host supports:
- Call the skill explicitly (recommended when available) — slash or skills UI, e.g.
/bcc-throughline,/bcc-plan-spar,/bcc-clean-cut,/bcc-breaking-coding-chaos. - Natural language — many agents auto-load a skill when your prompt matches its description, e.g. “run throughline on this project”, “plan-spar this slice”, “clean-cut implement the plan”.
Requirement: the agent must index skills and be allowed to call them. If auto-routing is weak, disabled, or the skill is not installed, name the skill yourself (slash / UI / “use skill bcc-…”). Do not assume every chat host will invent the dual loop without a skill load.
Who it’s for
BCC is for anyone who needs agents to finish real work under hard constraints — not just generate plausible code. The same dual loop helps different roles in different ways:
- Researchers & students — Pin protocol, hyperparameters, and acceptance checks into a living brief; keep multi-week paper/repo progress on disk; ship one verifiable experiment or pipeline slice at a time.
- Engineers & tech leads — Keep design trade-offs and “what’s done” visible across long multi-module sessions; one active coding brief so the team does not get three competing implementations.
- Indie builders & founders — Turn a concrete product idea into auditable sub-tasks; stop the agent from reinventing the app every conversation.
- Repo maintainers — Global map plus one hard slice at a time; less thrash after compaction, context loss, or switching tools.
- Multi-agent users (Claude / Codex / Cursor / …) — Same four skills, same dual loop — one control plane across runtimes.
Strong fit: multi-step or multi-week work; high-stakes slices (bugs, migrations, experiments that must match a brief); resume after /clear or agent switches.
Weak / wrong tool: vibe one-liners, throwaway scripts, or no concrete idea yet — BCC implements ideas; it does not invent products.
Worked example: multi-slice + HITL
Plan four cases; ship two this session.
bcc-throughline → map 01–04; this session ships 01+02 only
bcc-plan-spar 01 → lock PLAN → review → YOU approve implement
bcc-clean-cut 01 → code + verify → writeback
bcc-plan-spar 02 → lock PLAN → review (may REVISE) → YOU approve
bcc-clean-cut 02 → code + verify → writeback
bcc-throughline → 01/02 complete; 03/04 still pending
You own the gates: map scope, lock PLAN, implement APPROVE, and reprioritize.
The agent owns grilling, artifacts, review, cut after APPROVE, and writeback.
Quick start
Exactly four skills (no more):bcc-breaking-coding-chaos · bcc-throughline · bcc-plan-spar · bcc-clean-cut
One-line install (recommended)
Open Agent Skills CLI — one command for Claude Code, Codex, Cursor, OpenCode, Hermes, OpenClaw, and more:
npx skills add bo-cao/breaking-coding-chaos -g -y
Pin to the agents you use:
npx skills add bo-cao/breaking-coding-chaos -g -y \
-a claude-code -a codex -a cursor -a opencode -a hermes-agent -a openclaw
Then new session in each agent → confirm only the four bcc-* names.
Claude Code (official plugin)
/plugin marketplace add bo-cao/breaking-coding-chaos
/plugin install bcc@breaking-coding-chaos
CLI equivalent: claude plugin marketplace add bo-cao/breaking-coding-chaos then claude plugin install bcc@breaking-coding-chaos.
Guide: docs/install/claude.md
Codex
npx skills add bo-cao/breaking-coding-chaos -g -y -a codex
Lands in ~/.codex/skills/. Restart Codex / new thread. Guide: docs/install/codex.md
Cursor · OpenCode · Hermes · OpenClaw
npx skills add bo-cao/breaking-coding-chaos -g -y -a cursor
npx skills add bo-cao/breaking-coding-chaos -g -y -a opencode
npx skills add bo-cao/breaking-coding-chaos -g -y -a hermes-agent
npx skills add bo-cao/breaking-coding-chaos -g -y -a openclaw
Guides: cursor · opencode · hermes · openclaw
Grok / offline / local clone
.\install.ps1 # ~/.grok/skills
.\install.ps1 -AllAgents # every known agent path on this machine
.\install.ps1 -Dest PATH # one custom skills root
./install.sh
./install.sh --all-agents
DEST=~/.claude/skills ./install.sh
Guide: docs/install/grok.md
Paste block: INSTALL_FOR_AGENTS.md · full matrix: docs/install/README.md
Verify (any agent): new session → list skills → only the four bcc-* names above.
Artifacts
- throughline owns
plans.md,progress.md,findings.md - plan-spar owns
CONTEXT.mdanddocs/adr/* - plan-spar + clean-cut share one living
PLAN.md - optional
.bcc/session.jsonfor APPROVE / preflight
Benchmarks
We evaluated BCC against ad-hoc agent use on a 20-task Python suite with pytest oracles.
ad-hoc means the everyday pattern of driving an agent case by case: as each need comes up, you write a prompt for that problem and ask the agent to solve it — without an explicit layered plan (no global progress map, no single living brief per slice, no disciplined implement gate).
| Metric | BCC | ad-hoc |
|---|---|---|
| Clean pass (first full oracle green) | 90% (18/20) | 0% (0/20) |
| Final pass (within rework budget) | 100% (20/20) | 0% (0/20) |
| Mean failed oracle rounds | 0.10 | 2.00 |
| Mean tokens | 2.0M | 5.1M (~2.5×) |
With a dual-loop control plane (global progress → one living plan → gated minimal implement → writeback), the agent closes full-spec tasks on the first oracle pass in most cases and finishes every task under budget. Ad-hoc case-by-case prompting — optimized for the next chat turn, not for full-spec closure — does not reach final green when limited to one rework after the first red suite. Token cost for ad-hoc is about 2.5× higher, consistent with repeated fail/fix loops.
Task packs and row-level scorecard: benchmark/ · summary: benchmark/RESULTS.md.
PS. In this evaluation, human-in-the-loop decisions (including implement APPROVE) were performed by agent subagents under a fixed policy, not by live human operators. Results reflect the BCC workflow + automated gate policy.
Acknowledgments
This skill suite draws on related ideas from the projects below (re-encapsulated under our own names). We are not affiliated with their authors or organizations — thank you for the prior art.
- planning-with-files — Manus-style persistent markdown planning (throughline)
- Manus context engineering — filesystem as durable agent context
- Matt Pocock skills — grill / grill-with-docs and domain modeling (plan-spar)
- ponytail — YAGNI / minimal implementation ladder (clean-cut)
Star History
SIGNAL
Leave a star if BCC helped you ship
Not a vanity metric — a breadcrumb for the next person who needs a control plane.
★ Star this repo · Stargazers · star-history.com
Contributing
Contributions welcome! Please:
- Fork the repository
- Create a feature branch (
git checkout -b feature/your-change) - Commit with a clear message
- Open a pull request against
master
For skill behavior changes, keep the suite lean (four skills only), preserve throughline → plan-spar → clean-cut order and human gates, and update EN + 简体中文 + 繁體中文 docs when user-facing text changes.
License
MIT — see LICENSE.
Copyright (c) 2026 JC.
Yorumlar (0)
Yorum birakmak icin giris yap.
Yorum birakSonuc bulunamadi