fix(server): state literal args of the plan-issue read calls #278
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 project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
lucas/omp-deck!278
Loading…
Reference in a new issue
No description provided.
Delete branch "agent/issue-273-plan-issue-literal-args"
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?
Plan-issue sessions kept calling
forgejo_read_issue/forgejo_list_issue_commentswith GitHub'sissue_number, because discoverable tools contribute only a catalog line to the prompt — their parameter schema is never shown, so the shape is guessed from priors.Both prompts that start a plan-issue flow already know the issue number, so they now state the argument objects verbatim:
planIssueSystemContextissue seed:forgejo_read_issue({"number": N}), thenforgejo_list_issue_comments({"number": N, "page": 1}, paging on)..omp/commands/plan-issue.mdstep 1#Nbullet: same shape, withNsymbolic.The tool schema is deliberately untouched: no
issue_numberalias,numberedParams/foldIndexAliaskeepnumber+indexas they are.Verified from
apps/server:bun test src/forgejo/plan-issue.test.ts(18 pass) andbun run typecheckclean. The end-to-end check (a real plan-issue session's first call succeeding without a validation retry) needs the deck UI and is left to review.Closes: #273