You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
✨ feat(cli): add --tag filtering and metadata to list-command-examples
- Add --tag flag for filtering catalog by fixture category
- Add tags and summary fields to manifest entries
- Enforce non-empty tags and summary at parse time
- Update docs to describe new filtering and metadata
Reports the same hygiene targets without deleting them. `--target-profile` can enable common audit target sets before you add path, age, fail-if-matched, or `--summary-only` controls.
87
87
-`codex-mem list-command-examples`
88
-
Prints the embedded import/follow example-manifest catalog shipped with the binary so operators and maintainers can discover the checked-in sample outputs without browsing the source tree. Add `--json` for a machine-readable catalog, `--command <name>` to filter to one command family, or `--format text|json` to keep only one example-output format.
88
+
Prints the embedded import/follow example-manifest catalog shipped with the binary so operators and maintainers can discover the checked-in sample outputs without browsing the source tree. Catalog entries now carry stable `tags` plus a short summary. Add `--json` for a machine-readable catalog, `--command <name>` to filter to one command family, `--format text|json` to keep only one example-output format, or `--tag <name>` to browse one fixture category such as `audit-only` or `target-profile`.
89
89
-`codex-mem migrate`
90
90
Opens the configured SQLite database and applies embedded migrations.
Copy file name to clipboardExpand all lines: docs/go/maintainer/dev-kickoff.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -58,6 +58,7 @@ Current standing decisions worth preserving:
58
58
- configuration loading uses `viper`
59
59
- SQLite uses `modernc.org/sqlite`
60
60
-`modelcontextprotocol/go-sdk` is the only MCP runtime path
61
+
- do not point `GOCACHE` into the repository workspace; if a cache override is needed for local verification, use a temp directory outside the project tree
Copy file name to clipboardExpand all lines: docs/go/maintainer/development-tracker.md
+28Lines changed: 28 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -151,6 +151,34 @@ Immediate next tasks:
151
151
152
152
### 2026-03-18 Session Update
153
153
154
+
- Completed: Tightened command-example manifest parsing so each entry must now carry non-empty `tags` and `summary` metadata, not just the required command/name/format/path fields. Parser coverage now explicitly rejects missing metadata alongside malformed or empty tag lists, so the embedded example catalog contract is enforced at parse time instead of only by higher-level tests.
155
+
- In progress: none.
156
+
- Blockers: none.
157
+
- Next step: keep this operator-catalog line focused on correctness and low-maintenance guarantees unless a clearly necessary usability gap shows up.
158
+
159
+
### 2026-03-18 Session Update
160
+
161
+
- Completed: Hardened the embedded command-example catalog tests so every JSON-visible example entry must carry non-empty `tags` and `summary` metadata, and tightened manifest tag parsing to trim whitespace, dedupe repeated tags, and reject empty tag slots in hand-edited `tags=` values.
162
+
- In progress: none.
163
+
- Blockers: none.
164
+
- Next step: keep future operator-catalog changes focused on data quality and maintenance safety unless a clearly useful discovery feature is needed.
165
+
166
+
### 2026-03-18 Session Update
167
+
168
+
- Completed: Added `--tag` filtering plus embedded `tags` and `summary` metadata to `list-command-examples`. The manifest now classifies fixtures with stable labels such as `audit-only`, `target-profile`, `filtered`, `dry-run`, and input-shape tags, while also carrying a short human-readable purpose string for each example. Text and JSON output share the same command/format/tag filter pipeline, and sync/runtime coverage verifies the richer manifest format plus tag-based filtering.
169
+
- In progress: none.
170
+
- Blockers: none.
171
+
- Next step: decide whether the current tags-plus-summary catalog is enough, or whether operators would benefit from one more discovery aid such as sorting or another filter dimension.
172
+
173
+
### 2026-03-18 Session Update
174
+
175
+
- Completed: Recorded a maintainer workflow constraint that `GOCACHE` must not point into the repository workspace. If a local cache override is needed for Go verification on this machine, it should use a temporary directory outside the project tree so the working tree does not accumulate cache artifacts.
176
+
- In progress: none.
177
+
- Blockers: none.
178
+
- Next step: continue the current operator-facing extension work without reintroducing repo-local Go cache state.
179
+
180
+
### 2026-03-18 Session Update
181
+
154
182
- Completed: Added `--format` filtering to `list-command-examples`, including repeated and comma-separated format selectors. Text and JSON output now share the same embedded-manifest filtering path across command and format filters, runtime coverage verifies mixed command+format filtering plus argument rejection, and operator docs now show how to browse only text or JSON fixtures.
If a deliberate output change makes those fixtures drift, refresh the ingest fixtures from the repository root through the test-only maintainer helper:
0 commit comments