mirror of
https://github.com/alibaba/higress.git
synced 2026-07-23 12:50:34 +08:00
Signed-off-by: johnlanni <johnlanni@users.noreply.github.com> Co-authored-by: johnlanni <johnlanni@users.noreply.github.com> Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2.1 KiB
2.1 KiB
name, description, license, compatibility, metadata
| name | description | license | compatibility | metadata | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| issue-spec-apply | Implement PROCESS comments for an issue-spec change and keep PR traceability synchronized. | MIT | Requires issue-spec CLI. |
|
Issue Spec Apply
Use when the user asks for /issue-spec:apply, issue-spec apply, or implementing PROCESS/TASK scopes from an issue-spec change.
Steps
- Read proposal/design/implement issue context and list typed comments with issue-spec comment list --json.
- Confirm issue-spec auth status --json includes the expected GitHub backend. Local gh-authenticated sessions can use the native gh backend; keep ISSUE_SPEC_TOKEN="$(gh auth token)" only as an older-version or forced-rest compatibility path.
- Create or update PROCESS comments with owner agent, scope, dependencies, write ownership, and status.
- Split non-trivial work into independent worker PROCESS nodes when file/module ownership does not overlap; execute independent workers in parallel when available.
- Add dedicated review PROCESS nodes for non-trivial changes. Review PROCESS nodes should own review scopes such as CLI/API behavior, workflow docs, tests, compatibility, or security-sensitive surfaces.
- Link each PROCESS to its TASK comments with issue-spec link.
- Implement the code changes for one PROCESS scope at a time, or integrate completed worker outputs by dependency order.
- Link every worker and review PROCESS to the PR with issue-spec pr link-process.
- Add PR rationale comments on key changed lines with issue-spec pr rationale, each linked to a SPEC comment.
- Mark PROCESS comments done only after implementation/review work and focused verification evidence exist.
Coordinator DAG Execution
- Build the ready set from PROCESS nodes whose dependencies are done.
- Keep immediate blocking work local when the next step depends on it.
- Spawn or assign independent worker agents only when their write ownership is disjoint.
- Spawn or assign independent review agents only when their review scopes are disjoint.
- Integrate completed outputs by dependency order and update PROCESS evidence before marking done.