Repository navigation
Stage 0: quick-win PR (content fixes, first CI lints, node24 CI) - #2
SomeoneSomewhereelse wants to merge 51 commits into
Conversation
Rewrites tests/validate_structure.py as a library of check_* functions, tested by tests/test_validate_structure.py (seeded regressions, must-pass negatives, and the real repo). validate.yml moves to SHA-pinned node24 actions (checkout v7.0.1, setup-uv v10.2.0) with contents: read; Dependabot tracks github-actions weekly. test_real_repo_passes is red until groups C, T and D land. Red findings: courses/ai-dev/COURSE.md:19: [course_md] lesson 2.1 has no row courses/ai-dev/COURSE.md:19: [course_md] lesson 2.2 has no row courses/ai-dev/COURSE.md:16: [course_md] range '2.3–2.6' for 02-claude-api/, expected '2.1–2.6' courses/ai-dev/lessons/00-ai-fundamentals/0.4-prompt-engineering/0.4_script.txt:1: [slide_markers] 0 [מעבר שקף] markers, need at least 5 courses/ai-dev/lessons/00-ai-fundamentals/0.4-prompt-engineering/0.4_script.txt:7: [slide_markers] 19 [SLIDE TRANSITION] line(s); use [מעבר שקף] courses/ai-dev/lessons/00-ai-fundamentals/0.2-intro-to-ai/0.2_exercises.md:3: [header_numbers] first heading names 0.1, folder is 0.2 courses/ai-dev/lessons/00-ai-fundamentals/0.2-intro-to-ai/0.2_exercises.md:6: [header_numbers] **שיעור:** names 0.1, folder is 0.2 courses/ai-dev/lessons/00-ai-fundamentals/0.3-ai-tools-overview/0.3_exercises.md:3: [header_numbers] first heading names 0.2, folder is 0.3 courses/ai-dev/lessons/00-ai-fundamentals/0.3-ai-tools-overview/0.3_exercises.md:6: [header_numbers] **שיעור:** names 0.2, folder is 0.3 courses/ai-dev/lessons/00-ai-fundamentals/0.4-prompt-engineering/0.4_exercises.md:3: [header_numbers] first heading names 0.3, folder is 0.4 courses/ai-dev/lessons/00-ai-fundamentals/0.4-prompt-engineering/0.4_exercises.md:6: [header_numbers] **שיעור:** names 0.3, folder is 0.4 courses/ai-dev/lessons/01-claude-code/1.7-code-review-sub-agents/1.7_exercises.md:3: [header_numbers] first heading names 3.7, folder is 1.7 courses/ai-dev/lessons/01-claude-code/1.7-code-review-sub-agents/1.7_exercises.md:6: [header_numbers] **שיעור:** names 3.7, folder is 1.7 courses/ai-dev/lessons/01-claude-code/1.8-deploy-production/1.8_exercises.md:7: [header_numbers] first heading names 3.8, folder is 1.8 courses/ai-dev/lessons/01-claude-code/1.8-deploy-production/1.8_exercises.md:10: [header_numbers] **שיעור:** names 3.8, folder is 1.8 courses/ai-dev/lessons/02-claude-api/2.1-what-is-api/2.1_exercises.md:3: [header_numbers] first heading names 5.1, folder is 2.1 courses/ai-dev/lessons/02-claude-api/2.1-what-is-api/2.1_exercises.md:6: [header_numbers] **שיעור:** names 5.1, folder is 2.1 courses/ai-dev/lessons/02-claude-api/2.2-claude-openai-gemini-api/2.2_exercises.md:3: [header_numbers] first heading names 5.2, folder is 2.2 courses/ai-dev/lessons/02-claude-api/2.2-claude-openai-gemini-api/2.2_exercises.md:6: [header_numbers] **שיעור:** names 5.2, folder is 2.2 courses/ai-dev/lessons/02-claude-api/2.3-webhooks/2.3_exercises.md:5: [header_numbers] first heading names 5.3, folder is 2.3 courses/ai-dev/lessons/02-claude-api/2.3-webhooks/2.3_exercises.md:8: [header_numbers] **שיעור:** names 5.3, folder is 2.3 courses/ai-dev/lessons/02-claude-api/2.4-structured-output/2.4_exercises.md:3: [header_numbers] first heading names 5.4, folder is 2.4 courses/ai-dev/lessons/02-claude-api/2.4-structured-output/2.4_exercises.md:6: [header_numbers] **שיעור:** names 5.4, folder is 2.4 courses/ai-dev/lessons/02-claude-api/2.5-python-patterns/2.5_exercises.md:3: [header_numbers] first heading names 5.5, folder is 2.5 courses/ai-dev/lessons/02-claude-api/2.5-python-patterns/2.5_exercises.md:6: [header_numbers] **שיעור:** names 5.5, folder is 2.5 courses/ai-dev/lessons/02-claude-api/2.6-mcp/2.6_exercises.md:5: [header_numbers] first heading names 5.6, folder is 2.6 courses/ai-dev/lessons/02-claude-api/2.6-mcp/2.6_exercises.md:8: [header_numbers] **שיעור:** names 5.6, folder is 2.6 courses/ai-dev/lessons/00-ai-fundamentals/0.2-intro-to-ai/0.2_script.txt:1: [header_numbers] opening names 0.1, folder is 0.2 courses/ai-dev/lessons/00-ai-fundamentals/0.3-ai-tools-overview/0.3_script.txt:1: [header_numbers] opening names 0.2, folder is 0.3 courses/ai-dev/lessons/00-ai-fundamentals/0.4-prompt-engineering/0.4_script.txt:1: [header_numbers] opening names 0.3, folder is 0.4 courses/ai-dev/lessons/00-ai-fundamentals/0.4-prompt-engineering/0.4_script.txt:3: [header_numbers] opening names 0.3, folder is 0.4 courses/ai-dev/lessons/01-claude-code/1.1-intro-vibe-coding/1.1_script.txt:1: [header_numbers] opening names 3.1, folder is 1.1 courses/ai-dev/lessons/01-claude-code/1.2-claude-code-setup/1.2_script.txt:1: [header_numbers] opening names 3.2, folder is 1.2 courses/ai-dev/lessons/01-claude-code/1.3-claude-md-memory-skills/1.3_script.txt:1: [header_numbers] opening names 3.3, folder is 1.3 courses/ai-dev/lessons/01-claude-code/1.4-landing-page-claude-code/1.4_script.txt:1: [header_numbers] opening names 3.4, folder is 1.4 courses/ai-dev/lessons/01-claude-code/1.5-fullstack-app/1.5_script.txt:1: [header_numbers] opening names 3.5, folder is 1.5 courses/ai-dev/lessons/01-claude-code/1.6-supabase/1.6_script.txt:1: [header_numbers] opening names 3.6, folder is 1.6 courses/ai-dev/lessons/01-claude-code/1.8-deploy-production/1.8_script.txt:2: [header_numbers] opening names 3.8, folder is 1.8 courses/ai-dev/lessons/02-claude-api/2.1-what-is-api/2.1_script.txt:2: [header_numbers] opening names 5.1, folder is 2.1 courses/ai-dev/lessons/02-claude-api/2.2-claude-openai-gemini-api/2.2_script.txt:2: [header_numbers] opening names 5.2, folder is 2.2 courses/ai-dev/lessons/02-claude-api/2.4-structured-output/2.4_script.txt:2: [header_numbers] opening names 5.4, folder is 2.4 courses/ai-dev/lessons/02-claude-api/2.5-python-patterns/2.5_script.txt:2: [header_numbers] opening names 5.5, folder is 2.5 courses/ai-dev/lessons/02-claude-api/2.6-mcp/2.6_script.txt:1: [header_numbers] opening names 5.6, folder is 2.6 courses/ai-dev/lessons/01-claude-code/1.1-intro-vibe-coding/1.1_script.txt:1: [spoken_lesson_refs] 'שלוש נקודה אחד' names lesson 3.1, which does not exist courses/ai-dev/lessons/01-claude-code/1.1-intro-vibe-coding/1.1_script.txt:167: [spoken_lesson_refs] 'שלוש נקודה שתיים' names lesson 3.2, which does not exist courses/ai-dev/lessons/01-claude-code/1.1-intro-vibe-coding/1.1_script.txt:169: [spoken_lesson_refs] 'שלוש נקודה שלוש' names lesson 3.3, which does not exist courses/ai-dev/lessons/01-claude-code/1.1-intro-vibe-coding/1.1_script.txt:171: [spoken_lesson_refs] 'שלוש נקודה ארבע' names lesson 3.4, which does not exist courses/ai-dev/lessons/01-claude-code/1.1-intro-vibe-coding/1.1_script.txt:171: [spoken_lesson_refs] 'ושלוש נקודה חמש' names lesson 3.5, which does not exist courses/ai-dev/lessons/01-claude-code/1.1-intro-vibe-coding/1.1_script.txt:173: [spoken_lesson_refs] 'שלוש נקודה שש' names lesson 3.6, which does not exist courses/ai-dev/lessons/01-claude-code/1.1-intro-vibe-coding/1.1_script.txt:173: [spoken_lesson_refs] 'שלוש נקודה שמונה' names lesson 3.8, which does not exist courses/ai-dev/lessons/01-claude-code/1.2-claude-code-setup/1.2_script.txt:1: [spoken_lesson_refs] 'שלוש נקודה שתיים' names lesson 3.2, which does not exist courses/ai-dev/lessons/01-claude-code/1.2-claude-code-setup/1.2_script.txt:245: [spoken_lesson_refs] 'שלוש נקודה שלוש' names lesson 3.3, which does not exist courses/ai-dev/lessons/01-claude-code/1.3-claude-md-memory-skills/1.3_script.txt:1: [spoken_lesson_refs] 'שלוש נקודה שלוש' names lesson 3.3, which does not exist courses/ai-dev/lessons/01-claude-code/1.3-claude-md-memory-skills/1.3_script.txt:41: [spoken_lesson_refs] 'שלוש נקודה ארבע' names lesson 3.4, which does not exist courses/ai-dev/lessons/01-claude-code/1.4-landing-page-claude-code/1.4_script.txt:1: [spoken_lesson_refs] 'שלוש נקודה ארבע' names lesson 3.4, which does not exist courses/ai-dev/lessons/01-claude-code/1.4-landing-page-claude-code/1.4_script.txt:1: [spoken_lesson_refs] 'שלוש נקודה שלוש' names lesson 3.3, which does not exist courses/ai-dev/lessons/01-claude-code/1.4-landing-page-claude-code/1.4_script.txt:39: [spoken_lesson_refs] 'שלוש נקודה חמש' names lesson 3.5, which does not exist courses/ai-dev/lessons/01-claude-code/1.5-fullstack-app/1.5_script.txt:1: [spoken_lesson_refs] 'שלוש נקודה חמש' names lesson 3.5, which does not exist courses/ai-dev/lessons/01-claude-code/1.6-supabase/1.6_script.txt:1: [spoken_lesson_refs] 'שלוש נקודה שש' names lesson 3.6, which does not exist courses/ai-dev/lessons/01-claude-code/1.6-supabase/1.6_script.txt:77: [spoken_lesson_refs] 'שלוש נקודה שבע' names lesson 3.7, which does not exist courses/ai-dev/lessons/01-claude-code/1.8-deploy-production/1.8_script.txt:2: [spoken_lesson_refs] 'שלוש נקודה שמונה' names lesson 3.8, which does not exist courses/ai-dev/lessons/02-claude-api/2.1-what-is-api/2.1_script.txt:2: [spoken_lesson_refs] 'חמש נקודה אחת' names lesson 5.1, which does not exist courses/ai-dev/lessons/02-claude-api/2.1-what-is-api/2.1_script.txt:5: [spoken_lesson_refs] 'ארבע נקודה שש' names lesson 4.6, which does not exist courses/ai-dev/lessons/02-claude-api/2.1-what-is-api/2.1_script.txt:100: [spoken_lesson_refs] 'חמש נקודה שתיים' names lesson 5.2, which does not exist courses/ai-dev/lessons/02-claude-api/2.2-claude-openai-gemini-api/2.2_script.txt:2: [spoken_lesson_refs] 'חמש נקודה שתיים' names lesson 5.2, which does not exist courses/ai-dev/lessons/02-claude-api/2.2-claude-openai-gemini-api/2.2_script.txt:2: [spoken_lesson_refs] 'חמש נקודה אחת' names lesson 5.1, which does not exist courses/ai-dev/lessons/02-claude-api/2.2-claude-openai-gemini-api/2.2_script.txt:57: [spoken_lesson_refs] 'חמש נקודה שלוש' names lesson 5.3, which does not exist courses/ai-dev/lessons/02-claude-api/2.3-webhooks/2.3_script.txt:2: [spoken_lesson_refs] 'חמישי-שלוש' names lesson 5.3, which does not exist courses/ai-dev/lessons/02-claude-api/2.3-webhooks/2.3_script.txt:72: [spoken_lesson_refs] 'חמישי-ארבע' names lesson 5.4, which does not exist courses/ai-dev/lessons/02-claude-api/2.4-structured-output/2.4_script.txt:2: [spoken_lesson_refs] 'חמש נקודה ארבע' names lesson 5.4, which does not exist courses/ai-dev/lessons/02-claude-api/2.4-structured-output/2.4_script.txt:7: [spoken_lesson_refs] 'חמש נקודה שלוש' names lesson 5.3, which does not exist courses/ai-dev/lessons/02-claude-api/2.4-structured-output/2.4_script.txt:72: [spoken_lesson_refs] 'חמש נקודה חמש' names lesson 5.5, which does not exist courses/ai-dev/lessons/02-claude-api/2.5-python-patterns/2.5_script.txt:2: [spoken_lesson_refs] 'חמש נקודה חמש' names lesson 5.5, which does not exist courses/ai-dev/lessons/02-claude-api/2.6-mcp/2.6_script.txt:1: [spoken_lesson_refs] 'חמש נקודה שש' names lesson 5.6, which does not exist courses/ai-dev/lessons/02-claude-api/2.6-mcp/2.6_script.txt:1: [spoken_lesson_refs] 'חמש נקודה חמש' names lesson 5.5, which does not exist courses/ai-dev/lessons/02-claude-api/2.6-mcp/2.6_script.txt:77: [spoken_lesson_refs] 'שש נקודה אחת' names lesson 6.1, which does not exist courses/ai-dev/lessons/00-ai-fundamentals/0.2-intro-to-ai/0.2_exercises.md:7: [course_name_denylist] denied string '**קורס:** AI Engineer' courses/ai-dev/lessons/00-ai-fundamentals/0.3-ai-tools-overview/0.3_exercises.md:7: [course_name_denylist] denied string '**קורס:** AI Engineer' courses/ai-dev/lessons/00-ai-fundamentals/0.4-prompt-engineering/0.4_exercises.md:7: [course_name_denylist] denied string '**קורס:** AI Engineer' courses/ai-dev/lessons/01-claude-code/1.6-supabase/1.6_exercises.md:21: [course_name_denylist] denied string 'NEXT_PUBLIC_SUPABASE_ANON_KEY' courses/ai-dev/lessons/00-ai-fundamentals/0.2-intro-to-ai/0.2_script.txt:3: [course_name_denylist] denied string 'קורס AI Engineer' courses/ai-dev/lessons/00-ai-fundamentals/0.3-ai-tools-overview/0.3_script.txt:3: [course_name_denylist] denied string 'קורס AI Engineer' courses/ai-dev/lessons/02-claude-api/2.1-what-is-api/2.1_script.txt:2: [course_name_denylist] denied string 'קורס AI Engineer' .claude/settings.json:9: [settings_json] mentions powershell; hooks must run on every OS .claude/commands/learn/setup.md:1: [clean_slate_no_delete] CLEAN-SLATE:BEGIN/END markers missing or out of order 85 finding(s) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NqKHCdaj4G5zVAAtinq5Nc
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NqKHCdaj4G5zVAAtinq5Nc
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NqKHCdaj4G5zVAAtinq5Nc
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NqKHCdaj4G5zVAAtinq5Nc
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NqKHCdaj4G5zVAAtinq5Nc
Covers G1 (leaked preambles), RV-M1 (dead cross-references) and RV2-M6 (spoken lesson numbers). Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NqKHCdaj4G5zVAAtinq5Nc
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NqKHCdaj4G5zVAAtinq5Nc
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NqKHCdaj4G5zVAAtinq5Nc
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NqKHCdaj4G5zVAAtinq5Nc
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NqKHCdaj4G5zVAAtinq5Nc
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NqKHCdaj4G5zVAAtinq5Nc
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NqKHCdaj4G5zVAAtinq5Nc
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NqKHCdaj4G5zVAAtinq5Nc
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NqKHCdaj4G5zVAAtinq5Nc
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NqKHCdaj4G5zVAAtinq5Nc
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NqKHCdaj4G5zVAAtinq5Nc
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NqKHCdaj4G5zVAAtinq5Nc
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NqKHCdaj4G5zVAAtinq5Nc
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NqKHCdaj4G5zVAAtinq5Nc
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NqKHCdaj4G5zVAAtinq5Nc
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NqKHCdaj4G5zVAAtinq5Nc
…e0-quick-wins Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NqKHCdaj4G5zVAAtinq5Nc
Final-review M1: the bridge into 1.1 promised a Make.com automations module, and a teaser named Module Five. Neither exists; both now point at the real modules (01 Claude Code, 02 Claude API). Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NqKHCdaj4G5zVAAtinq5Nc
Final-review M2: a tester who symlinked ~/.claude/commands to the repo's .claude/commands would have had the repo's own tutor files moved into the backup. Both the find step and the move step (bash and PowerShell) now resolve the real parent folder and print SKIP for any path inside the repo. Three behavioural tests run the real bash blocks from setup.md against a fake HOME: symlinked commands are left alone, a real global install is still moved, and the find step reports SKIP. Their RED run failed before the guard existed. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NqKHCdaj4G5zVAAtinq5Nc
Final-review L1: the old 2.5 exercise gave no conversion direction; TovTechOrg#13 added the rule. The section said it converted in the wrong direction. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NqKHCdaj4G5zVAAtinq5Nc
Final-review L6: tests/validate_structure.py holds the checks; the tests are in tests/test_validate_structure.py. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NqKHCdaj4G5zVAAtinq5Nc
Final-review L2: repo_files reads git ls-files (as CI does), so an un-added new file passes locally and fails in CI. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NqKHCdaj4G5zVAAtinq5Nc
Final-review L7: the flag stops the model invoking the command; the router still Reads these files. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NqKHCdaj4G5zVAAtinq5Nc
Final-review L3: a global commit.gpgsign or core.hooksPath made test_worktree_git_file fail or hang. RED with a hostile GIT_CONFIG_GLOBAL, GREEN after pinning both off. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NqKHCdaj4G5zVAAtinq5Nc
Final-review L4. check_relative_links resolved '/x.md' as a filesystem path and reported a false finding; it is now relative to the repo root, as on GitHub. repo_files crashed with FileNotFoundError when .git existed but git did not; it now walks the filesystem. New tests: root-absolute-link (must-pass), root-absolute-missing (seed), and the missing-git fallback. The two behavioural ones were RED first. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NqKHCdaj4G5zVAAtinq5Nc
Final-review L8 (first part): 'אחת נקודה אחד' became 'אחת נקודה אחת', as in the spec table and every other script. The masculine 'מודול אחת' used in five places is left for the Hebrew reviewer. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NqKHCdaj4G5zVAAtinq5Nc
Final-review L9: the step runs on every /learn setup and ~/skill-tutor-tutorials/ is also the current data folder, so 'files from a previous install' misdescribed a tester's live progress. Keep stays the first option. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NqKHCdaj4G5zVAAtinq5Nc
…rver Final-review L10: a server added with --scope project lives in .mcp.json and asks for approval on first use. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NqKHCdaj4G5zVAAtinq5Nc
Spec 4.3, 5.1, 5.2 and a new Final branch review log in section 10; the plan gets a post-implementation amendments section and the corrected P1 template text (final-review L5). Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NqKHCdaj4G5zVAAtinq5Nc
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NqKHCdaj4G5zVAAtinq5Nc
Second-review M1: the guard only asked whether a path was inside the repo, so a clone placed in ~/skill-tutor-tutorials/ was moved into the backup together with that folder. It now also skips a path that contains the repo (bash and PowerShell). Two behavioural tests (Step 1 and Step 3) were RED first. The PowerShell guard is rewritten in the same commit, which also fixes second-review L3 (Test-InRepo no longer fails when git is missing: Get-Command plus try/catch, falling back to the current folder) and L4 (the prefix test now ends in a path separator, so a sibling folder like Tov-learn-old no longer counts as inside). Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NqKHCdaj4G5zVAAtinq5Nc
Second-review M2: the tools-overview slide promised the archived automations curriculum. It now describes what Module 02 teaches (Claude API, Webhooks, structured output, MCP), in the wording of the module overview earlier in the same script. Other mentions of Make or n8n in the course are examples (2.3 uses Make on purpose), not promises. 2.5_script.txt:2 ('במודול האינטגרציות') is left for unit 1c's module rename.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NqKHCdaj4G5zVAAtinq5Nc
Second-review L6: repo_files caught only FileNotFoundError, so a corrupt .git or a dubious-ownership refusal crashed every lint with a CalledProcessError. It now walks the filesystem in that case too. RED first. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NqKHCdaj4G5zVAAtinq5Nc
Spec 4.3, 5.1, 5.2 and the section 10 log; the plan's amendments table; the plan header cites revision 6.2; the plan no longer states a commit count that cannot stay true about itself (second-review L1, L2). Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NqKHCdaj4G5zVAAtinq5Nc
…-visible changes Third-review L3, L4, L5: entry 9 no longer claims the flag stops the router reading the modules; entry 6 says the old exercise allowed global or project settings; entries 7 and 13 mention the first-use MCP approval and the SKIP output.
…s it Third-review L10: the Table Editor row had no accountant_id, so the SELECT policy hid it and the next step showed an empty grid.
Third-review L8: only git commit was pinned, so a global post-checkout hook (run by git worktree add) or init.templateDir still broke test_worktree_git_file. All git calls in the tests now run with GIT_CONFIG_GLOBAL and GIT_CONFIG_SYSTEM set to /dev/null. RED with a hostile global post-checkout hook, GREEN after.
Spec: the Git Bash untested item (6.2), the gate row now lists the clean-slate behavioural tests (9), four content items in the header, and the third-review log (10). Plan: the amendments table gets the TR rows and the not-fixed decisions.
Manual check 2b: the tutor merged the warning into step 0's message and left out the floor version. Step 0.1 now says to print the sentence as its own message, verbatim, with both numbers. The spec's S14 behaviour says the same.
…g the upstream The CI-evidence command named TovTechOrg/Tov-learn, but origin is the maintainer's fork, and gh pr create could target the upstream parent. REPO is now read from origin and passed with --repo / -R. Also notes that validate.yml only runs for pull requests to master and pushes to master, so the draft PR is what starts the run.
CI evidence (spec §6.2, RV4-M3)Run: https://github.com/SomeoneSomewhereelse/Tov-learn/actions/runs/37010643638 (event Steps: checkout From the log:
Check-run annotations (
Pass condition met: the run succeeds and no annotation mentions Node.js 20 or node20. |
…h for technical terms Hebrew style rules, applied to the 42 script lines (of the 54) that this branch changed and that the rules touch: - lesson, module, version numbers and exit codes are numerals (1.3, module 2, 2.1.176, exit code 2), with Hebrew prefixes hyphenated (ב-, ל-, ו-, ה-); - file names, paths, tool and event names and other technical terms stay in English (secret-demo.txt, .claude/settings.json, PreToolUse, hook, Claude Code, Supabase, production, git push); - not everything is translated verbatim: readers are assumed to read English. The four 1.3 narration lines about hooks (25, 27, 29, plus the 15 version requirement) are rewritten whole. A side effect: module numbers as numerals also removes the masculine-noun / feminine-number problem of 'מודול אחת'. The other scripts follow with the unit that owns them (spec 4.2, Voice).
…wide where applicable (spec rev 6.3) Spec 4.2 Voice: numerals for lesson, module and version numbers and exit codes; technical terms, file and tool names in English; no verbatim translation. Scope is the whole course where applicable, applied by the owning units (section 9: F's style guide, 1a-1e). Notes the lint consequences (spoken_lesson_refs only parses spelled numbers; SPOKEN_ALLOWLIST entries must go when converted) and an open TTS listening check. Plan: amendments row, header rev 6.3.
|
CI rerun after the Hebrew style commits (head |
…s in the touched scripts and exercises Second round of the Hebrew style rules, applied in full to the 30 script and exercise files this branch touches (23 changed, 186 lines): Claude, Claude Code, Anthropic, CLAUDE.md, MEMORY.md and other file names, hooks, skills, session, loop, routines (Cloud routines), webhooks, Stripe, GitHub, WhatsApp, JSON, USB-C, Calculate VAT and Total, 18%, years as numerals, and product, tool and protocol names and letter-spelled acronyms (MCP, Next.js, Tailwind, Cloudflare, Workers, Supabase, CLI, URL, HTML, CSS, CDN, CI/CD...). 'ונפרוס' became 'ונעלה' in 1.1. 'קלוד שאנון' (a person) is left as is.
…t and exercise (spec rev 6.4)
…ker, OpenAI, Bolt, Replit, Wolt, OWASP Top 10, skill and folder names) Maintainer decisions of 2026-10-09: 1.8 says wrangler.jsonc (as the exercises do), with the wrangler commands, Worker and OpenAI in English; Bolt, Replit Agent 3, Wolt, OWASP Top 10 and the identifiers fetch_vat_logs, get_time, get_current_time and landing-page-ai (our reading of the spoken forms) are English. A stray Cyrillic letter that was already on master in 1.8_script.txt:37 is fixed. Person names and the softer loanwords stay Hebrew.
…ck pending (spec rev 6.5)
|
CI rerun after the second and third Hebrew style rounds (head |
Summary
One PR for Stage 0: fixes what testers hit now, adds the first CI lints (each proven by a seeded regression) and moves CI to
node24actions on uv + pytest + ruff. Spec:docs/superpowers/specs/2026-09-27-stage0-quick-wins-design.md(rev 6.2). Plan:docs/superpowers/plans/2026-09-29-stage0-quick-wins.md.Changelog: the last three sections of
changes.md(fix/lesson-1.8-workers-ai-exercise(TovTechOrg#12),fix/lesson-2.5-2.6-content-corrections(TovTechOrg#13) andfix/stage0-quick-wins).COURSE.mdlists 2.1 and 2.2settings.jsonis{})/learn securityownership gate;timingSafeEqualon digestssetup.md, README, CLAUDE.md, CONTRIBUTINGcourse_md,slide_markers,header_numbers,spoken_lesson_refs,course_name_denylist,tutor_refs,settings_json,relative_links,clean_slate_no_delete,lesson_files,teaching_step5disable-model-invocation: trueon all 15learn/*.mdnode24actions, Dependabot forgithub-actions/mcpAuthenticate)/learn setupwarns below Claude Code 2.1.176; README floorchanges.mdReview fixes (RV- through RV5- are folded into the spec).** After the 22 plan commits, a fresh Opus 5.5 reviewer read the whole branch three times, and every finding the maintainer approved got its own commit with the dev loop green. The logs are in spec §10 ("Final branch review") and the plan's "Post-implementation amendments". In short: stale module claims in the 0.4 and 0.2 scripts; a clean-slate guard so it never moves files that live inside, or contain, this repo (bash and PowerShell, with behavioural tests); validator edge cases (root-absolute links, missing or unreadable
git); test isolation from global git config;changes.mdfacts; a few Hebrew and docs wording fixes.Automated verification
uv run ruff check -q: clean (exit 0).uv run pytest -q: 67 passed.grep -rnE "17%|0\.17|שבעה עשר" courses/ai-dev: no output..claude/commands/learn/*.mdstart with thedisable-model-invocation: trueblock (30 ---and15 disable-model-invocation: true).grep -n "Global Install" .claude/commands/learn/setup.md: no output..python-versionfile.Test IDs (
uv run pytest --collect-only -q)Manual verification
Run interactively by the maintainer on 2026-10-01 (WSL2 Ubuntu, bash, Claude Code 2.1.286) in the worktree, check 4 in a lab outside the repo. Order: 0a, 0, 2a, 2b, 1, 3, 2, 4, 5, 6. Every check passed. Before and after every
$HOMEcheck, the precondition held (no learner folders or global commands; the hash of the main checkout'ssettings.local.jsonunchanged). Every cleanup removed only what the check created. No permission prompts appeared, apart from a first-run "trust this folder" prompt in check 4.aside=none); hash unchanged throughout.2.1.1000in the worktree'ssetup.md. The warning appeared and setup continued: the comparison is numeric. The first run left out the floor, so step 0.1 was tightened (1217c0f) and the check re-run on 2026-10-02 (Claude Code 2.1.287): the warning now names both versions (2.1.287 and 2.1.1000) andclaude update. The tutor still merges it into step 0's "no leftovers" line and rephrases it; accepted by the maintainer, since the spec only requires both versions and the update command./learnoffered lesson 2.1 after 1.8; no 🏗️ line.STILL PRESENT,git statusempty, no local settings file in the worktree, settings hash unchanged; the tutor told the tester to restart and rerun/learn setup.secret-demo.txtwas blocked and Claude repeated the reason;notes.txtread fine;cat secret-demo.txtin the terminal showed the fake key (the bypass; Claude noted the hook only covers Read).curlor other network call.בוחןstarted a quiz;עצורsaved progress;בחן אותיswitched to diagnostic mode;/learn projectshowed the "being rebuilt" message (plus a harmless line about a pending quiz).Windows (2026-10-02)
PowerShell clean-slate blocks (
setup.mdSteps 1 and 3): run directly, as extracted scripts, under PowerShell 7.6.6 and Windows PowerShell 5.1 on Windows, withUSERPROFILEredirected to throwaway fixtures (each script first asserts$HOMEis the fixture). Four scenarios per version: a real global install (counts 2, 1, 2; move; backup holds all; nothing left; repo untouched),~/.claude/commandsas a junction into the repo (both skipped, repo intact), a clone inside~/skill-tutor-tutorials(skipped, nothing moved), and the first with git removed from PATH (fallback works). 60 of 60 assertions pass. This is not a run through the tutor.1.3 hook exercise on Windows (Claude Code 2.1.287): in a lab outside any repo, the bash command under Git Bash (the default on a machine with Git for Windows) and the PowerShell command with
"shell": "powershell"both block the read ofsecret-demo.txt, letnotes.txtthrough, and are bypassed byGet-Content secret-demo.txtin the terminal, as the exercise teaches.1.6 Supabase MCP flow (exercise 4, steps 1–2; Claude Code 2.1.287, remote tmux session): in a lab outside the repo,
claude mcp add --scope project --transport http supabase "…?project_ref=…&read_only=true"wrote.mcp.jsonwith that URL; Claude Code asked once whether to use the project server; authentication worked both throughclaude→/mcp→ Authenticate and throughclaude mcp login supabase --no-browser(paste the redirect URL back), so a remote session can complete it. Claude described theclientsschema; an insert through the MCP failed with "cannot execute INSERT in a read-only transaction" and wrote nothing; a row inserted by hand in the Table Editor was listed. With the policyfor select to authenticated using (accountant_id = auth.uid()), a row with a NULLaccountant_idwas never returned to an authenticated user (counts: admin 2 total / 1 NULL; owner 1 visible / 0 NULL; another user 0 / 0), which is what the added sentence in step 2 says. Cleanup: server removed, authorization revoked, test data and lab removed. For unit 1d: the exercise assumes a browser on the machine running Claude Code; over SSH the--no-browserroute is needed.Untested (stated explicitly)
"shell": "powershell"on a machine that has Git Bash.uuid_generate_v4()) on a current Supabase project. The table was created withgen_random_uuid()for the MCP test.claude --versionmay not be the running binary).Future concerns
See spec §9.
Reviewer note
The Hebrew changes need a Hebrew-speaking contributor's approval. Hebrew style rules (spec §4.2 "Voice"): lesson, module and version numbers and exit codes are numerals ("1.3", "מודול 2", "2.1.176", "exit code 2"), and file names, tool names and technical terms stay in English; product, tool, protocol and file names, acronyms spelled by letter and years follow the same rules. They are applied, in full, to every course script and exercise file this PR touches (30 files, 00-* to 02-*) and, per the spec, to the rest of the course with the units that own those files. Person names ("קלוד שאנון") and the softer loanwords (טרמינל, פרומפט, פיצ'ר, דאטה, צ'אט, פרודקשן and similar) stay Hebrew. The old "מודול אחת" question is gone ("מודול 1").
2.5_script.txt:2("במודול האינטגרציות") is left for unit 1c. Commits up to 757ee21 carry a Claude co-author trailer; later commits (from cc41b42) and this description carry none.