Commit Graph

11 Commits

Author SHA1 Message Date
张宗平 1d5ab5c00b chore: add .gitignore for agent directories (.claude, .agents, .pi) 2026-06-10 21:03:59 +08:00
张宗平 e1b1469a4e chore: comet archive goal-driven-loop change
Comet lifecycle complete: open → design → build → verify → archive
All 44 unit tests passing, 16 E2E tests passing.
2026-06-10 20:43:28 +08:00
张宗平 0869060284 fix(ext): correct anti-trigger logic for code/quote blocks + blocker parsing
- trigger-detector: strip code blocks before pattern matching
  (triggers outside code blocks now fire)
- trigger-detector: use code-stripped content for quote and
  reported-speech anti-trigger checks
- state-injector: strip markdown list prefix from blocker text

Tests: 27/27 trigger-detector, 17/17 state-injector passing
2026-06-10 20:31:56 +08:00
张宗平 0dd652948e fix(ext): spec compliance fixes — stagnation recovery, comet fallback, quote anti-trigger, types, package.json
- trigger-detector: fix quote anti-trigger (only block if trigger exclusively in quotes)
- trigger-detector: add uncertainty fallback pattern (goal is/为 + deliverable)
- trigger-detector: add 'fix bug' to trivial keywords
- index.ts: implement stagnation auto-recovery injection
- index.ts: implement comet fallback when openspec not available
- index.ts: replace 'any' types with ExtensionContext
- index.ts: wire consecutiveStagnations counter
- Add package.json for extension discovery
2026-06-10 18:32:18 +08:00
张宗平 b5cabceb72 feat(ext): wire index.ts for goal-driven-loop extension 2026-06-10 17:35:26 +08:00
张宗平 60c88217ff feat(ext): add ui-prompts with timed auto-defaults 2026-06-10 17:34:53 +08:00
张宗平 137ebe1371 feat(ext): add state-injector for goal-driven-loop 2026-06-10 17:34:33 +08:00
张宗平 4eda494624 feat(ext): add trigger-detector for goal-driven-loop 2026-06-10 17:34:04 +08:00
张宗平 640a0075d6 feat(skill): add error-handling reference for goal-driven-loop 2026-06-10 17:33:18 +08:00
张宗平 bb4434cd73 feat(skill): add goal-driven-loop SKILL.md with core loop instructions 2026-06-10 17:32:48 +08:00
张宗平 49e581247b initial: pi-setup workspace with skill + extension plan 2026-06-10 17:30:43 +08:00