Skip to content

feat: 独立仓 AGENTS.md 写入 edges-harness 标记 - #120

Open
VirusPC wants to merge 3 commits into
mainfrom
cursor/edges-harness-marker-08bb
Open

VirusPC wants to merge 3 commits into
mainfrom
cursor/edges-harness-marker-08bb

Conversation

@VirusPC

@VirusPC VirusPC commented Nov 9, 2026 •

Copy link
Copy Markdown
Owner

标记

edges init --super 在 AGENTS.md 硬约束里、中文句旁边写一次:

<edges-harness mode="super" />

中文句是「这是独立 edges harness 仓库,调用 edges cli 时优先考虑加 --super 参数」。重复执行不追加。命令不读取这个元素。

是否加 --super 写在 edges 技能,其他技能引用它:

  • 根 AGENTS.md 有 <edges-harness mode="super" /> 就加 --super
  • 没有就不加
  • 没有标记但根目录有 projects/、notes/、tasks/、memory/、compose/ 时,问用户

渲染

这个元素是空的自定义标签,不是 HTML 注释。

  • 源码里看得见。
  • GitHub 的 Markdown 会去掉不在允许列表里的标签,页面上通常不显示任何文字。
  • CommonMark 预览会把它当成 HTML。空元素没有文本,预览里也是空白。

测试

@viruspc/edges 1142 项通过,tsc --noEmit 通过。这次只改说明,代码行为不变。

Open in Web Open in Cursor 

在硬约束里、中文句旁边写一次 <edges-harness mode="super" />。命令不读取它。onboarding 和其他技能用这个元素决定是否加 --super;没有标记但根上已有材料目录时先问。

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Cheng Peng <VirusPC@users.noreply.github.com>
@coderabbitai

coderabbitai Bot commented Nov 9, 2026 •

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 4c06b2b7-d984-44bb-8203-93a1d0b556e0
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

cursoragent and others added 2 commits November 9, 2026 11:34
init --super 把 edges-harness 标记写在 scope 的 AGENTS.md,同时带 --project 也写。技能按这个元素决定 --super,与有没有选 Project 无关。

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Cheng Peng <VirusPC@users.noreply.github.com>
识别规则只留在 edges 技能:有标记就加 --super,没有就不加,根上已有材料目录时问用户。其他技能和文档改为引用。

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Cheng Peng <VirusPC@users.noreply.github.com>

This branch has not been deployed

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants