Skip to content

Commit ea43674

Browse files
thrashr888claude
andcommitted
Release v0.5.0
Major Features: - Aiki Integration (Phases 1-3) for provenance linking - Governance Epic: agent detection, policy framework, GitHub scanner, usage tracking - TUI Contexts view with multi-org support - ab onboard workflow for guided setup Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 6180202 commit ea43674

File tree

7 files changed

+187
-3
lines changed

7 files changed

+187
-3
lines changed

.claude-plugin/commands/agents.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
---
2+
description: Detect and track AI agent usage across repositories
3+
---
4+
5+
Detect AI agents and track adoption metrics.
6+
7+
Subcommands:
8+
- `allbeads agents detect` - Detect AI agents in current directory
9+
- `allbeads agents track --context <name> --path <path>` - Record scan to metrics
10+
- `allbeads agents stats` - View adoption statistics
11+
- `allbeads agents stats --days <n>` - Stats for specific time period
12+
- `allbeads agents stats --json` - Output as JSON
13+
14+
Detects 14 AI agent types via config files:
15+
- Claude Code (CLAUDE.md, .claude/)
16+
- GitHub Copilot (.github/copilot-instructions.md)
17+
- Cursor (.cursorrules, .cursor/)
18+
- Aider (.aider.conf.yml)
19+
- Kiro (.kiro/)
20+
- And more...
21+
22+
Detection confidence levels:
23+
- **High**: Primary config file found
24+
- **Medium**: Secondary indicators
25+
- **Low**: Indirect evidence
26+
27+
Usage tracking stores metrics in SQLite for trend analysis:
28+
- Adoption rate over time
29+
- Agent distribution across repos
30+
- Scan history per repository
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
description: Check and enforce governance policies for AI agent adoption
3+
---
4+
5+
Manage governance policies for AI agent adoption across repositories.
6+
7+
Subcommands:
8+
- `allbeads governance check` - Run policy checks against current repository
9+
- `allbeads governance status` - View loaded policies and exemptions
10+
- `allbeads governance violations` - List all policy violations
11+
- `allbeads governance exempt <repo> <policy> --reason "..."` - Exempt a repo
12+
- `allbeads governance unexempt <repo> <policy>` - Remove exemption
13+
14+
Policy enforcement levels (HCP Terraform-inspired):
15+
- **Advisory**: Warn but don't block
16+
- **SoftMandatory**: Block unless exempted
17+
- **HardMandatory**: Always block, no exemptions
18+
19+
Built-in policy checks:
20+
- `FileExists` - Required files (README, LICENSE, etc.)
21+
- `FileExistsAny` - At least one of several files
22+
- `OnboardingScore` - Minimum onboarding completeness
23+
- `AgentAllowlist` - Permitted/denied agent types
24+
- `PatternAbsent` - Ensure patterns don't exist in files
25+
26+
Configure policies in `.beads/policies.yaml` or `~/.config/allbeads/policies.yaml`.

.claude-plugin/commands/scan.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
---
2+
description: Scan GitHub repositories for AI agent onboarding opportunities
3+
---
4+
5+
Scan GitHub user or organization repositories to identify onboarding opportunities.
6+
7+
Subcommands:
8+
- `allbeads scan user <username>` - Scan a user's repositories
9+
- `allbeads scan org <org-name>` - Scan an organization's repositories
10+
- `allbeads scan compare` - Compare scanned repos with managed contexts
11+
12+
Options:
13+
- `--language <lang>` - Filter by programming language
14+
- `--min-stars <n>` - Minimum star count
15+
- `--include-archived` - Include archived repositories
16+
- `--include-forks` - Include forked repositories
17+
18+
The scanner detects 14 AI agent types:
19+
- Claude Code, GitHub Copilot, Cursor, Aider, Kiro
20+
- OpenAI Codex, Google Gemini, Amazon CodeWhisperer
21+
- Tabnine, Codeium, Sourcegraph Cody, Replit AI
22+
- JetBrains AI, Windsurf
23+
24+
Each repo is assigned an onboarding priority (High, Medium, Low, Skip) based on:
25+
- Number of stars and recent activity
26+
- Existing agent configurations
27+
- Language and project type
28+
29+
Requires `GITHUB_TOKEN` environment variable for API access.

CHANGELOG.md

Lines changed: 38 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [0.5.0] - 2026-01-14
11+
1012
### Added
1113

