SPB Git

Repository Public MIT Research preview

source-registry.md 14.6 KB 39 lines markdown

1# S14 — Registre des sources23**ATLAS IA** · Simon-Pierre Boucher — Professeur | Université du Québec en Outaouais (UQO)45Même format que `docs/source-verification.md`. « content read » : le passage a été ouvert et lu le jour indiqué, et le registre dit lequel. « resolved » : l'adresse a répondu ce jour-là, sans relecture du contenu.67**Séance propre à un produit.** Treize pages de la documentation de Claude Code ont été lues le **2026-11-22**, en entier ou en partie, dans leur rendu Markdown (même adresse suivie de `.md`), servi par le même site ; la liste des pages vient de l'index `https://code.claude.com/docs/llms.txt` (205 pages en anglais ce jour-là). Les numéros de version cités par ces pages allaient jusqu'à 2.1.326. **L'outil n'a été ni installé, ni lancé, ni configuré, ni authentifié pour écrire la séance** : aucune affirmation ne repose sur une observation du produit, toutes reposent sur le texte de la documentation. Tout ce qui s'appuie sur les treize premières lignes doit être relu dans les sept jours qui précèdent chaque prestation ou enregistrement.89| Key | Reference | URL | Accessed | Volatility | Verification | Claim supported (session) |10|---|---|---|---|---|---|---|11| `s14claudecode2026memory` | Anthropic, Claude Code Docs, "How Claude remembers your project" | https://code.claude.com/docs/en/memory | 2026-11-22 | rapidly-changing | content read (whole page) | Locations and scopes of CLAUDE.md files (project `./CLAUDE.md` or `./.claude/CLAUDE.md`, user `~/.claude/CLAUDE.md`, local `./CLAUDE.local.md`, managed policy); loading from the working directory and its ancestors at launch, subdirectory files on demand; AGENTS.md read when no CLAUDE.md is found (v2.1.277 or later); target under 200 lines; concrete, verifiable instructions; contradictory instructions may be resolved arbitrarily; `@path` imports; `.claude/rules/` with `paths`; files are context, not enforced configuration; `/init`, `/memory`, `/context`; auto memory (MEMORY.md, first 200 lines or 25 KB); project-root CLAUDE.md re-read after `/compact` (S14-D10, S14-D11, S14-D19, README reference card, lab path A.1 and A.2) |12| `s14claudecode2026bestpractices` | Anthropic, Claude Code Docs, "Best practices for Claude Code" | https://code.claude.com/docs/en/best-practices | 2026-11-22 | rapidly-changing | content read (whole page). Model names, effort levels and cache durations on the page are deliberately NOT reproduced | Distinction between instructions the model reads and rules the tool enforces (hooks, deny rules, managed settings); what a short CLAUDE.md holds; deny rules hold in every permission mode; rules match tool calls, not intent; a subagent restricted to `tools: Read, Grep, Glob` cannot edit; subagents cost tokens and do not give a better answer; five questions before an unattended run; `claude -p`, `--allowedTools`, `--permission-mode dontAsk`, `--max-turns`; `/clear` between unrelated tasks (S14-D11, S14-D20, S14-D24, notes of S14-D16 and S14-D24, README reference card) |13| `s14claudecode2026workflows` | Anthropic, Claude Code Docs, "Common workflows" | https://code.claude.com/docs/en/common-workflows | 2026-11-22 | rapidly-changing | content read (whole page) | Plan before editing: `claude --permission-mode plan`, Shift+Tab; refactoring in small, testable increments; delegating research to a subagent; `claude -p` for scripts; `claude --continue` (S14-D15, background for S14-D13 and S14-D20) |14| `s14claudecode2026modes` | Anthropic, Claude Code Docs, "Choose a permission mode" | https://code.claude.com/docs/en/permission-modes | 2026-11-22 | rapidly-changing | content read in part: sections "Start in a different permission mode", "Analyze before you edit with plan mode", "Review and approve a plan", "Set plan mode as the default", "Allow only pre-approved tools with dontAsk mode". The rest of the page (auto mode, classifier, protected and critical paths, about nine tenths of the text) was NOT read for this session | Plan mode: Claude reads files, runs shell commands to explore and writes a plan without editing the source; entering with Shift+Tab, `/plan` or the CLI flag; the three approval choices; Ctrl+G opens the plan in the editor; approving exits plan mode; shell commands during planning are reviewed by a classifier or prompted depending on the session; dontAsk denies what would otherwise prompt (S14-D15, S14-D24, lab path A.2 and A.3) |15| `s14claudecode2026context` | Anthropic, Claude Code Docs, "Explore the context window" | https://code.claude.com/docs/en/context-window | 2026-11-22 | rapidly-changing | content read (whole page; the interactive timeline itself is not rendered in Markdown, its written breakdown was read). The example token counts of the page are NOT reproduced | What loads before the first prompt; `/context`; `/compact` with a focus; automatic compaction near the limit; `/rewind` summarize options; `/clear` between tasks; what survives compaction (project-root CLAUDE.md re-injected from disk, path-scoped rules and nested files reloaded on demand) (S14-D19, README reference card) |16| `s14claudecode2026checkpointing` | Anthropic, Claude Code Docs, "Checkpointing" | https://code.claude.com/docs/en/checkpointing | 2026-11-22 | rapidly-changing | content read (whole page) | `/rewind` (alias `/undo`, Esc twice) and its actions, including "Summarize from here" and "Summarize up to here"; Bash-only changes and most subagent edits are not restored; not a replacement for version control (S14-D19, README reference card) |17| `s14claudecode2026subagents` | Anthropic, Claude Code Docs, "Create custom subagents" | https://code.claude.com/docs/en/sub-agents | 2026-11-22 | rapidly-changing | content read in part: introduction, "Built-in subagents", "Quickstart", "Choose the subagent scope", "Write subagent files", "Frontmatter reference", "Understand automatic delegation", "Invoke subagents explicitly", "What loads at startup". Sections on models, effort, MCP servers, permission modes, memory, hooks, background runs, forks and examples (about two thirds of the page) were NOT read | A subagent runs in its own context window and returns a summary; it does not see the conversation and starts from a delegation message; files in `.claude/agents/` or `~/.claude/agents/` with `name`, `description`, optional `tools`; its requests count toward the same usage (S14-D20, README reference card) |18| `s14claudecode2026hooksguide` | Anthropic, Claude Code Docs, "Automate actions with hooks" | https://code.claude.com/docs/en/hooks-guide | 2026-11-22 | rapidly-changing | content read in part: introduction, "Set up your first hook", "Block edits to protected files", "Re-inject context after compaction", "How hooks work" (event table, combining results, input, output, exit codes, structured output), "Configure hook location", "Limitations", "Hooks and permission modes", "Hook not firing", "Hook error in output". Sections on notifications, formatting, auditing, matchers in detail, prompt, agent and HTTP hooks were NOT read | Hooks are user-defined shell commands run by Claude Code at fixed lifecycle points; `hooks` block of a settings file; PreToolUse can block, PostToolUse cannot undo, Stop fires when Claude finishes responding; JSON on stdin with `tool_name` and `tool_input`; exit 0 = no decision, exit 2 = block with stderr fed back; `/hooks`; blocking Edit and Write does not stop shell commands from changing the file (S14-D23, lab challenge, optional part) |19| `s14claudecode2026hooks` | Anthropic, Claude Code Docs, "Hooks reference" | https://code.claude.com/docs/en/hooks | 2026-11-22 | rapidly-changing | content read in part: ONLY the section "PreToolUse" and its "PreToolUse input" paragraph (a few thousand characters of a page of about 294,000). VERIFY_CURRENT_DOCS for everything else on this page | For the file tools Write, Edit and Read, `tool_input.file_path` is an absolute path; PreToolUse runs only when a tool is called (S14-D23, `garde.py --hook` in the lab) |20| `s14claudecode2026skills` | Anthropic, Claude Code Docs, "Extend Claude with skills" | https://code.claude.com/docs/en/skills | 2026-11-22 | rapidly-changing | content read in part: introduction, "Create your first skill", "Choose where skills load" (table and rules), "Frontmatter reference", "Control who invokes a skill", "Skill content lifecycle". The remaining sections (about two thirds of the page) were NOT read | A skill is a `SKILL.md` file in `.claude/skills/<name>/`; its body loads only when used; invoked with `/name` or by the model; `disable-model-invocation: true` reserves it to the user (S14-D24, README reference card) |21| `s14claudecode2026settings` | Anthropic, Claude Code Docs, "Settings files and precedence" | https://code.claude.com/docs/en/settings | 2026-11-22 | rapidly-changing | content read in part: introduction, "Settings files and who they affect", "Find or create your settings files", "Settings precedence", "Lists merge instead of overriding". Sections on changing settings, troubleshooting and cloud sessions were NOT read | Four settings files and their scopes (user, shared project, project local, managed); precedence managed, command line, local, project, user; list keys such as `permissions.allow` merge (S14-D23, S14-D24, README reference card) |22| `s14claudecode2026permissions` | Anthropic, Claude Code Docs, "Configure permissions" | https://code.claude.com/docs/en/permissions | 2026-11-22 | rapidly-changing | content read in part: "Permission rule syntax" (match all uses, specifiers), the opening of "Wildcard patterns", "Read and Edit" (what the rules cover, warning), "Extend permissions with hooks" and "Hook approvals in plan mode". The rest (Bash rule details, PowerShell, symlinks, WebFetch, MCP, working directories, sandboxing, managed settings; about four fifths of the page) was NOT read here; see also the S13 registry | Rule format `Tool` or `Tool(specifier)`, examples `Read(./.env)` and `Bash(git push *)`; Read and Edit deny rules do not cover a script that opens files itself; a blocking PreToolUse hook takes precedence over allow rules (S14-D24, README reference card) |23| `s14claudecode2026headless` | Anthropic, Claude Code Docs, "Run Claude Code programmatically" | https://code.claude.com/docs/en/headless | 2026-11-22 | rapidly-changing | content read in part: introduction, "Basic usage", "Start faster with bare mode", "Auto-approve tools", "Turn off permission prompts in unattended runs". Sections on output formats, streaming, commits, system prompt and continuing conversations were NOT read | `claude -p` runs non-interactively and exits with a status code; `--allowedTools` pre-approves tools; `--permission-mode dontAsk` for locked-down runs (S14-D24, README reference card) |24| `s14fowler2018refactoring` | Fowler, *Refactoring: Improving the Design of Existing Code*, 2nd ed., Addison-Wesley, 2018 | https://martinfowler.com/books/refactoring.html | 2026-11-22 | stable | resolved (author's page for the book); the book was not re-read on that date; the definition is cited from its standard statement | Refactoring changes internal structure without changing observable behaviour; small steps, tests after each (S14-D25, figure S14-F02) |25| `s14feathers2004legacy` | Feathers, *Working Effectively with Legacy Code*, Prentice Hall, 2004 | https://www.informit.com/store/working-effectively-with-legacy-code-9780131177055 | 2026-11-22 | stable | resolved (publisher's page); the book was not re-read on that date; the notion is cited from its standard statement | Characterization tests record the current behaviour of existing code before it is changed (S14-D25, figure S14-F05) |26| `s14zeller2009why` | Zeller, *Why Programs Fail: A Guide to Systematic Debugging*, 2nd ed., Morgan Kaufmann, 2009 | https://www.whyprogramsfail.com/ | 2026-11-22 | stable | resolved (book site); the book was not re-read on that date. The six steps on the slide are the course's own summary, not a quotation | Debugging as a systematic process: reproduce, isolate, hypothesise, test, fix (S14-D27) |27| `s14saltzer1975protection` | Saltzer & Schroeder, "The Protection of Information in Computer Systems", *Proceedings of the IEEE* 63(9), 1975 | https://doi.org/10.1109/PROC.1975.9939 | 2026-11-22 | stable | resolved (DOI; state recorded by the link checker in `qa/results.json`); the paper was not re-read; the principle is cited from its standard statement | Principle of least privilege (S14-D21, figure S14-F04) |2829## Points de vérification ouverts3031- **Recontrôle avant chaque prestation.** Rouvrir les treize pages dans les sept jours qui précèdent, comparer aux diapositives S14-D10, D11, D15, D19, D20 (panneau de droite), D23, D24, à la « fiche de référence datée » du README, au parcours A et au volet facultatif du défi ; corriger la date partout.32- **VERIFY_CURRENT_DOCS — pages lues en partie.** Référence des hooks (une seule section lue), modes de permission, sous-agents, skills, permissions, réglages, mode non interactif, guide des hooks : la colonne « Verification » dit ce qui a été lu. Rien de leurs parties non lues n'est affirmé dans la séance.33- **Pages téléchargées mais non lues, donc non citées :** « Extend Claude Code » (`features-overview`) et « Explore the .claude directory » (`claude-directory`).34- **Pages non ouvertes :** référence de la ligne de commande, liste des commandes, référence des réglages, bac à sable, équipes d'agents, flux dynamiques, arbres de travail, plugins, mods, MCP, actions GitHub, tâches planifiées, configuration des modèles, coûts. La séance n'affirme rien sur leur contenu. Les options `--allowedTools`, `--max-turns` et `--permission-mode dontAsk` sont citées d'après les pages lues (bonnes pratiques, mode non interactif), non d'après la référence de la ligne de commande.35- **Points les plus instables.** Les libellés des choix d'approbation d'un plan ; le comportement des commandes shell pendant la planification ; la lecture directe de `AGENTS.md` (récente) ; le nom et le format des événements de hooks. Le laboratoire ne dépend d'aucun d'eux pour être réussi.36- **Prix et modèles.** Aucun prix, aucun nom de modèle, aucune taille de fenêtre, aucune limite d'usage n'est reproduit, bien que les pages lues en mentionnent.37- **Aucune exécution du produit.** Le parcours A du laboratoire et le branchement d'un hook n'ont pas été exécutés ; les consignes ne promettent aucune réponse de l'outil. Le mode `--hook` de la garde est éprouvé par les tests de la séance avec une entrée JSON construite d'après le format décrit par la documentation, pas avec l'outil. Aucune capture d'écran ni transcription du produit ne figure dans la séance.38- **Sources stables.** Les livres de Fowler, de Feathers et de Zeller et l'article de Saltzer et Schroeder n'ont pas été relus ce jour-là.39
Files main
Menu

Theme