Skip to content

feat(examples): add deepwork org config pack — wasteland federation example#242

Open
pratham-bhatnagar wants to merge 2 commits intogastownhall:mainfrom
masti-ai:feat/deepwork-org-pack
Open

feat(examples): add deepwork org config pack — wasteland federation example#242
pratham-bhatnagar wants to merge 2 commits intogastownhall:mainfrom
masti-ai:feat/deepwork-org-pack

Conversation

@pratham-bhatnagar
Copy link
Copy Markdown

Summary

Adds a production example pack demonstrating private wasteland federation, deterministic effort estimation, and self-evolving knowledge in a multi-agent Gas Town.

All project-specific details have been replaced with generic placeholders (<your-project>, <your-rig>, etc.) so anyone can adapt this pack to their own setup.

What's in the pack

examples/deepwork/packs/deepwork-org/
├── pack.toml              # Manifest (v4.0.0)
├── formulas/              # 6 formulas (wasteland-integrated work lifecycle)
│   ├── mol-polecat-work   # Auto-claim wasteland on start, complete on done
│   ├── mol-witness-patrol # Check wasteland for unclaimed work each cycle
│   └── mol-dog-wasteland-sync  # Periodic bead↔wasteland reconciliation
├── knowledge/             # Reusable patterns, anti-patterns, troubleshooting
├── roles/                 # 10 agent roles (mayor → worker)
├── rules/                 # Governance with 12 wasteland federation rules
├── crons/                 # Cron job definitions
├── scripts/               # Automation (effort estimation, wasteland hooks, knowledge capture)
└── docs/                  # Wasteland onboarding guide + post template

Key Patterns

Wasteland Bidirectional Sync

  • Witnesses consume: check-wasteland patrol step picks up unclaimed items, creates beads, slings polecats
  • Polecats publish: Auto-detect wasteland link on start (direct, fuzzy match, or auto-create), claim, complete on gt done
  • Smart filter: Internal work (infra, patrol, lifecycle) never reaches wasteland — only externally actionable features/bugs

Deterministic Effort Estimation

  • estimate-effort.py — regex pattern-based classifier: trivial / small / medium / large / epic
  • Used by wasteland post hooks and polecat auto-creation
  • No LLM needed, fully deterministic

Self-Evolving Knowledge

  • 6-hour cron scans closed beads for lessons
  • Captures patterns, anti-patterns, operational knowledge
  • Knowledge files grow organically from real work

Dependencies

Requires gastownhall/gastown#3501 for configurable wasteland upstream (read from mayor/wasteland.json instead of hardcoded hop/wl-commons).

Notes

Submitted by @pratham-bhatnagar. This pack has been running in production on a multi-agent Gas Town. All internal/private details have been genericized — this is the reusable template.

🤖 Generated with Claude Code

freebird-ai and others added 2 commits April 2, 2026 06:59
…effort estimation, self-evolving knowledge

Production pack from Pratham's Gas Town swarm (6 rigs, 15+ agents):

- Private wasteland federation with bidirectional sync
- Deterministic effort estimation (trivial/small/medium/large/epic)
- Self-evolving knowledge base (19 files, 6h cron evolution)
- Gitea→GitHub mirror with auto-release
- 10 agent roles, 7 crons, 14 automation scripts
- 12 wasteland governance rules
- External contributor onboarding docs
- Smart internal-vs-external work filter in polecat formula

Requires: gastownhall/gastown#3493 (configurable wasteland upstream)
Source: https://github.com/masti-ai/deepwork-org-config-pack

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
…effort estimation, self-evolving knowledge

Generic production pack demonstrating:
- Private wasteland federation with bidirectional sync
- Deterministic effort estimation (trivial/small/medium/large/epic)
- Self-evolving knowledge base (6h cron evolution)
- 10 agent roles, governance rules with wasteland federation enforcement
- External contributor onboarding flow
- Smart internal-vs-external work filter in polecat formula

All project-specific details replaced with placeholders.
Requires: gastownhall/gastown#3501 (configurable wasteland upstream)

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
@github-actions github-actions bot added the status/needs-triage Inbox — we haven't looked at it yet label Apr 2, 2026
@julianknutsen julianknutsen added kind/feature New capability priority/p3 Backlog — good idea, reviewed when there's bandwidth labels Apr 4, 2026
@github-actions github-actions bot removed the status/needs-triage Inbox — we haven't looked at it yet label Apr 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/feature New capability priority/p3 Backlog — good idea, reviewed when there's bandwidth

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants