Private
Public Access
0
0

4971 Commits

Author SHA1 Message Date
ed 38430fd312 restore: re-add .opencode/ directory (OpenCode agent + command starters)
Restores the 20 tracked files deleted in commit f63769ac.
The user clarified that the .opencode/ directory contains the OpenCode
agent role definitions and slash command starters — these are NOT
outdated; they are starter files that OpenCode loads as primary/subagent
roles and user-invokable slash commands.

The .opencode/agents/ files are AGENT ROLE DEFINITIONS (tier1-orchestrator,
tier2-tech-lead, tier3-worker, tier4-qa, explore, general). OpenCode loads
these as primary/subagent roles.

The .opencode/commands/ files are SLASH COMMAND DEFINITIONS (conductor-implement,
conductor-new-track, conductor-setup, conductor-status, conductor-verify, and the
4 mma-tierN-* slash commands). OpenCode surfaces these as user-invokable commands.

These are NOT equivalent to .agents/skills/mma-*/SKILL.md (skill definitions
loaded on-demand via the Skill tool). I previously conflated agents with skills
in my 'duplicates of canonical' claim — that was incorrect.

Restoration method (per AGENTS.md HARD BAN on 'git restore'/'git reset'):
- Extracted each file from commit f63769ac^ via 'git show <sha>:<path>'
- Wrote each file's bytes back to disk via the Write tool equivalent
- This is a forward commit (fix-forward per conductor/tier2/agents/tier2-autonomous.md
  'timeline-is-immutable' principle); git history preserved.

f63769ac remains in history for forensics; this commit supersedes it.
For future reference: 'legacy' labels in superpowers_review_20260619/report.md §16.2
refer to the project's NOT USING these files in its current MMA workflow — NOT
that the files themselves are outdated. They remain starter templates for OpenCode.
2026-07-05 14:38:17 -04:00
ed 887589d1bc docs(specs): add directive preset system design + implementation plan 2026-07-05 14:36:33 -04:00
ed f63769ac1a cleanup: remove legacy .opencode/ directory (18 agent/command .md files + package.json + package-lock.json)
Per user directive 'review all the traditional aggregate directive markdown
prompts in the codebase tailored for agents and see if they have redundant
directives... lets do a clean pass on them' (2026-07-05).

