feat: allow local log entries to select an issue form

未关闭
#80 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

@emmajam 已经在做这个了。

开始于 2026年8月5日。

  • #81 来自 @emmajam —— 未关闭

评估

难度
4/5
预计耗时
3-5 天
新手友好度
55/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
冷清
技术栈
typescript
领域
cli

调研方向

从 frog log 命令和现有的 inbound.template 解析行为开始。跟踪如何为 scaffolding 和正文验证选择本地表单,然后确认 --template 接受路径或文件名,仅在提供时覆盖本地表单,并在省略时保留现有行为。

由索引模型根据 Issue 内容生成。

描述

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.

主要语言
TypeScript
星标
267
派生
12
PR 合并指标
30 天内没有已合并 PR

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

wevm/frog 的其他 Issue

查看 wevm/frog 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。