neuron-explorer
Qwen3.5‑4B 전용 조향형 뉴런 탐색기, 모든 MLP 뉴런을 밀어 결과를 보관·탐색
AI Agent workflow protocol for software engineering. Orchestrate subagents with phase gates, state persistence, and role isolation.
저장소 README에서 가져옴
README 전체를 불러오는 중입니다. 아래는 저장된 발췌입니다.
Agateon
Agateon (formerly agate) — this project has a new name; the badge and install command below already point to the new repository.
An orchestration protocol that verifies AI agents the way a build system verifies a compiler.README 전문 보기 ↗Agateon (formerly agate) — this project has a new name; the badge and install command below already point to the new repository. An orchestration protocol that verifies AI agents the way a build system verifies a compiler.
Agateon is a documentation-and-script orchestration protocol for software engineering tasks. There is no runtime, no daemon, and no build step — just a set of Markdown protocol files plus gate-check scripts that any coding agent can read and run. A single orchestrator agent never writes code itself. Instead it dispatches dedicated subagents through eight phases (P1 requirements → P2 design → P3 test-first → P4 implementation → P5 verification → P6 acceptance → P7 consistency → P8 release), plus a mandatory independent-judge checkpoint (P6.5) between P6 and P7 that re-verifies every acceptance criterion in a fresh context. After every phase it runs an objective gate check before the state machine may advance. State is persisted to version-controlled Markdown (plus an append-only gate-events.jsonl ledger), so progress survives crashes and remains auditable by humans.
LLM agents are powerful but unreliable on long tasks: context gets polluted, subagents drift, and "it looks done" becomes the only quality signal. Agateon treats an AI agent the way a build system treats a compiler — you don't trust the output, you verify it through gates.
agate/LIMITATIONS.md.agent gates on → Agateon
~/.agate/vX.Y.Z/, with latest / current pointers; ~/.agate is a version-root directory):
curl -sSL https://raw.githubusercontent.com/randomgitsrc/agateon/main/install.sh | bash
Running install.sh with no arguments is the same as install.sh --versions. If ~/.agate is still a symlink from an older release, the command fail-closes with three migration steps (back the symlink up, then re-run) — see the "v0.73.0" section of agate/UPGRADING.md. Use the version manager to update or pin per project. The full install / migrate / update / rollback matrix is the "版本管理生命周期" section of agate/UPGRADING.md:
install.sh --versions # enter the versioned layout (repo/ + vX.Y.Z/ + pointers)
python3 ~/.agate/scripts/agate-install.py latest # update to the latest version (idempotent)
python3 ~/.agate/scripts/agate-install.py v0.49.0 # pin a specific version
python3 ~/.agate/scripts/agate-install.py --check # environment probe
python3 ~/.agate/scripts/agate-setup.py — it detects the platforms you have, registers the orchestrator identity (global by default), and installs the git hooks. Platform specifics and manual fallbacks (OpenCode, Claude Code, DSH, Codex, Windows copy mode) are in agate/SETUP.md.agate-workspace/) is initialized automatically on the orchestrator's first run; see agate/SETUP.md for the one-time setup.Orchestrator
│ dispatches
▼
P0 brief → P1 analyst → P2 architect → P3 test-designer → P4 implementer
→ P5 verifier → P6 verifier → P6.5 judge → P7 consistency-reviewer → P8 release
│ after every phase
▼
gate check (test runner exit code, typechecker, git log, BDD runs)
│ pass
▼
state persisted (active-tasks.md / .state.yaml / gate-events.jsonl) → next phase
The orchestrator does exactly four things: read state, dispatch subagents, run gates, and update state. It never writes phase artifacts itself. A phase may only advance when its gate passes; a failed gate bounces the phase back (within a retry limit) before the state machine moves on. Phase definitions and pruning rules are in agate/WORKFLOW.md.
| Platform | Task tool | Recommended use |
|---|---|---|
| OpenCode | ✅ | Full P0-P8 |
| Claude Code | ✅ | Full P0-P8 |
| DSH | ✅ | Full P0-P8 |
| Codex | ✅ | Full P0-P8 |
| Claude Project sessions | ❌ | Design phases (P0-P2) only |
All four platforms run the full P0-P8, but their identity artifacts differ: Claude Code / OpenCode use an agent markdown file, DSH uses an agent-preset trio, and Codex relies on a skill (it has no agent-registration mechanism). Setup is command-driven — one command detects your platforms and installs the right form:
python3 ~/.agate/scripts/agate-setup.py
Details in agate/SETUP.md step 2; agate/platform-notes.md is the authoritative source for per-platform capability (including native Windows / Git for Windows).
# Remove platform artifacts + every project agateon was installed into (incl. git hooks), then the body
python3 ~/.agate/scripts/agate-setup.py --uninstall --all-projects --purge
Three guarantees:
| Guarantee | Detail |
|---|---|
| Never deletes your files by mistake | Every removal is gated on verified ownership (symlink points into this install? content equals the authoritative template?); anything unprovable is kept and reported, never guessed at |
| Never touches your work data | agate-workspace/ (tasks / retros / tech debt), .agate-version, AGENTS.md etc. are reported, not deleted — those are your results, not install artifacts |
| Leaves no broken state | Any hook that existed before is backed up at install time and restored on uninstall; otherwise you would be left with dangling symlinks to deleted scripts (a stale copy-mode hook stays executable and makes git commit fail outright (a dangling symlink, or a non-executable copy, is silently ignored by git)) |
Step by step:
python3 ~/.agate/scripts/agate-setup.py --list # see what is installed (incl. ledger projects)
python3 ~/.agate/scripts/agate-setup.py --uninstall --dry-run # preview removals
python3 ~/.agate/scripts/agate-setup.py --uninstall --scope global # global artifacts only
python3 ~/.agate/scripts/agate-setup.py --uninstall --all-projects # global + every ledged project
python3 ~/.agate/scripts/agate-setup.py --uninstall --purge # then delete the body itself
Project-scoped installs (--scope project) are recorded in an install ledger (<install-root>/installed-projects.json), which is how --all-projects finds and cleans every one of them.
If the install root is not the default (i.e. AGATE_HOME was set), substitute the real path for ~/.agate; --list prints it.
| If you want to… | Read |
|---|---|
| Integrate Agateon into a project for the first time | agate/SETUP.md |
| Understand the P0-P8 phase workflow and pruning rules | agate/WORKFLOW.md |
| Look up cross-phase rules (retry caps / state transitions / C8 review mapping) | agate/rules/ — phases.yaml / dispatch.yaml / roles.yaml / dispatch-tiers.yaml + schema/, alongside state-transitions.md / review-mapping.md |
| Read the protocol body entry point (for agents and deep users) | agate/AGENTS.md |
| Adapt Agateon to your platform (OpenCode / Claude Code / Windows) | agate/platform-notes.md |
| Understand known structural limitations | agate/LIMITATIONS.md |
| Check breaking changes before upgrading | agate/UPGRADING.md |
| Look up the glossary / ubiquitous language | agate/CONTEXT.md |
| Review architecture decision records |
Gates fall into two trust classes, based on who produces the judged artifact:
| Type | Phases | Judged by | Trust |
|---|---|---|---|
| External output gate | P3, P4, P5 | External tool output (test runner exit code, typechecker, git log) | High — the orchestrator cannot fake external output |
| Self-authored file gate | P1, P2, P6, P7 | Files written by the orchestrator itself | Mitigated — author and judge are the same actor |
Self-authored gates are mitigated, never cured, by evidence-existence checks, objective provenance audits, and BDD count cross-checks — raising the cost of fabrication and leaving an audit trail. The mandatory P6.5 independent-judge checkpoint adds a further layer over P6: a fresh-context judge re-verifies every acceptance criterion from the evidence and git log alone, under an append-only event ledger. See Limitation 3 in agate/LIMITATIONS.md.
Adoption is progressive. Pruning is decided in P1, not automatic: the analyst classifies the task on a complexity × risk matrix, declares a ceremony tier (thin / standard / full, fail-closed to standard), writes a reason for every skipped phase, and the orchestrator confirms the plan. Small single-point changes run a pruned flow (P1 + P3 + P4 + P5) — P3 test-first is kept by default and skipped only with an explicit justification (config-only changes, or a ≤3-line change already covered by a regression test), while P7 consistency is dropped for low/medium-risk changes but mandatory for high-risk (security/data/permission) ones. Medium changes run the full P1-P8; high-risk tasks keep acceptance and consistency mandatory and warrant a final human review. P6 acceptance and the P6.5 judge are never pruned.
Agateon takes the document-protocol route, which carries structural limits: the quality ceiling of its gates, the cognitive (not truly independent) nature of role isolation, and the orchestrator's judgment as a single point of failure. Read agate/LIMITATIONS.md before adopting — it is honest about what this protocol does not solve.
Agateon itself is developed with Agateon. Start at the maintainer entry point agate/AGENTS.md and run the test suite with (add -n auto for a ~3.5x parallel speedup):
python3 -m pytest agate/tests/
agate/adr.md| Run the test suite (maintainers) | agate/tests/README.md |