Bug reports, feature requests, work packages and pull requests open from templates #4

Closed
opened 2026-10-31 12:41:47 -04:00 by claude · 0 comments
Owner
  • Draft: PROC-3
  • Priority: high (people outside the project will file issues once the repository is public)
  • Agent: docs-writer
  • Depends on: #3
  • Decisions: Q-PROC-4, CLOSING-POLICY

Why

A bug report without the version, install method and storage engine cannot be triaged. A work package without acceptance criteria cannot be dispatched.

What changes

Forgejo's template support, verified on the instance (Forgejo 15.0.11, 2026-10-31, FORGEJO-FACTS.md): it reads .forgejo/ISSUE_TEMPLATE/ with YAML issue forms (name, description, title, labels, body items of type markdown, textarea, input, dropdown, checkboxes), Markdown templates with front matter (name, about, title, labels, ref) and config.yaml (blank_issues_enabled, contact_links); the API endpoints issue_templates, issue_config and issue_config/validate report them. The PR template path .forgejo/PULL_REQUEST_TEMPLATE.md is not verified (the web page needs a session): the writer checks it by hand in the web UI.

Files:

  • .forgejo/ISSUE_TEMPLATE/bug.yaml (form, labels kind/bug, status/needs-design). Required fields:

    • Ninlil version (release name or container tag);
    • how it runs (binary, package, container) and the OS;
    • storage engine;
    • steps to reproduce;
    • expected and actual result;
    • logs (render: text).

    These mirror SECURITY.md "What to include" (SECURITY.md:17-26). A markdown note at the top says vulnerabilities go by e-mail as SECURITY.md describes, never here (Q-PROC-4); Forgejo has no private single issues (FORGEJO-FACTS.md).

  • .forgejo/ISSUE_TEMPLATE/feature.yaml (form, kind/feature, status/needs-design): the problem, the proposed behaviour, other approaches considered, and the RFC if any. A note repeats the clean-room rule (CONTRIBUTING.md "Ground rules" 1).

  • .forgejo/ISSUE_TEMPLATE/work-package.md (Markdown, used by maintainers and the main session). Fields: Kind, Area, Priority, Milestone, Agent, Depends on, Decisions, then ### Why, ### What changes, ### Acceptance, ### Source. The Acceptance list links AGENTS.md "Before you finish" instead of copying it.

  • .forgejo/ISSUE_TEMPLATE/config.yaml: blank_issues_enabled: false, and a contact link "Report a vulnerability" pointing to SECURITY.md.

  • .forgejo/PULL_REQUEST_TEMPLATE.md (CLOSING-POLICY):

    • one sentence on what changes;
    • a Refs # line for every issue the PR works on, and a reminder: a feature PR never says Closes; the commit that finishes an issue carries Closes #n in its body, and the issue closes when that commit reaches main through the develop into main PR;
    • a short checklist that links AGENTS.md "Before you finish": build 0 warnings, tests by path, format, snapshot and client, migrations, ENVIRONMENT.md, README, and a CHANGELOG Unreleased entry with its issue link (#7).

Acceptance

  • GET /repos/{o}/{r}/issue_config/validate reports no error, and GET .../issue_templates lists the three templates.
  • The New issue page offers the three templates and the required fields block an empty submit (checked by hand on a scratch issue, then deleted).
  • A new PR shows the PR template (checked by hand in the web UI; note the result in the PR).
  • The YAML parses (python3 -c 'import yaml,sys; yaml.safe_load(open(sys.argv[1]))' <file> for each) and lint passes.
  • Every link in the templates resolves (#46's checker if merged, otherwise a scratch check over the changed files).

Source

  • BRIEF.md item (c). SECURITY.md:17-26. CONTRIBUTING.md:39-52. FORGEJO-FACTS.md.
  • Owner decisions 2026-10-31: Q-PROC-4 "keep e-mail"; CLOSING-POLICY (#5).
- **Draft:** PROC-3 - **Priority:** high (people outside the project will file issues once the repository is public) - **Agent:** docs-writer - **Depends on:** #3 - **Decisions:** Q-PROC-4, CLOSING-POLICY ### Why A bug report without the version, install method and storage engine cannot be triaged. A work package without acceptance criteria cannot be dispatched. ### What changes Forgejo's template support, verified on the instance (Forgejo 15.0.11, 2026-10-31, FORGEJO-FACTS.md): it reads `.forgejo/ISSUE_TEMPLATE/` with YAML issue forms (`name`, `description`, `title`, `labels`, `body` items of type `markdown`, `textarea`, `input`, `dropdown`, `checkboxes`), Markdown templates with front matter (`name`, `about`, `title`, `labels`, `ref`) and `config.yaml` (`blank_issues_enabled`, `contact_links`); the API endpoints `issue_templates`, `issue_config` and `issue_config/validate` report them. The PR template path `.forgejo/PULL_REQUEST_TEMPLATE.md` is not verified (the web page needs a session): the writer checks it by hand in the web UI. Files: - `.forgejo/ISSUE_TEMPLATE/bug.yaml` (form, labels `kind/bug`, `status/needs-design`). Required fields: - Ninlil version (release name or container tag); - how it runs (binary, package, container) and the OS; - storage engine; - steps to reproduce; - expected and actual result; - logs (`render: text`). These mirror SECURITY.md "What to include" (`SECURITY.md:17-26`). A markdown note at the top says vulnerabilities go by e-mail as SECURITY.md describes, never here (Q-PROC-4); Forgejo has no private single issues (FORGEJO-FACTS.md). - `.forgejo/ISSUE_TEMPLATE/feature.yaml` (form, `kind/feature`, `status/needs-design`): the problem, the proposed behaviour, other approaches considered, and the RFC if any. A note repeats the clean-room rule (CONTRIBUTING.md "Ground rules" 1). - `.forgejo/ISSUE_TEMPLATE/work-package.md` (Markdown, used by maintainers and the main session). Fields: Kind, Area, Priority, Milestone, Agent, Depends on, Decisions, then `### Why`, `### What changes`, `### Acceptance`, `### Source`. The Acceptance list links AGENTS.md "Before you finish" instead of copying it. - `.forgejo/ISSUE_TEMPLATE/config.yaml`: `blank_issues_enabled: false`, and a contact link "Report a vulnerability" pointing to SECURITY.md. - `.forgejo/PULL_REQUEST_TEMPLATE.md` (CLOSING-POLICY): - one sentence on what changes; - a `Refs #` line for every issue the PR works on, and a reminder: a feature PR never says `Closes`; the commit that finishes an issue carries `Closes #n` in its body, and the issue closes when that commit reaches `main` through the `develop` into `main` PR; - a short checklist that links AGENTS.md "Before you finish": build 0 warnings, tests by path, format, snapshot and client, migrations, ENVIRONMENT.md, README, and a CHANGELOG `Unreleased` entry with its issue link (#7). ### Acceptance - [ ] `GET /repos/{o}/{r}/issue_config/validate` reports no error, and `GET .../issue_templates` lists the three templates. - [ ] The New issue page offers the three templates and the required fields block an empty submit (checked by hand on a scratch issue, then deleted). - [ ] A new PR shows the PR template (checked by hand in the web UI; note the result in the PR). - [ ] The YAML parses (`python3 -c 'import yaml,sys; yaml.safe_load(open(sys.argv[1]))' <file>` for each) and lint passes. - [ ] Every link in the templates resolves (#46's checker if merged, otherwise a scratch check over the changed files). ### Source - BRIEF.md item (c). SECURITY.md:17-26. CONTRIBUTING.md:39-52. FORGEJO-FACTS.md. - Owner decisions 2026-10-31: Q-PROC-4 "keep e-mail"; CLOSING-POLICY (#5).
claude added this to the (deleted) milestone 2026-10-31 12:41:47 -04:00
Sign in to join this conversation.
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
lantea-one/ninlil#4
No description provided.