@warpgogol/forge 5.3.0 → 5.3.2

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.
Files changed (45) hide show
  1. package/bin/cli.ts +24 -33
  2. package/dist/bin/cli.js +20 -32
  3. package/dist/bin/cli.js.map +1 -1
  4. package/dist/os/adr/handlers/implement-stamp.d.ts.map +1 -1
  5. package/dist/os/adr/handlers/implement-stamp.js +0 -1
  6. package/dist/os/adr/handlers/implement-stamp.js.map +1 -1
  7. package/dist/os/compass/compass.module.d.ts.map +1 -1
  8. package/dist/os/compass/compass.module.js +6 -2
  9. package/dist/os/compass/compass.module.js.map +1 -1
  10. package/dist/os/mission/handlers/archive.d.ts.map +1 -1
  11. package/dist/os/mission/handlers/archive.js +22 -4
  12. package/dist/os/mission/handlers/archive.js.map +1 -1
  13. package/dist/os/rfc/handlers/validate.d.ts.map +1 -1
  14. package/dist/os/rfc/handlers/validate.js +6 -1
  15. package/dist/os/rfc/handlers/validate.js.map +1 -1
  16. package/dist/os/werkstatt/handlers/workspace-deps.d.ts.map +1 -1
  17. package/dist/os/werkstatt/handlers/workspace-deps.js +0 -1
  18. package/dist/os/werkstatt/handlers/workspace-deps.js.map +1 -1
  19. package/dist/src/cli-flags.d.ts +28 -0
  20. package/dist/src/cli-flags.d.ts.map +1 -0
  21. package/dist/src/cli-flags.js +236 -0
  22. package/dist/src/cli-flags.js.map +1 -0
  23. package/dist/src/onboarding/agents-generate.d.ts.map +1 -1
  24. package/dist/src/onboarding/agents-generate.js +18 -5
  25. package/dist/src/onboarding/agents-generate.js.map +1 -1
  26. package/os/adr/handlers/implement-stamp.ts +0 -1
  27. package/os/compass/compass.module.ts +7 -2
  28. package/os/mission/handlers/archive.test.ts +38 -1
  29. package/os/mission/handlers/archive.ts +27 -4
  30. package/os/rfc/handlers/validate.test.ts +71 -0
  31. package/os/rfc/handlers/validate.ts +6 -1
  32. package/os/werkstatt/handlers/workspace-deps.ts +0 -1
  33. package/package.json +1 -1
  34. package/profiles/forge-shell.yaml +1 -1
  35. package/profiles/godot-game.yaml +1 -1
  36. package/profiles/knowledge.yaml +1 -1
  37. package/profiles/phaser-game.yaml +1 -1
  38. package/profiles/site-workshop.yaml +1 -1
  39. package/profiles/typescript.yaml +1 -1
  40. package/src/cli-flags.ts +284 -0
  41. package/src/onboarding/agents-generate.ts +20 -5
  42. package/src/tests/agents-generate.test.ts +22 -1
  43. package/src/tests/cli-flags.test.ts +175 -0
  44. package/src/tests/fixtures/agents-generate-business-before.txt +31 -2
  45. package/AGENTS.md +0 -532
@@ -103,8 +103,37 @@ This section defines the agent's core behavioral contract. It is generated from
103
103
 
104
104
  When the operator expresses an intent in natural language, the agent routes to the matching skill. The routing table is generated from `triggerPhrases` fields in skill frontmatter.
105
105
 
106
- | Operator says something like | Skill |
107
- | ---------------------------- | ----- |
106
+ | Operator says something like | Skill |
107
+ | --------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------- |
108
+ | "write tests for this code", "add unit tests", "add property-based tests", "write test coverage for this function" | `fo-add-tests` |
109
+ | "analyze codebase architecture", "find deepening opportunities", "review code structure quality" | `fo-architecture` |
110
+ | "manage Compass headers", "annotate source files with Compass", "audit Compass module contracts" | `fo-compass-annotate` |
111
+ | "design summit", "multi-persona review", "party mode" | `fo-design-summit` |
112
+ | "audit documentation sync", "update docs after code changes", "check AGENTS.md and README are in sync" | `fo-doc-audit` |
113
+ | "explore this idea", "let me think about this", "what are the options for", "what if we" | `fo-explore` |
114
+ | "extract DNA invariant", "discover architectural invariants", "formalize implicit architectural rules" | `fo-extract-dna` |
115
+ | "fix issues from review", "apply review findings and fix", "iterative fix workflow for code" | `fo-fix` |
116
+ | "create a handoff document", "compact conversation for next agent", "prepare handoff for another agent" | `fo-handoff` |
117
+ | "harvest portable patterns from code", "extract reusable code pattern to forge", "port this pattern to forge" | `fo-harvest` |
118
+ | "I have an idea for a change", "analyze this idea and route it", "decompose this feature idea", "does this need an RFC", "should I write an ADR for this" | `fo-idea` |
119
+ | "audit this RFC", "check RFC for ecosystem fit", "review RFC against DNA and forward-only rules" | `fo-idea-audit` |
120
+ | "record this architectural decision", "create an ADR", "document a local technical decision" | `fo-idea-create-adr` |
121
+ | "draft an RFC", "create a full RFC", "scaffold an RFC from template" | `fo-idea-create-rfc` |
122
+ | "enhance this RFC", "fix audit findings in RFC", "improve RFC based on audit" | `fo-idea-enhance` |
123
+ | "I just want to see the plan", "plan this feature without implementing", "run idea to plan pipeline" | `fo-idea-i-just-want-to-see-the-plan` |
124
+ | "I just want to see the result", "run the full pipeline automatically", "implement this end-to-end without pauses" | `fo-idea-i-just-want-to-see-the-result` |
125
+ | "implement this RFC", "execute the implementation plan", "realize this RFC end-to-end" | `fo-idea-implement` |
126
+ | "plan the implementation for this RFC", "create implementation plan", "map affected artifacts and draft steps" | `fo-idea-plan` |
127
+ | "show RFC and ADR status", "what is the status of this RFC", "list RFCs by status" | `fo-idea-status` |
128
+ | "distill knowledge", "compact skill knowledge", "knowledge lifecycle", "promote fix patterns" | `fo-knowledge-distill` |
129
+ | "sync memory from codex", "import external agent knowledge", "recall sessions from other tools", "sync memory from claude code" | `fo-memory-sync` |
130
+ | "I found a bug", "file a GitHub issue for this bug", "report a bug conversationally", "interactive QA session" | `fo-qa` |
131
+ | "review this code diff", "check code against Forge standards", "fitness check on code changes" | `fo-review` |
132
+ | "session retrospective", "triage session discoveries", "Завершаем эту сессию", "End session", "/session-end" | `fo-session-retro` |
133
+ | "save this session", "enhance session transcript with annotations", "save session with quality checks" | `fo-session-save` |
134
+ | "ingest external specification", "vendor spec package into docs", "author spec skeleton" | `fo-spec-ingest` |
135
+ | "commit after request", "auto-commit changes", "step commit" | `fo-step-commit` |
136
+ | "triage this issue", "categorize incoming bug report", "triage external pull request", "process feature request" | `fo-triage` |
108
137
 
109
138
  The agent uses judgment to calibrate routing — minor edits (typo fixes, small CSS changes) do not require skill invocation, while significant changes (new features, architectural decisions) do.
110
139