1214
- **Aiki Integration (Phases 1-3)**: Foundation for linking AllBeads issues to Aiki provenance
@@ -25,7 +27,41 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2527
- Support for review event types: `review_passed`, `review_failed`, `escalated`, `review_completed`
2628
- `ReviewIssue` structure with severity levels (info, warning, error, critical)
2729
- Aiki events displayed in TUI mail view with full detail
28-
- Phase 4 (Future): Unified daemon deferred per SPEC-aiki-integration.md
30+
31+
- **Governance Epic**: Complete governance framework for AI agent adoption
32+
- **Agent Detection**: Detect 14 AI agent types in repositories
33+
- Claude Code, GitHub Copilot, Cursor, Aider, Kiro, OpenAI Codex
34+
- Google Gemini, Amazon CodeWhisperer, Tabnine, Codeium
35+
- Sourcegraph Cody, Replit AI, JetBrains AI, Windsurf
36+
- Detection via config files, directories, and marker files
37+
- Confidence levels (High, Medium, Low) based on evidence
38+
- **Repository Policy Framework**: HCP Terraform-inspired enforcement
39+
- Enforcement levels: Advisory, SoftMandatory, HardMandatory
40+
- Policy checks: FileExists, FileExistsAny, OnboardingScore, AgentAllowlist, PatternAbsent
41+
- Exemption system with reason tracking
42+
- `ab governance check/status/violations/exempt/unexempt` commands
43+
- **GitHub Scanner**: Scan user/org repos for onboarding opportunities
44+
- GitHub Search API for efficient cross-repo detection (~100x faster)
45+
- Parallel batch processing with configurable concurrency
46+
- Real-time progress output during scanning
47+
- Onboarding priority scoring (High/Medium/Low/Skip)
48+
- Compare scanned repos against managed contexts
49+
- `ab scan user/org` commands
50+
- **Usage Tracking**: SQLite-based adoption metrics
51+
- Record agent detection history over time
52+
- Usage stats with adoption rate calculations
53+
- Daily trend aggregation
54+
- `ab agents track/stats` commands
55+
56+
- **TUI Contexts View**: Repository onboarding status dashboard
57+
- Multi-organization support
58+
- Real-time onboarding status per repository
59+
- GitHub Actions workflow tracking
60+
61+
- **Onboarding Workflow**: `ab onboard` command for guided setup
62+
- Multi-stage workflow (detect → configure → verify)
63+
- Agent-specific configuration generation
64+
- Beads integration setup
2965

3066
### Changed
3167

@@ -164,6 +200,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
164200
- `ab init --remote` for existing repositories
165201
- FederatedGraph for cross-repo dependency tracking
166202

203+
[0.5.0]: https://github.com/thrashr888/AllBeads/compare/v0.4.0...v0.5.0
167204
[0.4.0]: https://github.com/thrashr888/AllBeads/compare/v0.3.1...v0.4.0
168205
[0.3.1]: https://github.com/thrashr888/AllBeads/compare/v0.3.0...v0.3.1
169206
[0.3.0]: https://github.com/thrashr888/AllBeads/compare/v0.2.0...v0.3.0

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ resolver = "2"
44

55
[package]
66
name = "allbeads"
7-
version = "0.4.0"
7+
version = "0.5.0"
88
edition = "2021"
99
authors = ["AllBeads Contributors"]
1010
license = "MIT"

README.md

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ AllBeads implements the "Boss Repository" pattern - a control plane that:
1313
- **Visualizes cross-repo work** through a terminal-based dashboard
1414
- **Enables strategic coordination** between AI agents working across distributed codebases
1515
- **Provides agent-to-agent messaging** for distributed coordination
16+
- **Governs AI adoption** with policy enforcement, scanning, and onboarding workflows
1617

1718
Think of it as a "meta-issue-tracker" that sits above your microservices, giving agents and architects a coherent view of work spanning 10, 20, or 50+ repositories.
1819

@@ -55,6 +56,14 @@ External system adapters:
5556
- **GitHub**: GraphQL + REST API for issue management
5657
- **Plugin Architecture**: Extensible for Linear, Asana, etc.
5758

59+
### 6. Governance Framework
60+
AI adoption management:
61+
- **Agent Detection**: Identifies 14 AI agent types (Claude, Copilot, Cursor, Aider, Kiro, etc.)
62+
- **Policy Engine**: HCP Terraform-inspired enforcement (Advisory, SoftMandatory, HardMandatory)
63+
- **GitHub Scanner**: Efficiently scan user/org repos for onboarding opportunities
64+
- **Usage Tracking**: SQLite-based metrics for adoption trends
65+
- **Onboarding Workflow**: Guided setup for new repositories
66+
5867
See [DEMO.md](DEMO.md) for usage examples.
5968

6069
## Getting Started
@@ -313,6 +322,59 @@ allbeads agent sync
313322

314323
# Preview agent configuration
315324
allbeads agent preview <agent>
325+
326+
# Track agent usage (records scan to metrics DB)
327+
allbeads agents track --context mycontext --path /path/to/repo
328+
329+
# View agent adoption statistics
330+
allbeads agents stats # Last 30 days
331+
allbeads agents stats --days 7 # Last 7 days
332+
allbeads agents stats --json # JSON output
333+
```
334+
335+
#### Governance
336+
337+
```bash
338+
# Check policies against current repository
339+
allbeads governance check
340+
341+
# View loaded policies and exemptions
342+
allbeads governance status
343+
344+
# List policy violations
345+
allbeads governance violations
346+
347+
# Exempt a repository from a policy
348+
allbeads governance exempt my-repo policy-name --reason "Legacy codebase"
349+
350+
# Remove exemption
351+
allbeads governance unexempt my-repo policy-name
352+
```
353+
354+
#### GitHub Scanning
355+
356+
```bash
357+
# Scan your GitHub repositories for onboarding opportunities
358+
allbeads scan user <username>
359+
360+
# Scan organization repositories
361+
allbeads scan org <org-name>
362+
363+
# Filter by language, stars, or archived status
364+
allbeads scan user <username> --language rust --min-stars 10 --include-archived
365+
366+
# Compare scanned repos with managed contexts
367+
allbeads scan compare
368+
```
369+
370+
#### Onboarding
371+
372+
```bash
373+
# Run guided onboarding workflow
374+
allbeads onboard
375+
376+
# Onboard specific repository
377+
allbeads onboard /path/to/repo
316378
```
317379

318380
#### Sync

0 commit comments

Comments
 (0)