god-consensus

Guides God Committee members through consensus-building for collective decisions. Use for proposals, voting, and disagreement resolution. Triggers on: consensus, voting, proposal, committee decision.

181 stars

Best use case

god-consensus is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Guides God Committee members through consensus-building for collective decisions. Use for proposals, voting, and disagreement resolution. Triggers on: consensus, voting, proposal, committee decision.

Teams using god-consensus should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/god-consensus/SKILL.md --create-dirs "https://raw.githubusercontent.com/YougLin-dev/Aha-Loop/main/.agents/skills/god-consensus/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/god-consensus/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How god-consensus Compares

Feature / Agentgod-consensusStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Guides God Committee members through consensus-building for collective decisions. Use for proposals, voting, and disagreement resolution. Triggers on: consensus, voting, proposal, committee decision.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# God Committee Consensus Skill

## Purpose

This skill guides God Committee members through the consensus-building process for making collective decisions.

## When to Use This Skill

Use this skill when:
- Proposing a significant change or intervention
- Voting on another member's proposal
- Resolving disagreements between members
- Making decisions that require consensus per configuration

## Consensus Requirements

### Actions Requiring Consensus

Per `.god/config.json`, these actions require consensus:
- **Termination**: Stopping the entire project
- **Major Rollback**: Rolling back multiple commits or PRDs
- **Skill Deletion**: Removing existing skills

### Actions Allowing Solo Decision

- Minor fixes and repairs
- Observation and documentation
- Pausing for investigation
- Sending alerts and notifications

### Quorum Rules

- **Standard Quorum**: 2 out of 3 members must agree
- **Emergency Quorum**: 1 member can act alone in critical situations

## Creating a Proposal

### Step 1: Prepare Your Case

Before proposing, gather evidence and formulate your rationale:

```markdown
## Proposal Preparation

### Issue Identified
[Clear description of the problem]

### Evidence
- [Log entry/observation 1]
- [Log entry/observation 2]
- [Metric or data point]

### Proposed Action
[Specific action to take]

### Expected Outcome
[What success looks like]

### Risks
[Potential downsides]

### Alternatives Considered
[Other options and why not chosen]
```

### Step 2: Acquire Speaking Rights

```bash
./scripts/god/council.sh lock YOUR_ID
```

### Step 3: Create the Proposal

```bash
./scripts/god/council.sh propose YOUR_ID "TYPE" "DESCRIPTION" "RATIONALE"
```

**Proposal Types:**
- `intervention` - Active intervention in execution
- `repair` - Fix or repair action
- `policy_change` - Change to rules or configuration
- `termination` - Stop project execution
- `rollback` - Revert to previous state

**Example:**

```bash
./scripts/god/council.sh propose alpha "intervention" \
  "Pause PRD execution to fix failing tests" \
  "Test coverage dropped 15% in last 3 stories. Need to address before proceeding."
```

### Step 4: Notify Members

The proposal system automatically notifies all members. The message will be in their inboxes.

### Step 5: Release Speaking Rights

```bash
./scripts/god/council.sh unlock YOUR_ID
```

## Voting on Proposals

### Step 1: Review the Proposal

```bash
# Check pending decisions
./scripts/god/council.sh status

# Read the specific proposal
cat .god/council/decisions/DECISION_ID.json | jq '.'
```

### Step 2: Analyze the Proposal

Consider these questions:

1. **Is the problem real?**
   - Verify the evidence
   - Check if it's already being addressed

2. **Is the solution appropriate?**
   - Will it solve the problem?
   - Are there better alternatives?
   - What are the side effects?

3. **Is it timely?**
   - Is immediate action needed?
   - Can we wait for more information?

### Step 3: Cast Your Vote

```bash
./scripts/god/council.sh lock YOUR_ID
./scripts/god/council.sh vote YOUR_ID "DECISION_ID" "VOTE" "COMMENT"
./scripts/god/council.sh unlock YOUR_ID
```

**Vote Options:**
- `approve` - Support the proposal
- `reject` - Oppose the proposal  
- `abstain` - Neither support nor oppose

**Example:**

```bash
./scripts/god/council.sh vote beta "decision-20260129150000" "approve" \
  "Agree with the assessment. Tests should be fixed before proceeding."
```

### Step 4: Document Your Reasoning

Always add a comment explaining your vote:

```markdown
## Vote: [APPROVE/REJECT/ABSTAIN]

### Reasoning
[Why you voted this way]

### Conditions (if any)
[Conditions for your support]

### Alternative Suggestion (if rejecting)
[What you'd propose instead]
```

## Reaching Consensus

### Unanimous Agreement

Ideal scenario - all members agree:

```
Alpha: approve
Beta: approve  
Gamma: approve
Result: APPROVED (unanimous)
```

### Majority Agreement

Quorum reached with majority:

```
Alpha: approve
Beta: approve
Gamma: reject
Result: APPROVED (2/3 majority)
```

### Split Decision

When members disagree significantly:

1. **Initiate Discussion Session**
   ```bash
   ./scripts/god/council.sh session-start "Resolving: PROPOSAL_TOPIC"
   ```

2. **Each Member States Position**
   - Present full reasoning
   - Listen to others' concerns
   - Look for common ground

3. **Seek Compromise**
   - Modify the proposal
   - Add conditions
   - Split into smaller decisions

4. **Re-vote if Needed**
   - Create amended proposal
   - Vote again

### Deadlock Resolution

If consensus cannot be reached:

1. **Defer Decision**
   - Wait for more information
   - Set review deadline

2. **Escalate Scope**
   - Break into smaller decisions
   - Address sub-issues separately

