ace-retro 0.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.ace-defaults/nav/protocols/wfi-sources/ace-retro.yml +19 -0
- data/.ace-defaults/retro/config.yml +16 -0
- data/CHANGELOG.md +252 -0
- data/LICENSE +21 -0
- data/README.md +40 -0
- data/Rakefile +13 -0
- data/docs/demo/ace-retro-getting-started.gif +0 -0
- data/docs/demo/ace-retro-getting-started.tape.yml +33 -0
- data/docs/demo/fixtures/README.md +3 -0
- data/docs/demo/fixtures/sample.txt +1 -0
- data/docs/getting-started.md +77 -0
- data/docs/handbook.md +60 -0
- data/docs/usage.md +141 -0
- data/exe/ace-retro +22 -0
- data/handbook/skills/as-handbook-selfimprove/SKILL.md +31 -0
- data/handbook/skills/as-retro-create/SKILL.md +26 -0
- data/handbook/skills/as-retro-synthesize/SKILL.md +26 -0
- data/handbook/templates/retro/retro.template.md +194 -0
- data/handbook/workflow-instructions/retro/create.wf.md +141 -0
- data/handbook/workflow-instructions/retro/selfimprove.wf.md +197 -0
- data/handbook/workflow-instructions/retro/synthesize.wf.md +94 -0
- data/lib/ace/retro/atoms/retro_file_pattern.rb +40 -0
- data/lib/ace/retro/atoms/retro_frontmatter_defaults.rb +42 -0
- data/lib/ace/retro/atoms/retro_id_formatter.rb +37 -0
- data/lib/ace/retro/atoms/retro_validation_rules.rb +82 -0
- data/lib/ace/retro/cli/commands/create.rb +87 -0
- data/lib/ace/retro/cli/commands/doctor.rb +204 -0
- data/lib/ace/retro/cli/commands/list.rb +63 -0
- data/lib/ace/retro/cli/commands/show.rb +55 -0
- data/lib/ace/retro/cli/commands/update.rb +117 -0
- data/lib/ace/retro/cli.rb +70 -0
- data/lib/ace/retro/models/retro.rb +40 -0
- data/lib/ace/retro/molecules/retro_config_loader.rb +93 -0
- data/lib/ace/retro/molecules/retro_creator.rb +165 -0
- data/lib/ace/retro/molecules/retro_display_formatter.rb +95 -0
- data/lib/ace/retro/molecules/retro_doctor_fixer.rb +404 -0
- data/lib/ace/retro/molecules/retro_doctor_reporter.rb +257 -0
- data/lib/ace/retro/molecules/retro_frontmatter_validator.rb +120 -0
- data/lib/ace/retro/molecules/retro_loader.rb +119 -0
- data/lib/ace/retro/molecules/retro_mover.rb +80 -0
- data/lib/ace/retro/molecules/retro_resolver.rb +57 -0
- data/lib/ace/retro/molecules/retro_scanner.rb +56 -0
- data/lib/ace/retro/molecules/retro_structure_validator.rb +193 -0
- data/lib/ace/retro/organisms/retro_doctor.rb +199 -0
- data/lib/ace/retro/organisms/retro_manager.rb +210 -0
- data/lib/ace/retro/version.rb +7 -0
- data/lib/ace/retro.rb +41 -0
- metadata +165 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: eb5b8024dc50731df20e18afc1d1bcc018c84fe5a516aef9047f28c0a20b4d43
|
|
4
|
+
data.tar.gz: 904ef67f12f2254d81a5ac09569304d81509e1f95603238256e78c8dea94056f
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: f170bc514bd1b7161db5c72aba36c31abf96fe4346f106e6b8a1b059e8f7c0c05b6be469b5cdb03814132c6a164ad27627518300ccd8fdc95f496ba23fe58f4f
|
|
7
|
+
data.tar.gz: 0da214c947afd6a4d9015be9503ff5c29f3283d10a82ad5926cb67df31fbeab642495edc15b9e9323a72839d9dea9b7194ca5d6ede4587d90b9b5b7d87b7082d
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
---
|
|
2
|
+
# WFI Sources Protocol Configuration for ace-retro gem
|
|
3
|
+
# This enables workflow discovery from the installed ace-retro gem
|
|
4
|
+
|
|
5
|
+
name: ace-retro
|
|
6
|
+
type: gem
|
|
7
|
+
description: Retrospective workflow instructions from ace-retro gem
|
|
8
|
+
priority: 10
|
|
9
|
+
|
|
10
|
+
# Configuration for workflow discovery within the gem
|
|
11
|
+
config:
|
|
12
|
+
# Relative path within the gem (default: handbook/workflow-instructions)
|
|
13
|
+
relative_path: handbook/workflow-instructions
|
|
14
|
+
|
|
15
|
+
# Pattern for finding workflow files (default: *.wf.md)
|
|
16
|
+
pattern: "*.wf.md"
|
|
17
|
+
|
|
18
|
+
# Enable discovery
|
|
19
|
+
enabled: true
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# ace-retro default configuration
|
|
2
|
+
retro:
|
|
3
|
+
# Root directory for retros storage
|
|
4
|
+
root_dir: .ace-retros
|
|
5
|
+
|
|
6
|
+
# Default status for new retros
|
|
7
|
+
default_status: active
|
|
8
|
+
|
|
9
|
+
# Default retro type
|
|
10
|
+
default_type: standard
|
|
11
|
+
|
|
12
|
+
# Prefix used to identify special folders (e.g., "_archive")
|
|
13
|
+
special_folder_prefix: "_"
|
|
14
|
+
|
|
15
|
+
# LLM model for doctor --auto-fix-with-agent
|
|
16
|
+
doctor_agent_model: gemini:flash-latest@yolo
|
data/CHANGELOG.md
ADDED
|
@@ -0,0 +1,252 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
|
|
5
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
|
+
|
|
8
|
+
## [Unreleased]
|
|
9
|
+
|
|
10
|
+
## [0.16.0] - 2026-03-24
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
- Removed `task_ref` feature: dropped `--task-ref` CLI flag, model field, frontmatter key, and display formatting.
|
|
14
|
+
- Aligned README tagline with gemspec summary; added CLI-first onboarding language.
|
|
15
|
+
- Re-recorded getting-started demo with dynamic ID capture.
|
|
16
|
+
|
|
17
|
+
### Fixed
|
|
18
|
+
- VHS tape compiler now uses backtick quoting for commands containing quotes, `$`, or backslashes.
|
|
19
|
+
|
|
20
|
+
### Technical
|
|
21
|
+
- Cleaned task_ref references from docs, handbook workflow, test helper, and all test layers.
|
|
22
|
+
- Added inline jargon definitions for short IDs and frontmatter in docs.
|
|
23
|
+
|
|
24
|
+
## [0.15.4] - 2026-03-23
|
|
25
|
+
|
|
26
|
+
### Changed
|
|
27
|
+
- Refreshed the package README with a stronger overview, quick documentation navigation, and use-case-first structure aligned with current README layout patterns.
|
|
28
|
+
|
|
29
|
+
## [0.15.3] - 2026-03-22
|
|
30
|
+
|
|
31
|
+
### Changed
|
|
32
|
+
- Updated the getting-started demo to create a retro and capture its runtime ID before invoking `ace-retro show`, replacing the hard-coded `001` reference.
|
|
33
|
+
|
|
34
|
+
## [0.15.2] - 2026-03-22
|
|
35
|
+
|
|
36
|
+
### Changed
|
|
37
|
+
- Add commit step (step 7) to the retro creation workflow so retros created inside fork subtrees are preserved in git history.
|
|
38
|
+
- Add review-aware reflection prompts for cross-cycle analysis when review session data is available.
|
|
39
|
+
|
|
40
|
+
## [0.15.1] - 2026-03-22
|
|
41
|
+
|
|
42
|
+
### Fixed
|
|
43
|
+
- Add ID discovery hints to getting-started guide so tutorial steps are runnable from a clean workspace.
|
|
44
|
+
|
|
45
|
+
## [0.15.0] - 2026-03-22
|
|
46
|
+
|
|
47
|
+
### Changed
|
|
48
|
+
- Reworked package documentation into a landing-page experience with a new README, tutorial-style getting-started guide, comprehensive usage reference, handbook catalog, and demo artifacts.
|
|
49
|
+
- Updated gem metadata messaging to align with the new value-first tagline and included `docs/**/*` in packaged gem files.
|
|
50
|
+
|
|
51
|
+
## [0.14.0] - 2026-03-21
|
|
52
|
+
|
|
53
|
+
### Changed
|
|
54
|
+
- Added initial value-gated TS-format E2E smoke coverage under `TS-RETRO-001` for CLI help/error surface, create/list/show lifecycle, folder/filter views, and doctor health-to-failure transitions.
|
|
55
|
+
- Added a package E2E Decision Record documenting ADD/SKIP outcomes with unit-test coverage evidence.
|
|
56
|
+
|
|
57
|
+
## [0.13.1] - 2026-03-18
|
|
58
|
+
|
|
59
|
+
### Changed
|
|
60
|
+
- Migrated CLI namespace from `Ace::Core::CLI::*` to `Ace::Support::Cli::*` (ace-support-cli is now the canonical home for CLI infrastructure).
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
## [0.13.0] - 2026-03-18
|
|
64
|
+
|
|
65
|
+
### Changed
|
|
66
|
+
- Removed legacy backward-compatibility behavior as part of the 0.10 cleanup release.
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
## [0.12.2] - 2026-03-15
|
|
70
|
+
|
|
71
|
+
### Changed
|
|
72
|
+
- Migrated CLI framework from dry-cli to ace-support-cli
|
|
73
|
+
|
|
74
|
+
## [0.12.1] - 2026-03-13
|
|
75
|
+
|
|
76
|
+
### Changed
|
|
77
|
+
- Updated the canonical handbook self-improvement skill to explicitly run its bundled workflow in the current project and execute it end-to-end.
|
|
78
|
+
|
|
79
|
+
## [0.12.0] - 2026-03-10
|
|
80
|
+
|
|
81
|
+
### Added
|
|
82
|
+
- Added the canonical handbook-owned self-improve skill under the retro package.
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
## [0.11.0] - 2026-03-08
|
|
86
|
+
|
|
87
|
+
### Changed
|
|
88
|
+
- Remove hardcoded `providers.cli_args` config; use ace-llm `@preset` suffixes for provider permission flags
|
|
89
|
+
|
|
90
|
+
## [0.10.1] - 2026-03-04
|
|
91
|
+
|
|
92
|
+
### Fixed
|
|
93
|
+
- Restored backward-compatible legacy `doctor_cli_args` fallback when using nested `retro.doctor.cli_args`.
|
|
94
|
+
|
|
95
|
+
### Changed
|
|
96
|
+
- Preserved compatibility for legacy codex default shorthand values when normalizing provider CLI args.
|
|
97
|
+
|
|
98
|
+
## [0.10.0] - 2026-03-04
|
|
99
|
+
|
|
100
|
+
### Changed
|
|
101
|
+
- Renamed doctor agent CLI argument config from `doctor_cli_args` to nested `doctor.cli_args`.
|
|
102
|
+
- Converted default doctor CLI args for `gemini` to array format.
|
|
103
|
+
|
|
104
|
+
- Switched default doctor arg values to provider-array format.
|
|
105
|
+
|
|
106
|
+
## [0.9.0] - 2026-03-03
|
|
107
|
+
|
|
108
|
+
### Added
|
|
109
|
+
- Doctor `--auto-fix-with-agent` option: runs deterministic auto-fixes first, then launches an LLM agent to handle remaining issues
|
|
110
|
+
- Doctor `--model` option: configure provider:model for agent sessions
|
|
111
|
+
- Default `doctor_agent_model` and `doctor_cli_args` config entries
|
|
112
|
+
|
|
113
|
+
## [0.8.3] - 2026-03-03
|
|
114
|
+
|
|
115
|
+
### Changed
|
|
116
|
+
- Config: replaced `special_folders` map with `special_folder_prefix: "_"` (prefix-based detection replaces hardcoded folder list)
|
|
117
|
+
|
|
118
|
+
## [0.8.2] - 2026-03-03
|
|
119
|
+
|
|
120
|
+
### Changed
|
|
121
|
+
- RetroCreator uses two-tier naming: folder slug (5 words) and file slug (7 words) for concise folders with descriptive filenames
|
|
122
|
+
|
|
123
|
+
## [0.8.1] - 2026-03-03
|
|
124
|
+
|
|
125
|
+
### Changed
|
|
126
|
+
- List items: ID, type label, tags, task reference, and folder are dimmed for visual contrast with title
|
|
127
|
+
|
|
128
|
+
## [0.8.0] - 2026-03-03
|
|
129
|
+
|
|
130
|
+
### Added
|
|
131
|
+
- Colored status symbols in list output: active (yellow), done (green) — TTY-aware, no color when piped
|
|
132
|
+
- `last_folder_counts` on `RetroScanner` and `RetroManager`: exposes per-folder item counts from the full scan for use in stats line
|
|
133
|
+
- `list --help` status legend with ANSI colors matching list output
|
|
134
|
+
|
|
135
|
+
### Changed
|
|
136
|
+
- Status symbols replaced from emoji (🟡🟢) to Unicode shapes (○✓) for consistent terminal rendering and colorization support
|
|
137
|
+
- `format_list` and `format_stats_line` accept `global_folder_stats:` parameter, always showing folder breakdown in stats line even when viewing a filtered subset
|
|
138
|
+
|
|
139
|
+
## [0.7.0] - 2026-03-02
|
|
140
|
+
|
|
141
|
+
### Added
|
|
142
|
+
- `--move-to` / `-m` option on `update` command: relocate retro to a special folder (archive) or back to root (next/root//)
|
|
143
|
+
|
|
144
|
+
### Changed
|
|
145
|
+
- `update` command now accepts `--move-to` alone (no `--set` required), replacing the standalone `move` command
|
|
146
|
+
|
|
147
|
+
### Removed
|
|
148
|
+
- Standalone `move` command — use `update --move-to` instead
|
|
149
|
+
- `RetroManager#move` method — use `RetroManager#update(move_to:)` instead
|
|
150
|
+
|
|
151
|
+
## [0.6.0] - 2026-03-02
|
|
152
|
+
|
|
153
|
+
### Added
|
|
154
|
+
- `--git-commit` / `--gc` flag on `create`, `update`, and `move` commands to auto-commit changes via `ace-git-commit`
|
|
155
|
+
|
|
156
|
+
## [0.5.0] - 2026-03-02
|
|
157
|
+
|
|
158
|
+
### Added
|
|
159
|
+
- `RetroScanner#last_scan_total` exposes total item count before folder filtering
|
|
160
|
+
- `RetroManager#last_list_total` exposes total item count for "X of Y" stats display
|
|
161
|
+
- `RetroDisplayFormatter.format_list` and `format_stats_line` accept `total_count:` parameter
|
|
162
|
+
- CLI list command passes total count through to formatter for contextual stats
|
|
163
|
+
|
|
164
|
+
## [0.4.0] - 2026-03-02
|
|
165
|
+
|
|
166
|
+
### Added
|
|
167
|
+
- `RetroDisplayFormatter.format_stats_line` for generating stats summary (e.g., "Retros: 🟡 2 | 🟢 5 • 7 total • 71% complete")
|
|
168
|
+
- `format_list` now appends a stats summary line after the item list (omitted for empty lists)
|
|
169
|
+
|
|
170
|
+
## [0.3.0] - 2026-03-02
|
|
171
|
+
|
|
172
|
+
### Changed
|
|
173
|
+
- `RetroManager#list` defaults to `in_folder: "next"` — shows only root retros by default (excludes _archive)
|
|
174
|
+
- `RetroScanner#scan_in_folder` supports virtual filters ("next" for root-only, "all" for everything)
|
|
175
|
+
- Use `--in all` to see all retros including archived (previous default behavior)
|
|
176
|
+
|
|
177
|
+
## [0.2.3] - 2026-03-01
|
|
178
|
+
|
|
179
|
+
### Changed
|
|
180
|
+
|
|
181
|
+
- Rewrite create.wf.md: simplify from 486 to ~90 lines, reference `tmpl://retro/retro` instead of embedding template, use `ace-retro create` CLI
|
|
182
|
+
- Rewrite selfimprove.wf.md: broaden input sources (session/retros/user), use `ace-nav` protocol paths, add retro creation and archive steps
|
|
183
|
+
- Rewrite synthesize.wf.md: reduce to N retros → 1 retro pattern using `ace-retro` CLI, remove `reflection-synthesize` command references
|
|
184
|
+
|
|
185
|
+
### Removed
|
|
186
|
+
|
|
187
|
+
- Delete `synthesis-analytics.template.md` (synthesize workflow is self-contained)
|
|
188
|
+
- Delete `synthesize.system.prompt.md` (synthesize workflow is self-contained)
|
|
189
|
+
|
|
190
|
+
## [0.2.2] - 2026-03-01
|
|
191
|
+
|
|
192
|
+
### Fixed
|
|
193
|
+
|
|
194
|
+
- Doctor flags invalid archive partitions (e.g., `_archive/2025-09/`) and fixer relocates retros to correct b36ts partitions via RetroMover
|
|
195
|
+
- Doctor accepts valid b36ts archive partitions (e.g., `_archive/8o/`)
|
|
196
|
+
|
|
197
|
+
## [0.2.1] - 2026-03-01
|
|
198
|
+
|
|
199
|
+
### Fixed
|
|
200
|
+
|
|
201
|
+
- Wire `--root` option in `list` command to pass through to RetroManager
|
|
202
|
+
- Use DatePartitionPath for doctor auto-fix archive moves (consistent with RetroMover)
|
|
203
|
+
|
|
204
|
+
### Added
|
|
205
|
+
|
|
206
|
+
- Regression test for `--root` option in list CLI command
|
|
207
|
+
|
|
208
|
+
## [0.2.0] - 2026-03-01
|
|
209
|
+
|
|
210
|
+
### Added
|
|
211
|
+
|
|
212
|
+
- `doctor` command for comprehensive retro health checks
|
|
213
|
+
- RetroValidationRules atom with status validation, scope consistency, required/recommended field checks
|
|
214
|
+
- RetroFrontmatterValidator molecule for per-file frontmatter validation
|
|
215
|
+
- RetroStructureValidator molecule for directory structure checks (folder naming, retro files, backups, empty dirs)
|
|
216
|
+
- RetroDoctorFixer molecule with auto-fix support for 15 fixable patterns and dry-run mode
|
|
217
|
+
- RetroDoctorReporter molecule with terminal, JSON, and summary output formats
|
|
218
|
+
- RetroDoctor organism orchestrating structure, frontmatter, and scope checks with health scoring
|
|
219
|
+
- CLI options: `--auto-fix`, `--check`, `--verbose`, `--json`, `--errors-only`, `--no-color`, `--dry-run`, `--quiet`
|
|
220
|
+
- Exit code 0 when healthy, non-zero when errors found
|
|
221
|
+
|
|
222
|
+
## [0.1.0] - 2026-03-01
|
|
223
|
+
|
|
224
|
+
Extracted from ace-taskflow into standalone gem with b36ts-based retro management.
|
|
225
|
+
|
|
226
|
+
### Added
|
|
227
|
+
|
|
228
|
+
- Initial release of ace-retro gem
|
|
229
|
+
- RetroIdFormatter atom for raw b36ts ID generation
|
|
230
|
+
- RetroFilePattern atom for `.retro.md` file patterns
|
|
231
|
+
- RetroFrontmatterDefaults atom for retro frontmatter generation
|
|
232
|
+
- Retro model with id, status, title, type, tags, content, task_ref, folder_contents
|
|
233
|
+
- RetroConfigLoader molecule for configuration cascade
|
|
234
|
+
- RetroScanner molecule wrapping DirectoryScanner for `.retro.md` files
|
|
235
|
+
- RetroResolver molecule wrapping ShortcutResolver for ID resolution
|
|
236
|
+
- RetroLoader molecule for loading retros from directories
|
|
237
|
+
- RetroCreator molecule for full retro creation with b36ts ID
|
|
238
|
+
- RetroMover molecule with cross-filesystem move support (Errno::EXDEV)
|
|
239
|
+
- RetroDisplayFormatter molecule for terminal output
|
|
240
|
+
- RetroManager organism orchestrating create, show, list, update, move operations
|
|
241
|
+
- `.ace-defaults/retro/config.yml` with default configuration
|
|
242
|
+
- CLI registry (RetroCLI) with dry-cli following ace-idea pattern
|
|
243
|
+
- `create` command: `ace-retro create TITLE [--type TYPE] [--tags T] [--task-ref REF] [--move-to FOLDER] [--dry-run]`
|
|
244
|
+
- `show` command: `ace-retro show REF [--path | --content]`
|
|
245
|
+
- `list` command: `ace-retro list [--status S] [--type T] [--tags T] [--in FOLDER]`
|
|
246
|
+
- `move` command: `ace-retro move REF --to FOLDER`
|
|
247
|
+
- `update` command: `ace-retro update REF [--set K=V]... [--add K=V]... [--remove K=V]...`
|
|
248
|
+
- `version` and `help` commands
|
|
249
|
+
- Executable `exe/ace-retro` with SIGINT handling (exit 130) and error rescue
|
|
250
|
+
- Handbook: workflow instructions (retro/create, retro/synthesize) moved from ace-taskflow
|
|
251
|
+
- Handbook: templates (retro, synthesis-analytics, synthesize system prompt) moved from ace-taskflow
|
|
252
|
+
- CLI integration tests for all 5 commands
|
data/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Michal Czyz
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
data/README.md
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
<div align="center">
|
|
2
|
+
<h1> ACE - Retro </h1>
|
|
3
|
+
|
|
4
|
+
Lightweight retrospective management — create, tag, and archive retros from the command line.
|
|
5
|
+
|
|
6
|
+
<img src="https://raw.githubusercontent.com/cs3b/ace/main/docs/brand/AgenticCodingEnvironment.Logo.XS.jpg" alt="ACE Logo" width="480">
|
|
7
|
+
<br><br>
|
|
8
|
+
|
|
9
|
+
<a href="https://rubygems.org/gems/ace-retro"><img alt="Gem Version" src="https://img.shields.io/gem/v/ace-retro.svg" /></a>
|
|
10
|
+
<a href="https://www.ruby-lang.org"><img alt="Ruby" src="https://img.shields.io/badge/Ruby-3.2+-CC342D?logo=ruby" /></a>
|
|
11
|
+
<a href="https://opensource.org/licenses/MIT"><img alt="License: MIT" src="https://img.shields.io/badge/License-MIT-blue.svg" /></a>
|
|
12
|
+
|
|
13
|
+
</div>
|
|
14
|
+
|
|
15
|
+
> Works with: Claude Code, Codex CLI, OpenCode, Gemini CLI, pi-agent, and more.
|
|
16
|
+
|
|
17
|
+
[Getting Started](docs/getting-started.md) | [Usage Guide](docs/usage.md) | [Handbook - Skills, Agents, Templates](docs/handbook.md)
|
|
18
|
+
|
|
19
|
+

|
|
20
|
+
|
|
21
|
+
`ace-retro` helps teams capture learning while context is still fresh and maintain a searchable archive for follow-up improvements. Use [`ace-retro create`](docs/usage.md) to start a retro from the CLI (or `/as-retro-create` from an interactive agent session), and `/as-retro-synthesize` to distill patterns across multiple retros.
|
|
22
|
+
|
|
23
|
+
## How It Works
|
|
24
|
+
|
|
25
|
+
1. Create a retrospective from type-aware templates (standard, conversation-analysis, or self-review) with [`ace-retro create`](docs/usage.md).
|
|
26
|
+
2. Enrich metadata with tags and status updates.
|
|
27
|
+
3. Archive completed retros to preserve history while keeping the active workspace clean.
|
|
28
|
+
|
|
29
|
+
## Use Cases
|
|
30
|
+
|
|
31
|
+
**Capture retros quickly after delivery** - use `/as-retro-create` or [`ace-retro create`](docs/usage.md) to initialize a retro from templates while the work is still fresh.
|
|
32
|
+
|
|
33
|
+
**Synthesize patterns across retros** - use `/as-retro-synthesize` to distill recurring themes and improvement opportunities from multiple retrospectives.
|
|
34
|
+
|
|
35
|
+
**Review and maintain retro metadata** - list, show, and update retros with tags and status, then archive completed entries without losing searchability.
|
|
36
|
+
|
|
37
|
+
**Improve agent workflows over time** - use `/as-handbook-selfimprove` to feed retro insights back into handbook guidance for better future performance.
|
|
38
|
+
|
|
39
|
+
---
|
|
40
|
+
[Getting Started](docs/getting-started.md) | [Usage Guide](docs/usage.md) | [Handbook - Skills, Agents, Templates](docs/handbook.md) | Part of [ACE](https://github.com/cs3b/ace)
|
data/Rakefile
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
require "bundler/gem_tasks"
|
|
4
|
+
require "rake/testtask"
|
|
5
|
+
|
|
6
|
+
Rake::TestTask.new(:test) do |t|
|
|
7
|
+
t.libs << "test"
|
|
8
|
+
t.libs << "lib"
|
|
9
|
+
t.test_files = FileList["test/**/*_test.rb"]
|
|
10
|
+
end
|
|
11
|
+
|
|
12
|
+
task spec: :test
|
|
13
|
+
task default: :test
|
|
Binary file
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Showcase ace-retro creation, listing, show, and health checks
|
|
3
|
+
tags:
|
|
4
|
+
- ace-retro
|
|
5
|
+
- docs
|
|
6
|
+
- getting-started
|
|
7
|
+
settings:
|
|
8
|
+
font_size: 16
|
|
9
|
+
width: 960
|
|
10
|
+
height: 540
|
|
11
|
+
format: gif
|
|
12
|
+
scenes:
|
|
13
|
+
- name: Create a retro and capture its ID
|
|
14
|
+
commands:
|
|
15
|
+
- type: RETRO_ID=$(ace-retro create "Sprint Review" --type standard --tags sprint,team | ruby -ne 'if $_ =~ /\b([a-z0-9]{6})-[a-z0-9-]+\.retro\.md\b/; puts $1; break; end') && echo "Created ${RETRO_ID}"
|
|
16
|
+
sleep: 4s
|
|
17
|
+
- name: List active retros with tags
|
|
18
|
+
commands:
|
|
19
|
+
- type: ace-retro list
|
|
20
|
+
sleep: 6s
|
|
21
|
+
- name: Show a retro with full content (learnings, action items)
|
|
22
|
+
commands:
|
|
23
|
+
- type: ace-retro show "$RETRO_ID"
|
|
24
|
+
sleep: 8s
|
|
25
|
+
- name: Run health checks across all retros
|
|
26
|
+
commands:
|
|
27
|
+
- type: ace-retro doctor
|
|
28
|
+
sleep: 5s
|
|
29
|
+
teardown:
|
|
30
|
+
- cleanup
|
|
31
|
+
setup:
|
|
32
|
+
- sandbox
|
|
33
|
+
- copy-fixtures
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
sample fixture content
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
---
|
|
2
|
+
doc-type: user
|
|
3
|
+
purpose: Quickstart guide for creating, reviewing, and archiving retros with ace-retro.
|
|
4
|
+
ace-docs:
|
|
5
|
+
last-updated: '2026-03-22'
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Getting Started with ace-retro
|
|
9
|
+
|
|
10
|
+
Create your first retrospective, connect it to task work, and keep your workspace tidy with archive moves.
|
|
11
|
+
|
|
12
|
+
## Prerequisites
|
|
13
|
+
|
|
14
|
+
- Ruby installed
|
|
15
|
+
- `gem install ace-retro`
|
|
16
|
+
|
|
17
|
+
## Installation
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
gem install ace-retro
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
## 1) Create your first retrospective
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
ace-retro create "Sprint Review" --type standard --tags sprint,team
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
Create other retro types when needed:
|
|
30
|
+
|
|
31
|
+
```bash
|
|
32
|
+
ace-retro create "Session Review" --type conversation-analysis
|
|
33
|
+
ace-retro create "Weekly Self Review" --type self-review
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
## 2) View and list retros
|
|
37
|
+
|
|
38
|
+
Every retro gets a short ID (last 3 characters of a timestamp-based identifier). Use the ID printed by `create` (e.g. `q7w`) to inspect a specific retro:
|
|
39
|
+
|
|
40
|
+
```bash
|
|
41
|
+
ace-retro show q7w # replace q7w with the ID from step 1
|
|
42
|
+
ace-retro list
|
|
43
|
+
ace-retro list --in all
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
Use filters to focus your review queue:
|
|
47
|
+
|
|
48
|
+
```bash
|
|
49
|
+
ace-retro list --status active
|
|
50
|
+
ace-retro list --type standard
|
|
51
|
+
ace-retro list --tags sprint,team
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
## 3) Archive completed retros
|
|
55
|
+
|
|
56
|
+
```bash
|
|
57
|
+
ace-retro update q7w --set status=done --move-to archive # replace q7w with your retro ID
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
Archive moves keep active retros in your main workspace while preserving historical records.
|
|
61
|
+
|
|
62
|
+
## Common Commands
|
|
63
|
+
|
|
64
|
+
| Command | What it does |
|
|
65
|
+
|---------|-------------|
|
|
66
|
+
| `ace-retro create "..." --type standard` | Create a new retrospective |
|
|
67
|
+
| `ace-retro show <ref>` | Display one retro by ID or shortcut |
|
|
68
|
+
| `ace-retro list --in all` | List active and archived retros |
|
|
69
|
+
| `ace-retro update <ref> --set status=done` | Update retro metadata |
|
|
70
|
+
| `ace-retro update <ref> --move-to archive` | Move retro to archive |
|
|
71
|
+
| `ace-retro doctor` | Run retro health checks |
|
|
72
|
+
|
|
73
|
+
## What to try next
|
|
74
|
+
|
|
75
|
+
- Explore additional commands in [Usage Guide](usage.md)
|
|
76
|
+
- Browse workflows and skills in [Handbook Reference](handbook.md)
|
|
77
|
+
- Use runtime help: `ace-retro --help` and `ace-retro <command> --help`
|
data/docs/handbook.md
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
---
|
|
2
|
+
doc-type: user
|
|
3
|
+
purpose: Handbook index for ace-retro skills, workflows, and templates.
|
|
4
|
+
ace-docs:
|
|
5
|
+
last-updated: '2026-03-22'
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# ace-retro Handbook Reference
|
|
9
|
+
|
|
10
|
+
Complete catalog of skills, workflows, and templates shipped with `ace-retro`.
|
|
11
|
+
|
|
12
|
+
The `handbook/` directory contains canonical skill definitions and workflow instructions used by provider integrations and assignment-driven execution.
|
|
13
|
+
|
|
14
|
+
## Skills
|
|
15
|
+
|
|
16
|
+
| Skill | Purpose |
|
|
17
|
+
|-------|---------|
|
|
18
|
+
| `as-retro-create` | Capture a retrospective and move the idea file into the retro workspace |
|
|
19
|
+
| `as-retro-synthesize` | Synthesize multiple retrospectives into recurring patterns and recommendations |
|
|
20
|
+
| `as-handbook-selfimprove` | Analyze agent mistakes, update process guidance, and fix the immediate issue |
|
|
21
|
+
|
|
22
|
+
## Workflow Instructions
|
|
23
|
+
|
|
24
|
+
Load any workflow with `ace-bundle wfi://<namespace>/<action>`.
|
|
25
|
+
|
|
26
|
+
| Protocol Path | Description | Invoked by |
|
|
27
|
+
|--------------|-------------|------------|
|
|
28
|
+
| `wfi://retro/create` | Create a retrospective artifact from a task or idea context | `as-retro-create` |
|
|
29
|
+
| `wfi://retro/synthesize` | Aggregate retros into structured learnings | `as-retro-synthesize` |
|
|
30
|
+
| `wfi://retro/selfimprove` | Guided self-improvement flow for agent quality issues | `as-handbook-selfimprove` |
|
|
31
|
+
|
|
32
|
+
## Templates
|
|
33
|
+
|
|
34
|
+
| Template Path | Protocol | Purpose |
|
|
35
|
+
|---------------|----------|---------|
|
|
36
|
+
| `handbook/templates/retro/retro.template.md` | `tmpl://retro/retro` | Base markdown structure for a retrospective entry |
|
|
37
|
+
|
|
38
|
+
## Source Layout
|
|
39
|
+
|
|
40
|
+
```text
|
|
41
|
+
handbook/
|
|
42
|
+
skills/
|
|
43
|
+
as-retro-create/SKILL.md
|
|
44
|
+
as-retro-synthesize/SKILL.md
|
|
45
|
+
as-handbook-selfimprove/SKILL.md
|
|
46
|
+
workflow-instructions/retro/
|
|
47
|
+
create.wf.md
|
|
48
|
+
synthesize.wf.md
|
|
49
|
+
selfimprove.wf.md
|
|
50
|
+
templates/retro/
|
|
51
|
+
retro.template.md
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
## Runtime Discovery
|
|
55
|
+
|
|
56
|
+
```bash
|
|
57
|
+
ace-bundle wfi://retro/create
|
|
58
|
+
ace-bundle wfi://retro/synthesize
|
|
59
|
+
ace-bundle wfi://retro/selfimprove
|
|
60
|
+
```
|