@antoneeo/course-creator 0.1.0-beta.22 → 0.1.0-beta.23

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,6 +1,20 @@
1
1
  # Changelog
2
2
 
3
3
 
4
+ ## [0.1.0-beta.23] - 2026-11-17
5
+
6
+ ### What's new
7
+
8
+ **Work you hand to subagents is no longer built on guides they read only in part.** When the agent gives a subagent guides to follow, it now asks how much of each guide the subagent read (total lines and last line read) and checks the totals before testing or reviewing the work; `plan brief` prints that request under the guide list. A test that passes cannot show a guide was skipped, so work built on a guide read in part is redone after the rest is read, instead of being tested, reviewed and found wrong later (F-100).
9
+
10
+ **Less spent on rereading and on work thrown away.** Corrections go back to the subagent that already has the guides in mind, where your client lets the agent message it again, instead of a new one that must reread them; an author is never sent its own work to review. A subagent that stops partway through a guide twice does not get that guide again: the work goes to a stronger model or is split by guide, and a set that even the strongest model cannot read whole comes to you (F-100).
11
+
12
+ **When the agent asks how your team is made, it tells you what each shape costs.** The question on members now says, in a line or two, what several sessions cost and give you compared with one session and its subagents, and recommends neither (F-100).
13
+
14
+ #### What to do
15
+
16
+ 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 doctrine and validator into your skills directory; sessions already open keep the old ones until restarted. Expect subagents' reports to carry one extra line per guide they were given, and the agent to ask a subagent once for it when it is missing. To check it worked, run `npm ls -g @antoneeo/course-creator` and look for 0.1.0-beta.23.
17
+
4
18
  ## [0.1.0-beta.22] - 2026-11-16
5
19
 
6
20
  ### What's new
package/README.md CHANGED
@@ -6,25 +6,17 @@ The package is the fourth lens of the Agentic SDLC family. It uses the shared `a
6
6
 
7
7
  <!-- whats-new:begin -->
8
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.22
9
+ ## What's new in 0.1.0-beta.23
10
10
 
11
- **The team is asked once, at the start, and kept where every session finds it.** At the first new course (L3) of a project the agent asks you four questions: who is in the team, what stays with you, what each member decides alone and to whom it reports, and how work and reports pass. It keeps the answer in a `## Team` section of `ai_docs/README.md`, so a later session, a session another one started and a resumed one all find it, and roles are no longer settled while the work is under way. One word accepts the default: one agent, and you keep your own decisions and the reserved approvals. A smaller change is never asked (F-098).
11
+ **Work you hand to subagents is no longer built on guides they read only in part.** When the agent gives a subagent guides to follow, it now asks how much of each guide the subagent read (total lines and last line read) and checks the totals before testing or reviewing the work; `plan brief` prints that request under the guide list. A test that passes cannot show a guide was skipped, so work built on a guide read in part is redone after the rest is read, instead of being tested, reviewed and found wrong later (F-100).
12
12
 
13
- **A design no longer drifts stricter than the reason it was written for.** Every restriction an L3 course design writes now names its source (a clause of your Vision, your own words in the request record, or a threat) and goes no further than that source asks. One that goes further is tightened back or brought to you, and one that takes away something your Vision promises enters the design only if you choose it. The independent design review checks this, and a second failed review of the same kind sends the agent back to the restriction's source instead of into another round of fixes (F-099).
13
+ **Less spent on rereading and on work thrown away.** Corrections go back to the subagent that already has the guides in mind, where your client lets the agent message it again, instead of a new one that must reread them; an author is never sent its own work to review. A subagent that stops partway through a guide twice does not get that guide again: the work goes to a stronger model or is split by guide, and a set that even the strongest model cannot read whole comes to you (F-100).
14
14
 
