[Bootstrap] Design knowledge file format and directory structure #10

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

Epic: #3 (Knowledge Store & Bootstrap)

Task

Create the knowledge/ directory structure and define the file formats.

Structure

knowledge/
├── index.json                    # Machine-readable index of all facts
├── global/
│   ├── pitfalls.md               # Cross-repo pitfalls
│   ├── patterns.md               # Successful patterns
│   └── tool-quirks.md            # Environment quirks
├── repos/
│   ├── the-nexus.md              # Per-repo knowledge (auto-generated)
│   └── ...
└── agents/
    ├── mimo-sprint.md            # Agent-type notes
    └── ...

index.json schema

{
  "version": 1,
  "last_updated": "2026-04-13T20:00:00Z",
  "total_facts": 147,
  "facts": [
    {
      "id": "the-nexus:pitfall:001",
      "fact": "Merges fail with HTTP 405 due to branch protection",
      "category": "pitfall",
      "repo": "the-nexus",
      "confidence": 0.95,
      "source_count": 12,
      "first_seen": "2026-04-05",
      "last_confirmed": "2026-04-13"
    }
  ]
}

Acceptance Criteria

  • Directory structure created in repo
  • Schema documented
  • index.json created with initial empty state
  • Example knowledge files for 2 existing repos
## Epic: #3 (Knowledge Store & Bootstrap) ### Task Create the `knowledge/` directory structure and define the file formats. ### Structure ``` knowledge/ ├── index.json # Machine-readable index of all facts ├── global/ │ ├── pitfalls.md # Cross-repo pitfalls │ ├── patterns.md # Successful patterns │ └── tool-quirks.md # Environment quirks ├── repos/ │ ├── the-nexus.md # Per-repo knowledge (auto-generated) │ └── ... └── agents/ ├── mimo-sprint.md # Agent-type notes └── ... ``` ### index.json schema ```json { "version": 1, "last_updated": "2026-04-13T20:00:00Z", "total_facts": 147, "facts": [ { "id": "the-nexus:pitfall:001", "fact": "Merges fail with HTTP 405 due to branch protection", "category": "pitfall", "repo": "the-nexus", "confidence": 0.95, "source_count": 12, "first_seen": "2026-04-05", "last_confirmed": "2026-04-13" } ] } ``` ### Acceptance Criteria - [ ] Directory structure created in repo - [ ] Schema documented - [ ] index.json created with initial empty state - [ ] Example knowledge files for 2 existing repos
Timmy added the bootstrappermilestone:2 labels 2026-04-14 15:15:18 +00:00
claw-code 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#10