[curriculum-eval] side-quest-17-07-repo-poisoning.md: cognitive_load — 1234 words and concept overload in one side quest

未关闭 适合新手
#5,996 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
半天
新手友好度
70/100
Issue 类型
文档
描述清晰度
描述清楚
活跃度
活跃
技术栈
github-actions, markdown

调研方向

先阅读 workshop/side-quest-17-07-repo-poisoning.md,并结合 AGENTS.md 一起看。AGENTS.md 规定了本页应遵循的语气和提示框规则。请将学习目标列表与正文中的四个防御小节(只读权限、PR 路由、受限路径、网络限制)对齐,把正文精简到约 900 词,并将其中两项防御改写为修改前后的 frontmatter 片段。完成的标准是:检查点仍保留四个或更多具体条目,且 npx --yes markdownlint-cli2 "**/*.md" 检查无任何错误。

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

描述

curriculum documentation quality

File: workshop/side-quest-17-07-repo-poisoning.md
Overall Score: 4.95 / 10.0 (corpus mean: 6.06)

Flagged Dimensions:

Dimension Score Benchmark Delta
cognitive_load 5.8 ≤ 800 words, ≤ 15 concepts 1234 words, concept_overload flagged (-4.2)
active_learning 2.7 density ≥ 3 -7.3
checkpoint_quality 0.0 (likely rubric false positive) ≥ 4 items —

Root Cause (≤ 2 sentences):
The page teaches the attack plus four separate defences (read-only permissions, PR routing, path restriction, network limits) and two exercises in a single sitting. Defence sections are mostly prose and snippets, which lowers activity density.

Evidence (quoted from the file):

Apply the three gh-aw defences: contents: read, safe-outputs: create-pull-request, and network.allowed-domains.

(The page body then presents four defence subsections: read-only permissions, pull request routing, restricted paths, limited network destinations.)

Learning Science Rationale:
Cognitive Load Theory (Sweller) and the segmenting principle (Mayer) suggest splitting a multi-part concept so learners can master one defence before the next. The learning objective lists three defences while the body teaches four, which adds extraneous load and a mismatch between objectives and content.

Improvement Prompt (for an agent):

Edit workshop/side-quest-17-07-repo-poisoning.md: align the Learning Objectives with the four defences actually taught (or merge "Restrict which paths can change" into the PR-routing section), trim prose to bring the page under ~900 words, and convert at least two defence descriptions into short hands-on edits (a before/after frontmatter snippet the learner applies). Keep the "## :white_check_mark: Checkpoint" with 4+ specific items. Follow AGENTS.md tone and callout rules, and run `npx --yes markdownlint-cli2 "**/*.md"`.

Expected Score After Fix: 6.3 / 10.0

Generated by 🔬 Curriculum Quality Evaluator · copilot · auto · ~40 AIC · ⌖ ~1 AIC · ⊞ 5K · ◷

  • expires on Nov 23, 2026, 3:32 AM UTC
主要语言
JavaScript
星标
61
派生
43
平均合并
10 小时 38 分钟
30 天内合并 PR
12

环境准备

在 Codespaces 中打开

在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 没有贡献指南

从这里开始

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

githubnext/gh-aw-workshop 的其他 Issue

查看 githubnext/gh-aw-workshop 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 发到你的邮箱

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