Skip to content

[SOP] umbrella split flow should mandate commit log scan before filing sub-issues #11

@kiki830621

Description

@kiki830621

Problem

Encountered 2026-05-04 in ai_martech_global_scripts session:

When splitting an umbrella issue into N sub-issues (the established pattern that #502 → 6 sub-issues + #462 → 2 sub-issues etc), it's possible to file sub-issues for work that has already shipped in commits made before the umbrella was split.

Concrete recurrence

  • ai_martech_global_scripts #502 umbrella created 2026-04-29 01:42 UTC
  • Spectra change qef-attribute-bridge-types-and-na-handling shipped via commit 7292219 at 2026-04-29 09:10 UTC — addressed scope 1 + scope 2 of #502
  • Session @ 2026-05-04 split #502 into 6 sub-issues (#536-#541), including:
    • #536 = scope 1 (Layer 1 type-mismatch)
    • #537 = scope 2 (Layer 0 generator NA-scanning)
  • Both were already done but filed anyway (4-day-old commit existed).
  • Required retroactive close with closing summaries pointing at 7292219.

Wasted ~10 min audit + creates noise in Open issue list during split-to-retro-close window.

Proposed Process Fix

When the user invokes a split-umbrella workflow, the operating skill / agent should:

  1. Before filing each sub-issue, search commit log for keywords from the umbrella body:
    git log --oneline --grep "#<UMBRELLA>" --since="<umbrella creation date>"
    git log --oneline --grep "<spectra change name if mentioned in body>"
  2. Read commit messages for trailers like (#<umbrella> scope <N>) indicating which scopes have already shipped
  3. Surface to user before filing: "sub-issue #N candidate maps to commit XXX from ; already shipped — file as retroactive tracker, or skip?"
  4. Optionally check openspec/changes/archive/ for matching spectra change names

Suggested scope

Either:

  • (a) New skill: /idd-split-umbrella <issue#> that does pre-flight check
  • (b) Enhancement to existing skill: /idd-issue with --split-from <#> flag
  • (c) Documentation only: add SOP reminder

Type

enhancement (process / SOP)

Acceptance

  • Decision on (a) / (b) / (c)
  • If skill/flag added: implement git-log-scan + spectra-archive-scan + AskUserQuestion surfacing
  • If doc only: add rule reminder
  • Test: simulate the 2026-05-04 case and verify new flow surfaces it

Source

  • Triggering session: ai_martech_global_scripts #502 split (2026-05-04)
  • Sister principle: IC_R011 — files sub-issues willingly, but not for already-shipped work

Cross-reference

In ai_martech_global_scripts:

  • #536 closed retrospectively
  • #537 closed retrospectively

Current Status

Phase: closed
Last updated: 2026-05-07 by idd-close

Resolution

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions