gitea_issue_templates description names the wrong template directory #47
Labels
No labels
area/dsh
area/forgejo
experiment
priority/later
priority/next
priority/now
type/bug
type/task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
dsh-plugins/dsh-gitea#47
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Problem
The
gitea_issue_templatestool definition says:but
lib/issue-templates.jsresolves the default directory as:i.e. it prefers the plugin's bundled pack (
assets/issue-templates/, the seven house forms) and only falls back to.gitea/ISSUE_TEMPLATE/when the assets are absent. This checkout hasassets/issue-templates/(bug, feature, tech-debt, security, incident, research, config-change) and no.gitea/directory at all, so the description points the model at the path that is not used.Impact
An agent reading the tool description expects to manage the repository's own
.gitea/ISSUE_TEMPLATE/and can misreport where templates come from (or conclude a repo has none). The new README had to describe the real behaviour ("the plugin ships a house set; you can point it at another directory") instead of the schema text.Expected
Describe the real default: "List and validate the bundled Gitea YAML issue-form pack (
assets/issue-templates/), or the files indirwhen given." Keep the optionaldirparameter in the description.Acceptance
lib/tool-defs/issues.jsdescription names the bundled pack, not.gitea/ISSUE_TEMPLATE/.diroverrides it.npm run checkgreen.