[curriculum-eval] side-quest-17-07-repo-poisoning.md: cognitive_load — 1,234 words and 23 concepts for one attack/defence lesson

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

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

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

调研方向

Read workshop/side-quest-17-07-repo-poisoning.md and review its existing learning objectives, Before You Start section, examples, and checkpoint. Restructure the lesson around one vulnerable frontmatter example, with three numbered defence steps and verification commands; move extended theory and the enterprise note into <details> blocks. Done means the page is at most 900 words, retains at least four verifiable checkpoint items, and passes the requested markdownlint command.

由索引模型根据 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 (1,234 words, 23 concepts) ≤ 800 words, ≤ 15 concepts −4.2
active_learning 2.7 (density 0.81) density ≥ 3 −7.3

(checkpoint_quality 0.0 is the regex defect; the page has 6 items.)

Root Cause (≤ 2 sentences):
The page introduces the attack, three separate defences (contents: read, safe-outputs: create-pull-request, network.allowed-domains) and protected-files in one sitting, with only 4 code blocks. Prose dominates over practice.

Evidence (quoted from the file):

Repository poisoning is what happens when a misdirected agent with write access commits changes an attacker designed — not changes the workflow author intended.

Learning Science Rationale:
Cognitive Load Theory (Sweller) and the worked-example effect suggest that novices learn security patterns best from a short vulnerable/fixed contrast followed by a guided exercise. Presenting three defences at once raises intrinsic load; sequencing them as incremental fixes to one example reduces it and gives each concept a retrieval opportunity.

Improvement Prompt (for an agent):

Edit workshop/side-quest-17-07-repo-poisoning.md to ≤ 900 words. Restructure around ONE vulnerable frontmatter example and apply the three defences as three short numbered steps, each with a before/after code block and a one-line verification command (e.g. gh aw compile). Move extended theory and the enterprise NOTE into <details> blocks. Keep learning objectives, the Before You Start section, and a "## :white_check_mark: Checkpoint" with ≥ 4 verifiable items. No numbered headings; max 3 callouts. Run `npx --yes markdownlint-cli2 "**/*.md"`.

Expected Score After Fix: 6.3 / 10.0 (≈ 8.0+ after the checkpoint regex fix)

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

  • expires on Nov 18, 2026, 3:32 AM UTC
主要语言
JavaScript
星标
62
派生
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 摘要。