feat: allow local log entries to select an issue form
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 265
- Forks
- 10
- PR merge metrics
- No merged PRs in 30d
Description
Problem
A repository can currently configure one local issue form for every Frog entry. frog log --label can distinguish a class of friction, but the entry is still scaffolded and validated against the repository's single configured form.
Some friction needs structured evidence that does not fit the default form. For example, a flaky-test entry should capture the failing command and output, an unchanged passing retry, environment, and observed frequency.
Proposal
Add a local template override to frog log:
frog log --template flaky-test.yml --label flaky-test "test name: failure"
--template <path-or-name> would resolve the same way as inbound.template: either a full path or a filename under .github/ISSUE_TEMPLATE. When present, it would override the configured or discovered local form for scaffolding and body validation. Existing behavior would remain unchanged when omitted.
This keeps labels and issue forms composable without introducing a broader category or profile abstraction.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start from the frog log command and the existing inbound.template resolution behavior. Trace how local forms are selected for scaffolding and body validation, then verify that --template accepts a path or filename, overrides the local form only when supplied, and preserves existing behavior when omitted.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100