@cxi-lmai/ci-agent-platform 3.0.0

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/LICENSE +21 -0
  2. package/README.md +219 -0
  3. package/bin/init.mjs +236 -0
  4. package/package.json +47 -0
  5. package/payload/INSTALL.md +113 -0
  6. package/payload/agents/agent-architect.md +101 -0
  7. package/payload/agents/code-reviewer.md +87 -0
  8. package/payload/agents/codebase-auditor.md +73 -0
  9. package/payload/agents/coder.md +56 -0
  10. package/payload/agents/decomposer.md +70 -0
  11. package/payload/agents/docs-sync.md +115 -0
  12. package/payload/agents/e2e-test-writer.md +47 -0
  13. package/payload/agents/migration-reviewer.md +100 -0
  14. package/payload/agents/orchestrator.md +50 -0
  15. package/payload/agents/performance-reviewer.md +82 -0
  16. package/payload/agents/postmortem.md +83 -0
  17. package/payload/agents/release-mr.md +274 -0
  18. package/payload/agents/security-reviewer.md +122 -0
  19. package/payload/agents/test-fix.md +33 -0
  20. package/payload/agents/test-writer.md +40 -0
  21. package/payload/ci-templates/claude-pipeline.gitlab-ci.yml +233 -0
  22. package/payload/ci-templates/github/README.md +76 -0
  23. package/payload/ci-templates/github/claude-issue-pipeline.yml +141 -0
  24. package/payload/ci-templates/github/claude-pipeline.yml +141 -0
  25. package/payload/ci-templates/github/claude-test-fix.yml +104 -0
  26. package/payload/ci-templates/scripts/code.sh +114 -0
  27. package/payload/ci-templates/scripts/lib/issue-loop.sh +430 -0
  28. package/payload/ci-templates/scripts/lib/pipeline-common.sh +280 -0
  29. package/payload/ci-templates/scripts/lib/platform.sh +177 -0
  30. package/payload/ci-templates/scripts/lib/usage-capture.sh +110 -0
  31. package/payload/ci-templates/scripts/orchestrate.sh +294 -0
  32. package/payload/ci-templates/scripts/postmortem.sh +45 -0
  33. package/payload/ci-templates/scripts/review-fix.sh +90 -0
  34. package/payload/ci-templates/scripts/review.sh +93 -0
  35. package/payload/ci-templates/scripts/test-fix.sh +58 -0
  36. package/payload/skills/fix-review-findings/SKILL.md +79 -0
  37. package/payload/skills/fix-tests/SKILL.md +70 -0
  38. package/payload/skills/implement-issue/SKILL.md +62 -0
  39. package/payload/skills/init-pipeline-config/SKILL.md +96 -0
  40. package/payload/skills/postmortem-mr/SKILL.md +50 -0
  41. package/payload/skills/review-mr/SKILL.md +82 -0
  42. package/payload/skills/triage-issue/SKILL.md +74 -0
  43. package/payload/templates/pipeline-config.template.md +98 -0
  44. package/payload/templates/review_suppressions.template.md +25 -0
  45. package/payload/templates/spec-issue.template.md +64 -0
@@ -0,0 +1,64 @@
1
+ <!--
2
+ Spec template for issues intended for autonomous implementation (the ready
3
+ label). Fill in every mandatory section before applying the label.
4
+
5
+ IMPORTANT: the eight section headers below (## 1. Outcome ... ## 8. Out of
6
+ Scope) are load-bearing. The pipeline validates decomposed sub-issues against
7
+ them (see lib/issue-loop.sh, pipe_validate_decomposition). If you rename a
8
+ header or change a placeholder token here, update that validator to match.
9
+
10
+ Copy this file to the path in PIPE_SPEC_TEMPLATE_PATH
11
+ (GitLab default .gitlab/issue_templates/Spec.md,
12
+ GitHub default .github/ISSUE_TEMPLATE/spec.md).
13
+ -->
14
+
15
+ > Fill this into the issue DESCRIPTION, not a comment. The pipeline reads only the description for the spec check.
16
+
17
+ ## 1. Outcome
18
+ <!-- <one sentence>: what observable thing is true once this issue is closed?
19
+ Phrase as a state, not an activity. -->
20
+ TODO
21
+
22
+ ## 2. Context & Motivation
23
+ <!-- <why now>: the bug, request, or requirement that motivates this. 2-3 sentences. -->
24
+ TODO
25
+
26
+ ## 3. Acceptance Criteria
27
+ <!-- Observable, testable behaviors. At least two, each independently checkable. -->
28
+ - [ ] TODO
29
+ - [ ] TODO
30
+
31
+ ## 4. Scope Envelope
32
+ <!-- Be honest about size. One coder session handles roughly the capacity in the
33
+ pipeline config (default ~15 files / ~600 lines). Larger work is decomposed. -->
34
+ - Estimated files touched: TODO
35
+ - Layers / packages affected: TODO
36
+ - Fits in one coder session: TODO (yes / no; if no, decompose first)
37
+
38
+ ## 5. Existing Code Anchors
39
+ <!-- <at least one> pointer to model the implementation after: a class, a module,
40
+ a docs page, or all three. Prevents pattern drift. -->
41
+ - Model after: TODO
42
+ - Relevant docs: TODO
43
+
44
+ ## 6. Risk Flags
45
+ <!-- Check any that apply. Each checked box may trigger a specialist reviewer and
46
+ changes how the coder approaches the work. -->
47
+ - [ ] Schema migration
48
+ - [ ] Security-sensitive (auth, permissions, tenant isolation, secrets)
49
+ - [ ] Public API contract change
50
+ - [ ] Performance-critical (hot path, large query, batch job, N+1-prone)
51
+
52
+ ## 7. Test Plan
53
+ <!-- <what will be tested> and how we will know it works. Be specific. -->
54
+ - New tests to add: TODO
55
+ - Existing tests that must still pass: TODO
56
+
57
+ ## 8. Out of Scope
58
+ <!-- What this issue deliberately does NOT include. Prevents scope creep. -->
59
+ - TODO
60
+
61
+ <!-- Dependencies (GitHub has no native issue links): to say this issue waits on
62
+ another, write "Blocked by #N" here. The orchestrator's release poll reads
63
+ it back and promotes the issue once #N closes. On GitLab, native issue
64
+ links are used instead. -->