An AโZ, human-gated ticket pipeline for the UNIOSS team.
A GitLab ticket in โ an investigated, planned, coded, reviewed, tested, ship-ready change out.
An AI Agent plugin by ttncode.
โก Fast setup
- Two commands to install;
/unioss-doctorchecks deps. - Zero config on a standard UNIOSS environment.
- Every setting in one file
config.mjs.
๐ค Automation (AโZ)
- Reads the GitLab ticket + linked issues, analyzes the dumped production DB and codebase.
- Runs all the stages automatically: Investigate โ Spec โ Plan โ Code โ Review โ Verify โ Ship.
- Rounds โ customer feedback continues with new rounds on the same ticket.
- One command opens the staging / customer MRs with the right branch, reviewers, and options.
โ Quality & safety
- Human-gated โ stops at 4 gates (spec, plan, review, ship). No runaway edits.
- Review enforces the UNIOSS CI3 + PHP 8.1 clean-code + security checklist.
- Real tests โ PHPUnit in Docker; UI driven in a real browser (Playwright) with screenshots.
- Never commits or pushes a protected branch โ a hook blocks it, not just a rule in a doc.
๐ง Team knowledge
- Every ticket turned into an agent-written report in your language โ ask what happened today, this week, or on any past ticket without digging through GitLab.
- Ask free-form questions like "what did customers complain about this week?" and get an answer, not a search.
- Facts and rules learned from past tickets carry forward automatically into new investigations, so the pipeline gets sharper over time.
โญโ UNIOSS Pipeline ยท AP#1834 ยท round-1 โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ โ
โ # Stage Runs as Output โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ 1 Investigate subagent ยท opus INVESTIGATION + REPORT โ
โ โ GATE 0 you clarify (only if unclear) โ
โ 2 Spec subagent ยท opus SPEC.md โ
โ โ GATE 1 you approve spec / edit โ
โ 3 Plan subagent ยท opus IMPLEMENTATION_V1 โ
โ โ GATE 2 you approve plan / edit โ
โ 4 Code main ยท sonnet CHANGES.md + fast tests โ
โ 5 Review subagent ยท opus REVIEW.md โ
โ โ GATE 3 you fix / accept โ
โ 6 Verify subagent ยท sonnet TEST_RESULTS.md (DB+UI) โ
โ 7 Finalize main branch + commit (no push/MR) โ
โ โ
โ Gates stop for approval. Nothing runs until you confirm. โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
Artifacts land in .walkthrough/<PREFIX>#<IID>/round-<N>/, surfaced as Ctrl+Click-able paths.
Pipeline (unioss-pipeline plugin)
| Command | What |
|---|---|
/unioss-pipeline <gitlab-url> |
New ticket โ e.g. /unioss-pipeline https://gitlab.unioss.jp/unioss/AdminPage/-/work_items/1834 |
/unioss-feedback <gitlab-url> |
Customer feedback โ continues in a new round, not a restart |
/unioss-task "<description>" |
No ticket โ e.g. /unioss-task "Add a CSV export button to the sales-ledger screen" |
/unioss-mr-feedback <mr-url> [...] |
Verifies and applies another developer's review comments โ standalone, not part of the AโZ pipeline |
/unioss-ship staging |
MR into v3-develop-tps โ previews the plan and waits for "Proceed?" first |
/unioss-ship customer |
MR into v3-develop โ syncs v3-master, re-runs tests, previews the plan and waits for "Proceed?" first |
/unioss-api-spec <endpoint|controller> |
Write the house-template API spec for a new/changed endpoint |
/unioss-doctor |
Check deps, containers, token, browser |
Knowledge (unioss-knowledge plugin)
| Command | What |
|---|---|
/unioss-knowledge-today |
Today's new tickets โ agent-written reports in your language |
/unioss-knowledge-ticket <gitlab-url> |
Full report for one ticket (analysis + AC + direction) |
/unioss-knowledge-ask "<question>" [period] |
Ask anything โ e.g. /unioss-knowledge-ask "What did customers complain about this week?" |
/unioss-knowledge-refresh [daily|weekly|monthly|yearly] |
Refresh from tickets โ run /unioss-knowledge-approve after |
/unioss-knowledge-approve |
Approve staged rules โ only then injected into the agents' brain |
/unioss-knowledge |
Status โ freshness of the knowledge base |
/plugin marketplace add https://github.com/ttncode/unioss-plugins
/plugin install unioss-pipeline
/plugin install unioss-knowledgeagy plugin install https://github.com/ttncode/unioss-pluginscodex marketplace add https://github.com/ttncode/unioss-plugins
codex plugin install unioss-pipeline
codex plugin install unioss-knowledgeAfter installation, run /unioss-doctor (or ask the agent to run doctor check) to verify the environment.
Typical working combos:
A ticket, start to ship
/unioss-knowledge-ticket <gitlab-url>โ quick report read before committing to it (optional)/unioss-pipeline <gitlab-url>โ full AโZ run, approve at each gate/unioss-ship stagingโ open the staging MR
Customer feedback on a shipped ticket
/unioss-feedback <gitlab-url>โ new round on the same ticket/unioss-ship stagingโ re-ship/unioss-ship customerโ when staging is confirmed OK
Morning catch-up
/unioss-knowledge-todayโ what came in today, one report per ticket/unioss-knowledge-ask "What did customers complain about this week?"โ dig into anything
Weekly knowledge upkeep (keeps agents sharp)
/unioss-knowledge-refresh weeklyโ distill sentiment, rebuild the global brief, stage rules/unioss-knowledge-approveโ review staged rules; approved ones are injected into every agent session/unioss-knowledgeโ confirm freshness
Something broke? โ /unioss-doctor first.
One file holds everything: .walkthrough/.config/unioss.config.json (gitignored, shared by both plugins). /unioss-doctor creates it for you.
- Scaffold:
node "${CLAUDE_PLUGIN_ROOT}/scripts/config.mjs" initโ writes every key, grouped per-machine โ per-team โ project-wide. - Resolution: env โ file โ default, deep-merged.
- Module keys (
admin-page,front-end,common-helper,common-models) are the one vocabulary:source.modules.<key>is its path on disk,gitlab.projects.<key>is its GitLab project id. - Inspect / validate:
config.mjs printยทconfig.mjs check(/unioss-doctorruns check). - Wrong module paths:
config.mjs scanlocates them;scan --writerepairs the file (/unioss-doctoroffers this). - Secrets (env only):
GITLAB_TOKEN(required) ยทDB_PASSWORD(optional). - Tester browser:
! npx playwright install --with-deps chromeif Chrome is missing. - Tester URLs/credentials are not config โ they live in
skills/unioss-verify/tester-access.md.
| Dependency | Required | Notes |
|---|---|---|
| Node.js | โ | Hooks and scripts |
| jq | โ | JSON processing |
Docker + mysql-unioss3 + php-unioss3 |
โ | DB + PHP runtime |
GITLAB_TOKEN env var |
โ | GitLab API access |
| Google Chrome | โญ | Tester UI verification |
Run /unioss-doctor to check them all at once.