chore: Improve agent instructions #19
No reviewers
Labels
No labels
Agent
Ignore
Agent
In Progress
Agent
Planned
Agent
Planning
Agent
Ready
Agent
Triage
Compat
Breaking
Kind
Bug
Kind
Documentation
Kind
Enhancement
Kind
Feature
Kind
Security
Kind
Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
lucas/nanoKontroller2!19
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/agent"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Config-only change; the YAML is well-formed (the surrounding example lines stay comments because they start at column 0) and the prompt itself is clear and consistent — it draws the "what is wrong" / "what to do" line sharply enough that an agent can actually follow it. Two things worth confirming before merge, both inline.
@ -36,2 +36,2 @@# issue_handler: |# State the affected component and the blast radius before anything else.issue_handler: |Triage and root cause analysis are your entire job on this issue, on this turn and on every"on this turn and on every later turn in this session" lines up with the header comment above (
system_prompts): a session that has triaged an issue keeps usingissue_handlerfor the rest of its life.Worth double-checking what that means for the labels this repo already configures:
implementation.planning_label: Agent/Planningandplanned_label: Agent/Planned. If a planning run can land in the same session that did the triage, this prompt forbids exactly what that run is supposed to produce ("no plan", "no design options or comparison of approaches"), and theplan_issueprompt would be the one that never applies. If planning/implementation always get a fresh session with theplan_issue/implementerkind, then there's no conflict and this is fine as written — but it's the one way this prompt can misfire.@ -38,1 +49,4 @@Say nothing about what happens next: no readiness verdicts, no label suggestions, no offers toplan, implement, or open a pull request. End with the analysis.# pull_request: |Fragility note rather than a defect: these example lines are only comments because they start at column 0, i.e. are less indented than the block scalar body above. Anyone who later tidies them to line up with
issue_handler's 4-space body will silently turn them into prompt text instead of YAML keys, with no parse error to catch it.Moving the now-active
issue_handlerkey below the commented examples (or above all of them) would keep the real entry out of the middle of the example block and make that accident less likely.