15
- **When new work opens, you see what is already open.** In the message that opens a new L3 course, the agent copies the rows of the workstream registry (`ai_docs/audit/handoff.md`) as they are written, workstream, status and next step, adding and cutting nothing, and goes on in the same message. If your request belongs to an open workstream, it resumes that one instead of opening a second (F-097).
16
-
17
- **The checks say what they measure.** `check` now ends with a line stating that it verifies the form of the documents, not whether their sentences are still true, so a CLEAN result is no longer read as "the documents are correct". `validate` and `index` name a workstream file whose status says the work is closed, since closing means deleting that file. An agent resuming from a summary is told to re-read the unit's request record and Vision before acting, and an edited guide is re-read whole and its outdated sentences rewritten, not patched with a change-log row (F-096).
18
-
19
- #### New files
20
-
21
- | File | Skill | Who reads it |
22
- |---|---|---|
23
- | `team.md` | course-creator | the agent, at the first new course (L3) of a project |
15
+ **When the agent asks how your team is made, it tells you what each shape costs.** The question on members now says, in a line or two, what several sessions cost and give you compared with one session and its subagents, and recommends neither (F-100).
24
16
 
25
17
  #### What to do
26
18
 
27
- 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 doctrine, `team.md` and the validator into your skills directory; sessions already open keep the old ones until restarted. At the first new course (L3) of each project, expect the four team questions: answer them, or reply with one word to accept the default. An existing project may see a new note from `validate`, never a failure: a workstream file (`audit/HANDOFF_*.md`) whose `status:` says DONE, COMPLETED or CANCELLED, which you delete once the work is really closed, after moving what is still worth reading elsewhere, or keep with an open status and a `next:` if it still waits on you; then run `index`. To check it worked, run `npm ls -g @antoneeo/course-creator` and look for 0.1.0-beta.22.
19
+ 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 doctrine and validator into your skills directory; sessions already open keep the old ones until restarted. Expect subagents' reports to carry one extra line per guide they were given, and the agent to ask a subagent once for it when it is missing. To check it worked, run `npm ls -g @antoneeo/course-creator` and look for 0.1.0-beta.23.
28
20
 
