From 65ec0a268423615ff77ac0989fcdabd5a6a8c651 Mon Sep 17 00:00:00 2001 From: agentson Date: Mon, 2 Mar 2026 23:07:10 +0900 Subject: [PATCH] docs: add live-operation issue tracking implementation plan --- ...tion-issue-tracking-implementation-plan.md | 203 ++++++++++++++++++ 1 file changed, 203 insertions(+) create mode 100644 docs/plans/2026-03-02-live-operation-issue-tracking-implementation-plan.md diff --git a/docs/plans/2026-03-02-live-operation-issue-tracking-implementation-plan.md b/docs/plans/2026-03-02-live-operation-issue-tracking-implementation-plan.md new file mode 100644 index 0000000..f9fb210 --- /dev/null +++ b/docs/plans/2026-03-02-live-operation-issue-tracking-implementation-plan.md @@ -0,0 +1,203 @@ +# Live Operation Issue Tracking Implementation Plan + +> **For Claude:** REQUIRED SUB-SKILL: Use superpowers:executing-plans to implement this plan task-by-task. + +**Goal:** Track real-operation confirmation for all open Gitea issues with per-issue comments and a synchronized summary on the `80` PR, then close issues in dependency-safe order. + +**Architecture:** Use issue tickets as the primary state log with a strict four-state lifecycle. Maintain one aggregate status comment on `task/80-implementation-audit-closeout` PR. Enforce child-first closure and parent close gating. + +**Tech Stack:** Git CLI, Gitea CLI (`tea`), Markdown (`docs/ouroboros/80_implementation_audit.md`) + +--- + +### Task 1: Snapshot open issues and classify parent-child graph + +**Files:** +- Create: none +- Modify: none +- Test: `tea issues ls` output inspection + +**Step 1: Capture open issue list** + +Run: `tea issues ls --state open --limit 200` +Expected: list of all open issues (including `318~381`). + +**Step 2: Fetch details for each issue** + +Run: `for n in $(tea issues ls --state open --limit 200 --output json | jq -r '.[].number'); do tea issue view "$n"; done` +Expected: issue bodies/comments available for relation parsing. + +**Step 3: Extract parent-child references** + +Run: parse issue text for relation keywords (`parent`, `child`, `depends on`, `blocks`). +Expected: dependency map ready. + +**Step 4: Validate unresolved dependency edges** + +Run: verify each parent references only existing issue numbers. +Expected: no dangling child references. + +**Step 5: Commit** + +```bash +# no commit (discovery task) +``` + +### Task 2: Initialize per-issue tracking comments (`NOT_STARTED`) + +**Files:** +- Create: none +- Modify: none +- Test: issue comment presence check + +**Step 1: Prepare standard template text** + +```text +Status: NOT_STARTED +Observed At: , +Environment: live +Evidence: N/A +Next: Begin live observation for this issue. +``` + +**Step 2: Post initialization comment to each open issue** + +Run: `tea issues comment --message "