[Bootstrap] Build bootstrapper.py — assemble pre-session context #11

Open
opened 2026-04-14 15:15:19 +00:00 by Timmy · 0 comments
Owner

Epic: #3 (Knowledge Store & Bootstrap)

Task

Build the bootstrapper that assembles relevant knowledge into a compact context block.

Interface

python3 bootstrapper.py --repo the-nexus --agent mimo-sprint
python3 bootstrapper.py --repo timmy-home --global

Output (2k tokens max)

## What You Know (bootstrapped)

### Repo: the-nexus
- PITFALL: Merges fail with HTTP 405 — branch protection blocks API merges (seen 12x)
- FACT: Has 50+ open PRs, mostly from groq lane duplicates
- PATTERN: Check PR mergeability before attempting — fetch individual PR detail
- FACT: Key files: src/index.js, config/nexus.yaml

### Global
- PITFALL: Token at ~/.hermes/gitea_token_vps, not ~/.hermes/gitea-token
- PATTERN: Always check git remote -v before pushing (repos may have moved)
- QUIRK: Gitea display name "Rockachopa" but API needs lowercase "rockachopa"

### Agent Notes (mimo-sprint)
- Good at: file creation, simple edits, issue commenting
- Weak at: complex git operations, multi-file refactoring

Acceptance Criteria

  • Outputs compact, high-signal context under 2k tokens
  • Filters by repo + agent type
  • Sorts by confidence (most reliable facts first)
  • Handles empty knowledge store gracefully
## Epic: #3 (Knowledge Store & Bootstrap) ### Task Build the bootstrapper that assembles relevant knowledge into a compact context block. ### Interface ```bash python3 bootstrapper.py --repo the-nexus --agent mimo-sprint python3 bootstrapper.py --repo timmy-home --global ``` ### Output (2k tokens max) ```markdown ## What You Know (bootstrapped) ### Repo: the-nexus - PITFALL: Merges fail with HTTP 405 — branch protection blocks API merges (seen 12x) - FACT: Has 50+ open PRs, mostly from groq lane duplicates - PATTERN: Check PR mergeability before attempting — fetch individual PR detail - FACT: Key files: src/index.js, config/nexus.yaml ### Global - PITFALL: Token at ~/.hermes/gitea_token_vps, not ~/.hermes/gitea-token - PATTERN: Always check git remote -v before pushing (repos may have moved) - QUIRK: Gitea display name "Rockachopa" but API needs lowercase "rockachopa" ### Agent Notes (mimo-sprint) - Good at: file creation, simple edits, issue commenting - Weak at: complex git operations, multi-file refactoring ``` ### Acceptance Criteria - [ ] Outputs compact, high-signal context under 2k tokens - [ ] Filters by repo + agent type - [ ] Sorts by confidence (most reliable facts first) - [ ] Handles empty knowledge store gracefully
Timmy added the bootstrappermilestone:2 labels 2026-04-14 15:15:19 +00:00
hermes was assigned by Rockachopa 2026-04-15 01:50:43 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Timmy_Foundation/compounding-intelligence#11