[curriculum-eval] side-quest-17-07-repo-poisoning.md: cognitive_load — 23 concepts in 1234 words

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

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

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

调研方向

阅读 workshop/side-quest-17-07-repo-poisoning.md,并将其中各部分与 issue 中的改进建议进行比较。缩短指定部分,合并提到的两项防御措施,并在每项保留的防御措施后添加一个简短的实践任务,同时保留学习目标、设置和检查点。最终内容不超过900词。运行 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 (actual 1234 / 23) −4.2
active_learning 2.7 density ≥ 3 (actual 0.81) −6.3
checkpoint_quality 0.0 (false positive: 6-item checkpoint exists) ≥ 4 items n/a

Root Cause (≤ 2 sentences):
One page introduces the attack, four separate defences (read-only permissions, PR routing, protected paths, network limits) and two exercises, with 9 H2 sections. The defences are four independent concepts presented back to back before any practice.

Evidence (quoted from the file):

An agent granted contents: write can be tricked into committing backdoors or overwriting sensitive files — keeping the workflow read-only, and routing any genuine writes through a pull request, closes that door entirely.

Learning Science Rationale:
Cognitive Load Theory (Sweller) and Mayer's segmenting principle suggest splitting content into learner-paced chunks. Interleaving each defence with a short practice activity (worked-example effect) also raises activity density.

Improvement Prompt (for an agent):

Edit workshop/side-quest-17-07-repo-poisoning.md. Target ≤ 900 words and ≤ 15 new concepts. Trim "Why This Matters" and "What You Can Do as a Workflow Author" to short bullets, merge the "Restrict which paths" and "Limit network destinations" defences into one compact subsection, and follow each remaining defence with a 1–2 line try-it action (code block or checklist item). Keep the Learning Objectives, Before You Start and Checkpoint sections (≥ 4 specific items). Do not number headings. Run `npx --yes markdownlint-cli2 "**/*.md"`.

Expected Score After Fix: 6.5 / 10.0 (≈ 8.2 once the checkpoint regex is fixed)

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

  • expires on Nov 20, 2026, 8:04 AM UTC
主要语言
JavaScript
星标
61
派生
43
平均合并
11 小时 26 分钟
30 天内合并 PR
13

环境准备

在 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 摘要。