@antoneeo/course-creator 0.1.0-beta.2 → 0.1.0-beta.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,238 @@
1
1
  # Changelog
2
2
 
3
+
4
+ ## [0.1.0-beta.20] - 2026-11-08
5
+
6
+ ### What's new
7
+
8
+ **With several lenses of the family installed, the per-prompt reminder now names them.** A machine gets one reminder for the whole family, wired by whichever lens was installed first, so a knowledge or marketing task used to see the code lens's line. When other lenses are installed, the line now lists each one with its domain, for example `kb-agentic (knowledge)`, and asks the agent to load the one that governs the work. A single-lens install sees no change. To do this the reminder reads the installed skill names at each prompt (names only), and its length bound rises from 600 to 700 characters (F-093).
9
+
10
+ #### What to do
11
+
12
+ Everyone who has this package installed: run `npm install -g @antoneeo/course-creator@latest`, then `course-creator-install-skill`, and restart your agent sessions. The install step copies the updated validator into your skills directory and wires the reminder if it is missing; sessions already open keep the old one until restarted. To check it worked, run `npm ls -g @antoneeo/course-creator` and look for 0.1.0-beta.20, then start a session: on a machine with more than one lens of the family installed, the one-line reminder shown at each prompt names the installed lenses with their domains.
13
+
14
+ ## [0.1.0-beta.19] - 2026-11-04
15
+
16
+ ### What's new
17
+
18
+ **Codex hook checks can recognize the work the agent is doing.** The shared validator recognizes supported native Codex patches and transcript records, and gives more accurate orientation-hook diagnostics when definitions are disabled or cannot be verified. Existing hook setup and opt-outs are preserved.
19
+
20
+ #### What to do
21
+
22
+ Run `npm install -g @antoneeo/course-creator@latest`, then `course-creator-install-skill`, and restart your agent sessions so they load the updated validator. Check that `npm ls -g @antoneeo/course-creator` shows 0.1.0-beta.19. Any configured Codex hooks still require their normal client trust review.
23
+
24
+ ### Changed
25
+
26
+ - Update the shared validator for Codex event recognition, attributed hook discovery and disabled/unverified configuration handling.
27
+
28
+ ## [0.1.0-beta.18] - 2026-11-01
29
+
30
+ ### What's new
31
+
32
+ **Branches that add review rows merge without a conflict.** When two branches both add rows to the review log and your project has no merge rule for that file, merging them stops on a conflict you resolve by hand. The check the agent runs when it closes a piece of work now notices the missing rule and prints the exact line to add to `.gitattributes`, so the agent sees what to fix while it works, without anyone reading release notes. Nothing changes at session start, and the note never makes a check fail.
33
+
34
+ #### What to do
35
+
36
+ **1. Update (everyone).** The changes arrive only with the update.
37
+ 1. Run `npm install -g @antoneeo/course-creator@latest`, then `course-creator-install-skill`.
38
+ 2. Close and reopen your agent sessions: the new version loads only at startup.
39
+
40
+ To check: `npm ls -g @antoneeo/course-creator` shows 0.1.0-beta.18.
41
+
42
+ ### Changed
43
+ - The shared validator (F-090): `check` prints a `[note]` when the review log (`<docs>/audit/reviews/REVIEW_LOG.md`) has no `merge` attribute, naming the line to add to `.gitattributes` at the repository root (`git check-attr`, with personal and system attribute files ignored; a per-clone `.git/info/attributes` still counts). A deliberate non-union driver is respected. The exit code is unchanged, and session orientation still runs no git.
44
+ - `ENFORCEMENT.md`: «A review log git would not merge cleanly -- `check` names it» (F-090).
45
+
46
+ ## [0.1.0-beta.17] - 2026-10-31
47
+
48
+ ### What's new
49
+
50
+ **Decisions taken on your behalf are labelled.** In the request record, a decision a session took under a delegation you gave it, and words you gave one session for work another session records, now carry their own heading. They are never read later as something you said yourself, and a delegated decision never overrides one of yours: a choice that would change it comes back to you as a question.
51
+
52
+ #### What to do
53
+
54
+ **1. Update (everyone).** The changes arrive only with the update.
55
+ 1. Run `npm install -g @antoneeo/course-creator@latest`, then `course-creator-install-skill`.
56
+ 2. Close and reopen your agent sessions: the new version loads only at startup.
57
+
58
+ To check: `npm ls -g @antoneeo/course-creator` shows 0.1.0-beta.17.
59
+
60
+ ### Changed
61
+ - Request record (`templates.md`, F-088): labelled entries `decided under delegation R<m>` and `received for <unit>`; `review.md` and `elicitation.md` treat them as the deciding session's choice or relayed words, never an owner statement.
62
+
63
+ ## [0.1.0-beta.16] - 2026-10-31
64
+
65
+ ### What's new
66
+
67
+ **You approve the course design before production.** On significant work, such as a new course or a changed audience, once the independent design review passes, the agent stops and shows you a short summary of the design: what the course will teach and to whom, what it touches, the risks and how they are handled, and what the review found. Production starts only after your yes, which the agent records in the unit's request record. A "go ahead" given before you saw the design does not count, and in a session with nobody to answer the unit waits for you.
68
+
69
+ #### What to do
70
+
71
+ **1. Update (everyone).** The changes arrive only with the update.
72
+ 1. Run `npm install -g @antoneeo/course-creator@latest`, then `course-creator-install-skill`.
73
+ 2. Close and reopen your agent sessions: the new version loads only at startup.
74
+
75
+ To check: `npm ls -g @antoneeo/course-creator` shows 0.1.0-beta.16.
76
+
77
+ **2. Approving the design (significant units).**
78
+ - **This concerns you if** you use the skill for significant (L3) work. Nothing to configure: after the design review passes, the agent asks whether to proceed. Answer yes to start the production, or say what to change; the design is then revised and, where the change touches what the review judged, reviewed again before you are asked again.
79
+ - **A unit already in progress.** Units started before 2026-10-31 are not affected. If a unit started on or after 2026-10-31 with an earlier version is already in progress or finished, `sdlc_check.py validate` shows a `[note]` saying it has `no design approval in its request record`. Why: the earlier version never asked you. To clear it, tell the agent that you approve the design as it was implemented; it records your words under a label that begins `design approved` (for example `design approved after implementation`). The note never fails a check, so you can also leave it.
80
+ - **To check:** on your next significant unit, the agent stops after the design review and asks you before any production starts.
81
+
82
+ ### Changed
83
+ - After the design review's final PASS, an L3 unit stops: the agent presents a short summary of the course design and asks the owner whether to proceed; production starts only after a yes, recorded in the request record under a label that begins `design approved`. Unattended, the unit is `BLOCKED on the user`. The L3 row of the triage table reads "design review, owner approval, production". The rule is in the shared `review.md`; `SKILL.md` and `templates.md` point at it (F-087).
84
+ - The shared validator: `validate` notes an L3 ANALYSIS in implementation, started on or after 2026-10-31, whose request record holds no entry whose label begins `design approved`. It is a `[note]`: `--strict` exits as before. The `gate` refusal message adds that at L3 the ANALYSIS goes `IN_PROGRESS` only after the owner's design approval; its exit codes are unchanged (F-087).
85
+
86
+ ## [0.1.0-beta.15] - 2026-10-30
87
+
88
+ ### What's new
89
+
90
+ **An instructor-led course ships with everything its instructor needs.** A course taught by an instructor now comes with `INSTRUCTOR_GUIDE.md`. It tells the instructor what to prepare, the schedule, what not to show the learners, what to do when a live step goes wrong, and what to clean up afterwards. It also lists every material the delivery needs. The course check confirms that each listed material exists, so a missing file shows up before the session instead of during it.
91
+
92
+ **Feedback is attributed to the right version.** If a slide or unit names the course with a version different from the one the course declares (say "version 1.0" in a course at 1.2), the check names the section and the version it found. Feedback that quotes the version then reaches the version it is about.
93
+
94
+ **Demo projects stay out of the course's memory.** Materials can be listed anywhere in the project, so demo projects and the generated deck are listed where they are. If a listed demo project with its own repository sits inside `ai_docs/`, the check warns you: its documents would otherwise turn up in project searches as if they were the course's.
95
+
96
+ **From 0.1.0-beta.14, published without notes:**
97
+ - **The process checks can no longer be bypassed by accident.** Quoting a work level inside a sentence no longer counts as declaring it, and protected parts of the project stay protected when the agent changes folder.
98
+ - **You know what the project memory has not read yet.** The agent can tell how much of the project it has never examined.
99
+
100
+ #### What to do
101
+
102
+ **1. Update (everyone).** The changes arrive only with the update.
103
+ 1. Run `npm install -g @antoneeo/course-creator@latest`, then `course-creator-install-skill`.
104
+ 2. Close and reopen your agent sessions: the new version loads only at startup.
105
+
106
+ To check: `npm ls -g @antoneeo/course-creator` shows 0.1.0-beta.15.
107
+
108
+ **2. Write the instructor guide (instructor-led courses, and courses that already have one).**
109
+ - **This concerns you if** a course's content file (`SLIDE_CONTENT.md` or `COURSE_CONTENT.md`) declares `Delivery mode: instructor-led`: after the update, `check` reports `instructor-led course needs INSTRUCTOR_GUIDE.md before delivery`. It also concerns any course with a `Content contract` that already has an `INSTRUCTOR_GUIDE.md`, which is now checked. Courses that declare no `Content contract` are not affected.
110
+ - **Why:** the check refuses an instructor-led course without the guide, and refuses a guide written by hand in another shape, so the course fails `check` until the guide follows the template.
111
+ - **Steps.** The commands below use `<skill_dir>`, the folder where `course-creator-install-skill` placed the skill; you can also ask the agent to run them.
112
+ 1. Ask the agent: "write INSTRUCTOR_GUIDE.md for this course from the template in templates.md".
113
+ 2. Make sure `## Materials` lists every file and folder the delivery needs, with paths from the project root (for example `demo/TH-01/`). A folder path ends with `/`; a file path does not.
114
+ 3. If a listed demo project with its own `.git` or `ai_docs/` is inside `ai_docs/`, the check warns you. Move it outside, for example to `demo/` at the project root. Then update its path in `## Materials`, in any fallback cell and in any `ai_docs/...` path the guide cites. Finally run `python <skill_dir>/scripts/sdlc_check.py index --root .`, which regenerates the project memory without the demo files.
115
+ 4. If `check` reports `mentions course version X; Course version is Y`, find the line in the named section that names the course with version X, and correct it.
116
+ - **To check:** `python <skill_dir>/scripts/sdlc_check.py course <course-folder> --root .` reports `0 error(s)` for that course, and no warning about the guide. `<course-folder>` is the course's folder name under `ai_docs/solutions/courses/`.
117
+
118
+ **3. Protected folders in a repository with several `ai_docs/` (only if you use them; from 0.1.0-beta.14).**
119
+ - **This concerns you if** your agent settings contain `gate --hook --protected` and the repository has more than one `ai_docs/` folder, for example a package with its own.
120
+ - **Why:** protected paths are now read from the `ai_docs/` nearest to the edited file. A path written from the repository root, such as `packages/api/src/auth`, no longer matches the files inside `packages/api`, so the agent could change them without an analysis.
121
+ - **Steps:** rewrite those paths from the package: `packages/api/src/auth` becomes `src/auth`. Note that `src/auth` then protects the folder with that name in every project that has its own `ai_docs/`.
122
+ - **To check:** in a session with no open analysis, ask the agent for a small change to a protected file. It must be refused.
123
+
124
+ ### Added
125
+ - Instructor-led courses ship `INSTRUCTOR_GUIDE.md` (`templates.md`, F-086): what to prepare, the schedule, the reserved material (every solution unit by ID), what to do when a live step deviates and which fallback to use, what to clean up afterwards, and the list of every material the delivery needs with who may see it. `course_check` refuses a course whose content declares `Delivery mode: instructor-led` without the guide, and checks a guide wherever one exists in a course that declares a content contract: header equal to `COURSE_PLAN`, all six sections, every listed material present in the project, every cited `ai_docs/` path in the course folder or under a listed material, solution units reserved, deviation risks defined in `P-TM.md`, and scheduled modules present in `COURSE_PLAN` (`-` for a break or closing). A material may be anywhere in the project, so demo projects and the generated deck can be listed where they are. A listed folder inside `ai_docs/` that holds its own repository is warned, because project memory would index its documents as the course's. **An existing instructor-led course fails `check` until its guide is written to the template; a guide written by hand in another shape is refused too.** Courses without a declared content contract are unaffected.
126
+ - `course_check` refuses, in a course that declares a content contract (self-study or instructor-led), a line that names the course (the word course/corso, the folder slug or the full title) and mentions a dotted version other than the declared `Course version`, so feedback that quotes the version reaches the right one. A tool's version on a line that does not name the course, and a bare number such as `versione 2`, are not checked.
127
+
128
+ ### Changed
129
+ - The package's npm page (its README) gains a "What's new in <version>" section right after the introduction, written for the people who install the package and linking the full CHANGELOG. It appears from the first version that carries one; each version's notes are the `### What's new` at the top of its CHANGELOG section (F-070).
130
+
131
+ ## [0.1.0-beta.14] - 2026-10-27
132
+
133
+ ### Added
134
+ - Shared knowledge layer (F-084, kb CHANGELOG): `inventory <path>` and orient's upper bound of never-examined project files reach this lens; `validate`/`check` refuse a malformed `audit/INVENTORY_exclusions.md` row and the new `DECLARED`/`DIVERGES` claim rules; the docs site renders them. `sdlc_core.skip_dir` is extracted from `iter_files`, behaviour unchanged.
135
+ - `constraints --unit <id>` and `constraints --file <path>` (shared core): the constraints an ANALYSIS states in extractable form, each with its line, ending with the sections they could not extract.
136
+ - `benefit` and the docs site recognize a REVIEW_LOG row with tier `post-merge` (written by the code lens: the owner's report of a wrong behaviour in a merged change): `benefit` keeps it out of every review figure, the docs site shows it as "defect reported after merge". `review.md`: a reviewer derives callers and behaviours before comparing with the constraint view.
137
+ - `guides.md`: a code guide may carry a `## Preservation constraints` section copied from a closed unit; it survives regeneration. Nothing else changes in this lens: `validate` adds no note.
138
+
139
+ ### Fixed
140
+ - Shared claim checks (`check`): a `RULING` row on a note that names a foreign origin (`imported_from:`) is refused — relabelling an imported row is not ratifying it; the message for a row superseded by an `IMPORTED` one names the ratification act (F-083).
141
+ - Guide-verdict check (`verdict --hook`, shared core): a level quoted inside a sentence (`Level: L1` in prose) no longer counts as a declaration: only a line that opens with the level word does, the rule the constraint recall already uses (level 1 alone, `L1` or `E1`; levels 2 and 3 with `router` on the same line). The check now judges the project, and its docs-root name, that holds the edited file, not the one around the session's working directory; after a `cd` out of the project it let every edit through. A router verdict follows the same rule: only a line that opens with `router` or declares the level with it counts, never `router: no match` quoted in a sentence; `Level: Spike · router: …` and markdown openers (`##`, `1.`, `•`) count. A quote that itself opens a line (blockquote, code fence) still counts. The protected-path gate (`gate --hook`, `gate --file`) also judges the edited file's project, falls back to the session's project when no docs root sits above the file, and stays silent instead of exiting with an error when two docs roots sit side by side. Its `--protected` prefixes are relative to the nearest docs root above the edited file: with nested docs roots (a monorepo package with its own `ai_docs/`, or a docs folder inside a protected path) rewrite them relative to that root, or the path is no longer protected.
142
+
143
+ ## [0.1.0-beta.13] - 2026-10-23
144
+
145
+ ### Changed
146
+ - `guides.md`: a document snapshot is verbatim except for credentials and personal or confidential data the guide does not need, which become `[REDACTED: <kind>]` before the snapshot is written; the guide lists the kinds in `redacted_at_intake:`.
147
+ - The session-start orientation (`orient`) now fits under Claude Code's 10,000-character hook limit, even in a project with many documents. Above that limit Claude Code saves the output to a file and shows the agent only the first 2,000 characters, so the guide router never reached the agent. The output is now at most 9,500 characters, including the knowledge layer's lines, and in this order: the triage line, the guide router (one line per guide), the workstream registry (one line per workstream, then the project-wide notes), then the reading guide (README). The manifest (INDEX) and the full files are listed as pointers. A section that does not fit is cut at a line, with a pointer to its file.
148
+ - The per-turn `remind` line also tells the agent, above L1 and when sibling lenses are installed, to choose the lens with `routing.md` and declare it. The line's limit rises from 500 to 600 characters (`vision/rulings.md` r32).
149
+ - `docs_site.py` adds `.docs-site/` to the project's `.gitignore` on its first run in a git repository, so the site's copy of the documents is not committed. It used to print a note only. An entry already in the file is never changed; when git still does not ignore the folder, the note is printed as before.
150
+ - `SKILL.md` names the docs site in the words users use ("docs site", "minisito", "documentation site", "project site"), so a request for it runs `docs_site.py` instead of building a page by hand.
151
+
152
+ ### Added
153
+ - `check` refuses, in every lens, a line shaped like a credential (a password, token or key with a real value, a private-key header, a password in a URL, a bearer token) in a `corpus/given/` file or in the snapshot of a `source_kind: document` guide. The message names the file, the lines and the kinds, never the value. A human clears a false positive with `credential_scan: reviewed — <reason>` (in the sidecar, or in the guide). A project whose stored sources already hold such a line fails `check` until each is redacted or reviewed (`vision/rulings.md` r35a).
154
+ - `adopt`: a dry run listing the document guides that rest on `.sources/` snapshots and what moving each into `corpus/given/` involves. It writes nothing.
155
+ - `check` warns when the same text is stored both as a guide snapshot and as a corpus artifact.
156
+ - `check` also warns on a `corpus/given/` file with no sidecar, accepts a withdrawn artifact's tombstone sidecar (no bytes, no digest), and, when an `original_path:` is a URI, names `original_ref:` for non-local identifiers. A password inside a URL in that warning is masked.
157
+ - Shared claim checks (`check`): a claim's `about` cell may hold several relations separated by `; `, and one reserved predicate, `not-yet-honored-by -> ANALYSIS_<name>`, marks a specification claim the code does not yet honor. `check` refuses the marker when that analysis is missing from `solutions/` or cites neither the claim id nor the id of a row the claim succeeds. `export` drops the markers and says so in one line. Nothing lists or counts claims by the marker (`vision/rulings.md` r33). `memory.md`: a marked claim is cited as not yet true of the code, naming its analysis.
158
+ - Shared claim checks (`check`): the `not-yet-honored-by` marker now works in Hybrid projects (devPNT present). It may name `SHADOW_<doc_key>`; `check` reads the newest `solutions/SHADOW_<doc_key>_vX.Y.md` (versions compared number by number), which must exist and cite the claim id or a predecessor's. A missing shadow is an error that says to export it, and names a file of that key whose name lacks the `_vX.Y` suffix. `check` behaves the same with or without `--hybrid`; export drops both target forms (`vision/rulings.md` r36). New shared helper `sdlc_core.newest_shadow`. `memory.md`: a marked claim is cited naming its target.
159
+ - `verdict --hook` (PreToolUse): refuses an edit when the session declared no guide-router verdict, or never read a guide its verdict names; silent in projects without guides and whenever it cannot tell. Not wired by this package (`ENFORCEMENT.md` §3).
160
+ - `orient` adds a note when one client runs it from two settings entries, which means each session gets the orientation twice. Claude Code and Codex are counted separately, an identical command counts once, and an entry whose validator is gone is not counted.
161
+ - `orient` adds a line naming the sibling lenses installed beside the skill or in the user's Claude skills directory, and says to choose the lens with `routing.md`. The family list is read from `routing.md` §0, as the installer does.
162
+ - `routing.md` §2 gains worked verdicts for four mixed requests: an interface spec written for another team, the requirements another team must build, a guide whose source spec changed, and code that diverges from a supplied spec.
163
+ - The shared validator adds an advisory for a code-lens (`domain: code`) L3 analysis, started on or after 2026-10-24, that lacks a filled `## Guide check` section. Analyses of this lens are not checked.
164
+
165
+ ## [0.1.0-beta.12] - 2026-10-19
166
+
167
+ Includes everything listed under [0.1.0-beta.11], which was tagged but never published to npm.
168
+
169
+ ### Added
170
+ - `mark <paths> --note "<what was done>"` writes a dated entry `**YYYY-MM-DD — <what was done>.**` at the top of `audit/project_notes.md`. A release or work outside an open unit used to leave no dated event, because the date had to be copied there by hand. Without `--note`, and with no open unit, `mark` says so.
171
+ - `validate`: an advisory for a dated entry in `project_notes.md` whose bold does not pair; the chronology then showed the label running into the body.
172
+ - Docs site chronology: a Diary entry's label carries its unit id ("F-074 — closed"), so it reads on its own.
173
+ - `stale` no longer counts files inside the docs root (`ai_docs/`, `mkt_docs/`) as drift of any area, and `mark` refuses to record it: `validate` already checks the docs root, and every document edit used to leave `check` NOT CLEAN until a redundant re-mark.
174
+
175
+ ## [0.1.0-beta.11] - 2026-10-19
176
+
177
+ ### Added
178
+ - Docs site: `docs_site.py --zip <file>` also writes the site as one .zip to share; unzipped, `index.html` opens on any system. A zip made by hand with Windows PowerShell 5.1 `Compress-Archive` stores `data\core.js`, and on Linux or macOS the page then finds no data; `--zip` always writes `/` names. It refuses a target inside the docs root or the site folder. The `SKILL.md` line names it.
179
+
180
+ ## [0.1.0-beta.10] - 2026-10-19
181
+
182
+ Includes everything listed under [0.1.0-beta.9], which was tagged but never published to npm.
183
+
184
+ ### Added
185
+ - Docs site: each card in Open work and each feature in Features links its merge review and its end-to-end test script, when they exist. They were reachable only inside a feature's chain page; who merges looks in Open work while the work is open, who tests looks in Features after it closed.
186
+
187
+ ### Changed
188
+ - Docs site: Features are listed newest first by their declared start date; those without a start date come last.
189
+
190
+ ## [0.1.0-beta.9] - 2026-10-18
191
+
192
+ ### Changed
193
+ - F-071: a review weighs effort against what the owner asked for. In a design review, each outcome the owner named (the opening request, any entry widening scope, an approved north star) is a row of the conformance statement, saying where the design serves it and what share of the design goes to it; an outcome no section serves, or one served by a minor share while a secondary concern takes the bulk, is a finding. `review.md` §Reviewing.
194
+ - F-071: a review runs where something is left to judge. At level 2 the closure review is due only on a security-sensitive area the lens's Rule Zero names, or at the owner's request; otherwise it does not run and logs no row. After a design or closure PASS, a delta made only of version and release metadata, regenerated indexes and audit-mark records, tool-verified copies of a shared file, and CHANGELOG lines adding no claim is not reviewed: its own check runs and a `NOT DUE` row records it. README or overview prose, an E2E script, a rulings row, doctrine, behaviour, tests and any correction of a review finding are still reviewed. `review.md` §When a review is due.
195
+ - `sdlc_check.py benefit` counts `NOT DUE` rows apart, in no review or findings figure.
196
+
197
+ ## [0.1.0-beta.8] - 2026-10-18
198
+
199
+ ### Fixed
200
+ - F-072 (field run): the `SKILL.md` line that announces the docs site now reads `scripts/docs_site.py --root <project> --open` and says to use it to show the project state. Asked for the state, an agent had opened the site in its own client pane, where it renders blank, and improvised a local server; `--open` opens it in the user's browser, where it works offline.
201
+
202
+ ## [0.1.0-beta.7] - 2026-10-18
203
+
204
+ ### Added
205
+ - F-074: every Vision is born from an owner interview. Before any Vision text is written (project, feature, the course Vision, and the devPNT M-VISION), the agent asks the owner six questions in order, re-asking an answer that has the wrong form: the problem as one concrete case, the benefit as a result for someone, the actors including who takes the initiative, a success signal with its starting value, the boundaries, and the known constraints with where each comes from. Then the owner approves a one- or two-sentence north star in their own words; without it no Vision is written, not even a draft. The blind check still tests that the rules hold; the approved north star shows they are the owner's. `vision.md` §The owner interview.
206
+
207
+ ### Changed
208
+ - `elicitation.md`: the skip path never covers a Vision; the interview is a planned occasion like the round.
209
+ - Bootstrap no longer writes a Vision reconstructed by the agent: the installer seeds `ai_docs/vision/project_vision.md` as a stub awaiting the interview (an existing file is never overwritten).
210
+ - A Non-Goal now bounds scope. It rejects a proposal that pursues what it names; it is not a ban on behaviour that already exists and creates no obligation. A behaviour that must never happen is an Invariant or a constraint with its source.
211
+ - The course Vision template gains North Star and Problem, learners with the initiative, signals with starting values, Non-Goals as scope, and the source of every constraint.
212
+
213
+ ## [0.1.0-beta.6] - 2026-10-18
214
+
215
+ ### Added
216
+ - F-072: `scripts/docs_site.py --root <project>` writes a static, read-only website of what the agent reads in the project: what it is (reading guide, Vision, rules, documents), its open work with each next step verbatim, its courses, and — with a knowledge base — a map of topics, the facts with the exact passage each comes from, what an inferred fact rests on, and the source documents. It opens from disk with the network off, writes outside the docs root, changes nothing in it, and selects, ranks or recommends nothing. Each analysis opens with the chain the agent works through — Vision, use cases, flows and interfaces, risks, solution study, design and tests, merge brief and E2E script, Diary — the Vision's North Star is shown above the home page, and the guides have a page of their own: the guide router, the operative guides with when to read each, and the code-comprehension guides. The chronology lists the dated events the documents declare (Diary entries, spike outcomes, request-record entries, review-log rows, decision records, dated project notes, notes and sources received), most recent first, read with the same F-073 readers `validate` uses. Shared by the four packages (generator, page and battery are byte-identical spine files).
217
+
218
+ ## [0.1.0-beta.5] - 2026-10-17
219
+
220
+ ### Changed
221
+ - F-073: one written form for a dated entry, `**YYYY-MM-DD — label.**`, is taught for Diary entries, spike outcomes and project notes that record an event, and shared readers (`entry_openers`, `request_entries`, `adr_date`, `frontmatter_date`) let a chronology list those events the same way the validator reads them. Three new advisories, which never fail a build, not even `--strict`: undated text in the Diary of an L3 analysis started on or after 2026-10-18; a HANDOFF `next:` longer than 240 characters on an L3 file updated on or after that date (`next:` now holds only the next step, and the state of the work goes to the Diary); and, in `check` only, an open L3 unit whose id another branch or tag uses for a different analysis (one `git grep` over local refs, silent without git). The doctrine now says to choose a new unit's id after fetching, and that a session sharing a checkout with another session works in its own git worktree.
222
+ - The package publishes on npm `latest`, like the other three: `npm i @antoneeo/course-creator` installs the newest version with no separate promotion. The version keeps its `-beta.N` suffix and the README its experimental statement; the `beta` dist-tag no longer advances.
223
+
224
+ ## [0.1.0-beta.4] - 2026-10-17
225
+
226
+ ### Changed
227
+ - F-068 (shared doctrine with kb-agentic): the supersession cascade runs at the unit's closure, once for every supersession since the last one, instead of at each supersession.
228
+ - F1: closing the last open workstream now empties the generated registry `audit/handoff.md` instead of leaving its stale row behind: with zero `HANDOFF_*.md` sources `index` rewrites it empty (keeping `project_notes.md`), and `validate` reports a generated registry that still has rows but no sources as an error.
229
+ - F-069: `graph`, `check`, `stale` and the session-start count are faster on a mature knowledge base, with byte-identical output. Citations of superseded claim ids are found with one pass per living document instead of one scan per (document, id) pair, and one check run reads and resolves each cited extraction once instead of once per claim row. On a synthetic ledger of 2183 rows and 1000 living documents, `graph` drops from 14 s to 4 s. No new flag.
230
+
231
+ ## [0.1.0-beta.3] - 2026-10-13
232
+
233
+ ### Changed
234
+ - F-067: every L3 unit now keeps a verbatim, append-only request record `audit/requests/REQUEST_course_<slug>.md`, started before the Vision Gate: the owner's opening words and every later statement that settles something (answers, approvals, costs, rulings). Artifacts cite its entries instead of paraphrasing; the shared `review.md` asks for the record and makes an owner statement with no resolving entry a finding. Secrets, personal data and confidential third-party or employer information are redacted.
235
+
3
236
  ## [0.1.0-beta.2] - 2026-10-08
4
237
 
5
238
  ### Changed
package/README.md CHANGED
@@ -2,7 +2,20 @@
2
2
 
3
3
  `course-creator` helps an AI agent create a course for a defined learner. It maps what the learner already knows, orders concepts by prerequisite, writes explanations in progressive modules, and links factual statements to reopenable sources. Independent fresh learner agents can expose confusing steps; their results are diagnostic. The course is labeled **efficacy not verified** until enough evidence from real learners supports a narrower claim.
4
4
 
5
- The package is the fourth lens of the Agentic SDLC family. It uses the shared `ai_docs/` project memory and governance. Version 0.1.0-beta.2 supports Standalone mode. This is an experimental beta: the authoring method and artifact contracts may change; human learning efficacy has not been established. Its course artifacts remain readable without the skill.
5
+ The package is the fourth lens of the Agentic SDLC family. It uses the shared `ai_docs/` project memory and governance. Version 0.1.0-beta.4 supports Standalone mode. This is an experimental beta: the authoring method and artifact contracts may change; human learning efficacy has not been established. Its course artifacts remain readable without the skill. Each new course keeps a verbatim, append-only record of the requester's own words and decisions in `audit/requests/`, cited by the analysis and checked by its reviews.
6
+
7
+ <!-- whats-new:begin -->
8
+ <!-- generated by scripts/whats_new.js from distributions/course-creator/CHANGELOG.md: edit the CHANGELOG, then run node scripts/whats_new.js --write -->
9
+ ## What's new in 0.1.0-beta.20
10
+
11
+ **With several lenses of the family installed, the per-prompt reminder now names them.** A machine gets one reminder for the whole family, wired by whichever lens was installed first, so a knowledge or marketing task used to see the code lens's line. When other lenses are installed, the line now lists each one with its domain, for example `kb-agentic (knowledge)`, and asks the agent to load the one that governs the work. A single-lens install sees no change. To do this the reminder reads the installed skill names at each prompt (names only), and its length bound rises from 600 to 700 characters (F-093).
12
+
13
+ #### What to do
14
+
15
+ Everyone who has this package installed: run `npm install -g @antoneeo/course-creator@latest`, then `course-creator-install-skill`, and restart your agent sessions. The install step copies the updated validator into your skills directory and wires the reminder if it is missing; sessions already open keep the old one until restarted. To check it worked, run `npm ls -g @antoneeo/course-creator` and look for 0.1.0-beta.20, then start a session: on a machine with more than one lens of the family installed, the one-line reminder shown at each prompt names the installed lenses with their domains.
16
+
17
+ Full history: [CHANGELOG](https://github.com/Antoneeo/agentic-sdlc-skill/blob/main/distributions/course-creator/CHANGELOG.md)
18
+ <!-- whats-new:end -->
6
19
 
7
20
  ## Install and initialize
8
21
 
@@ -15,11 +28,15 @@ course-creator-init
15
28
 
16
29
  The installer detects Claude Code, Gemini CLI, Codex and Google Antigravity. Initialization creates absent `ai_docs/` files and a project protocol pointer; it does not overwrite existing project documents. Use `python <skill_dir>/scripts/sdlc_check.py check --root .` to validate the shared SDLC and course structures.
17
30
 
31
+ **Docs site** (`scripts/docs_site.py --root <project> [--open] [--zip <file>]`): a static, offline, read-only website of what the agent reads in the project — reading guide, Vision, rules, documents, open work with each next step, courses and, with a knowledge base, the topic map, each fact with its exact source passage, and the source documents. Written to `.docs-site/` (added to `.gitignore` on the first run), outside `ai_docs/`; nothing is ranked or recommended.
32
+
18
33
  Using the skill in your own project carries no obligation to publish your course or its sources. See [LICENSE](LICENSE) for the software terms and [NOTICE](NOTICE) for attribution.
19
34
 
20
35
  ## Primary course output
21
36
 
22
37
  New courses deliver a complete textual source for every slide (`SLIDE_CONTENT.md`), with exact learner copy, full explanations, examples, visual contents, transitions and answers. PPTX and other renderings are optional. Explicit non-slide requests retain a complete textual source for their units. Every course must show distinguishable value for its audience through an explanatory contribution and a transfer task; structure or simulated success does not establish human efficacy. See `skills/course-creator/slide_content.md`.
23
38
 
39
+ A course delivered by an instructor (`Delivery mode: instructor-led`) also ships `INSTRUCTOR_GUIDE.md`: what to prepare, the schedule, what to keep out of the learners' view, what to do when a live step fails, what to clean up afterwards, and the list of every material the delivery needs, wherever it is in the project, checked to exist. `course_check` refuses an instructor-led course without the guide, or with a guide that does not follow the template in `templates.md`. An existing instructor-led course therefore fails `check` until its guide is written to that template. In any course with a content contract it also refuses a line that names the course with a dotted version other than the declared `Course version`.
40
+
24
41
  Course design now uses outcome-first evidence, teaching/assessment alignment, visible worked reasoning, proportionate support, cognitive-load management and retrieval opportunities. `learning_design.md` records the pedagogical sources and the source-informed semantic review rubric; a locator table or structural PASS is not proof of learning.
25
42
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "course-creator",
3
- "version": "0.1.0-beta.2",
3
+ "version": "0.1.0-beta.20",
4
4
  "description": "Course creation for defined learners, with progressive explanations, sourced facts and diagnostic independent testing.",
5
5
  "author": "Antonio Pinto (https://github.com/Antoneeo)"
6
6
  }
package/package.json CHANGED
@@ -1,11 +1,20 @@
1
1
  {
2
2
  "name": "@antoneeo/course-creator",
3
- "version": "0.1.0-beta.2",
3
+ "version": "0.1.0-beta.20",
4
4
  "description": "Design sourced, progressive courses for a defined learner with Agentic SDLC governance and diagnostic learner simulations.",
5
- "keywords": ["claude-code", "gemini-cli", "codex", "course-design", "skill", "ai-agent"],
5
+ "keywords": [
6
+ "claude-code",
7
+ "gemini-cli",
8
+ "codex",
9
+ "course-design",
10
+ "skill",
11
+ "ai-agent"
12
+ ],
6
13
  "author": "Antonio Pinto (https://github.com/Antoneeo)",
7
14
  "license": "Apache-2.0",
8
- "publishConfig": { "access": "public", "tag": "beta" },
15
+ "publishConfig": {
16
+ "access": "public"
17
+ },
9
18
  "bin": {
10
19
  "course-creator-init": "scripts/init.js",
11
20
  "course-creator-install-skill": "scripts/postinstall.js"
@@ -35,6 +44,11 @@
35
44
  "skills/course-creator/scripts/course_check.py",
36
45
  "skills/course-creator/scripts/sdlc_core.py",
37
46
  "skills/course-creator/scripts/knowledge.py",
47
+ "skills/course-creator/scripts/docs_site.py",
48
+ "skills/course-creator/docs_site/index.html",
49
+ "skills/course-creator/docs_site/app.js",
50
+ "skills/course-creator/docs_site/style.css",
51
+ "skills/course-creator/docs_site/strings.js",
38
52
  "skills/course-creator/scripts/entry_point.py",
39
53
  "skills/course-creator/scripts/shared_files.py",
40
54
  "skills/course-creator/scripts/shared_manifest.json",
package/scripts/init.js CHANGED
@@ -1,62 +1,62 @@
1
- #!/usr/bin/env node
2
- "use strict";
3
- const fs = require('fs');
4
- const path = require('path');
5
- const { execFileSync } = require('child_process');
6
- const { SKILL_SOURCE, INSTALLED_SKILL_NAME, SELF_LENS, SIBLING_LENSES,
7
- CLIENTS, clientDetected, skillTarget, wireOrientHook, detectPython } = require('./lib');
8
-
9
- const root = process.cwd();
10
- const seed = new Map([
11
- ['ai_docs/README.md', `---\ndefault_domain: course\n---\n# Project knowledge and course work\n\nRead vision/project_vision.md, INDEX.md and reference/INDEX.md first.\n`],
12
- ['ai_docs/vision/project_vision.md', `---\ndescription: Project benefit and boundaries.\nstatus: DRAFT\n---\n# Project Vision\nStatus: DRAFT\n\n## Expected Benefit\n<Discuss with the owner.>\n`],
13
- ['ai_docs/vision/roadmap.md', `---\ndescription: Project learning and delivery roadmap.\nstatus: DRAFT\n---\n# Roadmap\nStatus: DRAFT\n`],
14
- ['ai_docs/vision/principles.md', `---\ndescription: Decisions that constrain project work.\nstatus: DRAFT\n---\n# Principles\nStatus: DRAFT\n`],
15
- ['ai_docs/strategic/architecture.md', `---\ndescription: Verified component inventory.\nstatus: CURRENT\n---\n# Architecture\n\n## Component Map\n| Component | Capability it owns | Contract | Where |\n|---|---|---|---|\n\n## Architectural Patterns\n<Add only verified patterns.>\n`],
16
- ['ai_docs/strategic/existing_features.md', `---\ndescription: Existing capabilities verified in this project.\nstatus: CURRENT\n---\n# Existing Features\n`],
17
- ['ai_docs/audit/audit_plan.md', `# Audit Plan\n\n| Area | State | Reference | Notes |\n|---|---|---|---|\n| . | PENDING | - | Initial analysis |\n`],
18
- ]);
19
- function writeIfAbsent(rel, content) {
20
- const dest = path.join(root, rel);
21
- if (fs.existsSync(dest)) return false;
22
- fs.mkdirSync(path.dirname(dest), { recursive: true });
23
- fs.writeFileSync(dest, content, 'utf8');
24
- console.log(`Created ${rel}`);
25
- return true;
26
- }
27
- for (const [rel, content] of seed) writeIfAbsent(rel, content);
28
- for (const dir of ['ai_docs/vision/features', 'ai_docs/reference', 'ai_docs/solutions/courses',
29
- 'ai_docs/audit/reviews']) fs.mkdirSync(path.join(root, dir), { recursive: true });
30
-
31
- const pointer = `# Course Creator project protocol\n\nUse the installed \`course-creator\` skill when the deliverable teaches a defined learner. It applies Agentic SDLC in Standalone mode: triage, project and course Vision, ANALYSIS, progressive explanations, sourced facts, independent diagnostic testing and a truthful efficacy label. Course files live in \`ai_docs/solutions/courses/<slug>/\`. Read \`ai_docs/README.md\` and the skill before working.\n\nInstall if missing: \`npm i -g @antoneeo/course-creator@beta && course-creator-install-skill\`.\n`;
32
- const pointers = { claude: 'CLAUDE.md', gemini: 'GEMINI.md', codex: 'AGENTS.md',
33
- antigravity: 'AGENTS.md' };
34
- const detected = CLIENTS.filter(clientDetected);
35
- for (const client of detected) writeIfAbsent(pointers[client.key], pointer);
36
- writeIfAbsent('.cursorrules', pointer);
37
- const siblings = new Map();
38
- for (const client of detected) {
39
- const parent = path.dirname(skillTarget(client));
40
- for (const [name, lens] of Object.entries(SIBLING_LENSES)) {
41
- if (fs.existsSync(path.join(parent, name))) siblings.set(name, lens);
42
- }
43
- }
44
- if (siblings.size) {
45
- const rows = [`- \`${INSTALLED_SKILL_NAME}\` — the **${SELF_LENS}** lens`,
46
- ...[...siblings].map(([name, lens]) => `- \`${name}\` — the **${lens}** lens`)];
47
- writeIfAbsent('AGENTIC_MULTI_LENS.md',
48
- `# Agentic SDLC family routing\n\nRead \`routing.md\` to choose the owner of each deliverable; \`memory.md\` is shared.\n\n${rows.join('\n')}\n`);
49
- }
50
- const python = detectPython();
51
- for (const client of detected.filter(c => c.key === 'claude')) {
52
- const result = wireOrientHook({ cwd: root, client, python, docsLabel: 'ai_docs' });
53
- console.log(`Claude SessionStart orientation: ${result.code}`);
54
- }
55
- if (python) {
56
- try {
57
- execFileSync(python, [path.join(SKILL_SOURCE, 'scripts/sdlc_check.py'),
58
- 'index', '--root', root], { stdio: 'ignore' });
59
- console.log('Generated ai_docs indexes.');
60
- } catch (e) { console.log('Run sdlc_check.py index when Python is available.'); }
61
- }
62
- console.log('Course Creator initialization complete.');
1
+ #!/usr/bin/env node
2
+ "use strict";
3
+ const fs = require('fs');
4
+ const path = require('path');
5
+ const { execFileSync } = require('child_process');
6
+ const { SKILL_SOURCE, INSTALLED_SKILL_NAME, SELF_LENS, SIBLING_LENSES,
7
+ CLIENTS, clientDetected, skillTarget, wireOrientHook, detectPython } = require('./lib');
8
+
9
+ const root = process.cwd();
10
+ const seed = new Map([
11
+ ['ai_docs/README.md', `---\ndefault_domain: course\n---\n# Project knowledge and course work\n\nRead vision/project_vision.md, INDEX.md and reference/INDEX.md first.\n`],
12
+ ['ai_docs/vision/project_vision.md', `---\ndescription: Project benefit and boundaries.\nstatus: DRAFT\n---\n# Project Vision\nStatus: DRAFT\n<!-- STUB: awaiting the owner interview (vision.md §The owner interview). Not a\n Vision: no artifact traces to it. -->\n`],
13
+ ['ai_docs/vision/roadmap.md', `---\ndescription: Project learning and delivery roadmap.\nstatus: DRAFT\n---\n# Roadmap\nStatus: DRAFT\n`],
14
+ ['ai_docs/vision/principles.md', `---\ndescription: Decisions that constrain project work.\nstatus: DRAFT\n---\n# Principles\nStatus: DRAFT\n`],
15
+ ['ai_docs/strategic/architecture.md', `---\ndescription: Verified component inventory.\nstatus: CURRENT\n---\n# Architecture\n\n## Component Map\n| Component | Capability it owns | Contract | Where |\n|---|---|---|---|\n\n## Architectural Patterns\n<Add only verified patterns.>\n`],
16
+ ['ai_docs/strategic/existing_features.md', `---\ndescription: Existing capabilities verified in this project.\nstatus: CURRENT\n---\n# Existing Features\n`],
17
+ ['ai_docs/audit/audit_plan.md', `# Audit Plan\n\n| Area | State | Reference | Notes |\n|---|---|---|---|\n| . | PENDING | - | Initial analysis |\n`],
18
+ ]);
19
+ function writeIfAbsent(rel, content) {
20
+ const dest = path.join(root, rel);
21
+ if (fs.existsSync(dest)) return false;
22
+ fs.mkdirSync(path.dirname(dest), { recursive: true });
23
+ fs.writeFileSync(dest, content, 'utf8');
24
+ console.log(`Created ${rel}`);
25
+ return true;
26
+ }
27
+ for (const [rel, content] of seed) writeIfAbsent(rel, content);
28
+ for (const dir of ['ai_docs/vision/features', 'ai_docs/reference', 'ai_docs/solutions/courses',
29
+ 'ai_docs/audit/reviews']) fs.mkdirSync(path.join(root, dir), { recursive: true });
30
+
31
+ const pointer = `# Course Creator project protocol\n\nUse the installed \`course-creator\` skill when the deliverable teaches a defined learner. It applies Agentic SDLC in Standalone mode: triage, project and course Vision, ANALYSIS, progressive explanations, sourced facts, independent diagnostic testing and a truthful efficacy label. Course files live in \`ai_docs/solutions/courses/<slug>/\`. Read \`ai_docs/README.md\` and the skill before working.\n\nInstall if missing: \`npm i -g @antoneeo/course-creator@beta && course-creator-install-skill\`.\n`;
32
+ const pointers = { claude: 'CLAUDE.md', gemini: 'GEMINI.md', codex: 'AGENTS.md',
33
+ antigravity: 'AGENTS.md' };
34
+ const detected = CLIENTS.filter(clientDetected);
35
+ for (const client of detected) writeIfAbsent(pointers[client.key], pointer);
36
+ writeIfAbsent('.cursorrules', pointer);
37
+ const siblings = new Map();
38
+ for (const client of detected) {
39
+ const parent = path.dirname(skillTarget(client));
40
+ for (const [name, lens] of Object.entries(SIBLING_LENSES)) {
41
+ if (fs.existsSync(path.join(parent, name))) siblings.set(name, lens);
42
+ }
43
+ }
44
+ if (siblings.size) {
45
+ const rows = [`- \`${INSTALLED_SKILL_NAME}\` — the **${SELF_LENS}** lens`,
46
+ ...[...siblings].map(([name, lens]) => `- \`${name}\` — the **${lens}** lens`)];
47
+ writeIfAbsent('AGENTIC_MULTI_LENS.md',
48
+ `# Agentic SDLC family routing\n\nRead \`routing.md\` to choose the owner of each deliverable; \`memory.md\` is shared.\n\n${rows.join('\n')}\n`);
49
+ }
50
+ const python = detectPython();
51
+ for (const client of detected.filter(c => c.key === 'claude')) {
52
+ const result = wireOrientHook({ cwd: root, client, python, docsLabel: 'ai_docs' });
53
+ console.log(`Claude SessionStart orientation: ${result.code}`);
54
+ }
55
+ if (python) {
56
+ try {
57
+ execFileSync(python, [path.join(SKILL_SOURCE, 'scripts/sdlc_check.py'),
58
+ 'index', '--root', root], { stdio: 'ignore' });
59
+ console.log('Generated ai_docs indexes.');
60
+ } catch (e) { console.log('Run sdlc_check.py index when Python is available.'); }
61
+ }
62
+ console.log('Course Creator initialization complete.');