Skip to content

docs(issue-templates): make optionality marking consistent across the three forms #67

Closed

Description

@kyle-sexton

Summary

The three issue forms mark optional fields three different ways:

Field File How optionality is signalled
area all three forms literal (optional) suffix in the description
environment bug-report.yml nothing
cadence task.yml prose — "Leave blank for one-off tasks."

Why this is worth a decision now

The redundant validations: {required: false} blocks were removed in b8aa846 (they restated the schema default and changed nothing about rendering). A side effect: the (optional) text is now the only in-file signal that a field is optional. That makes "just drop (optional) everywhere" a bigger call than it looks, even though GitHub already marks required fields in the rendered form.

Options

  1. Drop (optional) everywhere — GitHub marks required fields with an asterisk, so the suffix is arguably redundant to a reader of the rendered form.
  2. Add (optional) to environment and convert cadence's prose to match — consistent, more verbose.
  3. Leave it — decide the current mix is fine.

This is a user-facing product-copy decision across three files, which is why it was not applied automatically.

Scope

Trivial to execute once the direction is chosen.

Provenance

Surfaced as a deferred item by an automated repository-wide simplification sweep (/code-tidying:batch-simplify repo docs).

Activity

  1. added
    needs-triage
    on Aug 23, 2026
  2. added theissue type on Aug 23, 2026
  3. self-assigned this
    on Aug 23, 2026
  4. kyle-sexton commented on Aug 23, 2026

    @kyle-sexton
    MemberAuthor
    No description provided.
  5. kyle-sexton commented on Aug 23, 2026

    @kyle-sexton
    MemberAuthor

    This was generated by AI during triage.

    Triage notes: Verified against the current state of the three issue form files — bug-report.yml, task.yml, feature-request.yml. The reported inconsistency is confirmed exactly as described: area's description carries a literal (optional) suffix in all three forms, environment (bug-report.yml) carries no optionality marking at all, and cadence (task.yml) signals optionality only through prose ("Leave blank for one-off tasks."). No existing implementation already normalizes this. No docs/out-of-scope/ ledger entry matches this concept. Checked #66 and #69 (both open issue-templates items from the same intake batch): #66 is an unrelated decision (whether cadence has a downstream consumer at all); #69 is a related-but-distinct decision (voice/tense of the area description, not optionality signaling) that happens to touch the same lines — not clustering these, but flagging the overlap below.

    Routing: decision-defaulted. This is a single-fork, fully reversible product-copy choice with a well-grounded default (GitHub's rendered issue form already marks required fields with an asterisk, so an explicit (optional) suffix is redundant information). A maintainer can veto and flip to the opposite convention with a one-line-per-file revert.

    Agent Brief

    Type: Task
    Summary: Normalize optionality signaling across the three issue form YAML files by dropping the redundant (optional) suffix, relying on GitHub's native required-field asterisk instead.

    Current behavior:

    • bug-report.yml, task.yml, feature-request.yml: the area field's description ends with a literal (optional) suffix.
    • bug-report.yml: the environment field's description carries no optionality marking.
    • task.yml: the cadence field's description signals optionality via prose ("Leave blank for one-off tasks.").

    Desired behavior (RECOMMENDED default):
    Remove the (optional) suffix from the area field's description in all three forms. Do not add any replacement marker — GitHub's rendered form already marks required fields with an asterisk, so an unmarked field reads as optional without restating it in prose. Leave environment's description as currently written (already unmarked, already consistent with this direction). Leave cadence's prose as currently written — "Leave blank for one-off tasks" conveys functional behavior (what leaving it blank causes), not just an optionality tag, so it is not purely redundant the way (optional) is and stays as-is.

    Vetoable alternative (reversible): Instead of removing markers, make them uniformly explicit — add (optional) to environment's description and rewrite cadence's description to lead with an explicit "(optional)" tag before its explanatory prose. Equally valid, more verbose. A maintainer preferring belt-and-suspenders clarity over relying on the rendered asterisk can flip to this direction; the edit surface is the same three lines either way.

    Key interfaces:

    • .github/ISSUE_TEMPLATE/bug-report.yml — area field description attribute (drop the (optional) suffix)
    • .github/ISSUE_TEMPLATE/task.yml — area field description attribute (drop the (optional) suffix)
    • .github/ISSUE_TEMPLATE/feature-request.yml — area field description attribute (drop the (optional) suffix)

    Acceptance criteria:

    • No field description across the three issue form YAML files contains a literal (optional) suffix
    • environment's description (bug-report.yml) and cadence's description (task.yml) are left textually unchanged
    • Each form's YAML remains valid and renders correctly as a GitHub issue form (no schema/validation regressions)
    • No validations: required blocks are added or restated (that redundancy was already removed upstream; this change does not reintroduce it)

    Out of scope:


    Decision defaulted: drop the (optional) suffix from the area field across all three issue forms (rely on GitHub's native required-field asterisk instead of restating optionality in prose) — veto before merge.

  6. added
    agent-ready
    status: ready
    and removed
    needs-triage
    on Aug 23, 2026
  7. kyle-sexton commented on Aug 23, 2026

    @kyle-sexton
    MemberAuthor

    This was generated by AI in the autonomous worker lane.

    Lease takeover. The prior lease on this item was held by MELO-LAP-001-triage-202608230449 and has expired — it was acquired and last renewed at the timestamp in that lease comment, with a 1-hour TTL, and was never renewed or released.

    Taking it over as melo-lap-001-worker-202608230449 to carry the item to a review-ready pull request.

    For the record, this is a lane-protocol observation rather than a collision: the triage lane takes a lease while triaging and does not release it when it flips an item to agent-ready, so every handed-off item is unavailable to the worker lane until its lease lapses about an hour later. Releasing the lease as part of the agent-ready flip would remove the delay entirely.

  8. kyle-sexton commented on Aug 23, 2026

    @kyle-sexton
    MemberAuthor

    Lease released by melo-lap-001-worker-202608230449 — work complete, PR #97 open and close-linked. This item is free for another lane.

  9. kyle-sexton commented on Aug 23, 2026

    @kyle-sexton
    MemberAuthor

    This was generated by AI in the autonomous worker lane (melo-lap-001-worker-202608230449).

    Handoff: PR #97 is open and close-linked — premise re-verified at origin/main, the (optional) suffix dropped from area in all three forms, independent review returned approve-with-nits (both should-fixes applied), and #69's voice surface left untouched. Note for the merger: #97 conflicts textually with #94 in task.yml (adjacent lines); whichever lands second takes a one-line resolution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

agent-readystatus: ready

Type

Fields

No fields configured for Task.

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions