|
Meta tags:
description=Summary
This PR adds the three courses chosen from the learner-demand research. All three are bilingual (EN+ZH) and meet the course contract.
Course
ID
What the learner does
courses/hands-on-with-github-copilot/
course-github-copilot
Works the shared report-tool core in VS Code with GitHub Copilot, using Manual permissions, copilot-instructions.md / applyTo instructions files, checkpoints, and Source Control review. Joins the report-tool core group (byte-identical core).
courses/llm-features-in-python/
course-llm-features
Validates structured model output, allowlists and type-checks tool calls, retries with the error fed back, enforces a tool-call budget, falls back to a human, and scores an offline eval that divides by every case. 15 tests, three skins. Replies are hand-written recordings, so no model API is called.
courses/secure-ai-generated-code/
course-secure-code
Closes SQL injection, path traversal, a hard-coded secret, fast password hashes (now PBKDF2-SHA256 at 600k iterations, the OWASP figure), and pickled sessions in a plausible notes service, one flaw class per turn. Each fix is proven with an attack-replay harness. 16 tests, two skins.
Integration:
The foundation path gains Copilot as a seventh first-agent module (m3e), and later module order values shift by one.
The orientation and route-challenge modules (EN+ZH) now list seven tools.
llms.txt, both READMEs, and paths/README*.md list the new courses.
tests/test_courses.py, content-manifest.json, course-solutions.json, and the CHANGELOG [Unreleased] section are updated.
Stacked on #106, so the base is cursor/release-0-1-2-21e9. Retarget to master once #106 merges.
Change type
Catalog resource or classification
Bilingual editorial content
Catalog export or consumer contract
Tests, tooling, or workflow
Governance or documentation
Evidence and scope
Related issue: learner-demand research for new courses (no issue filed).
Source or maintenance evidence:
Copilot: the course is written from the VS Code Copilot docs fetched 2026-10-11.
Security: the course draws on the Python stdlib docs, MITRE CWE-89/22/798/916/759/502, and the OWASP Password Storage Cheat Sheet.
Solvability: each topic course s REVIEW.md records a challenge-mode run, in which an agent solved it from TASK.md and the tests without solution/. Those runs led to these changes:
Clarified the fallback attempts value and the max_tool_calls rules, and added test_tool_call_budget_ends_in_the_fallback.
Clarified the iteration-count split and the session-token separator.
Fixed a TypeError that the security reference solution raised on non-ASCII session tokens.
Corrected the verify.py exit-rule wording in the three new COURSE.md files.
Website consumer impact: none until a deliberate pin bump. The website hand-mirrors course metadata (courses.ts / COURSE_CONTRACTS), so those entries and the shifted foundation-path orders need updating before the pin moves.
Intentionally out of scope:
Agent-taught run-throughs are pending for all three courses (recorded in each REVIEW.md). Nothing has been run inside VS Code with Copilot.
Older courses: their COURSE.md files still say verify.py exits non-zero while l03/l04 are open ; it actually stays non-zero until l01/l02/l05 are attested too. Left untouched here.
Validation
python -m pytest: 141 passed (via make check)
python tools/validate_catalog.py (via make check)
python tools/export_catalog.py --check --target both: current
python tools/render_readmes.py --check: current
python tools/build_content_manifest.py --check: current
python tools/verify_examples.py: all 5 valid
python tools/verify_courses.py: all 15 course folders satisfy the contract
python tools/verify_paths.py: 2 paths verified
make lock-check: exit 0
Per course: verify.py starter --expect-failure and verify.py solution both exit 0, and bare verify.py exits 1 on the shipped starter.
Replay and eval results:
Security replay: blocked=9/9 and 8/8 on the solution, 0/9 and 0/8 on the starter. Ruff --select S is clean on the solution.
LLM eval on the solution: 0.750 (exit 1), 0.833, 0.800.
English and Chinese output remain consistent
No secrets, generated reports, local build output, or analytics IDs were committed. The secrets.txt files are fake scenario fixtures.
Permissions and review
I have the right to submit this contribution.
I retained third-party notices and did not relicense third-party material.
Human reviewers wrote or verified all resource descriptions and classifications. No catalog resources changed; the course text still needs maintainer review.
I read CONTRIBUTING.md and docs/CURATION_POLICY.md.
;
Headings (most frequently used words):
uh, oh, navigation, add, three, courses, github, copilot, llm, features, in, python, security, review, of, ai, written, code, 107, footer, diff, view, menu, repository, there, are, no, files, selected, for, viewing, filter, by, extension,
Text of the page (most frequently used words):
courses (122), code (66), #github (58), with (52), scenario (49), json (49), copilot (48), hands (44), #python (43), features (40), llm (37), secure (36), generated (34), lessons (33), the (32), and (30), file (26), course (23), this (18), review (18), notes (15), txt (15), course_cn (13), agent (13), flypython (13), 2026 (12), line (12), for (12), that (11), applied (11), all (11), tests (11), you (10), security (10), reload (10), cursor (10), cannot (9), add (9), loading (9), harness (9), show (9), hidden (9), characters (9), unicode (9), tool (9), three (9), paths (9), support (9), while (8), changes (8), expand (8), zcode (8), kimi (8), deepseek (8), diff (8), foundation (8), solution (8), suggestion (7), suggestions (7), there (7), codex (7), claude (7), skill (7), open (7), your (7), task (7), recordings (7), verify (7), starter (7), team (7), clinic (7), oct (7), sign (7), please (6), error (6), number (6), bidirectional (6), new (6), files (6), run (6), readme (6), modules (6), changelog (6), l05_cn (6), l05 (6), l04_cn (6), l04 (6), l03_cn (6), l03 (6), l02_cn (6), l02 (6), l01_cn (6), l01 (6), task_cn (6), cases (6), nbsp (6), cursoragent (6), can (5), comments (5), one (5), was (5), page (5), retry (5), learn (5), about (5), view (5), readme_cn (5), route (5), path (5), session (5), written (5), report (5), attachments (5), shop (5), helpdesk (5), csv (5), commits (5), pull (4), from (4), change (4), only (4), https (4), com (4), skills (4), what (4), more (4), llms (4), challenge (4), index (4), api (4), core (4), notes_app (4), attack_replay (4), seed (4), secrets (4), attacks (4), ticket_triage (4), orders (4), saas (4), feedback (4), report_tool (4), not (3), community (3), status (3), navigation (3), back (3), request (3), batch (3), commit (3), down (3), original (3), contains (3), text (3), may (3), interpreted (3), compiled (3), differently (3), than (3), appears (3), below (3), editor (3), reveals (3), desktop (3), delete (3), edit (3), additions (3), deletions (3), app (3), start (3), repository (3), both (3), list (3), orientation (3), are (3), its (3), secret (3), documentation (3), excel (3), data (3), monitor (3), group (3), content (3), hide (3), whitespace (3), extension (3), filter (3), 107 (3), merged (3), account (3), quality (3), another (3), tab (3), window (3), refresh (3), developers (3), customer (3), enterprise (3), grade (3), build (3), contact (2), privacy (2), terms (2), footer (2), check (2), later (2), pending (2), order (2), single (2), per (2), viewing (2), toggle (2), oops (2), something (2), went (2), wrong (2), openai (2), 在你的 (2), 里装上 (2), 只能聊天的网页 (2), password (2), these (2), install (2), chat (2), web (2), ais (2), coding (2), release (2), readmes (2), module (2), shift (2), changed (2), taught (2), added (2), skins (2), flaw (2), service (2), model (2), allowlist (2), validate (2), see (2), instructions (2), source (2), selected (2), test_courses (2), challenge_cn (2), orientation_cn (2), test_notes_app (2), agenda (2), scans (2), intake (2), form (2), test_ticket_triage (2), devices (2), test_report_tool (2), metrics (2), tickets (2), solutions (2), manifest (2), apply (2), split (2), unified (2), failed (2), load (2), jump (2), select (2), tree (2), issue (2), insights (2), projects (2), actions (2), flypythoncom (2), signed (2), universe (2), training (2), integrations (2), stories (2), center (2), business (2), fixes (2), products (2), perform, action, time, share, personal, information, manage, cookies, docs, inc, right, now, queued, merge, multi, reviews, has, been, marked, resolved, outdated, must, existing, create, valid, applying, deleted, lines, supported, subset, closed, invalid, because, were, made, annotations, 工具对应的工具课开始, 课程文件, 你不下载任何东西, 并陪你完成挑战, 还没用过编码, 会用一次性授权链接为你授权, 你不用把密码交给它, 然后粘贴这一句话, 做不了这些课程, 不了这些课程, 你需要一个能执行命令并联网的编码, 分钟开始, 是一个面向实践的双语仓库, 帮助你写好, drives, challenges, driving, fetches, itself, download, nothing, read, eda, then, paste, sentence, need, commands, reach, network, minutes, delivery, tracked, website, train, seven, tools, m3e, values, offers, seventh, first, tokens, reference, throughs, call, budget, test, fixed, typeerror, non, ascii, findings, tightened, contracts, topic, record, mode, solvability, turn, prove, each, fix, attack, replay, two, fast, hashes, pickled, sessions, class, plausible, sql, injection, traversal, hard, coded, called, divides, every, case, replies, hand, fed, fall, human, score, offline, eval, structured, output, type, calls, yet, inside, authored, fetched, applyto, checkpoints, control, controls, manual, permissions, shared, unreleased, records, notable, catalog, contract, maintenance, conversations, clear, filters, viewed, types, foundatio, 639126d, combine, nested, statements, ruff, 784ffc7, state, real, exit, rule, 75f2f8b, five, cla, 42638c7, building, too, 272f863, a8d24ac, hold, click, range, checks, conversation, into, 21e9, master, already, clicking, agree, our, occasionally, send, related, emails, statement, free, maintainers, have, question, project, items, wiki, discussions, requests, issues, message, dismiss, alert, switched, accounts, out, appearance, settings, search, pricing, event, talks, workshops, next, partners, company, forum, events, webinars, blog, resource, connect, resources, premium, advanced, ons, trust, why, evaluate, industries, government, manufacturing, financial, services, healthcare, industry, nonprofits, startups, enterprises, stage, businesses, latest, improvements, across, place, developer, articles, sponsors, trending, repos, explore, customize, certifications, scanning, leak, prevention, protection, vulnerability, detection, remediation, cloud, development, environments, codespaces, analysis, enforcement, automation, ship, tasks, automated, work, hosting, collaboration, platform, menu, skip, xxg1413,
|