Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
3ddce85
ci: uv + pytest + ruff toolchain and Stage 0 structural lints
SomeoneSomewhereelse Oct 1, 2026
33c38b6
fix(settings): remove the PowerShell Stop hook
SomeoneSomewhereelse Oct 1, 2026
4e64db4
fix(course): list lessons 2.1 and 2.2 in COURSE.md
SomeoneSomewhereelse Oct 1, 2026
4fc08e1
fix(content): Israeli VAT is 18%, not 17%
SomeoneSomewhereelse Oct 1, 2026
d707e0f
fix(content): use [מעבר שקף] slide markers in lesson 0.4
SomeoneSomewhereelse Oct 1, 2026
dbf8526
fix(content): remove archive residue from course content
SomeoneSomewhereelse Oct 1, 2026
bed3ae0
fix(content): make the lesson 1.3 hook exercise a safe read guard
SomeoneSomewhereelse Oct 1, 2026
270f5c3
fix(content): Supabase publishable/secret keys and read-only MCP in 1.6
SomeoneSomewhereelse Oct 1, 2026
7f3306b
refactor(content): move old project B into its own unwired file
SomeoneSomewhereelse Oct 1, 2026
d36349a
fix(tutor): disable model invocation of the learn sub-modules
SomeoneSomewhereelse Oct 1, 2026
92aaebc
feat(tutor): Hebrew aliases for continue, quiz me and stop
SomeoneSomewhereelse Oct 1, 2026
05ec9a3
fix(tutor): stop offering the final project until unit 1e
SomeoneSomewhereelse Oct 1, 2026
d4cb7a9
fix(tutor): ownership gate and safe timingSafeEqual in /learn security
SomeoneSomewhereelse Oct 1, 2026
cd3f52d
feat(setup): temporary clean-slate step (move-only backup)
SomeoneSomewhereelse Oct 1, 2026
638655b
feat(setup): warn when Claude Code is older than 2.1.176
SomeoneSomewhereelse Oct 1, 2026
61d0721
docs: remove the global install
SomeoneSomewhereelse Oct 1, 2026
ae41ef2
docs: document the disable-model-invocation frontmatter
SomeoneSomewhereelse Oct 1, 2026
fe9cc26
docs(readme): temporary tester note
SomeoneSomewhereelse Oct 1, 2026
4a86b1e
docs(readme): Claude Code 2.1.176 or later
SomeoneSomewhereelse Oct 1, 2026
33b3a69
docs: contributor test command (uv)
SomeoneSomewhereelse Oct 1, 2026
70377e4
docs: what CI enforces, and the Hebrew aliases
SomeoneSomewhereelse Oct 1, 2026
61c3d55
docs(changes): sections for #12, #13 and fix/stage0-quick-wins
SomeoneSomewhereelse Oct 1, 2026
5423b1a
fix(content): remove stale module claims from the 0.4 script
SomeoneSomewhereelse Oct 1, 2026
720553d
fix(setup): clean-slate never moves files that live inside the repo
SomeoneSomewhereelse Oct 1, 2026
6b019a1
docs(changes): correct the #13 'before' description
SomeoneSomewhereelse Oct 1, 2026
6f96be2
docs(claude-md): point at the right test file
SomeoneSomewhereelse Oct 1, 2026
4847d44
docs: tell contributors to git add new files before running the tests
SomeoneSomewhereelse Oct 1, 2026
89fe4d5
docs: say what disable-model-invocation actually blocks
SomeoneSomewhereelse Oct 1, 2026
fa8e11e
test: make the worktree test immune to global git signing and hooks
SomeoneSomewhereelse Oct 1, 2026
f2acb7e
fix(validator): root-absolute links and a missing git executable
SomeoneSomewhereelse Oct 1, 2026
2bf9e3a
fix(content): spoken title of lesson 1.1 matches the other lessons
SomeoneSomewhereelse Oct 1, 2026
6542722
fix(setup): clean-slate prompt says live progress may be included
SomeoneSomewhereelse Oct 1, 2026
a736c4b
fix(content): 1.6 mentions the first-use approval of a project MCP se…
SomeoneSomewhereelse Oct 1, 2026
fdd2e32
docs(spec,plan): record the final-review fixes (spec rev 6.2)
SomeoneSomewhereelse Oct 1, 2026
e1d463f
docs(plan): correct the commit count in the amendments
SomeoneSomewhereelse Oct 1, 2026
8e0a047
fix(setup): clean-slate also skips a folder that contains the repo
SomeoneSomewhereelse Oct 1, 2026
c7d90f1
fix(content): 0.2 no longer promises Make, n8n and ManyChat
SomeoneSomewhereelse Oct 1, 2026
e5e7db7
fix(validator): a .git that git refuses to read falls back to walking
SomeoneSomewhereelse Oct 1, 2026
757ee21
docs(spec,plan): record the second review's fixes
SomeoneSomewhereelse Oct 1, 2026
cc41b42
docs(changes): fix two wrong 'before' facts and add the review's user…
SomeoneSomewhereelse Oct 1, 2026
5dccd06
fix(content): 1.6 dummy row sets accountant_id so the RLS policy show…
SomeoneSomewhereelse Oct 1, 2026
c9c2673
test: isolate every git call of the git-tree tests from global config
SomeoneSomewhereelse Oct 1, 2026
54e59ed
docs(spec,plan): record the third review's fixes and decisions
SomeoneSomewhereelse Oct 1, 2026
1217c0f
fix(setup): the version warning must name both versions, word for word
SomeoneSomewhereelse Oct 1, 2026
6bdf65e
docs(plan): Task 25 derives the repo from origin instead of hardcodin…
SomeoneSomewhereelse Oct 2, 2026
81a683b
fix(content): numerals for lesson, module and version numbers; Englis…
SomeoneSomewhereelse Oct 4, 2026
673ef65
docs(spec,plan): Hebrew style rules for the replacement text, course-…
SomeoneSomewhereelse Oct 4, 2026
64210d8
fix(content): English product, tool and file names, acronyms and year…
SomeoneSomewhereelse Oct 9, 2026
395e72e
docs(spec,plan): extend the Hebrew style rules to every touched scrip…
SomeoneSomewhereelse Oct 9, 2026
32b4362
fix(content): the rest of the English-name cases (wrangler.jsonc, Wor…
SomeoneSomewhereelse Oct 9, 2026
497babd
docs(spec,plan): record the maintainer's decisions; TTS listening che…
SomeoneSomewhereelse Oct 9, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 8 additions & 7 deletions .claude/commands/learn.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,9 @@ Create `~/skill-tutor-tutorials/learner_profile.md` with their answers.
| $ARGUMENTS = "export" | Read `.claude/commands/learn/export.md` |
| $ARGUMENTS = "import" or "import [path]" | Read `.claude/commands/learn/import.md` |
| $ARGUMENTS empty | Read `.claude/commands/learn/resume.md` |
| "quiz me" trigger | Read `.claude/commands/learn/quiz.md` |
| "stop" trigger | Read `.claude/commands/learn/progress.md` |
| "quiz me" / "בוחן" trigger | Read `.claude/commands/learn/quiz.md` (covered sections) |
| "quiz me full" / "בוחן מלא" trigger | Read `.claude/commands/learn/quiz.md` in **quiz me full** mode |
| "stop" / "עצור" / "סיום" trigger | Read `.claude/commands/learn/progress.md` |
| "project analysis" trigger | Read `.claude/commands/learn/project-analysis.md` |

---
Expand All @@ -86,13 +87,13 @@ Create `~/skill-tutor-tutorials/learner_profile.md` with their answers.

| Command | Action |
|---------|--------|
| continue | Move to next section |
| quiz me | Read `.claude/commands/learn/quiz.md` (covered sections) |
| quiz me full | Read `.claude/commands/learn/quiz.md` (whole lesson, 8 Qs) |
| continue / המשך | Move to next section |
| quiz me / בוחן | Read `.claude/commands/learn/quiz.md` (covered sections) |
| quiz me full / בוחן מלא | Read `.claude/commands/learn/quiz.md` in **quiz me full** mode (whole lesson, 8 Qs) |
| explain again | Re-explain from a different angle |
| summary | Bullet-point of everything covered |
| exercises | Show lesson exercises |
| stop | Read `.claude/commands/learn/progress.md`, then summarize |
| stop / עצור / סיום | Read `.claude/commands/learn/progress.md`, then summarize |
| read aloud | Use TTS helper |
| settings | Show current settings |
| detail 1 | Switch to detail level 1 (very brief summaries) |
Expand All @@ -102,7 +103,7 @@ Create `~/skill-tutor-tutorials/learner_profile.md` with their answers.
| diagnostic / בחן אותי | Switch to diagnostic mode (quiz first, teach weak spots) |
| socratic / הדרך אותי | Switch to socratic mode (question-led discovery) |
| slides | Read `.claude/commands/learn/slides.md` — verbatim slide reading mode |
| project | Read `.claude/commands/learn/project.md` — final project mode |
| project | Read `.claude/commands/learn/project.md` — final projects (until unit 1e: shows 'being rebuilt') |
| deploy | Read `.claude/commands/learn/deploy.md` — pick a deploy tool (GitHub Pages / Cloudflare / Render / Vercel) |
| security | Read `.claude/commands/learn/security.md` — security review on the learner's project |
| export | Read `.claude/commands/learn/export.md` — export all learner data to a ZIP |
Expand Down
3 changes: 3 additions & 0 deletions .claude/commands/learn/cli-first.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
---
disable-model-invocation: true
---
# CLI-First Reference

*Shared principle. Any module may reference this as "follow cli-first".*
Expand Down
3 changes: 3 additions & 0 deletions .claude/commands/learn/deploy.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
---
disable-model-invocation: true
---
# Deploy Module — איזה כלי פריסה לבחור

*Loaded when /learn is called with "deploy" argument, or when a learner asks how/where to deploy a project.*
Expand Down
3 changes: 3 additions & 0 deletions .claude/commands/learn/display.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
---
disable-model-invocation: true
---
# Display Module — Visual Language

*Loaded by teaching.md, quiz.md, and progress.md. Defines the formatting standard for all learner-facing output.*
Expand Down
3 changes: 3 additions & 0 deletions .claude/commands/learn/export.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
---
disable-model-invocation: true
---
# Export Module — ייצוא נתוני תלמיד

Export all learner data from `~/skill-tutor-tutorials/` to a ZIP file that can be transferred to another device or kept as a backup.
Expand Down
3 changes: 3 additions & 0 deletions .claude/commands/learn/import.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
---
disable-model-invocation: true
---
# Import Module — ייבוא נתוני תלמיד

Import learner data from a ZIP file (created by `/learn export`) into `~/skill-tutor-tutorials/`.
Expand Down
7 changes: 5 additions & 2 deletions .claude/commands/learn/progress.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
---
disable-model-invocation: true
---
# Progress Module

*Loaded after covering at least one section, and on the "stop" command.*
*Loaded after covering at least one section, and on the "stop / עצור / סיום" command.*

Respond in `session.language` throughout. Address the learner using `session.address`.

Expand Down Expand Up @@ -96,7 +99,7 @@ Update `~/skill-tutor-tutorials/learner_profile.md` — add/update `## Lessons S

---

## Session End (on "stop" command)
## Session End (on "stop / עצור / סיום" command)

After saving all files, display a session summary:
- What was covered
Expand Down
3 changes: 3 additions & 0 deletions .claude/commands/learn/project-analysis.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
---
disable-model-invocation: true
---
# Project Analysis Module

*Loaded when the learner chooses "project analysis".*
Expand Down
15 changes: 15 additions & 0 deletions .claude/commands/learn/project.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
---
disable-model-invocation: true
---
# Project Module

*Loaded when /learn is called with "project" argument, or when learner picks the final project from resume.*
Expand All @@ -6,6 +9,18 @@ Respond in `session.language` throughout. Address the learner using `session.add

---

## Step 0 — TEMPORARY (until unit 1e)

**Until unit 1e lands, this module runs only this step.**

Tell the learner, in `session.language` and using `session.address`, that the final projects are being rebuilt, and that meanwhile they should continue with the lessons (`/learn`). Hebrew wording:

> "פרויקטי הגמר נבנים מחדש כרגע. בינתיים, המשיכו עם השיעורים: `/learn`"

Then **stop**. Do not open the final-projects file (`projects.md`), do not look for a project state file, and do not run Step 1 or any later step. Unit 1e deletes this step.

---

## Step 1 — Load Project State

Read `~/skill-tutor-tutorials/project/ai-dev-project.md`.
Expand Down
3 changes: 3 additions & 0 deletions .claude/commands/learn/quiz.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
---
disable-model-invocation: true
---
# Quiz Module

*Loaded when the "quiz me" trigger is used. TTS helper is defined in learn.md.*
Expand Down
7 changes: 4 additions & 3 deletions .claude/commands/learn/resume.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
---
disable-model-invocation: true
---
# Resume Module

*Loaded when /learn is called with no arguments. Replaces the static "lesson or project analysis?" prompt with a smart suggestion based on actual progress.*
Expand All @@ -20,7 +23,7 @@ Compute today's date. Classify each lesson:
- **In progress** — started, score under 8, not yet due
- **Next new** — first lesson in COURSE.md with no progress file

Check final project eligibility: learner is ready to start the final project if they have progress files for lessons in module 2 (any lesson 2.x), or have completed all lessons through 1.8.
**TEMPORARY (until unit 1e): do not offer the final project.** Skip the final-project eligibility check, and never show a 🏗️ line in Step 2. Unit 1e restores both.

---

Expand All @@ -35,7 +38,6 @@ Welcome back. Here's where things stand:
🔁 Due for review: Lesson [X.X] — [title] ([N] days overdue)
📖 Next new lesson: [X.X] — [title]
🔍 Project analysis
[if eligible: 🏗️ Final Project — [show "starting" or current phase if already selected]]

What would you like to do?
```
Expand All @@ -47,7 +49,6 @@ Welcome back. You're up to date on reviews.
📖 Continue: Lesson [X.X] — [title] (in progress)
📖 Next new lesson: [X.X] — [title]
🔍 Project analysis
[if eligible: 🏗️ Final Project — [show "starting" or current phase if already selected]]

What would you like to do?
```
Expand Down
37 changes: 33 additions & 4 deletions .claude/commands/learn/security.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
---
disable-model-invocation: true
---
# Security Module — סקירת אבטחה

*Loaded when /learn is called with "security [URL]" or "security" argument, or when the deploy module offers a security check and the learner accepts.*
Expand All @@ -14,8 +17,31 @@ A live URL reveals what code review misses: files that are actually served, head

Parse `$ARGUMENTS` for a URL (starts with `http://` or `https://`).

- **URL provided** → store as `target_url`, proceed to Phase A (Live Scan).
- **No URL** → ask: "מה ה-URL של האפליקציה? (למשל: `https://my-app.onrender.com`). אם עוד לא העלית — הרץ `/learn deploy` קודם, ותחזור לכאן עם הכתובת."
- **URL provided** → store as `target_url`, then run the ownership check below.
- **No URL** → ask: "מה ה-URL של האפליקציה? (למשל: `https://my-app.onrender.com`). אם עוד לא העלית — הרץ `/learn deploy` קודם, ותחזור לכאן עם הכתובת." When the learner gives a URL, store it as `target_url`, then run the ownership check below.

### Pre-flight — Ownership check (required on every entry path)

Run this once `target_url` is known and before Phase A, however the learner got here: `/learn security http…`, `/learn security` followed by a URL, or the `deploy` module's handoff. **Make no network request of any kind before this check passes.**

Use `AskUserQuestion`, in `session.language` (Hebrew shown):

```
question: "האפליקציה בכתובת הזו שלך, או שיש לך אישור מפורש לבדוק אותה?"
header: "אישור בדיקה"
options:
- label: "כן — היא שלי, או שיש לי אישור מפורש"
description: "ממשיכים לסריקה"
- label: "לא"
description: "לא סורקים את הכתובת הזו"
```

- **Only the first option continues** to Phase A.
- **Any other answer** (including "לא", free text, or anything unclear):
- make no network request of any kind, and run none of Phases A–E
- explain briefly, in `session.language`, that testing an app without permission can cause harm and may be illegal
- suggest rerunning `/learn security` with the URL of an app the learner owns
- then **end** the module

---

Expand Down Expand Up @@ -126,16 +152,19 @@ app.use(express.static(path.join(__dirname, 'public')))

דפוס מינימלי לבדיקת סוד משותף:
```js
const { createHash, timingSafeEqual } = require('node:crypto')
const digest = (s) => createHash('sha256').update(String(s)).digest()

const secret = process.env.SYNC_SECRET
if (!secret) return res.status(503).json({ error: 'Service unavailable' })

const provided = req.headers['x-sync-key']
if (!provided || !timingSafeEqual(Buffer.from(provided), Buffer.from(secret))) {
if (!provided || !timingSafeEqual(digest(provided), digest(secret))) {
return res.status(401).json({ error: 'Unauthorized' })
}
```

הסבר `timingSafeEqual`: השוואה רגילה (`===`) פגיעה ל-timing attack — אפשר לנחש מפתח תו-תו לפי זמן התשובה. `timingSafeEqual` לוקח אותו זמן תמיד.
הסבר `timingSafeEqual`: השוואה רגילה (`===`) פגיעה ל-timing attack — אפשר לנחש מפתח תו-תו לפי זמן התשובה. `timingSafeEqual` לוקח אותו זמן תמיד. **למה משווים digests:** `timingSafeEqual` זורק שגיאה כשהאורכים שונים, והשרת היה מחזיר 500 במקום 401 וחושף את אורך המפתח; ל-SHA-256 של שני הצדדים יש תמיד אותו אורך (32 בתים), ולכן אין 500 ואין דליפה של האורך.

---

Expand Down
Loading
Loading