Skip to content

chore: bump version to 0.12.0#35

Closed
spboyer wants to merge 2 commits into
mainfrom
squad/bump-v0.12.0
Closed

chore: bump version to 0.12.0#35
spboyer wants to merge 2 commits into
mainfrom
squad/bump-v0.12.0

Conversation

@spboyer

@spboyer spboyer commented Mar 2, 2026

Copy link
Copy Markdown
Member

Bump version.txt to 0.12.0 for the v0.12.0 release.

spboyer and others added 2 commits February 28, 2026 08:43
- 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.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@spboyer spboyer closed this Mar 2, 2026
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant