feat: Migrate Squad from .ai-team/ to .squad/ (v0.5.3)#33
Merged
Conversation
- Created ceremonies.md to outline team meeting structures including Design Review, Code Review, and Retrospective. - Established decisions.md to document key team decisions, including model selection directives and documentation maintenance routing. - Added identity files (now.md, wisdom.md) for tracking current focus areas and team insights. - Logged multiple sessions detailing implementation progress, performance audits, and planning activities. - Introduced routing.md to clarify work assignment processes and issue routing for team members. - Added orchestration-log directory for session logs and .gitkeep files for empty directories.
spboyer
pushed a commit
that referenced
this pull request
Mar 3, 2026
`waza dev` scores a SKILL.md file's frontmatter against heuristics and suggests improvements. It's basically equivalent to the `sensei` CLI. Closes #32, closes #33, closes #35 ### What it does `waza dev [skill-path]` reads a SKILL.md, scores its frontmatter for compliance (trigger phrases, anti-triggers, routing clarity, description length, token budget), and walks the user through improvements one at a time. In `--auto` mode it applies all suggestions without prompting. **Scoring levels** (Low → Medium → Medium-High → High) are determined by the presence of: - Trigger phrases (`USE FOR:`) - Anti-trigger phrases (`DO NOT USE FOR:`) - Routing clarity markers (`INVOKES:`, `**WORKFLOW SKILL**`, etc.) ### Example output ``` ── Iteration 1/5 ────────────────────────────────────────── Skill: skill-creator Score: Low Tokens: 4522 Description: 226 chars Triggers: 0 Anti-triggers: 0 Issues:⚠️ SKILL.md is 4522 tokens (soft limit 500) 📝 Suggested improvement (triggers): ──────────────────────────────────────── USE FOR: skill-creator, about skills, core principles, quick start, advanced features. ──────────────────────────────────────── Apply this improvement? [y/N]y Verified: score is now Medium ── Iteration 2/5 ────────────────────────────────────────── Skill: skill-creator Score: Medium Tokens: 4546 Description: 313 chars Triggers: 5 Anti-triggers: 0 Issues:⚠️ SKILL.md is 4546 tokens (soft limit 500) 📝 Suggested improvement (anti-triggers): ──────────────────────────────────────── DO NOT USE FOR: general coding questions unrelated to skill-creator, creating new projects from scratch. ──────────────────────────────────────── Apply this improvement? [y/N]y Verified: score is now Medium-High ✅ Target adherence level Medium-High reached! ╔══════════════════════════════════════════════════════════════════╗ ║ SENSEI SUMMARY: skill-creator ║ ╠══════════════════════════════════════════════════════════════════╣ ║ BEFORE AFTER ║ ║ ────── ───── ║ ║ Score: Low Score: Medium-High ║ ║ Tokens: 4522 Tokens: 4574 ║ ║ Triggers: 0 Triggers: 5 ║ ║ Anti-triggers: 0 Anti-triggers: 2 ║ ║ ║ ║ TOKEN STATUS:⚠️ Over soft limit (4574 > 500) ║ ╚══════════════════════════════════════════════════════════════════╝ ``` ### Flags | Flag | Default | Description | |------|---------|-------------| | `--target` | `medium-high` | Target adherence level | | `--max-iterations` | `5` | Max improvement iterations | | `--auto` | `false` | Apply improvements without prompting | ### Implementation New package `cmd/waza/dev/` with the following files: - **score.go** — `HeuristicScorer` implementing a `Scorer` interface. Pattern-matching heuristics for triggers, anti-triggers, and routing clarity. Validation for name format, description length, and token budget. - **loop.go** — The core `runDevLoop` function. Steps through description expansion, trigger addition, anti-trigger addition, and routing clarity. Declining a suggestion skips to the next applicable step rather than ending the loop. - **display.go** — Terminal output formatting. - **prompt.go** — User prompts for confirm (y/N). Uses a shared `bufio.Scanner` to avoid consuming stdin across multiple reads. - **root.go** — Cobra command registration. New package `waza/internal/skill` adds `Skill` and `Frontmatter` types and related un/marshaling functions. ### Preparatory refactor `internal/tokens` was extracted from `cmd/waza/tokens/internal/tokens` so the token estimation logic can be shared between the `tokens` subcommand and the new `dev` package. --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
spboyer
added a commit
that referenced
this pull request
Mar 3, 2026
E2 sensei engine (#32, #33) shipped but SKILL.md still listed `waza dev` as "coming soon". Updated documentation to reflect implemented features. ## Changes **Help text block** - Added DEV FLAGS section: `--target`, `--max-iterations`, `--auto` - Updated command summary to include `[skill-path]` argument **waza dev command section** - Usage examples for scoring workflows - Compliance levels: Low → Medium → Medium-High → High with progression criteria - Scoring checks: description length (150+ chars, 1024 max), trigger phrases, anti-trigger phrases, routing clarity markers, token budget (500 soft / 5000 hard) **Future features section** - Marked trigger accuracy tests (#36), `--skip-integration` (#37), `--fast` (#38), improvement suggestions engine (#34) as "Coming Soon" ```bash # Score and improve to high compliance waza dev skills/my-skill --target high # Auto-apply without prompts waza dev skills/my-skill --auto --max-iterations 3 ``` Current state: waza skill at High compliance (638 chars, 13 triggers, 3 anti-triggers), 2097 tokens. <!-- START COPILOT ORIGINAL PROMPT --> <details> <summary>Original prompt</summary> > > ---- > > *This section details on the original issue you should resolve* > > <issue_title>[E5] Update SKILL.md with sensei engine features when E2 completes</issue_title> > <issue_description>The waza SKILL.md (#52) was created with `waza dev` listed as 'coming soon'. Once Charles completes E2 (#32-38), update the SKILL.md to: > - Document `waza dev` command usage > - Add compliance scoring examples > - Add trigger accuracy test examples > - Update the help text block > > Blocked on: spboyer/waza#33, spboyer/waza#32</issue_description> > > ## Comments on the Issue (you are @copilot in this section) > > <comments> > <comment_new><author>@spboyer</author><body> > @copilot Please pick up this issue. Here's the scope: > > ## What's ready to document (blockers spboyer/waza#32 and spboyer/waza#33 are closed) > > 1. **`waza dev` command usage** — The sensei dev loop is implemented. Document the command, its flags (`--verbose`, `--target-score`, `--max-iterations`), and a usage example in the SKILL.md. > > 2. **Compliance scoring** — Document how compliance scoring works (the scoring system from spboyer/waza#33 is merged). > > ## What's still 'coming soon' (keep as placeholders) > > - Trigger accuracy tests (#36 — still open) > - `--skip-integration` flag (#37 — still open) > - `--fast` flag (#38 — still open) > - Improvement suggestions engine (#34 — still open) > > ## Files to update > - `skills/waza/SKILL.md` — the main SKILL.md for the waza skill > > Read the existing SKILL.md first, then update the sections that reference `waza dev` as 'coming soon' with actual documentation. Keep the token count reasonable (under 500 tokens for the SKILL.md frontmatter+body).</body></comment_new> > </comments> > </details> <!-- START COPILOT CODING AGENT SUFFIX --> - Fixes spboyer/waza#93 <!-- START COPILOT CODING AGENT TIPS --> --- 💬 We'd love your input! Share your thoughts on Copilot coding agent in our [2 minute survey](https://gh.io/copilot-coding-agent-survey). --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: spboyer <7681382+spboyer@users.noreply.github.com>
spboyer
added a commit
that referenced
this pull request
Mar 3, 2026
- Created ceremonies.md to outline team meeting structures including Design Review, Code Review, and Retrospective. - Established decisions.md to document key team decisions, including model selection directives and documentation maintenance routing. - Added identity files (now.md, wisdom.md) for tracking current focus areas and team insights. - Logged multiple sessions detailing implementation progress, performance audits, and planning activities. - Introduced routing.md to clarify work assignment processes and issue routing for team members. - Added orchestration-log directory for session logs and .gitkeep files for empty directories.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Migrates Squad team state from
.ai-team/to.squad/directory structure per Squad v0.5.3.Changes
.ai-team/→.squad/,.ai-team-templates/→.squad-templates/.ai-team/to.squad/.squad/paths.gitattributes: Updated merge=union paths for.squad/squad.agent.md: Updated to v0.5.3 governancecopilot-instructions.md: Updated paths to.squad/.squad/identity/now.mdand.squad/identity/wisdom.mdMigration Notes
.ai-team/directory is fully removed.ai-team/