@openora/create 0.4.1-canary.108 → 0.4.1-canary.110

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 (58) hide show
  1. package/dist/.tsbuildinfo +1 -1
  2. package/dist/generated/core-version.d.ts +1 -1
  3. package/dist/generated/core-version.js +1 -1
  4. package/dist/index.js +16 -1
  5. package/dist/index.js.map +1 -1
  6. package/package.json +2 -2
  7. package/template/README.md.tpl +6 -6
  8. package/template/__dot__gitignore +3 -0
  9. package/template/__dot__rulesync/commands/check.md +11 -10
  10. package/template/__dot__rulesync/commands/doctor.md.tpl +17 -0
  11. package/template/__dot__rulesync/commands/scaffold-module.md +2 -1
  12. package/template/__dot__rulesync/commands/scaffold-plugin.md +1 -0
  13. package/template/__dot__rulesync/commands/scaffold-route.md +2 -1
  14. package/template/__dot__rulesync/commands/start.md +1 -1
  15. package/template/__dot__rulesync/hooks/_shared.mjs +5 -0
  16. package/template/__dot__rulesync/hooks/guard-generated.mjs +9 -2
  17. package/template/__dot__rulesync/hooks/guard-subagent.mjs +17 -5
  18. package/template/__dot__rulesync/hooks/post-edit.mjs.tpl +92 -0
  19. package/template/__dot__rulesync/hooks.json +22 -4
  20. package/template/__dot__rulesync/rules/conventions.md +29 -8
  21. package/template/__dot__rulesync/rules/db-conventions.md +17 -0
  22. package/template/__dot__rulesync/rules/e2e-conventions.md +2 -0
  23. package/template/__dot__rulesync/rules/frontend-conventions.md.tpl +35 -0
  24. package/template/__dot__rulesync/rules/oss-boundaries.md.tpl +60 -0
  25. package/template/__dot__rulesync/rules/overview.md +8 -0
  26. package/template/__dot__rulesync/skills/add-feature/SKILL.md.tpl +97 -0
  27. package/template/__dot__rulesync/skills/add-feature/{handoff.md → handoff.md.tpl} +9 -19
  28. package/template/__dot__rulesync/skills/create-plugin/{SKILL.md → SKILL.md.tpl} +12 -23
  29. package/template/__dot__rulesync/skills/create-pr/SKILL.md.tpl +32 -0
  30. package/template/__dot__rulesync/skills/create-task/{SKILL.md → SKILL.md.tpl} +14 -22
  31. package/template/__dot__rulesync/skills/create-ui-module/{SKILL.md → SKILL.md.tpl} +12 -10
  32. package/template/__dot__rulesync/skills/enhance-prompt/{SKILL.md → SKILL.md.tpl} +4 -4
  33. package/template/__dot__rulesync/skills/review/SKILL.md.tpl +165 -0
  34. package/template/__dot__rulesync/subagents/builder.md.tpl +90 -0
  35. package/template/__dot__rulesync/subagents/debugger.md.tpl +86 -0
  36. package/template/__dot__rulesync/subagents/deployer.md.tpl +54 -0
  37. package/template/__dot__rulesync/subagents/expert.md +28 -34
  38. package/template/__dot__rulesync/subagents/qa.md.tpl +61 -0
  39. package/template/__dot__rulesync/subagents/{quality-reviewer.md → quality-reviewer.md.tpl} +15 -3
  40. package/template/__dot__rulesync/subagents/{security-reviewer.md → security-reviewer.md.tpl} +7 -1
  41. package/template/__dot__rulesync/sync.json.tpl +21 -0
  42. package/template/docs/agents/forge.md.tpl +48 -0
  43. package/template/docs/agents/issue-tracker.md.tpl +41 -0
  44. package/template/docs/standards/database.md +1 -1
  45. package/template/docs/standards/enforcement.md +2 -2
  46. package/template/package.json.tpl +5 -1
  47. package/template/tools/sync-agents.mjs +162 -0
  48. package/template/__dot__rulesync/commands/doctor.md +0 -16
  49. package/template/__dot__rulesync/hooks/post-edit.mjs +0 -57
  50. package/template/__dot__rulesync/rules/oss-boundaries.md +0 -31
  51. package/template/__dot__rulesync/skills/add-feature/SKILL.md +0 -112
  52. package/template/__dot__rulesync/skills/create-pr/SKILL.md +0 -55
  53. package/template/__dot__rulesync/skills/review/SKILL.md +0 -117
  54. package/template/__dot__rulesync/subagents/builder.md +0 -93
  55. package/template/__dot__rulesync/subagents/debugger.md +0 -82
  56. package/template/__dot__rulesync/subagents/deployer.md +0 -66
  57. package/template/__dot__rulesync/subagents/qa.md +0 -88
  58. package/template/docs/agents/issue-tracker.md +0 -36
