Commit graph

1 commit

Author SHA1 Message Date
Cursor Agent
f68d0148fd
feat(plugins): od atoms info <id> + Phase 6/7/8 catalog promotion
Plan AA2.

Two slices:

1. Catalog drift fix. apps/daemon/src/plugins/atoms.ts had
   nine atoms still tagged status='planned' even though their
   daemon impls landed across §3.N1-N4 / §3.O2-O5 / §3.P1-P2 /
   §3.Q2 / §3.S1. Promotes them to 'implemented' + adds the
   missing 'build-test' entry that was shipped without a
   matching catalog row. Net result: every atom in the catalog
   is now status='implemented'.

   Updated entries:
     code-import     planned \u2192 implemented
     design-extract  planned \u2192 implemented
     figma-extract   planned \u2192 implemented
     token-map       planned \u2192 implemented
     rewrite-plan    planned \u2192 implemented
     patch-edit      planned \u2192 implemented
     diff-review     planned \u2192 implemented
     handoff         planned \u2192 implemented
     build-test      (new)   \u2192 implemented

2. `od atoms info <id>` CLI + matching daemon route. New
   GET /api/atoms/:id returns the catalog row plus the bundled
   SKILL.md body (when one exists at
   plugins/_official/atoms/<id>/SKILL.md), so a user can read
   what the atom does + the prompt fragment that drives it from
   one CLI invocation.

   CLI behaviour:
     od atoms info code-import           # human-formatted
     od atoms info code-import --json    # raw JSON

Daemon tests: 1716 \u2192 1728 (+12 cases on plugins-atoms-info:
9 atoms confirmed promoted to 'implemented', build-test
catalog presence + matching task-kind, zero remaining 'planned'
atoms invariant, every atom has a non-empty taskKinds[]).

Co-authored-by: Tom Huang <1043269994@qq.com>
2026-05-09 16:53:09 +00:00