29
21
  Full history: [CHANGELOG](https://github.com/Antoneeo/agentic-sdlc-skill/blob/main/distributions/course-creator/CHANGELOG.md)
30
22
  <!-- whats-new:end -->
@@ -40,7 +32,7 @@ course-creator-init
40
32
 
41
33
  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. `check` states what it covers: after its verdict a `[scope]` line says it checks the form of the documents, not whether their sentences are still true; and `validate`/`index` name a workstream file whose own status declares the work closed. (`validate` also names an analysis in progress that no workstream file names, in the other domains of a shared project; never a course analysis, whose workstream file is owed for concurrent work only.)
42
34
 
43
- **The team, asked once**: at the first new course (L3) of a project the agent asks the owner four questions — who is in the team, what stays with them, what each member decides alone and to whom it reports, how work and reports pass — and keeps the answer in a `## Team` section of the reading guide, where a later session, a session another started and a resumed one all find it. One word accepts the default (one agent; the owner keeps their own decisions and the reserved approvals). The skill asks and prescribes no team shape; a smaller change is never asked (`team.md`).
35
+ **The team, asked once**: at the first new course (L3) of a project the agent asks the owner four questions — who is in the team, what stays with them, what each member decides alone and to whom it reports, how work and reports pass — and keeps the answer in a `## Team` section of the reading guide, where a later session, a session another started and a resumed one all find it. One word accepts the default (one agent; the owner keeps their own decisions and the reserved approvals). The question on members also says what several sessions cost and buy against one session with subagents. The skill asks and prescribes no team shape; a smaller change is never asked (`team.md`).
44
36
 
45
37
  **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.
46
38
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "course-creator",
3
- "version": "0.1.0-beta.22",
3
+ "version": "0.1.0-beta.23",
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,6 +1,6 @@
1
1
  {
2
2
  "name": "@antoneeo/course-creator",
3
- "version": "0.1.0-beta.22",
3
+ "version": "0.1.0-beta.23",
4
4
  "description": "Design sourced, progressive courses for a defined learner with Agentic SDLC governance and diagnostic learner simulations.",
5
5
  "keywords": [
6
6
  "claude-code",
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: course-creator
3
- version: 0.1.0-beta.22
3
+ version: 0.1.0-beta.23
4
4
  description: Design and improve courses that teach a defined learner through sourced, progressive explanations. Use when the deliverable is instruction or a learning path; route corpus intake to kb-agentic and persuasive campaigns to marketing-agentic.
5
5
  author: Antonio Pinto (https://github.com/Antoneeo)
6
6
  copyright: (c) 2026 Antonio Pinto
@@ -25,13 +25,17 @@ without an E-ISP.
25
25
  corrupt-but-parseable entry) → treat as pending and dispatch.
26
26
  - `sdlc_check.py plan brief PLAN_[feature].md --task <id>` — prints the
27
27
  task block, the `produces` of prior-order tasks (interfaces), and
28
- `guides` pointers (paths, never pasted content) to stdout.
28
+ `guides` pointers (paths, never pasted content) to stdout, with the
29
+ request to report the read under them (§Guides a subagent must read).
29
30
  - Spawn the subagent with that brief plus the return-doubts line as its
30
- entire context window. The line: "An open point whose answer changes the
31
- work is not yours to decide: return it in your final output with what you
32
- searched." The orchestrator treats them as its own candidate doubts
33
- (`elicitation.md` §When a doubt emerges).
34
- - Run `task.verify` out of band (the orchestrator executes it — the
31
+ entire context window — a first dispatch; a correction of its work goes
32
+ back to it (§Guides a subagent must read). The line: "An open point
33
+ whose answer changes the work is not yours to decide:
34
+ return it in your final output with what you searched." The orchestrator
35
+ treats them as its own candidate doubts (`elicitation.md` §When a doubt
36
+ emerges).
37
+ - Check the reported read (§Guides a subagent must read), then run
38
+ `task.verify` out of band (the orchestrator executes it — the
35
39
  validator only ever prints it, never runs it) plus the one-shot review
36
40
  below.
37
41
  - Write `{status, verify_result, timestamp}` back to the ledger. The
@@ -57,7 +61,8 @@ below — so it needs no separate dispatch hook.)
57
61
  - After **two** consecutive `verify_result: fail` on the same task: escalate
58
62
  to the **deep** tier for the retry (ADR 2026-07-02). Do not escalate on the
59
63
  first failure — a single fail is often a brief or environment issue, not a
60
- capability gap.
64
+ capability gap. A partial read of a guide counts as a failed round too, and
65
+ adds a split by guide set as an option (§Guides a subagent must read).
61
66
 
62
67
  ## What may be delegated at all
63
68
 
@@ -94,8 +99,50 @@ independence where independence is the point. Judge a pass on two axes:
94
99
  **Declared residual**, so the silence is not read as prohibition: this section
95
100
  settles the CLASSIFICATION. *When* to reach for a delegated search or
96
101
  orientation pass — the trigger, its brief format and its output contract — is a
97
- separate unit and is not answered here; until it lands, reaching for one is the
98
- orchestrator's judgement against the table above, not a rule.
102
+ separate unit and is not answered here, beyond what a brief that names guides
103
+ owes (below); until it lands, reaching for one is the orchestrator's judgement
104
+ against the table above, not a rule.
105
+
106
+ ### Guides a subagent must read
107
+
108
+ Family-wide, like the rest of this section: every brief that names a guide (a
109
+ `GUIDE_*.md`, project or agent KB) for a subagent to read whole — an implementer's
110
+ in the loop above, a review's, any other delegated pass. The skill's own files a
111
+ reviewer is pointed at are not guides here. `verify` and a review score the work,
112
+ never the reading: a subagent that applied half a guide can pass both (field case,
113
+ 2026-11: a mid tier read part of the interface guides in three tasks of four, about
114
+ 940k tokens discarded, implementation tasks included).
115
+
116
+ - **The read is reported and checked.** The brief asks the subagent to report, for
117
+ each guide it names, its total lines and the last line it read (`plan brief`
118
+ prints the request under the guide pointers). Before `verify` or review, compare
119
+ each total with the guide's real length. A report that omits the line or gives a
120
+ wrong total is asked once for it; still missing or wrong, or with no way to ask,
121
+ it counts as a partial read. A partial read is not work: it is neither verified
122
+ nor reviewed, and the subagent reads the rest before redoing the step. In the loop
123
+ the ledger records the task `failed`, its `verify_result` naming the partial read;
124
+ outside it the output is not used, and a review discarded this way gave no verdict
125
+ and is not a round of its cap.
126
+ - **The guides set the tier and the split.** Before a first dispatch, count the
127
+ lines of the guides a brief names and judge them against the context the tier
128
+ works in; a set too large for it is split by the guides each part needs, never by
129
+ files alone. No threshold is fixed, because none is measured; the bound is this:
130
+ two consecutive failed rounds on one task, a partial read or a failed `verify`,
131
+ move it to a higher tier or to a split by guide set, and two failed `verify` alone
132
+ still go to deep (§Model tiers). A tier that stopped partway through a guide twice
133
+ is not given that guide again in the same work. A split revises the plan, and
134
+ `plan validate` runs again before the next dispatch. A set the deep tier still
135
+ reads in part and that cannot be split goes to the owner.
136
+ - **A correction goes to the context that holds the guides.** Where the client
137
+ lets the session send a further message to a subagent it started, a correction of
138
+ that subagent's own work — the rest of a partial read, review findings, a failed
139
+ `verify` — goes to it, not to a new context that rereads the guides (field case,
140
+ 2026-11: corrections made by the subagent that wrote the code, without rereading
141
+ about 100-150k tokens of guides). A first dispatch stays a fresh context; a task
142
+ moved to a higher tier gets a new context at that tier; a subagent whose context
143
+ was compacted reports the read again for the guides its next step needs. Never
144
+ across roles: an author is never sent its own work to review, and the independent
145
+ review keeps its fresh context.
99
146
 
100
147
  ## Review slots — one-shot, not iterative
101
148
 
@@ -108,8 +155,9 @@ Exactly three review touches per task, never a loop:
108
155
  3. One broad final pass over the whole plan at closure, after all tasks are
109
156
  DONE — catches cross-task drift a per-task review cannot see.
110
157
 
111
- If a review FAILs, fix and re-run `verify` — that is a normal loop iteration
112
- via the ledger's fail path, not an extra review slot.
158
+ If a review FAILs, the work is fixed — by the subagent that did it where the
159
+ client allows (§Guides a subagent must read) — and `verify` re-runs — that is a normal loop
160
+ iteration via the ledger's fail path, not an extra review slot.
113
161
 
114
162
  **The scoped re-review is a round INSIDE slot 2 or 3, never a fourth slot.**
115
163
  `review.md` §Receiving requires every review-driven correction to be
@@ -3892,6 +3892,13 @@ def _validate_plan_tasks(root, data, rel_label, errors, warnings):
3892
3892
  return tasks
3893
3893
 
3894
3894
 
3895
+ # F-100: `task.verify` scores the work, never the reading, so a plan brief that
3896
+ # names guides asks for the read back (`dispatch.md` §Guides a subagent must read).
3897
+ # Constant: printed under a non-empty guide list, never otherwise.
3898
+ PLAN_BRIEF_READ_BACK = ("Read each guide above whole, and report for each its total lines "
3899
+ "and the last line you read.")
3900
+
3901
+
3895
3902
  def cmd_plan(root, args):
3896
3903
  """Zero-execution: validates/briefs a PLAN_[feature].md. Never spawns a
3897
3904
  process, never calls a git_* helper, never runs the opaque `verify` text —
@@ -3970,6 +3977,7 @@ def cmd_plan(root, args):
3970
3977
  if guides:
3971
3978
  for g in guides:
3972
3979
  print(f"- {g}")
3980
+ print(PLAN_BRIEF_READ_BACK)
3973
3981
  else:
3974
3982
  print("(none)")
3975
3983
  print()
@@ -3,7 +3,7 @@
3
3
  "files": {
4
4
  "LICENSE": "cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30",
5
5
  "NOTICE": "8414f424f7c1db19d89d74286fd2d6b1acdd9eedde910fa57a16d6835602e4bd",
6
- "dispatch.md": "935d59b0c84ea51e8ef83bf1471fb8f197331c15ba0ad633b729e3cc4e7da341",
6
+ "dispatch.md": "88b0a37253badb40f014e819bbc2c03a7726bbf56d07ccbe0b3b971c0cf3b869",
7
7
  "docs_site/app.js": "ce9ed4341f7d24b648dee7531700d09f4af07f7e9ffc4be90aff29ecc276f27f",
8
8
  "docs_site/index.html": "2b64167470f754e46fa4bb4e73a3d2c34ee632d91fe2f17705a58d18b5018af5",
9
9
  "docs_site/strings.js": "440c11830f87602152422766b6d5b84da904150c37b0b6347e2ad53a7fec62b8",
@@ -15,7 +15,7 @@
15
15
  "scripts/docs_site.py": "bfc7a521142251b85b229e1873ccf2e375bb5c7f1990cef574e1a78ef14f0091",
16
16
  "scripts/entry_point.py": "4a560d4d41db989d3426182f1b24270cbb934b3db0f3246c700578a4ed93089b",
17
17
  "scripts/knowledge.py": "6047deb7a2be4cf9ef2949cbcf8a52a8ea61500f4e12d203f1c58076540d50ab",
18
- "scripts/sdlc_core.py": "9f4265820c95f6a95a1fc9205cca6159519b10dad79b978c86c59c85a4d71289",
18
+ "scripts/sdlc_core.py": "ff12b965638f97a56c9483ae02bfddec4fa87d4347c841918ceb6cdd63ba8680",
19
19
  "scripts/shared_files.py": "e5d49471a765b21b8557744a5a052ed5fa708f127e7bfa29c5ac0afac5d3b911",
20
20
  "scripts/test_audit_refs.py": "5c207be46da566db47069b08373195e748fca19c047418f09cc2f78841dfd9a5",
21
21
  "scripts/test_chronology.py": "cd595dcfa6d75b44c3b37483dec2c678c87dab9874ad3f6a60a28f9ec361cdc7",
@@ -28,12 +28,12 @@
28
28
  "scripts/test_guide_check.py": "19c7a6f009fa1b7f70b0beba059b97fa05e69255f6b2dec8829a87bd9fba283f",
29
29
  "scripts/test_merge_safety.py": "841f323131512fdbcc363ab3314c68267cfd026fc648a0dde14cddf41fa562d8",
30
30
  "scripts/test_migrate.py": "c129823bf4feb0614acd975351632a6ae62d7896a0ef32724419a8e9335e3110",
31
- "scripts/test_plan.py": "4c011a63aa834b55e9c5d13fb4ea76b131b742356001364b0a508435ba013e27",
31
+ "scripts/test_plan.py": "ac1a65c6df15e5ccf8e42a3a588cb769a95d7f3b13a88d76a3d00c0dbf8ce5fa",
32
32
  "scripts/test_project_memory.py": "2cb85cef01161d881a11d84cfe9ebb72915104e8d1822e4de739f7d00ae6cd59",
33
33
  "scripts/test_session_start.py": "ca25acdc85d10975cdfa5e3202995b9eb3c23efe930f3472663450c0f6ee6657",
34
- "scripts/test_skill_invariants.py": "74fedb62a078466958933c966bc9ef53b59dd64cd8c84c61a690f9a12ff6537c",
34
+ "scripts/test_skill_invariants.py": "8af88a07ba83b4fbaf5648072ebbd251dac8922b8441be803fe1a86c02cd01ce",
35
35
  "scripts/test_verdict.py": "24e33e6cdfe3f40f0c2735687ff7933564bf8c7846ec339d4dc22148df5a4935",
36
- "team.md": "35ca6e509a9fc4132a78c4b20485f0e3cbdc2d57911a1a6bfd86e712ff1854a8",
36
+ "team.md": "bfba9a0e3d4e974d8fca36e6650c98f8372d02eeefa16c09682abbf187336cb2",
37
37
  "vision.md": "859da770528116bd2aa38d030118be7d5cf7df3dbb20ea8e6fb1600ce3625f7c"
38
38
  }
39
39
  }
@@ -36,6 +36,12 @@ E-levels), or takes up an open one, and there is no `## Team`: put the four entr
36
36
  the owner as four questions in the unit's next numbered question set, with the default
37
37
  offered, so that one word accepts all four. Record the reply verbatim in the unit's
38
38
  request record, then write the section citing that entry, and name both in the reply.
39
+ The question on members says, in a line or two, what several sessions (a coordinating
40
+ session and the sessions it starts) cost and buy against one session with subagents: each
41
+ session starts empty and rereads the guides, records and project another already holds, and
42
+ their reports cross as notes and shared files; a subagent's report returns whole and, where
43
+ the client lets a session message it again, it can be sent its corrections and keeps what it
44
+ read; sessions buy work the owner opens and steers directly. It recommends no shape.
39
45
  Never at level 1 or level 2.
40
46
  Never again once the section exists.
41
47