mirror of
https://github.com/shareAI-lab/analysis_claude_code.git
synced 2026-06-26 23:23:38 +08:00
the model is the agent, the code is the harness
Comprehensive rewrite establishing the harness engineering narrative across the entire repository. README (EN/ZH/JA): added "The Model IS the Agent" manifesto with historical proof (DQN, OpenAI Five, AlphaStar, Tencent Jueyu), "What an Agent Is NOT" critique, harness engineer role definition, "Why Claude Code" as masterclass in harness design, and universe vision. Consistent framing: model = driver, harness = vehicle. docs (36 files, 3 languages): injected one-line "Harness layer" callout after the motto in every session document (s01-s12). agents (13 Python files): added harness framing comment before each module docstring. skills/agent-philosophy.md: full rewrite aligned with harness narrative.
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
# agents/ - Python teaching agents (s01-s12) + reference agent (s_full)
|
||||
# agents/ - Harness implementations (s01-s12) + full reference (s_full)
|
||||
# Each file is self-contained and runnable: python agents/s01_agent_loop.py
|
||||
# The model is the agent. These files are the harness.
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#!/usr/bin/env python3
|
||||
# Harness: the loop -- the model's first connection to the real world.
|
||||
"""
|
||||
s01_agent_loop.py - The Agent Loop
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#!/usr/bin/env python3
|
||||
# Harness: tool dispatch -- expanding what the model can reach.
|
||||
"""
|
||||
s02_tool_use.py - Tools
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#!/usr/bin/env python3
|
||||
# Harness: planning -- keeping the model on course without scripting the route.
|
||||
"""
|
||||
s03_todo_write.py - TodoWrite
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#!/usr/bin/env python3
|
||||
# Harness: context isolation -- protecting the model's clarity of thought.
|
||||
"""
|
||||
s04_subagent.py - Subagents
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#!/usr/bin/env python3
|
||||
# Harness: on-demand knowledge -- domain expertise, loaded when the model asks.
|
||||
"""
|
||||
s05_skill_loading.py - Skills
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#!/usr/bin/env python3
|
||||
# Harness: compression -- clean memory for infinite sessions.
|
||||
"""
|
||||
s06_context_compact.py - Compact
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#!/usr/bin/env python3
|
||||
# Harness: persistent tasks -- goals that outlive any single conversation.
|
||||
"""
|
||||
s07_task_system.py - Tasks
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#!/usr/bin/env python3
|
||||
# Harness: background execution -- the model thinks while the harness waits.
|
||||
"""
|
||||
s08_background_tasks.py - Background Tasks
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#!/usr/bin/env python3
|
||||
# Harness: team mailboxes -- multiple models, coordinated through files.
|
||||
"""
|
||||
s09_agent_teams.py - Agent Teams
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#!/usr/bin/env python3
|
||||
# Harness: protocols -- structured handshakes between models.
|
||||
"""
|
||||
s10_team_protocols.py - Team Protocols
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#!/usr/bin/env python3
|
||||
# Harness: autonomy -- models that find work without being told.
|
||||
"""
|
||||
s11_autonomous_agents.py - Autonomous Agents
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#!/usr/bin/env python3
|
||||
# Harness: directory isolation -- parallel execution lanes that never collide.
|
||||
"""
|
||||
s12_worktree_task_isolation.py - Worktree + Task Isolation
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#!/usr/bin/env python3
|
||||
# Harness: all mechanisms combined -- the complete cockpit for the model.
|
||||
"""
|
||||
s_full.py - Full Reference Agent
|
||||
|
||||
|
||||
Reference in New Issue
Block a user