3. **Time-box Discussion**
   - Set deadline for decision
   - Default action if no consensus

## Emergency Consensus

In critical situations, expedited consensus is allowed:

### Emergency Criteria

- System crash or imminent failure
- Security breach
- Data loss risk
- Infinite loop/resource exhaustion

### Emergency Protocol

1. **Declare Emergency**
   ```bash
   ./scripts/god/awakener.sh critical "REASON"
   ```

2. **Take Immediate Action**
   - One member can act alone
   - Document the action immediately

3. **Post-Action Review**
   - Inform other members ASAP
   - Document full rationale
   - Get retroactive approval

### Emergency Action Template

```markdown
## Emergency Action Report

### Timestamp
[When action was taken]

### Acting Member
[Who took the action]

### Situation
[What triggered the emergency]

### Action Taken
[What was done]

### Justification
[Why immediate action was needed]

### Outcome
[Result of the action]

### Post-Action Votes
- Alpha: [pending/approved/rejected]
- Beta: [pending/approved/rejected]
- Gamma: [pending/approved/rejected]
```

## Consensus Best Practices

### Do

- ✅ Present clear evidence
- ✅ Consider all perspectives
- ✅ Propose specific, actionable items
- ✅ Accept compromise when reasonable
- ✅ Document all reasoning
- ✅ Respect deadlines

### Don't

- ❌ Vote without reviewing the proposal
- ❌ Reject without suggesting alternatives
- ❌ Take solo action when consensus is required
- ❌ Ignore minority opinions
- ❌ Let proposals languish without voting
- ❌ Make personal attacks

## Decision Record

All decisions are recorded in `.god/council/decisions/` with this structure:

```json
{
  "decisionId": "decision-20260129150000",
  "type": "intervention",
  "status": "decided",
  "createdAt": "2026-01-29T15:00:00Z",
  "decidedAt": "2026-01-29T15:30:00Z",
  "proposal": {
    "author": "alpha",
    "description": "...",
    "rationale": "..."
  },
  "votes": {
    "alpha": {"vote": "approve", "comment": "...", "timestamp": "..."},
    "beta": {"vote": "approve", "comment": "...", "timestamp": "..."},
    "gamma": {"vote": "abstain", "comment": "...", "timestamp": "..."}
  },
  "quorum": 2,
  "result": "approved",
  "executedAt": "2026-01-29T15:35:00Z"
}
```

## After Consensus

Once a decision is reached:

1. **If Approved**: Execute the proposed action
2. **If Rejected**: Document why and any alternatives
3. **Update Timeline**: Log the decision event
4. **Notify Stakeholders**: If relevant to execution layer

```bash
# After approved decision
./scripts/god/observer.sh event "decision" "Proposal approved: DESCRIPTION"

# Execute the action
[perform the approved action]

# Mark as executed
jq '.executedAt = "'"$(date -u +%Y-%m-%dT%H:%M:%SZ)"'"' \
  .god/council/decisions/DECISION_ID.json > tmp && mv tmp .god/council/decisions/DECISION_ID.json
```

Related Skills

vision

181
from YougLin-dev/Aha-Loop

Parses and analyzes project vision to extract structured requirements. Use at project start to understand goals, scope, and constraints. Triggers on: analyze vision, parse project goals, understand requirements.

vision-builder

181
from YougLin-dev/Aha-Loop

Builds project visions through interactive guided conversation. Use when users have vague ideas needing structure. Triggers on: build vision, I have an idea, start new project, new idea.

skill-creator

181
from YougLin-dev/Aha-Loop

Creates new Skills following Anthropic best practices. Use when discovering reusable workflows or repetitive patterns. Triggers on: create skill, new workflow, codify this process, standardize workflow.

roadmap

181
from YougLin-dev/Aha-Loop

Creates and manages project roadmaps with milestones and PRD queues. Use after architecture is defined for project planning. Triggers on: create roadmap, plan milestones, organize prds.

research

181
from YougLin-dev/Aha-Loop

Conducts deep technical research for Aha Loop stories. Use before implementing stories involving unfamiliar libraries or architectural decisions. Triggers on: research this, investigate, explore options, compare alternatives.

prd

181
from YougLin-dev/Aha-Loop

Generates Product Requirements Documents (PRD) for new features. Use when planning features or starting projects. Triggers on: create prd, write prd, plan feature, requirements, spec out.

prd-converter

181
from YougLin-dev/Aha-Loop

Converts PRDs to prd.json format for Aha Loop autonomous execution. Use when converting existing PRDs to JSON format. Triggers on: convert prd, create prd.json, aha-loop format.

plan-review

181
from YougLin-dev/Aha-Loop

Reviews and adjusts PRD plans based on research findings. Use after completing research to evaluate story modifications. Triggers on: review plan, adjust stories, update prd based on research.

parallel-explore

181
from YougLin-dev/Aha-Loop

Guides parallel exploration of multiple implementation approaches using git worktrees. Use when facing decisions with multiple valid paths. Triggers on: explore options, compare approaches, parallel exploration.

observability

181
from YougLin-dev/Aha-Loop

Logs AI thoughts and decisions for human observability. Applies continuously throughout all tasks to maintain transparency.

god-member

181
from YougLin-dev/Aha-Loop

Defines God Committee member behavior and responsibilities with oversight authority. Use when operating as a committee member. Triggers on: god committee, committee observation, council discussion.

god-intervention

181
from YougLin-dev/Aha-Loop

Guides God Committee members through executing interventions. Use for repairs, rollbacks, and emergency actions. Triggers on: intervention, repair, rollback, emergency action.