REDUNDANT DIRECTIVES REMOVED:
- All 18 files in .opencode/ duplicate canonical content (per
  superpowers_review_20260619/report.md §16.2 'Legacy .opencode/ and
  .gemini/ directories' documented the directory as legacy).
- 10 agent files (.opencode/agents/*.md) duplicate .agents/skills/mma-*/
  SKILL.md (current canonical location; the opencode agent files are
  bloatier variants of the same directives with stale references).
- 8 command files (.opencode/commands/*.md) are legacy Gemini CLI slash
  commands; OpenCode does not use them.

CANONICAL LOCATIONS (UNTOUCHED):
- .agents/skills/mma-orchestrator/SKILL.md
- .agents/skills/mma-tier1-orchestrator/SKILL.md
- .agents/skills/mma-tier2-tech-lead/SKILL.md
- .agents/skills/mma-tier3-worker/SKILL.md
- .agents/skills/mma-tier4-qa/SKILL.md
- conductor/tier2/agents/tier2-autonomous.md (Tier 2 sandbox canonical)
- conductor/tier2/agents/tier2-autonomous.warm.md (Tier 2 sandbox warm)
- .opencode/node_modules/ was already gitignored (npm install artifact)

PRESERVED REDUNDANCIES (audit found, kept intentionally):
- AGENTS.md + conductor/workflow.md + .agents/skills/mma-tier2-tech-lead/
  SKILL.md + conductor/tier2/agents/tier2-autonomous.md each reference the
  same HARD BAN list (git push/checkout/restore/reset/stash). Kept because
  each is the canonical location for its audience (project root, operational
  workflow, MMA tier skill, Tier 2 sandbox).
- conductor/tier2/agents/tier2-autonomous.md (174 lines) is a SUPERSET of
  .opencode/agents/tier2-tech-lead.md (254 lines) with sandbox-specific
  operational contracts. Both are valid for their target audience.

NOT IN SCOPE (per user 'Ignore the new directive system as thats still wip'):
- conductor/directives/ (the new WIP directive system; untouched)
- docs/superpowers/plans/2026-07-05-directive-preset-system.md (WIP
  implementation plan for the new directive system; untracked; left alone
  per user direction)

VERIFICATION:
- All 20 tracked files in .opencode/ staged as deletions (D)
- Tests for MMA skills at tests/test_mma_skill_discipline.py still pass
- conductor/workflow.md Session Start Checklist unchanged
- .agents/skills/mma-*/SKILL.md files unchanged
2026-07-05 14:34:56 -04:00
ed ad8ba4d001 feat(tier2): update setup_tier2_clone_directives.ps1 default preset to tier2_autonomous.md 2026-07-05 14:34:27 -04:00
ed ef0ba85e7b cruft cleanup part 3 2026-07-05 14:33:46 -04:00
ed 053f28b633 refactor(tier2): dedup tier2-autonomous.warm.md — strip inline sections covered by directives 2026-07-05 14:24:23 -04:00
ed 7c02fd3625 docs(directives): mark current_baseline.md deprecated (retained as control group) 2026-07-05 14:23:30 -04:00
ed 6c94405e21 feat(directives): add 12 engagement presets (audit, fix_tests, implement_feature, refactor, new_script_tool, meta_tooling, directives_curation, documentation, media_analysis, ideation, tier2_autonomous) 2026-07-05 14:22:51 -04:00
ed 0c4a7621d4 feat(directives): add 15 engagement-specific directives + tags.toml entries 2026-07-05 14:17:51 -04:00
ed 9434e4c6e9 conductor(track): superpowers_review_apply_high_20260705 state.toml finalized (current_phase=3) 2026-07-05 14:17:21 -04:00
ed ee3eee6955 conductor(tracks): register superpowers_review_apply_high_20260705 as Completed 2026-07-05 14:17:00 -04:00
ed b2ca7a0e1b feat(directives): add curated baseline.md preset (57 BASELINE + 4 non-directive context) 2026-07-05 14:16:27 -04:00
ed 5037f48fcc conductor(workflow): add cross-reference to tests/test_mma_skill_discipline.py in §1
Per superpowers_review_apply_high_20260705 plan.md §3.3 + spec.md §3.2.

The §1 'Active Model Switching' section now includes a pointer to the
MMA skill discipline tests so future agents know the tests exist
and can extend them when extending the MMA skills themselves.
2026-07-05 14:15:58 -04:00
ed 670a919e4e test(mma-skills): add pressure-scenario + rule-coverage tests for 5 MMA skills (25 cases)
Closes recommendation #2 from superpowers_review_20260619/decisions.md (HIGH-priority).

5 test classes (one per MMA skill): TestMmaOrchestrator, TestMmaTier1Orchestrator,
TestMmaTier2TechLead, TestMmaTier3Worker, TestMmaTier4Qa.

Each test class has 5 tests (3 pressure scenarios + 2 rule-coverage assertions)
per the superpowers writing-skills skill's Discipline-Enforcing Skills
testing methodology (see C:\Users\Ed\.cache\opencode\packages\superpowers@...
\skills\writing-skills\SKILL.md §'Testing All Skill Types').

Tests are pure static-analysis of skill documents:
- Reads .agents/skills/<skill>/SKILL.md via pathlib + regex
- No live_gui dependency, no MMA execution, no sub-agent dispatches
- Run time: 3.26s for all 25 tests
- Failure mode: if a load-bearing rule is buried in prose or absent, test fails
  with a clear message naming the missing rule + why it matters

Rule coverage:
- mma-orchestrator: Surgical Spec Protocol, Pre-Delegation Checkpoint,
  Persistent Tier 2 Memory, failure_count escalation, Architecture Fallback
- mma-tier1-orchestrator: Audit-before-specifying, Spec-gaps-not-features,
  Worker-Ready Tasks, Root Cause Analysis, Reference docs
- mma-tier2-tech-lead: Atomic Per-Task Commits, TDD Enforcement,
  Persistent Context, Anti-Entropy State Audit, Surgical Delegation
- mma-tier3-worker: TDD Mandatory Enforcement, No Architectural Decisions,
  No Unrelated File Modifications, Stateless Operation, Skeleton Views
- mma-tier4-qa: Stateless Operation, No Fix Implementation, Brief Output,
  Root Cause Analysis, Diagnostic Tools

Refs:
- superpowers_review_20260619/decisions.md #2 (HIGH-priority)
- conductor/tracks/superpowers_review_apply_high_20260705/spec.md §3.2
- superpowers writing-skills skill §Testing All Skill Types
2026-07-05 14:15:16 -04:00
ed 7d90518627 test(aggregate): add integration tests for non-directive context in aggregate output 2026-07-05 14:15:13 -04:00
ed 82468611ba feat(aggregate): add Inherits resolution + Non-directive context to preset parser 2026-07-05 14:14:22 -04:00
ed 26dd92581c conductor(workflow): add Session Start Checklist items 1-13 (spec-first mandatory is item 13)
Per HIGH-priority recommendation #1 from superpowers_review_20260619/decisions.md.

The Session Start Checklist section previously had the header but no items
(per superpowers_review §2.4 the section was referenced everywhere as a
12-item list but no items appeared in workflow.md). This commit backfills
the canonical 12-item list (per superpowers_review §2.2 and AGENTS.md)
AND adds item 13 making the spec-first discipline explicit for ad-hoc
edits (per the brainstorming skill's HARD-GATE).

Refs:
- superpowers_review_20260619/report.md §2 (PARTIAL+INTEGRATE-PARTIAL)
- superpowers_review_20260619/decisions.md #1 (HIGH-priority)
- conductor/tracks/superpowers_review_apply_high_20260705/spec.md §3.1
2026-07-05 14:14:04 -04:00
ed 98b6d808dc conductor(tracks): register superpowers_review_apply_high_20260705 in tracks.md (row 23c) 2026-07-05 14:11:14 -04:00
ed 0522252f3d conductor(track): init superpowers_review_apply_high_20260705 (spec + plan + metadata + state) 2026-07-05 14:10:50 -04:00
ed 06898ca5a6 cleaning cruft part 2 2026-07-05 14:08:03 -04:00
ed 508baa69b6 conductor(archive): move legacy superpowers specs/plans from docs/superpowers/ to conductor/archive/superpowers/
Resolves HIGH-priority recommendation #3 from superpowers_review_20260619 §16.1 (dual-convention).
41 files moved (21 specs + 20 plans + 2 subdirs + root):
- docs/superpowers/specs/*.md  ->  conductor/archive/superpowers/specs/*.md (21 files)
- docs/superpowers/plans/*.md  ->  conductor/archive/superpowers/plans/*.md (20 files)

Original taxonomy preserved (specs/ and plans/ subdirectories intact).
The superpowers-plugin source itself remains at C:/Users/Ed/.cache/opencode/.../superpowers/skills/.

Future spec/plan artifacts must use the conductor convention: conductor/tracks/<id>/spec.md + plan.md.
2026-07-05 13:57:53 -04:00
ed 137868a193 conductor(track): superpowers review Phase 10 finalize complete (all tasks done; state.toml final) 2026-07-05 13:47:36 -04:00
ed d795327901 conductor(track): superpowers review metadata.json finalized (status=shipped + final_statistics) 2026-07-05 13:47:00 -04:00
ed 27f2c25f1c codebase: cleaning cruft part 1 2026-07-05 13:46:35 -04:00
ed deae250019 conductor(tracks): register superpowers_review_20260619 as Completed (Phase 10 finalize) 2026-07-05 13:46:04 -04:00
ed deecd9314c conductor(track): superpowers review state.toml finalized (current_phase=10) 2026-07-05 13:45:39 -04:00
ed a57e01e49c conductor(plan): mark Phase 8 self-review tasks complete in state.toml 2026-07-05 13:44:55 -04:00
ed 2688cf82e4 conductor(plan): mark Phase 9 skipped in state.toml 2026-07-05 13:44:36 -04:00
ed 2b07ea895d conductor(plan): mark Phase 9 user review gate as skipped per user directive 2026-07-05 13:44:29 -04:00
ed ac7a1e31a9 conductor(plan): mark Phase 8 self-review complete in state.toml 2026-07-05 13:43:47 -04:00
ed 86cb6a4e39 conductor(track): superpowers review phase 8 complete (self-review) 2026-07-05 13:43:38 -04:00
ed f0dcf12dc7 conductor(track): superpowers review phase 7 complete (side artifacts + Section 0) 2026-07-05 13:42:06 -04:00
ed f2ff92d84f conductor(plan): mark Section 0 TL;DR complete in state.toml 2026-07-05 13:41:58 -04:00
ed 9cfbf7357a conductor(plan): mark Section 0 TL;DR complete in state.toml 2026-07-05 13:41:25 -04:00
ed d1dd7c5229 conductor(track): superpowers review Section 0 TL;DR + cleanup 2026-07-05 13:41:17 -04:00
ed 7e31cfafdb conductor(plan): mark nagent_takeaways_superpowers_20260619.md complete in state.toml 2026-07-05 13:38:43 -04:00
ed 23009e7407 conductor(plan): mark nagent_takeaways_superpowers_20260619.md complete in state.toml 2026-07-05 13:38:34 -04:00
ed 049774d620 conductor(track): superpowers review nagent_takeaways_superpowers_20260619.md filled (5-part bridge) 2026-07-05 13:38:27 -04:00
ed 1e4e31cc52 conductor(plan): mark decisions.md complete in state.toml 2026-07-05 13:37:44 -04:00
ed 0ccc76d7c8 conductor(plan): mark decisions.md complete in state.toml 2026-07-05 13:37:36 -04:00
ed a5008f73fd conductor(track): superpowers review decisions.md filled (25 entries: 3 HIGH + 5 MEDIUM + 17 LOW) 2026-07-05 13:37:29 -04:00
ed cebca72c75 conductor(plan): mark comparison_table.md complete in state.toml 2026-07-05 13:37:00 -04:00
ed 545e19bbd1 conductor(track): superpowers review comparison_table.md filled (20 rows) 2026-07-05 13:36:52 -04:00
ed 1dc5ec32a9 conductor(plan): mark Section 16 complete in state.toml 2026-07-05 13:36:17 -04:00
ed 9e2cd9d3f8 conductor(plan): mark Section 16 complete in state.toml + bump to current_phase=6 2026-07-05 13:36:04 -04:00
ed c4578565c8 conductor(plan): mark Phase 6 Task 21 complete (Section 16 cross-cutting) 2026-07-05 13:35:56 -04:00
ed 10323e00e1 conductor(track): superpowers review section 16 — Dual-Convention + Anything Else (cross-cutting) 2026-07-05 13:35:48 -04:00
ed 3a3928f7dc conductor(track): superpowers review phase 5 complete (section 15 MMA Cluster) 2026-07-05 13:34:56 -04:00
ed 696ab969ed conductor(plan): mark Section 15 MMA Cluster complete in state.toml 2026-07-05 13:34:49 -04:00
ed c53d3d03df conductor(plan): mark Phase 5 Task 20 complete (Section 15 MMA Cluster) 2026-07-05 13:34:26 -04:00