Skip to content

fix(core): label managed issues with the bundling method's name - #1

Merged
phense merged 1 commit into
mainfrom
fix/method-label-from-identity
Nov 13, 2026
Merged

phense merged 1 commit into
mainfrom
fix/method-label-from-identity

Conversation

@phense

@phense phense commented Nov 13, 2026

Copy link
Copy Markdown
Owner

Problem

backlog-to-issues labelled every managed issue engineering-method, also in a Writing Method repository (writing-method#1).

Change

  • The label is read from the method.json of the plugin that bundles Core. Core's own checkout, or an unreadable or malformed identity, keeps the historical name.
  • The historical label stays a controlled label, so an issue created under it loses it on the next synchronization and gets the method's own label. Foreign labels are preserved as before.
  • Label descriptions name the method ("Managed by Peter's Writing Method.").
  • Engineering Method behaviour is unchanged: its method.json names engineering-method.

Verification

  • python3 -m unittest discover -s tests -t . -v: 164 tests pass.
  • python3 scripts/validate-plugin: passes.
  • New tests in tests/test_method_identity.py: identity lookup, fallback for a missing or unusable identity, descriptions, relabelling of an issue created under the historical name.
  • tests/test_issues_regressions.py now refers to the active label instead of a literal, so the exported tests also pass inside a consumer with another name.

After merging

Synchronize both consumers to the merged revision. Please merge with a merge commit: writing-method PR for WM-001 pins this branch's commit in its core lock.

🤖 Generated with Claude Code

The issue label was hard-coded to engineering-method, so a Writing Method
backlog was labelled as Engineering Method work. The label now comes from
the method.json of the plugin that bundles Core; Core's own checkout and an
unreadable identity keep the historical name. The historical label stays
controlled, so an issue created under it is relabelled on the next
synchronization. Label descriptions name the method.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@phense
phense merged commit b202d7a into main Nov 13, 2026
2 checks passed
@phense
phense deleted the fix/method-label-from-identity branch November 13, 2026 12:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant