harness-all
Health Warn
- No license รขโฌโ Repository has no license file
- Description รขโฌโ Repository has a description
- Active repo รขโฌโ Last push 0 days ago
- Low visibility รขโฌโ Only 8 GitHub stars
Code Fail
- rm -rf รขโฌโ Recursive force deletion command in harness-solo/.harness/hooks/guards/guard-bash.sh
Permissions Pass
- Permissions รขโฌโ No dangerous permissions requested
No AI report is available for this listing yet.
๐ชข Multi-Agent framework family for AI-powered product development โ PM ยท Design ยท Engineering ยท Growth ยท Ops | ้ขๅ AI ๅ็ไบงๅๅผๅ็ๅคๆบ่ฝไฝ๏ผMulti-Agent๏ผๆกๆถๅฎถๆ โ ่ฆ็ไบงๅ ยท ่ฎพ่ฎก ยท ็ ๅ ยท ๅข้ฟ ยท ่ฟ็ปด
๐ Language / ่ฏญ่จ: English | ไธญๆ
๐ชข harness-all
Personal AI Studio ยท Multi-Agent Framework Family
A "Independence First, Contract Collaboration" framework family for AI Agents
Each framework specializes in one domain and works independently; they collaborate via contract documents to form a complete closed loop.
| Framework | Responsibility | Skill | Workflow | Status |
|---|---|---|---|---|
| harness-pm | Strategy ยท Market ยท Product ยท PRD ยท Metrics | 86 | 10 | โ |
| harness-design | UI ยท Visual ยท Interaction ยท Prototype ยท Design System | 18 | 6 | โ |
| harness-solo | Engineering ยท TDD ยท Debugging ยท Refactoring ยท Verification | 20 | 7 | โ |
| harness-growth | Operations ยท Content ยท SEO ยท Growth Experiments | 40 | 6 | โ |
| harness-ops | Ops ยท Deployment ยท Monitoring ยท Disaster Recovery | 32 | 7 | โ |
Total: 5 frameworks ยท 196 Skills ยท 36 Workflows ยท 11 contract documents ยท 24 LOOP loop types
๐ Table of Contents
- ๐ฏ Design Philosophy
- ๐ก Why a Framework Is Needed
- ๐๏ธ Three-Layer Architecture
- ๐จโ๐ฉโ๐งโ๐ฆ Framework Family Overview
- โจ Core Features
- ๐ Quick Start
- ๐ง Framework Details
- ๐ Contract Collaboration Mode
- โ๏ธ Unified Foundation Layer Specification
- ๐ LOOP Loop Engine
- ๐ก๏ธ Security and Compliance
- ๐บ๏ธ Evolution Roadmap
- ๐ Documentation Navigation
- ๐ค Contribution and License
๐ฏ Design Philosophy
Core Principle: Independence First, Contract Collaboration
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ โ
โ Independent Work โโโโ Contract Collaboration โโโโ Multi-Agent Orchestration โ
โ (Current stage) (Current stage) (Future evolution, non-goal) โ
โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Why independent rather than unified:
| Dimension | Unified Framework | Independent Frameworks (This Approach) |
|---|---|---|
| Context cost | Single Agent loads all skills, context explosion | Each Agent loads only its domain skills |
| Memory pollution | Product/engineering/design/growth memories mixed | Each framework has independent memory, no interference |
| Debug isolation | A bug in one domain affects everything | Frameworks are fully isolated |
| Tool adaptation | One toolchain fits all scenarios | Each framework picks tools as needed |
| Project ownership | One project, one Agent | Different frameworks can attach to different projects/working directories |
Conclusion: Context explosion and memory pollution are the core pain points of AI Agent collaboration. Independent frameworks are the most pragmatic choice today.
Four Iron Rules
- Independent Self-Sufficiency โ Each framework must be able to independently complete its domain work without depending on other frameworks
- Contract Collaboration โ Frameworks pass requirements via contract documents under
docs/handoff/ - Loop Verification โ All tasks go through LOOP (planโexecuteโverify), evidence-driven
- Security Red Lines โ Non-negotiable principles written into constitution.md; Agents must comply
๐ก Why a Framework Is Needed
The Real Dilemma of AI Agents Without a Framework
Most people use AI Agents like this: open a conversation โ describe the requirement โ get a result โ close the conversation. Next time you open it, everything starts from zero.
โ Daily life without a framework
1st conversation: "Help me write a PRD" โ Agent doesn't know your product background, asks from scratch
2nd conversation: "Help me design this page" โ Agent doesn't know what the PRD looks like, asks from scratch
3rd conversation: "Help me implement this feature" โ Agent doesn't know what the design looks like, asks from scratch
4th conversation: "Help me write a growth plan" โ Agent doesn't know the product status, asks from scratch
...every conversation is amnesiac, every time you have to rebuild context
The core problem is not that the Agent isn't smart enough, but that there is no persistent project memory and domain knowledge.
What the Framework Solves
The essence of the harness framework is not "a better prompt", but building a persistent project knowledge system for AI Agents:
| Capability | Without Framework | With harness Framework |
|---|---|---|
| Project Knowledge Base | Re-explain project background every conversation | knowledge-base.md continuously accumulates project decisions, tech choices, pitfalls |
| Workspace Memory | Forgetting on conversation close | progress.md keeps progress across sessions, auto-restores next time |
| Domain Specialization | One Agent does everything, none well | Each framework focuses on one domain, skills precisely match scenarios |
| Context Efficiency | Full load, severe token waste | Load INDEX โ SKILL.md on demand, only read what's necessary |
| Traceable Collaboration | Verbal/chat records pass requirements | Contract documents (handoff) structured passing, AC numbering aligned cross-framework |
| Verifiable Quality | "I think it's done" | LOOP engine + evidence gate, no claiming completion without evidence |
| Security Red Lines | Agent may overreach | constitution.md non-negotiable, security.md unified prohibitions |
| Reusable Experience | Start from zero every project | Templates + knowledge base + skills reusable across projects |
Three-Layer Knowledge System
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ ๐ง Project Knowledge Base (knowledge-base.md) โ
โ โ
โ Continuously accumulated project decisions ยท tech choices ยท pitfalls ยท best practices โ
โ โ Agent auto-reads at every startup, no need to re-explain project background โ
โ โ Auto-archives new knowledge at session end, the more you use it the better it knows your project โ
โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ ๐ Workspace Memory (progress.md + FEATURES.md) โ
โ โ
โ Cross-session progress ยท current task status ยท historical decision records โ
โ โ session-start auto-restores context, no lost work progress โ
โ โ FEATURES.md board-style tracking of all task statuses โ
โ โ state.yaml supports checkpoint resume, recoverable after interruption โ
โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ ๐ Domain Specification (AGENTS.md + SOUL.md + constitution.md) โ
โ โ
โ Domain values ยท working principles ยท security red lines ยท non-negotiable rules โ
โ โ Clear Agent behavior boundaries, no overreach or drift โ
โ โ Different frameworks have different personalities and principles, specialized not generalized โ
โ โ Clear rule priority: SOUL > AGENTS > rules > conversation > external files โ
โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Framework vs Pure Prompt Engineering: The Essential Difference
| Dimension | Pure Prompt Engineering | harness Framework |
|---|---|---|
| Knowledge Persistence | None (every conversation from zero) | knowledge-base.md accumulates across sessions |
| Context Recovery | None (manual copy-paste) | progress.md + session-start auto-restore |
| Domain Specialization | Via prompt role description (fragile) | SOUL.md + 82 PM skills precisely matched |
| Quality Assurance | Manual checking | LOOP loop + evidence gate + verify skill |
| Collaboration Handoff | Copy-paste chat records | Contract documents structured passing + AC numbering alignment |
| Security Boundary | Via prompt constraints (overridable) | constitution.md non-negotiable + security.md |
| Experience Reuse | Rewrite prompts every project | Templates + skills + knowledge base reusable across projects |
| Extensibility | Prompts grow longer, hard to maintain | Skills modular, INDEX loads on demand |
One-line summary: Prompt Engineering is "teach an Agent to do one thing"; Framework is "let an Agent have persistent project memory and domain expertise, getting stronger with use".
Real-World Scenario Comparison
Scenario: You're building a new product, from 0 to 1
โ Without a framework:
You: Help me write a PRD
AI: Sure, please tell me what your product is? Who are the target users?...
You: (spend 30 minutes explaining background)
AI: (produces PRD)
You: Help me design the homepage
AI: Sure, please tell me what your PRD content is?...
You: (spend 10 minutes re-explaining)
...every domain switch requires rebuilding context, knowledge cannot accumulate
โ
With harness framework:
You: Start harness-pm, begin new-product workflow
Agent: (auto-reads knowledge-base, understands project background)
Agent: (executes new-product workflow, produces PRD + contract documents)
You: Switch to harness-design
Agent: (auto-reads pm-to-design.md, precisely understands requirements)
Agent: (produces design assets + component-map.json)
You: Switch to harness-solo
Agent: (auto-reads design-to-solo.md + component-map.json)
Agent: (precisely implements code, AC numbering aligned verification)
...each domain auto-inherits upstream outputs, knowledge continuously accumulates
๐๏ธ Three-Layer Architecture
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Orchestration Layer (Future, not a current goal) โ
โ - Multi-Agent scheduling / shared source of truth / cross-framework LOOP โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Contract documents
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Framework Layer (Current focus) โ
โ harness-pm / harness-design / harness-solo โ
โ harness-growth / harness-ops โ
โ + Extension frameworks (data/qa/security, built on demand) โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Load chain
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Foundation Layer (inside each framework) โ
โ AGENTS.md / SOUL.md / constitution.md / LOOP.md / skills/ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Applicable Scenarios
- Personal AI Studio: One person + multiple AI Agents, each Agent specializes in one domain
- Small team collaboration: Different members own different frameworks, aligned via contract documents
- Multi-project parallelism: Each framework can attach to different project directories without interference
๐จโ๐ฉโ๐งโ๐ฆ Framework Family Overview
Framework Classification and Status
| Category | Framework | Responsibility | Status | Skill Count |
|---|---|---|---|---|
| Core | harness-pm | Strategy ยท Market ยท Product ยท PRD ยท Metrics ยท Growth Monitoring | โ Built | 86 skills (82 domain + 4 meta) + 10 workflows |
| Core | harness-design | UI ยท Visual ยท Interaction ยท Prototype ยท Design System | โ Built | 18 skills (14 domain + 4 meta) + 6 workflows |
| Core | harness-solo | Engineering ยท TDD ยท Debugging ยท Refactoring ยท Verification | โ Built | 20 skills (16 domain + 4 meta) + 7 workflows |
| Core | harness-growth | Operations ยท Content ยท SEO ยท Growth Experiments | โ Built | 40 skills (36 domain + 4 meta) + 6 workflows |
| Extension | harness-ops | Ops ยท Deployment ยท Monitoring ยท Disaster Recovery | โ Built | 32 skills (28 domain + 4 meta) + 7 workflows |
| Extension | harness-data | Data Pipeline ยท ETL ยท Metric Production | ๐ P1 To Build | - |
| Extension | harness-qa | Quality Assurance ยท Automated Testing ยท Performance Testing | โ ๏ธ P2 On Demand | - |
| Extension | harness-security | Security Audit ยท Compliance ยท Penetration Testing | โ ๏ธ P3 On Demand | - |
Framework Responsibility Boundaries (Non-overlap Principle)
โโโโโโโโโโโโโโโ PRD + Persona + AC โโโโโโโโโโโโโโโ design-to-solo.md โโโโโโโโโโโโโโโ
โ harness-pm โ โโโโโโโโโโโโโโโโโโโโ> โharness-designโ โโโโโโโโโโโโโโโโโโโ> โ harness-soloโ
โ "Do the โ โ "Make it โ + component-map โ "Write good โ
โ right โ โ look good โ + tokens.json โ code" โ
โ thing" โ PRD + AC + Tracking โ and usable" โ โ โ
โ โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ> โ โ
โโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโ
โ โ
โ Metrics + Growth Strategy โ Implemented Features + Tracking
โผ โผ
โโโโโโโโโโโโโโโโโโโ> โโโโโโโโโโโโโโโ <โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โharness-growthโ
โ "Make it โ
โ used" โ
โโโโโโโโโโโโโโโ
โฒ
โ solo-to-ops.md (deployment contract)
โ
โโโโโโโโโโโโโโโ
โ harness-ops โ
โ "Escort and โ
โ deliver" โ
โโโโโโโโโโโโโโโ
โ
โ ops-to-pm.md (SLA + incident post-mortem)
โผ
(feedback to harness-pm)
Responsibility boundary iron rules:
| Domain | Owner | Boundary Violations Forbidden |
|---|---|---|
| Product Requirements (PRD/AC/Persona) | harness-pm | design does not define PRD, solo does not modify PRD |
| Visual Design (color/typography/components) | harness-design | pm does not pick colors, solo does not hardcode values |
| Interaction Design (state machines/animations/gestures) | harness-design | pm does not define animation params, solo implements per spec |
| Engineering Implementation (code/tests/architecture) | harness-solo | pm/design do not write code |
| Growth Operations (content/SEO/experiments) | harness-growth | pm provides metrics, growth runs experiments |
| Ops Assurance (release/monitoring/disaster recovery) | harness-ops | solo does not directly operate production, must go through ops IaC |
โจ Core Features
1. Independent Frameworks ยท Context Isolation
Each framework is a fully independent directory that can attach to different project directories, be loaded by different Agent instances, and have independent .harness/ config, memory, progress.
2. Contract Collaboration ยท Cross-Framework Alignment
Pass requirements via contract documents under docs/handoff/, supporting multi-person + multi-Agent collaboration. AC numbering system aligned cross-framework (AC-xxx engineering + DAC-xxx design flowing into engineering).
3. LOOP Engine ยท Evidence-Driven
Unified loop engine across all frameworks, supporting state.yaml checkpoint resume, iteration cap protection, evidence-driven principle. Single LOOP Hard Circuit Breaker at 10 iterations.
4. Security Red Lines ยท Non-negotiable
Each framework's constitution.md defines non-negotiable principles; rules/security.md defines unified prohibitions. The ops framework additionally adds strict Secret isolation and 7-layer defense in depth.
5. Cross-platform Compatible
Agent tools first (Read/Write/Edit/Glob/Grep), bash optional fallback. All scripts have bash availability checks, auto-skip on Windows.
6. Semi-automated Architecture (harness-ops exclusive)
Agent proposes + human approves + GitOps executes. Four operation primitives (inspect/propose/mutate-staging/mutate-prod) precisely control the automation boundary.
๐ Quick Start
1. Choose the framework you need
# Full personal AI studio (recommended)
git clone <harness-all-repo>
# Or clone only a single framework
git clone <harness-pm-repo> # Product Management
git clone <harness-design-repo> # UI Design
git clone <harness-solo-repo> # Engineering
git clone <harness-growth-repo> # Operations & Growth
git clone <harness-ops-repo> # Ops Assurance
2. Install to your project
# Enter your project directory
cd my-project
# Run the install script (using harness-solo as an example)
bash /path/to/harness-solo/install.sh
# The install script will:
# 1. Check dependencies (git required, Node.js on demand)
# 2. Create the .harness/ directory structure
# 3. Copy AGENTS.md / SOUL.md / constitution.md
# 4. Initialize memory/progress.md
# 5. Create the docs/handoff/ directory
3. Start the Agent
# Start an AI Agent in your project directory (e.g., Trae IDE)
# The Agent will auto-read via the load chain:
# 1. AGENTS.md (mandatory read at startup)
# 2. SOUL.md + constitution.md (on first interaction)
# 3. skills/INDEX.md (when selecting a Skill)
# 4. Corresponding SKILL.md (when executing tasks)
# 5. memory/progress.md (at session-start)
4. Multi-framework Collaboration
# Scenario: PM produces PRD โ Design produces design assets โ Solo implements code
# 1. Use harness-pm in the product project directory
cd product-project
# Agent produces: docs/handoff/pm-to-design.md + pm-to-solo.md
# 2. Manually copy contract documents to the design project
cp product-project/docs/handoff/pm-to-design.md design-project/docs/handoff/
# 3. Use harness-design in the design project directory
cd design-project
# Agent consumes pm-to-design.md, produces: design-to-solo.md + component-map.json
# 4. Manually copy contract documents to the engineering project
cp design-project/docs/handoff/design-to-solo.md engineering-project/docs/handoff/
cp design-project/docs/handoff/component-map.json engineering-project/docs/handoff/
# 5. Use harness-solo in the engineering project directory
cd engineering-project
# Agent consumes pm-to-solo.md + design-to-solo.md + component-map.json, implements code
๐ง Framework Details
harness-pm (Product Management Framework)
Positioning: "Do the right thing" โ product exploration, market analysis, PRD generation, metrics operations
Four Principles:
- Discovery First โ Don't assume requirements; let research data speak
- Contract-Driven โ PRD drives design, positioning drives brand
- Data-Driven โ Use data to reduce guessing; decision authority stays with humans
- Closed-Loop โ Metrics โ Monitoring โ Iteration โ Feedback
Skill System (86 skills = 82 domain + 4 meta):
- Module 1 Discovery (12): user-research / market
- Module 2 Business Strategy (13): business / planning
- Module 3 Ideation & Design (9): prd / validation
- Module 4 Metrics Design (4): metrics
- Module 5 Metrics Operations (11): analysis / decision / experiment
- Module 6 Growth Operations (16): growth / acquisition / activation / retention / revenue
- Module 7 Monitoring & Iteration (17): monitoring / diagnosis / iteration / release
Signature Mechanisms:
- UI Directive Overreach Gate: Forcibly intercepts PM sneaking in specific visual/interaction forms at PRD output
- orchestrator-pipeline two-layer architecture: 19 orchestrators orchestrate 63 pipeline skills
Core Outputs: docs/product/PRD.md / docs/strategy/PRODUCT_STRATEGY.md / docs/handoff/pm-to-{design,solo,growth}.md
harness-design (UI Design Framework)
Positioning: "Make it look good and usable" โ visual design, interaction design, prototype output, design specs
Four Principles:
- User-Centered โ Persona-driven, no assumption of aesthetics
- System-First โ Build the design system before drawing pages
- Accessible by Design โ WCAG 2.1 AA is a hard constraint
- Deliverable โ Design assets must be implementable by engineering
Skill System (18 skills = 14 design + 4 meta):
- Requirements & Recommendations: design-brief / design-recommendation
- Design System: design-system / design-system-import / design-system-refactor
- Design Output: visual-design / interaction-design / wireframe / component-design
- Review & Verification: verify / design-lint / design-review / accessibility-audit
- Handoff: design-handoff-spec
Signature Mechanisms:
- Push-back anti-overreach: Design Agent has the right to refuse and rewrite PM's hardcoded UI directives
- Anti AI-Slop: Disable Inter/purple gradients/uniform border radius/Lorem ipsum, mechanically checked by design-lint
- Doubt-Driven adversarial review: design-review uses a fresh-context sub-agent for adversarial review
- component-map.json: Explicit mapping layer, machine-readable component contract
Core Outputs: docs/design-system/DESIGN.md / docs/design-system/tokens.json / docs/handoff/design-to-solo.md + component-map.json
harness-solo (Engineering Framework)
Positioning: "Write good code" โ requirements exploration, TDD, debugging, verification, code review
Karpathy's Four Principles:
- Think Before Coding โ Don't make assumptions for the user
- Simplicity First โ No speculative abstractions
- Surgical Changes โ Only modify code that must be changed
- Goal-Driven Execution โ Loop verification until achieved
Skill System (20 skills = 16 engineering + 4 meta):
- Requirements & Planning: brainstorming / writing-plans / executing-plans
- Testing & Debugging: test-driven-development / test-coverage / systematic-debugging
- Frontend & Performance: frontend-implementation / webapp-testing / performance-optimization
- Migration & Dependencies: migration / dependency-management
- Verification & Review: verify / requesting-code-review / receiving-code-review
- Documentation & Skills: writing-documentation / writing-skills
Signature Mechanisms:
- Dual-source AC Verification: verify checks both engineering ACs (
AC-xxx) and design ACs (DAC-xxx) - component-map.json consumption contract: frontend-implementation reads component mapping as the single source of truth
- Entropy Check: verify checks file growth rate / LOC growth rate / dependency bloat / TODO backlog
- git hooks: pre-commit (secret/sensitive file/commit-msg check) + pre-push
Core Outputs: docs/engineering/TECH_STACK.md / docs/handoff/solo-to-{growth,ops}.md / .harness/loops/specs/<feature>/spec.md
harness-growth (Operations & Growth Framework)
Positioning: "Make it used" โ content production, SEO, user operations, growth experiments
Four Principles:
- Experiment-Driven โ Every action has a hypothesis and a metric
- Content-First โ Quality > Quantity, no content farming
- Long-Term โ No black-hat SEO, no fake traffic
- Data-Loop โ Every experiment has a conclusion and an action
Skill System (40 skills = 36 domain + 4 meta):
- Module 1 Growth Strategy (5): nsm-definition / kpi-tree / aarr-diagnosis / growth-loop-design / four-fits-assessment
- Module 2 Growth Experiments (6): hypothesis-generation / ice-scoring / experiment-design / sample-size-calc / experiment-analysis / experiment-conclusion
- Module 3 Content Marketing (5): content-ideation / content-creation / content-review / content-distribution / content-performance
- Module 4 SEO Optimization (5): keyword-research / serp-analysis / onpage-optimization / technical-seo-audit / ranking-tracking
- Module 5 User Operations (5): user-segmentation / onboarding-design / aha-moment-identification / retention-analysis / churn-rescue
- Module 6 Acquisition & Paid (3): channel-assessment / landing-page-optimization / cac-analysis
- Module 7 Monetization (3): pricing-strategy / paywall-optimization / nrr-analysis
- Module 8 Data Analysis (3): funnel-analysis / cohort-analysis / metric-anomaly-detection
- Module 9 Growth Review (1): growth-review
Core Outputs: docs/operations/GROWTH_STRATEGY.md / docs/content/ / docs/seo/ / docs/experiment/ / docs/handoff/growth-to-pm.md
harness-ops (Operations & Infrastructure Framework)
Positioning: "Escort and deliver" โ Infrastructure as Code, automated deployment, monitoring & alerting, disaster recovery and incident response
SRE Four Principles:
- Stability-First โ No incidents is the highest-priority metric
- Infrastructure as Code โ Environments are version-controlled and one-click rebuildable
- Observability โ Logs / Metrics / Traces, none can be missing
- Automation โ Eliminate toil relentlessly
Skill System (32 skills = 28 domain + 4 meta):
- Module 1 Deployment & Delivery (4): deployment-pipeline / release-strategy / rollback / deployment-verify
- Module 2 Infrastructure (4): infrastructure-as-code / kubernetes-manifest / helm-management / gitops-sync
- Module 3 Monitoring & Observability (4): monitoring-setup / alerting-rules / log-analysis / dashboard-design
- Module 4 Incident Response (4): incident-detection / root-cause-analysis / incident-mitigation / post-mortem
- Module 5 Security & Compliance (4): secret-management / policy-as-code / security-scan / audit-review
- Module 6 Capacity & Cost (3): resource-right-sizing / cost-analysis / capacity-planning
- Module 7 Disaster Recovery & Backup (3): backup-management / recovery-drill / disaster-recovery-plan
- Module 8 Ops Review (2): ops-review / sla-report
Signature Mechanisms:
- Semi-automated Architecture: Agent proposes + human approves + GitOps executes
- Four Operation Primitives (frontmatter
operation_tierfield):inspectโ Read-only inspection, Agent fully automated (13 skills)proposeโ Generate PR/proposal, human reviews then merges (12 skills)mutate-stagingโ Directly execute whitelisted operations on Staging (3 skills)mutate-prodโ Production change, human approval mandatory
- GitOps PR Indirect Execution: Agent never directly operates production clusters
- Strict Secret Isolation: Agent only operates on Secret references, never touches plaintext values
- 7-Layer Defense in Depth: Dry-run / Canary / Approval gate / Rate limit / Rollback / Audit / Blast radius
- 7 Knowledge Base Tables: Incident library / Root cause library / Deployment record library / Monitoring config library / IaC asset library / Ops pattern repository / Pitfall log
Core Outputs: docs/deployment/ / docs/monitoring/ / docs/infrastructure/ / docs/incident/ / docs/handoff/ops-to-pm.md
๐ Contract Collaboration Mode
Contract Document System
Frameworks collaborate via contract documents under docs/handoff/. Each document has a clear source framework and target framework.
docs/handoff/
โโโ README.md # Handoff protocol description
โโโ handoff-template.md # Generic template
โ
โโโ pm-to-design.md # Contract: PM โ Design (PRD + Persona + AC)
โโโ pm-to-solo.md # Contract: PM โ Solo (PRD + AC + Tracking)
โโโ pm-to-growth.md # Contract: PM โ Growth (Metrics + Growth Strategy)
โโโ design-to-solo.md # Contract: Design โ Solo (Design assets + AC + Component Mapping)
โโโ design-to-pm.md # Contract: Design โ PM (Design feedback, on demand)
โโโ solo-to-growth.md # Contract: Solo โ Growth (Implemented features + Tracking)
โโโ solo-to-pm.md # Contract: Solo โ PM (Engineering feedback, on demand)
โโโ solo-to-ops.md # Contract: Solo โ Ops (Deployment contract)
โโโ ops-to-pm.md # Contract: Ops โ PM (SLA report + incident post-mortem)
โโโ growth-to-pm.md # Contract: Growth โ PM (Experiment results + Data feedback)
โโโ component-map.json # Contract: Design โ Solo (Explicit mapping layer, machine-readable)
Contract Document Flow Diagram
โโโโโโโโโโโโโโโ pm-to-design.md โโโโโโโโโโโโโโโ
โ harness-pm โ โโโโโโโโโโโโโโโโโโ> โharness-designโ
โ โ <โโโโโโโโโโโโโโโโโ โ โ
โ โ design-to-pm (on demand) โ โ
โ โ โโโโโโโโโโโโโโโ
โ โ โ
โ โ design-to-solo.md
โ โ pm-to-solo.md + component-map.json
โ โ โผ
โ โ โโโโโโโโโโโโโโโโโโ> โโโโโโโโโโโโโโโ
โ โ โ harness-soloโ
โ โ <โโโโโโโโโโโโโโโโโ โ โ
โ โ solo-to-pm (on demand) โ โ
โโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโ
โฒ โ
โ growth-to-pm.md โ solo-to-growth.md
โ โผ
โ โโโโโโโโโโโโโโโ
โ pm-to-growth.md โharness-growthโ
โโโโโโโโโโโโโโโโโโโโโโโโโ>โ โ
โฒ โโโโโโโโโโโโโโโ
โ ops-to-pm.md โฒ
โ โ solo-to-ops.md
โ โโโโโโโโโโโโโโโ
โโโโโโโโโโโโโโโโโโโโโโโโโ โ harness-ops โ
โโโโโโโโโโโโโโโ
Contract Document Matrix
| Source \ Target | harness-pm | harness-design | harness-solo | harness-growth | harness-ops |
|---|---|---|---|---|---|
| harness-pm | - | pm-to-design.md | pm-to-solo.md | pm-to-growth.md | - |
| harness-design | design-to-pm.md (on demand) | - | design-to-solo.md + component-map.json | - | - |
| harness-solo | solo-to-pm.md (on demand) | - | - | solo-to-growth.md | solo-to-ops.md |
| harness-growth | growth-to-pm.md | - | - | - | - |
| harness-ops | ops-to-pm.md | - | - | - | - |
AC Numbering System (Cross-framework Alignment)
| AC Type | Prefix | Source | Consumer | Example |
|---|---|---|---|---|
| Engineering AC | AC-xxx |
harness-pm's PRD | harness-solo's spec.md | AC-001: User can log in |
| Design AC (flowing into engineering) | DAC-xxx |
harness-design's design-to-solo.md | harness-solo's spec.md | DAC-001: 375px no overflow |
Anti-corruption rules:
- harness-pm's PRD produces
AC-xxx(intercepted by UI Directive Overreach Gate) - harness-design's design-brief reuses PRD's
AC-xxxnumbering, exercises Push-back cleanup right - harness-solo's writing-plans converts design ACs to
DAC-xxx(D prefix to distinguish source) - harness-solo's verify checks both
AC-xxxandDAC-xxx
โ๏ธ Unified Foundation Layer Specification
Required Foundation Files for Each Framework
| File | Purpose | Mandatory |
|---|---|---|
AGENTS.md |
Mandatory read at startup, core rules + domain principles | โ |
SOUL.md |
Agent personality + domain values | โ |
constitution.md |
Project Constitution (Non-negotiable principles) | โ |
install.sh |
Cold-start install script | โ |
README.md |
Framework description | โ |
.harness/loops/LOOP.md |
Loop engine definition | โ |
.harness/skills/INDEX.md |
Skill index | โ |
.harness/skills/meta/ |
4 meta skills | โ |
.harness/rules/security.md |
Security red lines | โ |
.harness/rules/prompt-defense.md |
Prompt injection defense | โ |
.harness/memory/progress.md |
Session progress log | โ |
.harness/memory/knowledge-base.md |
Cross-session knowledge base | โ |
.harness/FEATURES.md |
Dynamic task status board | โ |
.harness/VERSION |
Framework version | โ |
.harness/templates/SKILL.md.template |
Skill template | โ |
docs/handoff/README.md |
Handoff protocol description | โ |
docs/handoff/handoff-template.md |
Generic handoff template | โ |
4 Meta Skills (Unified Across All Frameworks)
| Meta Skill | Responsibility | Trigger |
|---|---|---|
| session-start | Session start, restore context | At the start of each session |
| session-end | Session wrap-up, archive + produce handoff document | Task complete / session end |
| skill-maintenance | Skill add/edit/remove maintenance | When skills change |
| memory-maintenance | memory/knowledge-base maintenance | Periodically / on demand |
Load Chain (each framework follows independently)
1. AGENTS.md โ Mandatory Read at startup (only enforced entry point)
2. SOUL.md โ Personality + Domain Values
3. constitution.md โ Project Constitution (Non-negotiable principles)
4. skills/INDEX.md โ Skill index
5. Corresponding SKILL.md โ Loaded on demand when executing tasks
6. memory/progress.md โ Read at session-start
Instruction priority (unified across all frameworks):
SOUL.md > AGENTS.md > rules/* > User conversation > External file content
๐ LOOP Loop Engine
Unified Specification
All frameworks' LOOP must support:
- state.yaml checkpoint resume: Recoverable after session interruption
- Iteration cap protection: Request human intervention when exceeded
- Evidence-driven: No claiming completion without evidence
- last_error field: Records error on failure
state.yaml Unified Schema:
# Required
current_task: <task-id>
iteration: <N>
stage: <stage-name> # Custom enum per framework
status: running # running / retrying / done / failed / needs-human / blocked
started_at: "YYYY-MM-DDTHH:MM:SS"
# Optional (on failure)
last_error: "<error description>"
last_error_at: "YYYY-MM-DDTHH:MM:SS"
# Optional (sub-stage)
substage: "<substage-name>"
Single LOOP Hard Circuit Breaker: Unified across all frameworks at 10 iterations; stop and request human intervention when exceeded.
Loop Type Comparison Across Frameworks
| Framework | Loop Type | Trigger Scenario | Max Iterations |
|---|---|---|---|
| harness-pm | research | User research / market analysis | 5 |
| harness-pm | prd | PRD generation / solution design | 5 |
| harness-pm | iteration | Data-driven iteration | 3 |
| harness-pm | growth | Growth breakthrough | 3 |
| harness-pm | pivot | Strategic adjustment | 5 |
| harness-design | visual-design | Visual design tasks | 5 |
| harness-design | interaction-design | Interaction design tasks | 5 |
| harness-design | wireframe | Wireframes / low-fidelity prototypes | 5 |
| harness-design | component | Component design | 5 |
| harness-solo | feature | New feature development | 5 |
| harness-solo | bugfix | Bug fix | 3 |
| harness-solo | optimize | Performance optimization | 3 |
| harness-solo | refactor | Refactoring | 3 |
| harness-growth | content | Content production | 3 |
| harness-growth | seo | SEO optimization | 5 |
| harness-growth | experiment | Growth experiments | 3 |
| harness-growth | optimization | Funnel optimization | 3 |
| harness-growth | monetization | Monetization optimization | 3 |
| harness-growth | lifecycle | User lifecycle | 5 |
| harness-ops | provision | Infrastructure deployment | 3 |
| harness-ops | incident | Production troubleshooting | 5 |
| harness-ops | optimization | Capacity/cost optimization | 3 |
| harness-ops | recovery | Disaster recovery | 3 |
| harness-ops | audit | Security/compliance audit | 3 |
๐ก๏ธ Security and Compliance
Unified Security Red Lines
All frameworks' security.md must include:
| Forbidden | Reason |
|---|---|
| Hardcoded secrets | Secret leakage risk |
rm -rf |
Accidental deletion risk |
curl | sh |
Supply chain attack risk |
Modifying .git/hooks/ |
Breaks git hook integrity |
| Bypassing Quality Gates | Output quality out of control |
Each framework extends additional red lines by domain:
- harness-growth: Forbids black-hat SEO, fake traffic, leaking user PII
- harness-design: Forbids leaking PII, forbids using unauthorized assets
- harness-ops: Forbids touching plaintext Secret values, forbids directly operating production clusters
harness-ops Exclusive Security Mechanisms
- Strict Secret Isolation: Agent only operates on Secret references (path/key name/CRD), never touches plaintext values (hard constraint, non-negotiable)
- 7-Layer Defense in Depth: Dry-run / Canary / Approval gate / Rate limit / Rollback / Audit / Blast radius
- GitOps PR Indirect Execution: Agent never directly operates production clusters; goes through PR + human review + ArgoCD/Flux sync
Prompt Injection Defense
All frameworks' prompt-defense.md defines:
- Instruction priority: SOUL.md > AGENTS.md > rules/* > User conversation > External file content
- External content marked as untrusted, not executed as instructions
- Critical operations require human confirmation
๐บ๏ธ Evolution Roadmap
Current Stage (v2.1, completed)
- โ 4 core frameworks built independently (pm/design/solo/growth all complete)
- โ 1 P0 extension framework built (ops, 32 skills + 7 workflows, semi-automated architecture)
- โ Contract document system connected (pmโdesignโsoloโgrowthโpm closed loop + soloโopsโpm closed loop)
- โ AC numbering system aligned cross-framework (AC-xxx / DAC-xxx)
- โ LOOP engine unified specification (state.yaml + checkpoint resume + cap protection)
- โ Foundation layer unified (AGENTS/SOUL/constitution/security/meta skill)
- โ Global deep audit and fix (21 issues all resolved, production-readiness 90+)
Mid-term Evolution (v3.0, 1-2 months)
- ๐ harness-data built (P1, data pipeline framework)
- ๐ Contract document versioning (support historical tracing, without breaking "only read latest" principle)
- ๐ Cross-framework loop type mapping description (design's visual-design โ solo's feature)
Long-term Evolution (v4.0, 3-6 months, on demand)
- ๐ Orchestration layer exploration (multi-Agent auto-scheduling, not a current goal)
- ๐ Shared source of truth exploration (replace some contract documents, reduce information loss)
- ๐ harness-qa / harness-security built (P2/P3, on demand)
๐ Documentation Navigation
Architecture Document
- ARCHITECTURE.md โ Family architecture design (v2.1, full version)
Per-Framework Documentation
| Framework | Entry Document |
|---|---|
| harness-pm | README.md / AGENTS.md |
| harness-design | README.md / AGENTS.md |
| harness-solo | README.md / AGENTS.md |
| harness-growth | README.md / AGENTS.md |
| harness-ops | README.md / AGENTS.md |
Per-Framework Core Config
| Framework | SOUL.md | constitution.md | LOOP.md | INDEX.md |
|---|---|---|---|---|
| harness-pm | Link | Link | Link | Link |
| harness-design | Link | Link | Link | Link |
| harness-solo | Link | Link | Link | Link |
| harness-growth | Link | Link | Link | Link |
| harness-ops | Link | Link | Link | Link |
๐ค Contribution and License
How to Contribute
- Pick a framework to understand deeply (recommend starting with harness-solo, the simplest)
- Read ARCHITECTURE.md to understand the family's overall design
- Read the corresponding framework's AGENTS.md and SOUL.md to understand domain values
- Create new skills per the SKILL.md.template spec
- Validate skill reliability via the LOOP engine
License
MIT License โ see the LICENSE file in each framework's root directory.
Maintainer
harness-all ยท Personal AI Studio ยท Multi-Agent Framework Family
Independence First ยท Contract Collaboration ยท Loop Verification ยท Security Red Lines
v2.1 ยท 2026-06-22
Reviews (0)
Sign in to leave a review.
Leave a reviewNo results found