Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .ai-team/agents/fenster/history.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,3 +139,6 @@ _Summarized from initial architecture review (2026-02-07). Full entries in `hist
📌 Team update (2026-02-19): Insider Program infrastructure verified and complete — Issue #94 all checklist items verified: CI/CD triggers, guard protection, insider release workflow, documentation, CLI help text. All 11 workflow templates in sync. Ready for Brady to create insider branch. — decided by Kobayashi

- **Memory architecture proposal analysis (2026-02-19).** Brady requested feasibility review of external memory architecture (identity/memory/social layers with RAG hooks). Key findings: (1) `identity/me.md` fully overlaps with charter.md, (2) wisdom.md and now.md are the high-value gaps, (3) decisions.md at 300KB is the real context budget problem, (4) JSONL is a non-starter on Windows+git, (5) RAG unnecessary — tag-based grep + recency sort works, (6) social layer is over-engineered for current use case. Recommended MVP: two files (wisdom.md + now.md) under `.squad/agents/{name}/`, ~9 hours to ship in v0.5.0. Decision written to inbox.

- **CLI dual-path support for .squad/ migration (#101, 2026-02-19).** Implemented backward-compatible directory detection for the .squad/ → .ai-team/ rename in v0.5.0. Key components: (1) detectSquadDir() checks .squad/ first, falls back to .ai-team/; (2) New installations create .squad/, existing installations continue using .ai-team/ until manually migrated; (3) `squad upgrade --migrate-directory` renames the directory and updates .gitattributes/.gitignore; (4) Deprecation warning shown only when .ai-team/ is detected (not on new installs); (5) All directory references updated to use squadInfo.path instead of hardcoded paths. Critical lessons: (a) Function declaration order matters — helpers must be defined before use, (b) Dual const declaration causes immediate syntax error — careful with refactoring across edit sessions, (c) Default return value in detectSquadDir determines new-install behavior — returning .ai-team/ was a subtle bug that took manual testing to catch. All 53 tests pass. PR #111 to dev branch.

6,791 changes: 4,694 additions & 2,097 deletions .ai-team/decisions-archive.md

Large diffs are not rendered by default.

6,653 changes: 770 additions & 5,883 deletions .ai-team/decisions.md

Large diffs are not rendered by default.

39 changes: 0 additions & 39 deletions .ai-team/decisions/inbox/mcmanus-insiders-readme.md

This file was deleted.

29 changes: 29 additions & 0 deletions .ai-team/log/2026-02-20-v050-fanout-batch1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Session Log: 2026-02-20 v0.5.0 Fanout Batch 1

**Date:** 2026-02-20
**Agents:** Fenster, Baer, Kobayashi
**PRs Opened:** #111 (Fenster), #110 (Baer), #109 (Kobayashi)
**Test Status:** 53/53 passing

## Overview
Three parallel agent spawns executed simultaneously to implement `.squad/` directory migration architecture:

1. **Fenster (Core Dev)** — CLI dual-path detection and upgrade command
2. **Baer (Security Specialist)** — Email privacy scrubbing utility and command
3. **Kobayashi (Git & Release Engineer)** — Workflow compatibility across directory structures

## Key Decisions
- New installs default to `.squad/`
- Existing repos remain on `.ai-team/` unless migrated
- Automatic email scrubbing integrated into migration flow
- All workflows support both directory paths (guard blocks)

## Outcomes
- 3 PRs opened and passing full test suite (53 tests)
- Infrastructure ready for gradual migration to `.squad/` naming
- Email privacy safeguards implemented at migration time
- CI/CD workflows support both old and new directory structures

## Next Steps
- Code review and merge of PRs #111, #110, #109
- Rollout communication for `.squad/` adoption
70 changes: 70 additions & 0 deletions .ai-team/log/2026-02-20-v050-status-and-error-diagnosis.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
# Session Log: v0.5.0 Status + Network/Model Error Diagnosis

**Date:** 2026-02-20
**Requested by:** bradygaster
**Team:** Keaton (Lead), Kujan (SDK Expert), Scribe (Logging)

## Brief

Brady requested two parallel investigations:
1. **v0.5.0 readiness assessment** — scope, timelines, risks, blocking items
2. **Network interrupted → model not available error diagnosis** — persisting issue after squad.agent.md 35% reduction (governance extraction)

## Work Completed

### Keaton: v0.5.0 Readiness Assessment

**Scope Analysis:**
- **v0.5.0 MUST-SHIP items:** 6 issues totaling ~143h of remaining work
- ✅ #76 (GHE 30KB limit) — COMPLETE via governance reduction
- #69 (.squad/ migration) — 85h, critical path, 0 PRs open
- #71 (label workflows) — 18h, depends on #69
- #84 (session log timestamps) — 12h, independent
- #62 (CI/CD hardening) — 28h, Kobayashi specialty
- #86 (uncommitted changes) — DEFERRED to v0.6.0 per Epic #91

**Governance Reduction Shipped:**
- squad.agent.md: 1455 → 810 lines, 105KB → 68KB (-35%)
- 7 sections extracted to .ai-team-templates/ satellite files (on-demand loading)
- Solves Issue #76 early; unblocks GHE deployment without prompt length errors

**Privacy Wins:**
- Email collection removed from init mode (no more PII in committed .ai-team files)
- Issue #108 tracks migration cleanup

**Risk Assessment:**
- **YELLOW — Achievable but aggressive**
- #69 is 60% of remaining work; insider program (Week 1 priority) not started
- 143h ÷ 4 weeks = ~36h/week squad velocity (high but realistic)
- Timeline: March 16 achievable IF insider program ships this week + #69 PR #1 merges by Feb 28

**Recommendation:**
- Ship insider program THIS WEEK (Feb 20-23) — de-risks beta testing
- Start #69 immediately (Fenster)
- Cut nice-to-haves (#85, #63, #99) to v0.6.0
- If #69 slips past Feb 28, push release to March 23

### Kujan: Network/Model Error Investigation

**Status:** Diagnosis in progress (details captured separately in Kujan history)

## Decisions Made

1. **#69 is the v0.5.0 story** — all other issues support or clean up after it
2. **Insider program routes to Kobayashi immediately** — enable parallel beta testing
3. **#86 (uncommitted changes) deferred to v0.6.0** — scope relief, not blocking v0.5.0
4. **Privacy fixes in, migration plan clear** — #108 tracks cleanup, trust signal shipped

## Key Outcomes

- **Governance reduction validated** — 35% savings shipped, quality assessed, architect path to 56% for Enterprise Copilot (multi-agent split, v0.5.0 future work)
- **v0.5.0 scope clarified** — 4 critical-path issues, 143h remaining, March 16 achievable with insider program launch THIS WEEK
- **Security audit complete** — Baer's findings documented, privacy fixes landed
- **Team expanded to 9 agents** — Baer joins as Security Specialist

## Next Steps

1. Launch insider program (Kobayashi/Brady)
2. Open #69 PR #1 (Fenster — CLI foundation)
3. Cut deferrable issues to v0.6.0 backlog
4. Weekly checkpoint on #69 progress (Feb 27)
32 changes: 32 additions & 0 deletions .ai-team/log/2026-02-20-v050-status-review.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Session Log: 2026-02-20 v0.5.0 Status Review

**Date:** 2026-02-20
**Agents:** Keaton (Lead), Verbal (Prompt Engineer)
**Requested by:** bradygaster

## Work Done

1. **Keaton:** Readiness assessment for v0.5.0 release (due Mar 16)
- Analyzed 5 recent commits on dev: prompt reduction, Baer hiring, privacy fixes, identity layer deferral
- Assessed 18 open issues under release:v0.5.0 label
- Identified critical path: #69 (.squad/ migration, 85h) is entire feature
- Reality check: 4 weeks, ~143h work, team of 9 agents + Brady

2. **Verbal:** Context optimization review for Issue #76
- Evaluated extraction of squad.agent.md (105KB → 68KB, -35%)
- Assessed quality of 7 satellite files
- Analyzed gap to Enterprise 30K limit (still 128% over)
- Recommended multi-agent split for v0.5.0

## Decisions Made

- **#76 (GHE limit):** Extraction work complete but insufficient; multi-agent split needed for v0.5.0
- **#86 (uncommitted changes):** Explicitly deferred per Epic #91 (already decided)
- **Nice-to-have cut:** #85, #63, #36, #25, #99 moved to v0.6.0
- **Timeline:** Mar 16 achievable if insider program ships this week and #69 PR #1 merges by Feb 28

## Status

**Overall:** YELLOW — achievable but aggressive
**Risk:** #69 underestimated (1,672 path refs) or insider program delayed → slip to March 23
**Next:** Insider program implementation this week (Kobayashi), #69 execution (Fenster)
15 changes: 15 additions & 0 deletions .ai-team/orchestration-log/2026-02-19T23-22-28-baer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Baer – Orchestration Log
**Date:** 2026-02-19
**Status:** background | Task #108

## Summary
Email privacy scrub feature implementation. Opened PR #110 with `scrubEmailsFromDirectory()` function, new `squad scrub-emails` command, and auto-scrub integration in migration flow. All 53 tests pass.

## Deliverables
- `scrubEmailsFromDirectory()` utility function
- `squad scrub-emails` CLI command
- Automatic email scrubbing in migration workflow
- 53 tests passing

## Status
✓ Complete — PR #110 opened, ready for review.
15 changes: 15 additions & 0 deletions .ai-team/orchestration-log/2026-02-19T23-22-28-fenster.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Fenster – Orchestration Log
**Date:** 2026-02-19
**Status:** background | Task #101

## Summary
CLI dual-path migration for `.squad/` adoption. Opened PR #111 with `detectSquadDir()` helper, `squad upgrade --migrate-directory` command, and routing logic for new installs targeting `.squad/`. All 53 tests pass.

## Deliverables
- `detectSquadDir()` helper function for path detection
- `squad upgrade --migrate-directory` command implementation
- New installs routed to `.squad/` by default
- 53 tests passing

## Status
✓ Complete — PR #111 opened, ready for review.
15 changes: 15 additions & 0 deletions .ai-team/orchestration-log/2026-02-19T23-22-28-kobayashi.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Kobayashi – Orchestration Log
**Date:** 2026-02-19
**Status:** background | Task #103

## Summary
Workflow dual-path support across all 6+ GitHub Actions workflows. Opened PR #109 with guard blocks supporting both `.ai-team/` and `.squad/` directory structures, and synchronized templates. All 53 tests pass.

## Deliverables
- Dual-path guard blocks in all workflows (6+ workflows updated)
- `.ai-team/` and `.squad/` path support
- Synchronized templates
- 53 tests passing

## Status
✓ Complete — PR #109 opened, ready for review.
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# Orchestration Log: Keaton v0.5.0 Assessment

**Timestamp:** 2026-02-20T06:46
**Agent:** Keaton (Lead)
**Mode:** Background
**Outcome:** Completed

## Summary

Keaton completed readiness assessment for v0.5.0 release. Analyzed landing commits, assessed critical-path work, and provided timeline reality check.

## Key Findings

- **#76 (GHE 30KB limit):** ✅ COMPLETE — squad.agent.md reduced from 105KB to 68KB (-35%) via satellite extraction
- **#69 (.squad/ migration):** Critical path item, 85h, no PRs open yet, touches 130+ files
- **Security audit:** Completed by Baer, privacy fixes landed (email collection removed)
- **Insider program:** Week 1 priority but not started

## Assessment

**Status:** YELLOW — Achievable but aggressive
**Timeline:** 4 weeks remaining (Feb 20-Mar 16)
**Remaining work:** ~143h (#69 + #71 + #84 + #62)
**Recommendation:** GREEN if insider program ships this week and #69 PR #1 merges by Feb 28

## Critical Path

1. #69 (CLI foundation, docs, workflow updates) — 85h, 3 PRs
2. #71 (label workflows) — 18h, depends on #69
3. #84 (timestamps) — 12h, parallel
4. #62 (CI/CD) — 28h, parallel

## Risks

- #69 underestimated (1,672 path refs could hit coupling issues)
- Beta exit criteria strict (7 criteria in #91)
- Squad team bandwidth (9 agents + Brady as product owner)

## Recommendation

**Not shipping next week.** March 16 achievable if insider program ships this week, #69 starts immediately, and nice-to-have items cut aggressively. If #69 slips past Feb 28, defer release to March 23.
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# Orchestration Log: Verbal Context Optimization Review

**Timestamp:** 2026-02-20T06:46
**Agent:** Verbal (Prompt Engineer)
**Mode:** Background
**Outcome:** Completed

## Summary

Verbal reviewed context optimization work that reduced squad.agent.md from 1455 lines/105KB to 810 lines/68KB via extraction of 7 satellite files into .ai-team-templates/.

## Assessment Results

**Extraction Quality:** Excellent
- 7 files extracted (~35KB): casting-reference, ceremony-reference, ralph-reference, issue-lifecycle, prd-intake, human-members, copilot-agent
- Always-loaded vs on-demand split architecturally sound
- All satellite files have explicit load triggers
- Core coordinator logic remains intact

**Reduction Impact on #76:** Positive but insufficient
- Current: 68,417 chars (down from ~105KB)
- Enterprise limit: 30,000 chars
- Gap: 38,417 chars over (128% of limit)
- 35% reduction is progress but doesn't hit target (need 56% reduction)

## Recommended Path Forward

**Option A (Recommended for v0.5.0):** Multi-agent split
- `squad-init.agent.md` — Init mode only
- `squad-coordinator.agent.md` — Team mode orchestration
- `squad-features.agent.md` — Feature modes (Ralph, GitHub Issues, PRD)
- Only architectural solution to hit 30K limit

**Option B:** Additional externalization
- Could get to 50-55KB (still 67-83% over), not sufficient alone

**Option C:** Content compression
- Could save 5-10KB but hurts readability and coordinator judgment

## Risks

**Low to very low overall:**
- Cold-path sections being missed: LOW (explicit load triggers)
- Agents missing context: VERY LOW (they receive via spawn, not satellite reads)
- Coordinator forgetting on-demand: MODERATE (but mitigated by explicit triggers)
- Maintenance drift: LOW (versioned together)
- VS Code/CLI parity: VERY LOW (all platforms support markdown reads)

## Verdict

Extraction is high-quality and sound. 35% reduction is meaningful progress but insufficient for Enterprise. Multi-agent split is only path to 30K target while preserving full functionality.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading
Loading