@@ -1,36 +0,0 @@
1
- # Issue tracker
2
-
3
- Work for this operator is tracked in `<your-tracker>` (Jira project `<KEY>`, Linear team, GitHub issues, ...). Requirements and reasoning live in `<your-wiki>` (a Confluence space, Notion, ...). Decisions that never made it into a ticket live in `<your-team-channel>`. Code review happens on the repo's merge requests.
4
-
5
- Fill in the placeholders above once; every skill that says "fetch the relevant ticket" reads this file.
6
-
7
- ## Keys and where they appear
8
-
9
- - Ticket key: `<KEY>-<n>`. `<KEY>-0` means "no ticket" (chores).
10
- - Branch: `<type>/<KEY>-<n>/<slug>`. MR description ends with `Closes <KEY>-<n>`.
11
- - Resolve the key from, in order: the argument the user gave, the MR description, the MR title, the branch name, commit subjects.
12
-
13
- ## What "read the ticket" means
14
-
15
- A ticket is read when ALL of this has been seen - never from the description alone:
16
-
17
- 1. Description and acceptance criteria.
18
- 2. Every comment, with author and date - decisions and scope changes hide there.
19
- 3. Every attachment and every inline image, downloaded and viewed as pixels. Filenames, thumbnails and metadata prove nothing.
20
- 4. Parent epic and linked issues named by the AC.
21
- 5. Every wiki page the ticket links - its body, its images, its comments. The AC are the spec; the page behind them is the reasoning.
22
- 6. A chat thread, only when the ticket or MR says the design or decision lives there. Optional otherwise.
23
-
24
- How: use a reader that returns the image bytes. For Jira + Confluence that is the `atlassian-read` skill (`read.py issue <KEY>-<n>`, then `page <id>` per linked page) or the REST API with an API token: Jira `GET /rest/api/3/issue/<KEY>-<n>?fields=summary,status,description,attachment,comment,issuelinks,parent` and `GET /rest/api/3/attachment/content/<id>`; Confluence `GET /wiki/api/v2/pages/<id>?body-format=atlas_doc_format`, `/attachments`, `/footer-comments`, `/inline-comments`. Bodies are ADF: `text` nodes carry prose, `media` nodes carry images (`attrs.alt` is the Jira attachment filename; on Confluence `attrs.id` is the attachment `fileId`). The Atlassian MCP is fine for search, text and writes, but returns no image bytes - it is never sufficient on its own when attachments exist.
25
-
26
- Credentials are personal and come from a local, untracked env file. Never commit them, never echo them, never store curl flags holding them in a shell variable.
27
-
28
- ## When a skill says "fetch the relevant ticket"
29
-
30
- Run the protocol above and distill: goal in one line, AC quoted as bullets, decisions from comments (who, when), design references (which screenshot shows what), out-of-scope lines. Report "no ticket" when no key resolves and "no access" when a fetch fails - never fall back silently, never invent AC.
31
-
32
- ## Writing
33
-
34
- - Never comment on, transition, or edit a ticket or wiki page unless the user asks for that exact write. Reading authorizes nothing.
35
- - MR comments go through the repo's CLI (`review --post`), draft-and-confirm.
36
- - Chat: draft only, never send.