agentic-learning-framework 0.0.0-stage → 0.1.1

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/README.md CHANGED
@@ -1,3 +1,218 @@
1
- # Temporary Holding Version
1
+ # Agentic Learning Framework
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ Learn any subject with your existing AI agent: set a goal, make a realistic
4
+ plan, learn through questions and examples, and keep evidence of what you can
5
+ actually explain and apply.
6
+
7
+ For students, interns, teachers, professionals, interview candidates, and
8
+ curious learners. Antigravity is the primary target; the `SKILL.md` bundle is
9
+ portable to agents that support workspace skills or reading local instructions.
10
+
11
+ The learning framework is **script-free**. Its orchestrator and six roles are
12
+ Markdown instructions. Your host agent reads/writes local Markdown memory and
13
+ authors offline HTML/CSS reports directly. There is no learning server, database,
14
+ separate model API, JavaScript report runtime, telemetry, or background worker.
15
+
16
+ The npm package adds a small, dependency-free Node.js **installer** outside the
17
+ skill. It copies the instructions and protects private data paths in `.gitignore`.
18
+ Node.js is needed to use the installer; the installed learning skill does not
19
+ need Node.js to operate.
20
+
21
+ ## Quick start
22
+
23
+ Requires Node.js 22 or later and npm/npx. Run from the project where you want
24
+ to learn:
25
+
26
+ ```sh
27
+ npx agentic-learning-framework init
28
+ ```
29
+
30
+ Or select a project directory:
31
+
32
+ ```sh
33
+ npx agentic-learning-framework init ./my-learning-project
34
+ ```
35
+
36
+ Open that project in Antigravity or your skill-capable agent and send:
37
+
38
+ ```text
39
+ /study JavaScript
40
+ ```
41
+
42
+ If slash commands are unavailable, say:
43
+
44
+ ```text
45
+ Use the study skill to help me learn JavaScript for a frontend internship.
46
+ ```
47
+
48
+ The agent asks one meaningful question at a time, finds your starting point,
49
+ establishes your purpose and available hours, and proposes a curriculum for
50
+ approval. Onboarding itself does not start a timer. Resources and an existing
51
+ roadmap are optional; if supplied, your roadmap is preserved.
52
+
53
+ Antigravity's native [/learn](https://antigravity.google/docs/commands/learn/)
54
+ captures agent knowledge, so this framework uses `/study` without replacing it.
55
+ Discovery/invocation can vary by host/version. Current [Antigravity skill
56
+ locations](https://antigravity.google/docs/skills) include workspace
57
+ `.agents/skills/<name>/`; reload skills or open a new chat if necessary.
58
+
59
+ ## Installer commands
60
+
61
+ | Command | Behaviour |
62
+ | --- | --- |
63
+ | `npx agentic-learning-framework init [directory]` | Install `.agents/skills/study/` and append root private-data exclusions to `.gitignore`. |
64
+ | `npx agentic-learning-framework init [directory] --dry-run` | Preview actions without creating or changing files. |
65
+ | `npx agentic-learning-framework doctor [directory]` | Check skill content and privacy exclusions against the executing package version. |
66
+ | `npx agentic-learning-framework --help` | Show usage. |
67
+ | `npx agentic-learning-framework --version` | Show the package version. |
68
+
69
+ No install/postinstall hooks run. `init` does not read learner memory, copy demo
70
+ records into your project, start a goal, modify `AGENTS.md`, or make model/network
71
+ calls. npm itself downloads the public package when using npx. Existing identical
72
+ skills are reused; custom, extra or incomplete skill files cause a clear refusal
73
+ before replacement. Back up/move a customised `study` folder before installing a
74
+ different version. There is no destructive `--force` option.
75
+
76
+ The installed folder contains only 11 Markdown files:
77
+
78
+ ```text
79
+ .agents/skills/study/
80
+ SKILL.md
81
+ agents/
82
+ planner.md
83
+ tutor.md
84
+ assessor.md
85
+ observer.md
86
+ memory.md
87
+ reporter.md
88
+ references/
89
+ lifecycle.md
90
+ memory-format.md
91
+ reports.md
92
+ research.md
93
+ ```
94
+
95
+ Manual installation also works: copy this complete folder into the host's
96
+ documented skills directory. No installer or Node.js is needed for that route.
97
+
98
+ ### Updating an existing installation
99
+
100
+ The installer preserves different or customised skill files instead of silently
101
+ overwriting them. To update an older copy, first move its `study` folder to an
102
+ unused backup location outside the host's skill-discovery folders, then run
103
+ `npx agentic-learning-framework@latest init` in the project. Keep `.learning/`
104
+ and your reports in place; changing the instructions does not erase them.
105
+ For development inside this same-named source checkout, invoke
106
+ `node bin/agentic-learning-framework.mjs` directly; test registry npx commands
107
+ in a separate project directory.
108
+
109
+ ## Learn, practise, resume
110
+
111
+ | Message to the agent | What happens |
112
+ | --- | --- |
113
+ | `/study <topic>` | Create a distinct goal or choose whether to resume an existing match. |
114
+ | `/study start <goal>` | Ask today's available hours, confirm local time, show a feasible plan and progress HTML, resume the checkpoint. |
115
+ | `/study stop <goal>` | Save remaining work, optional recall/reflection, elapsed time and fresh reports. “Stop now” closes immediately. |
116
+ | `/study report <goal> daily` | Compare today's plan and evidenced outcomes, including active-session provisional time. |
117
+ | `/study report <goal> weekly` | Summarise changes, retention, gaps, skips and suggested next steps. |
118
+ | `/study report all full` | Show independent goals without averaging unrelated mastery. |
119
+ | `/study goals` | List/select a goal for this chat. |
120
+ | `/study revise <goal>` | Practise due recall, one question at a time. |
121
+ | `/study admin report weekly` | Prepare a local learner-approved teacher/admin summary. |
122
+ | `/study memory inspect` | Inspect memory scope, consent, checkpoints and pending conflicts. |
123
+ | `/study memory export` / `backup` / `import` / `correct` / `delete` | Manage a specified scope through the agent's native file tools. |
124
+
125
+ Short `/start`, `/stop`, `/report`, `/weekly`, `/goals`, `/revise` and `/progress`
126
+ aliases work only if the host passes those messages to the agent. This package
127
+ does not register them as separate native commands. Plain language is supported.
128
+
129
+ Teaching combines simple explanations, worked examples, 4W1H (What, Why, When,
130
+ Where, How), one cross-question at a time, progressive hints, independent tasks,
131
+ and delayed recall. Learners can ask for a direct answer, change pace, skip,
132
+ dispute an assessment, or stop. Skipped items remain unverified in reports.
133
+
134
+ The planner, tutor, assessor, observer, memory steward and reporter are modular
135
+ roles coordinated by one orchestrator, not mandatory separate agents or paid
136
+ model calls. [Research and provenance](.agents/skills/study/references/research.md)
137
+ describe reviewed designs and learning references. No third-party skill is
138
+ installed automatically, and no learning-outcome guarantee is made.
139
+
140
+ ## Memory and privacy
141
+
142
+ Runtime data defaults to `.learning/`, with HTML under `reports/`. The installer
143
+ adds these exclusions at the end of the project's `.gitignore`:
144
+
145
+ ```gitignore
146
+ /.learning/
147
+ /.learning-global/
148
+ /reports/
149
+ /.learning-backups/
150
+ ```
151
+
152
+ These rules do not encrypt files, remove already tracked data, or control local
153
+ filesystem access. The release uses an explicit public-file allowlist; real
154
+ learning records, reports, backups and credentials are not bundled.
155
+
156
+ Memory records onboarding, approved plan versions, useful Q&A summaries,
157
+ explanations, sources, corrections, assistance, skips and the next question.
158
+ Full transcripts, global cross-workspace summaries and teacher/admin audiences
159
+ are opt-in. No hidden reasoning or unrelated-chat capture. Admin HTML contains
160
+ only approved fields and is not an authenticated portal or automatic delivery.
161
+
162
+ Separate goals can run in separate chats. Explicit goal IDs/aliases are needed
163
+ when the host has no stable chat identifier. Use one writing chat per goal:
164
+ the Markdown protocol detects conflicts but cannot enforce database transactions
165
+ or lossless simultaneous same-goal edits. See the [memory protocol](.agents/skills/study/agents/memory.md).
166
+
167
+ ## Offline reports
168
+
169
+ ```text
170
+ reports/index.html
171
+ reports/<goal-id>/index.html
172
+ reports/<goal-id>/daily/YYYY-MM-DD.html
173
+ reports/<goal-id>/weekly/YYYY-Www.html
174
+ reports/admin/<audience-id>/index.html
175
+ reports/admin/<audience-id>/daily/YYYY-MM-DD.html
176
+ reports/admin/<audience-id>/weekly/YYYY-Www.html
177
+ reports/snapshots/<report-id>.html
178
+ ```
179
+
180
+ Reports separate curriculum coverage, independent capability and delayed
181
+ retention. They distinguish planned, elapsed, optional break-adjusted and
182
+ self-reported active minutes. Open sessions are provisional; forgotten stops
183
+ need reconciliation. No fabricated mastery percentage or verified-active-time
184
+ claim. HTML uses embedded CSS, static diagrams and native expandable details,
185
+ with escaped learner text and no JavaScript or remote assets.
186
+
187
+ Reports use a consistent dashboard layout with a clear goal summary, a few
188
+ meaningful progress cards, a prominent next step and readable session activity.
189
+ Detailed Q&A, 4W1H evidence, sources and technical provenance are expandable.
190
+ Mobile layouts keep the same content; administrator previews show only the
191
+ approved summary and suggested support.
192
+
193
+ The public [learner preview](examples/demo/report.html) and [teacher/admin
194
+ preview](examples/demo/admin.html) use only explicitly fictional
195
+ [demo evidence](examples/demo/records.md). No demo data is installed as memory.
196
+
197
+ ## Test or release from this checkout
198
+
199
+ ```sh
200
+ npm test
201
+ npm run check
202
+ mkdir -p dist
203
+ npm pack --pack-destination dist
204
+ ```
205
+
206
+ Before registry publication, the archive can be used locally:
207
+
208
+ ```sh
209
+ npx --yes --package ./dist/agentic-learning-framework-0.1.1.tgz agentic-learning-framework init ./my-learning-project
210
+ ```
211
+
212
+ The tests use Node's built-in test runner, isolated temporary projects, and no
213
+ external dependencies. [Release instructions](docs/RELEASE.md) describe the
214
+ tarball privacy check, npm authentication and publishing. Host registration and
215
+ real learning outcomes require separate testing; installer tests cannot prove
216
+ them. The agent must disclose missing file, clock, research or preview tools.
217
+
218
+ MIT licensed. See [LICENSE](LICENSE).
@@ -0,0 +1,79 @@
1
+ #!/usr/bin/env node
2
+ import { readFile } from 'node:fs/promises';
3
+ import { fileURLToPath } from 'node:url';
4
+ import { resolve } from 'node:path';
5
+ import { inspectInstallation, install } from '../lib/install.mjs';
6
+
7
+ const packageRoot = fileURLToPath(new URL('../', import.meta.url));
8
+ const metadata = JSON.parse(await readFile(new URL('../package.json', import.meta.url), 'utf8'));
9
+ const help = `Agentic Learning Framework ${metadata.version}
10
+
11
+ Install agent instructions for goal-based Q&A learning and HTML reports.
12
+ The installed skill is Markdown only; your existing agent does the teaching.
13
+
14
+ Usage:
15
+ agentic-learning-framework init [directory] [--dry-run]
16
+ agentic-learning-framework doctor [directory]
17
+ agentic-learning-framework --help
18
+ agentic-learning-framework --version
19
+
20
+ Commands:
21
+ init Copy the study skill into <directory>/.agents/skills/study.
22
+ Add local learning-data exclusions to .gitignore.
23
+ Existing identical files are reused; custom changes are preserved.
24
+ doctor Check that the installed skill matches this package and that
25
+ root learning-data paths are excluded from version control.
26
+
27
+ Options:
28
+ --dry-run Show init actions without creating or changing files.
29
+ --help Show this help.
30
+ --version Show the package version.
31
+
32
+ Directory defaults to the current working directory. No telemetry, model calls,
33
+ learner-data access, dependency installation, or background work.
34
+
35
+ After installation, open the project in your agent and send:
36
+ /study JavaScript
37
+ or: Use the study skill to help me learn JavaScript.
38
+ `;
39
+
40
+ try {
41
+ const args = process.argv.slice(2);
42
+ if (args.length === 0 || (args.length === 1 && ['--help', '-h'].includes(args[0]))) {
43
+ process.stdout.write(help);
44
+ } else if (args.length === 1 && ['--version', '-v'].includes(args[0])) {
45
+ process.stdout.write(`${metadata.version}\n`);
46
+ } else {
47
+ const command = args.shift();
48
+ if (!['init', 'doctor'].includes(command)) throw new Error(`Unknown command: ${command}. Run with --help.`);
49
+ const positional = [];
50
+ let dryRun = false;
51
+ let literal = false;
52
+ for (const argument of args) {
53
+ if (!literal && argument === '--') literal = true;
54
+ else if (!literal && argument === '--dry-run' && command === 'init' && !dryRun) dryRun = true;
55
+ else if (!literal && argument.startsWith('-')) throw new Error(`Unsupported option: ${argument}. Run with --help.`);
56
+ else positional.push(argument);
57
+ }
58
+ if (positional.length > 1) throw new Error('Provide at most one project directory.');
59
+ const projectRoot = resolve(positional[0] ?? process.cwd());
60
+ if (command === 'doctor') {
61
+ const result = await inspectInstallation({ packageRoot, projectRoot });
62
+ if (result.ok) process.stdout.write(`Healthy: ${result.destination}\nAll ${result.fileCount} Markdown skill files match version ${metadata.version}; privacy exclusions are present.\n`);
63
+ else {
64
+ process.stderr.write(`Installation needs attention:\n${result.issues.map(issue => `- ${issue}`).join('\n')}\n`);
65
+ process.exitCode = 1;
66
+ }
67
+ } else {
68
+ const result = await install({ packageRoot, projectRoot, dryRun });
69
+ if (dryRun) {
70
+ process.stdout.write(`Dry run: ${result.destination}\n${result.skillExists ? 'Reuse the identical installed skill.' : `Install ${result.fileCount} Markdown skill files.`}\n${result.ignoreChanged ? 'Add missing private-data exclusions to .gitignore.' : 'Keep existing .gitignore unchanged.'}\nNo files changed.\n`);
71
+ } else {
72
+ process.stdout.write(`${result.skillExists ? 'Skill already installed' : 'Installed'}: ${result.destination}\n${result.ignoreChanged ? 'Updated .gitignore with private learning-data exclusions.' : 'Private learning-data exclusions already present.'}\nOpen this project in your agent and send /study JavaScript.\nIf slash commands are unavailable, say: Use the study skill to help me learn JavaScript.\nThe installer has not started a learning goal or changed learner memory.\n`);
73
+ }
74
+ }
75
+ }
76
+ } catch (error) {
77
+ process.stderr.write(`agentic-learning-framework: ${error.message}\n`);
78
+ process.exitCode = 1;
79
+ }
@@ -0,0 +1,76 @@
1
+ # Release procedure
2
+
3
+ The npm package is `agentic-learning-framework`; the display name is Agentic
4
+ Learning Framework. Version 0.1.0 was the first published release. Version
5
+ 0.1.1 contains corrections from the fictional learner and recovery tests.
6
+ Publication is complete only after the registry and a fresh installation of
7
+ the exact inspected archive have both been verified.
8
+
9
+ ## Prepare and inspect
10
+
11
+ From the source checkout, with Node.js 22 or later:
12
+
13
+ ```sh
14
+ npm test
15
+ npm run check
16
+ mkdir -p dist
17
+ npm pack --json --pack-destination dist
18
+ ```
19
+
20
+ Inspect the actual archive file list, not just `.gitignore`. Permitted content:
21
+ the CLI in `bin/`, installer code in `lib/`, Markdown skill under
22
+ `.agents/skills/study/`, fictional `examples/demo/`, docs, changelog, README,
23
+ LICENSE, and npm package metadata. The archive must not contain `.learning/`,
24
+ `.learning-global/`, real `reports/`, backups, test projects, `.npmrc`, tokens,
25
+ environment files, Git metadata, caches or dependencies. The installed skill
26
+ must still consist exclusively of Markdown.
27
+
28
+ Test the archive itself in a disposable project outside this checkout:
29
+
30
+ ```sh
31
+ npx --yes --package /absolute/path/agentic-learning-framework-0.1.1.tgz agentic-learning-framework init /path/to/disposable-project
32
+ npx --yes --package /absolute/path/agentic-learning-framework-0.1.1.tgz agentic-learning-framework doctor /path/to/disposable-project
33
+ ```
34
+
35
+ Check byte-for-byte skill content, preserved project instructions, private-data
36
+ exclusions, repeat installation, and no learner state or demo copied into the
37
+ project. The installer has no model/API calls, install hooks or dependencies.
38
+ Use a directory outside the same-named source checkout for these `npx` checks:
39
+ npm may otherwise resolve that checkout's local bin instead of the archive.
40
+
41
+ ## Authenticate and publish the checked archive
42
+
43
+ Authenticate directly with npm; do not paste credentials or tokens into chat:
44
+
45
+ ```sh
46
+ npm login --registry https://registry.npmjs.org/
47
+ npm whoami --registry https://registry.npmjs.org/
48
+ ```
49
+
50
+ Publish the exact inspected archive after tests pass:
51
+
52
+ ```sh
53
+ npm publish ./dist/agentic-learning-framework-0.1.1.tgz --access public --registry https://registry.npmjs.org/
54
+ ```
55
+
56
+ Complete any npm-required verification through its normal login/publish flow.
57
+ If authentication, name ownership, policy or network access fails, report the
58
+ actual failure and keep the checked archive; do not claim publication succeeded.
59
+ The user has requested this release; no additional product approval flow is
60
+ introduced here.
61
+
62
+ ## Verify publication
63
+
64
+ ```sh
65
+ npm view agentic-learning-framework@0.1.1 name version dist.integrity --json
66
+ npx --yes agentic-learning-framework@0.1.1 --version
67
+ ```
68
+
69
+ Compare registry integrity to the checked archive, then test a registry-backed
70
+ `init`/`doctor` in a fresh disposable project. Only after that verification
71
+ describe the release as published. Existing versions cannot be overwritten;
72
+ later releases need a new version and a fresh pack/privacy/install check.
73
+
74
+ This checkout initially had no Git commits or remote, so no source-hosting URL,
75
+ GitHub release, CI provenance or automated publication is claimed. Those can be
76
+ configured separately once a real repository destination is selected.
@@ -0,0 +1,38 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1">
6
+ <meta http-equiv="Content-Security-Policy" content="default-src 'none'; style-src 'unsafe-inline'; img-src 'none'; base-uri 'none'; form-action 'none'">
7
+ <title>Learner A · Weekly learning summary</title>
8
+ <style>
9
+ :root{color-scheme:light;--canvas:#f5f7fb;--surface:#fff;--ink:#17243b;--muted:#53627a;--line:#e0e6ef;--accent:#3455cf;--soft:#edf1ff;--green:#17613e;--green-soft:#eaf5ee;--amber:#88510b;--amber-soft:#fff4df}*{box-sizing:border-box}html{scroll-padding-top:24px}body{margin:0;background:var(--canvas);color:var(--ink);font:15px/1.6 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}a{color:var(--accent);text-underline-offset:3px}a:hover{text-decoration-thickness:2px}:focus-visible{outline:3px solid var(--accent);outline-offset:4px}h1,h2,h3{line-height:1.3;letter-spacing:-.025em}h1{font-size:32px;margin:8px 0}h2{font-size:20px;margin:0}h3{font-size:14px;margin:0 0 6px}p{margin:0 0 12px}.muted{color:var(--muted)}.small{font-size:12px}.eyebrow{color:var(--muted);font-size:11px;letter-spacing:.1em;text-transform:uppercase;font-weight:700}.skip{position:absolute;top:-80px;left:16px;z-index:5;padding:12px;background:#fff}.skip:focus{top:12px}
10
+ .layout{display:grid;grid-template-columns:224px minmax(0,1fr);min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;padding:28px 18px;background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column;gap:32px}.brand{display:flex;align-items:center;gap:10px;font-weight:750;letter-spacing:-.035em;line-height:1.2}.brand-mark{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:var(--accent);color:#fff;font-size:20px}.brand small{display:block;margin-top:4px;letter-spacing:0;font-size:12px;color:var(--muted);font-weight:500}.nav-label{margin:0 12px 10px;font-size:10px;text-transform:uppercase;letter-spacing:.12em;font-weight:700;color:var(--muted)}.nav{display:grid;gap:5px}.nav a{display:flex;align-items:center;gap:10px;min-height:44px;padding:10px 12px;color:var(--muted);font-size:13px;font-weight:550;text-decoration:none;border-radius:8px}.nav a:hover{background:#f5f7fc}.nav .active{color:var(--accent);background:var(--soft);font-weight:650}.nav svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex:none}.sidebar-bottom{margin-top:auto;border-top:1px solid var(--line);padding:16px 12px 0;font-size:12px;color:var(--muted)}.sidebar-bottom p{margin-bottom:6px}
11
+ main{min-width:0;width:100%;max-width:1260px;padding:28px 36px 44px;margin-inline:auto}.topline{display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid var(--line);padding-bottom:20px;font-size:12px;color:var(--muted)}.breadcrumb{display:flex;gap:10px}.badge{display:inline-flex;align-items:center;gap:6px;border-radius:6px;padding:4px 9px;background:#edf0f5;color:#4b5c73;font-size:11px;font-weight:650}.badge.good{color:var(--green);background:var(--green-soft)}.badge.blue{color:var(--accent);background:var(--soft)}.badge.open{color:var(--amber);background:var(--amber-soft)}.heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin:26px 0 20px}.heading p{color:var(--muted);margin:8px 0 0;max-width:720px}.heading .badge{margin-top:14px}.scope-line{display:flex;align-items:center;gap:10px;flex-wrap:wrap;color:var(--muted);font-size:12px;margin:0 0 24px}.scope-line a{margin-left:auto;min-height:36px;display:inline-flex;align-items:center}.avatar{display:grid;place-items:center;flex:none;width:30px;height:30px;border:1px solid #cdd6ee;background:var(--soft);color:var(--accent);font-size:11px;font-weight:700;border-radius:50%}
12
+ .metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:22px}.metric,.panel{background:#fff;border:1px solid var(--line);border-radius:12px;min-width:0}.metric{padding:18px 20px}.metric-title{font-size:12px;color:var(--muted);font-weight:550}.metric-value{font-size:29px;line-height:1.25;font-weight:750;letter-spacing:-.045em;margin:8px 0 6px;font-variant-numeric:tabular-nums}.metric-value span{font-size:16px;font-weight:500;color:var(--muted)}.metric-note{font-size:11px;color:var(--muted)}.columns{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(270px,1fr);gap:20px;align-items:start}.stack{display:grid;gap:20px}.panel{padding:24px}.section{margin-top:24px;scroll-margin-top:24px}.section-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:20px}.section-heading p{margin:5px 0 0;color:var(--muted);font-size:12px}.objective{display:grid;grid-template-columns:30px minmax(0,1fr) auto;align-items:start;gap:12px;padding:18px 0;border-top:1px solid var(--line)}.objective:first-of-type{padding-top:0;border-top:0}.number{display:grid;place-items:center;width:30px;height:30px;border-radius:8px;background:#edf0f5;color:var(--muted);font-weight:700;font-size:12px}.number.blue{background:var(--soft);color:var(--accent)}.number.good{background:var(--green-soft);color:var(--green)}.number.open{background:var(--amber-soft);color:var(--amber)}.objective-title{font-size:14px;font-weight:650}.objective p{font-size:12px;color:var(--muted);margin:4px 0 0}.objective .badge{max-width:128px}.coverage{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;margin:20px 0 10px}.coverage span{height:6px;border-radius:4px;background:#e6ebf3}.coverage .explained{background:#8196ec}.coverage .independent{background:#4d9b72}.coverage .deferred{background:#dca95d}.goal-outcome{font-size:12px;color:var(--muted);margin-top:18px;padding-top:14px;border-top:1px solid var(--line)}
13
+ .support{background:#203a8b;border-color:#203a8b;color:#fff}.support .eyebrow{color:#d4defe}.support h2{font-size:23px;margin:10px 0 16px}.support ol{padding:0;list-style:none;counter-reset:support;margin:0}.support li{display:flex;gap:11px;padding:13px 0;border-top:1px solid #657abc;font-size:13px;color:#ecf0ff;counter-increment:support}.support li:before{content:counter(support);display:grid;place-items:center;flex:none;border-radius:50%;width:22px;height:22px;background:#344f9e;font-size:11px;color:#fff}.support p{font-size:12px;color:#dce5ff;margin:14px 0 0}.review{padding:14px 0;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:16px}.review:first-of-type{border-top:0;padding-top:0}.review p{margin:3px 0 0;font-size:12px;color:var(--muted)}.review-date{font-size:12px;white-space:nowrap;font-weight:650}.insight{border-left:3px solid #94a8e6;padding:0 0 0 14px;margin:18px 0}.insight strong{font-size:13px}.insight p{font-size:12px;color:var(--muted);margin:5px 0 0}.insight.open{border-color:#dca95d}.time-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;margin-top:22px}.time-item{border-left:1px solid var(--line);padding-left:16px}.time-item:first-child{padding-left:0;border-left:0}.time-item span{display:block;font-size:11px;color:var(--muted)}.time-item strong{display:block;font-size:23px;line-height:1.3;letter-spacing:-.025em;font-weight:650;margin-top:7px;font-variant-numeric:tabular-nums}.time-item .unknown{font-size:18px;padding-top:5px}.note{background:#f5f7fb;border:1px solid var(--line);border-radius:8px;padding:13px 16px;font-size:12px;color:var(--muted);margin-top:20px}.weekly{display:grid;grid-template-columns:1fr 1fr;gap:24px}.weekly p{font-size:13px;color:var(--muted)}.weekly ul{padding-left:18px;margin:8px 0}.weekly li{font-size:13px;margin:8px 0;color:var(--muted)}details{padding-top:14px;border-top:1px solid var(--line);margin-top:18px}summary{cursor:pointer;font-size:13px;font-weight:600;min-height:36px;padding:6px 0}details p{font-size:12px;color:var(--muted);margin:10px 0}.scope{padding:18px 24px}.scope details{border-top:0;padding:0;margin:0}.scope p{max-width:85ch}.scope h3{margin-top:14px}.footnote{font-size:12px;color:var(--muted);border-top:1px solid var(--line);padding-top:14px;margin-top:20px}footer{display:flex;justify-content:space-between;gap:16px;color:var(--muted);font-size:11px;margin-top:28px}
14
+ @media(max-width:1120px){.layout{grid-template-columns:190px minmax(0,1fr)}main{padding:24px}.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.columns{grid-template-columns:1fr}.stack{grid-template-columns:1fr 1fr}.time-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.time-item{border-left:0;padding-left:0}.heading{display:block}}@media(max-width:800px){.layout{grid-template-columns:1fr}.sidebar{position:static;height:auto;padding:18px 24px;gap:16px;border-right:0;border-bottom:1px solid var(--line)}.nav{display:flex;flex-wrap:wrap;gap:6px}.nav-label,.sidebar-bottom,.brand small{display:none}.stack{grid-template-columns:1fr}.topline{flex-wrap:wrap}.weekly{grid-template-columns:1fr;gap:12px}}@media(max-width:520px){main{padding:18px 16px 32px}.sidebar{padding:16px}.nav a{font-size:12px;padding:8px 10px}.nav svg{display:none}.panel{padding:18px}.metric{padding:16px}.metric-value{font-size:26px}h1{font-size:27px}.scope-line a{margin-left:0}.objective{grid-template-columns:28px minmax(0,1fr);gap:10px}.objective .badge{grid-column:2;max-width:100%;width:max-content}.time-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.time-item strong{font-size:22px}.section-heading{flex-wrap:wrap}footer{display:block}}@media print{body{background:#fff;font-size:11pt}.layout{display:block}.sidebar,.skip{display:none}main{padding:0;max-width:none}.panel,.metric{break-inside:avoid}.columns,.stack{display:block}.panel{margin-bottom:16px}.metrics{grid-template-columns:repeat(4,1fr)}.support{background:#fff;color:var(--ink);border-color:var(--line)}.support p,.support li,.support .eyebrow{color:var(--muted)}.support li{border-color:var(--line)}.support li:before{background:#edf0f5;color:var(--ink)}.time-grid{grid-template-columns:repeat(5,1fr)}a{color:inherit}}
15
+ .objective p,.review p,.insight p{font-size:13px}.support li{font-size:14px}
16
+ </style>
17
+ </head>
18
+ <body>
19
+ <a class="skip" href="#main">Skip to approved learning summary</a>
20
+ <div class="layout">
21
+ <aside class="sidebar" aria-label="Report navigation"><div class="brand"><span class="brand-mark" aria-hidden="true">a</span><span>agentic learning<small>Approved progress summary</small></span></div><div><p class="nav-label">Weekly report</p><nav class="nav" aria-label="Approved report sections"><a class="active" aria-current="location" href="#overview"><svg aria-hidden="true" viewBox="0 0 24 24"><rect x="3" y="3" width="7" height="7" rx="1.5"/><rect x="14" y="3" width="7" height="7" rx="1.5"/><rect x="3" y="14" width="7" height="7" rx="1.5"/><rect x="14" y="14" width="7" height="7" rx="1.5"/></svg>Overview</a><a href="#capabilities"><svg aria-hidden="true" viewBox="0 0 24 24"><path d="M5 4h14v17H5zM8 9h8m-8 5h5"/></svg>Learning progress</a><a href="#time"><svg aria-hidden="true" viewBox="0 0 24 24"><circle cx="12" cy="12" r="9"/><path d="M12 6v6l4 2"/></svg>Time summary</a><a href="#support"><svg aria-hidden="true" viewBox="0 0 24 24"><path d="m5 12 4 4L19 6M4 21h16"/></svg>Suggested support</a><a href="#scope"><svg aria-hidden="true" viewBox="0 0 24 24"><path d="m12 3 8 4v6c0 4-8 8-8 8s-8-4-8-8V7z"/></svg>Report scope</a></nav></div><div class="sidebar-bottom"><p><strong>Local audience preview</strong></p><p>No external delivery</p><p>Fictional demo data</p></div></aside>
22
+ <main id="main">
23
+ <div class="topline"><div class="breadcrumb"><span>Learning reports</span><span aria-hidden="true">/</span><strong>Weekly summary</strong></div><span class="badge">Fictional demo · 23–29 Nov 2026</span></div>
24
+ <header class="heading" id="overview"><div><div class="eyebrow">Teacher / administrator view</div><h1>Learner A's weekly progress</h1><p>Independent auth application is evidenced. Retry decisions and a request-path task are the next opportunities for support.</p></div><span class="badge good">Approved local preview</span></header>
25
+ <div class="scope-line"><span class="avatar" aria-hidden="true">LA</span><span><strong>Backend interview prep</strong> · Practical level · Goal in progress</span><a href="#support">View suggested support →</a></div>
26
+ <div class="metrics" aria-label="Approved progress at a glance"><div class="metric"><div class="metric-title">Applied independently</div><div class="metric-value">1 <span>/ 4 objectives</span></div><div class="metric-note">One new auth case · No hints</div></div><div class="metric"><div class="metric-title">Topics introduced</div><div class="metric-value">3 <span>/ 4 topics</span></div><div class="metric-note">Coverage, separate from ability</div></div><div class="metric"><div class="metric-title">Resolved elapsed this week</div><div class="metric-value">3h <span>30m</span></div><div class="metric-note">29 Nov · Other work was untimed</div></div><div class="metric"><div class="metric-title">Delayed recall checks</div><div class="metric-value">1 <span>correct</span></div><div class="metric-note">23h 10m delay · Application untested</div></div></div>
27
+ <div class="columns">
28
+ <section class="panel" id="capabilities" aria-labelledby="capabilities-title"><div class="section-heading"><div><h2 id="capabilities-title">Learning progress</h2><p>Evidence against the agreed outcomes.</p></div><span class="badge blue">40h estimated plan</span></div><div class="objective"><span class="number blue" aria-hidden="true">01</span><div><div class="objective-title">Explain the request path</div><p>Can explain the concept. Independent application still needs a check.</p></div><span class="badge blue">Can explain</span></div><div class="objective"><span class="number good" aria-hidden="true">02</span><div><div class="objective-title">Distinguish auth errors</div><p>A fresh scenario met its rubric without hints.</p></div><span class="badge good">Applied independently</span></div><div class="objective"><span class="number open" aria-hidden="true">03</span><div><div class="objective-title">Evaluate retry safety</div><p>Introduced; assessment skipped by learner choice.</p></div><span class="badge open">Practice pending</span></div><div class="objective"><span class="number" aria-hidden="true">04</span><div><div class="objective-title">Complete a mock interview</div><p>Not assessed. Auth and retry prerequisites come first.</p></div><span class="badge">Not assessed</span></div><div class="coverage" role="img" aria-label="Four objectives: one explained, one independently applied, one introduced with assessment deferred, one not assessed"><span class="explained"></span><span class="independent"></span><span class="deferred"></span><span></span></div><p class="small muted">One independently applied · One explained · One deferred · One not assessed</p><p class="goal-outcome">Agreed outcome: explain requests, diagnose auth errors, judge retry safety, and complete a mixed interview task independently. Plan approved 28 Nov. The goal's completion criteria are not yet met.</p></section>
29
+ <div class="stack"><aside class="panel support" id="support" aria-labelledby="support-title"><div class="eyebrow">Suggested support</div><h2 id="support-title">Make the next practice useful.</h2><ol><li>Offer a worked retry example, then invite a fresh task without hints.</li><li>Invite an independent request-path scenario.</li><li>Confirm available hours before planning the next week.</li></ol><p>Keep the deferred assessment optional and unverified until it is revisited.</p></aside><section class="panel" aria-labelledby="reviews-title"><div class="section-heading"><h2 id="reviews-title">Upcoming check-ins</h2></div><div class="review"><div><h3>Retry assessment</h3><p>Optional revisit of the skipped task.</p></div><span class="review-date">30 Nov</span></div><div class="review"><div><h3>Auth distinction recall</h3><p>Recheck after the successful recall.</p></div><span class="review-date">02 Dec</span></div><p class="small muted">Proposed review dates, surfaced on invocation. No unattended reminders.</p></section></div>
30
+ </div>
31
+ <section class="panel section" id="time" aria-labelledby="time-title"><div class="section-heading"><div><h2 id="time-title">Time, with the right context</h2><p>29 Nov · 09:00–12:30 · Session ended</p></div><span class="badge">Learner-supplied timestamps</span></div><div class="time-grid"><div class="time-item"><span>Planned study</span><strong>3h</strong></div><div class="time-item"><span>Elapsed window</span><strong>3h 30m</strong></div><div class="time-item"><span>Reported breaks</span><strong>30m</strong></div><div class="time-item"><span>Break-adjusted</span><strong>3h</strong></div><div class="time-item"><span>Active effort</span><strong class="unknown">Unknown</strong></div></div><div class="note">210 elapsed minutes − 30 reported break minutes = 180 break-adjusted minutes. Per-topic actual time was not recorded. Earlier untimed work has unknown duration. Elapsed time does not establish engagement or competence.</div></section>
32
+ <section class="panel section" aria-labelledby="weekly-title"><div class="section-heading"><div><h2 id="weekly-title">What changed this week</h2><p>23–29 November 2026 · Backend goal only</p></div></div><div class="weekly"><div><h3>Evidence of progress</h3><div class="insight"><strong>Assisted explanation → independent application</strong><p>An auth scenario was answered independently after earlier supported practice. The result is specific to that task.</p></div><div class="insight"><strong>One distinction recalled after a delay</strong><p>A 23h 10m recall check passed. Delayed application and transfer remain untested.</p></div></div><div><h3>Open learning needs</h3><div class="insight open"><strong>Retry understanding is unverified</strong><p>The learner chose to skip its assessment. Revisit without treating the skip as a failure or a pass.</p></div><div class="insight open"><strong>A mixed interview task comes later</strong><p>Check prerequisite application first. No prior-week baseline is available for comparison.</p></div></div></div><p class="footnote">This summary describes evidence for an agreed goal. It is not a learner ranking, diagnosis or certification.</p></section>
33
+ <section class="panel section scope" id="scope" aria-labelledby="scope-title"><h2 id="scope-title">Report scope</h2><p class="small muted">Approved pseudonym, goal, dates and summary fields only. This is a local preview; no delivery has been authorised.</p><details><summary>View audience scope and report details</summary><h3>Fictional consent</h3><p>Learner A's backend goal, 23–29 Nov 2026. Allowed fields: goal/outcome; planned, elapsed and break-adjusted time; unknown active effort; capability summaries; review dates; assessment skip; suggested support.</p><h3>Snapshot</h3><p>As of 2026-11-29T12:35:00+05:30 · Asia/Kolkata · ISO week 2026-W48 · Plan p1. All learner records and consent in this demonstration are invented.</p><p>Only approved information is included in this file. Static HTML does not authenticate an administrator or revoke copied reports. No sharing permissions have changed. For a full printout, expand the scope first if your print engine needs it. Source checks do not establish visual verification.</p></details></section>
34
+ <footer><span>Agentic Learning Framework · Approved audience summary</span><span>Fictional snapshot · 29 Nov 2026, 12:35 +05:30</span></footer>
35
+ </main>
36
+ </div>
37
+ </body>
38
+ </html>
@@ -0,0 +1,135 @@
1
+ # Fictional report fixture — not learner memory
2
+
3
+ All people, conversations, performance and times below are invented examples.
4
+ This compact fixture is the evidence for `report.html` and `admin.html`, not an
5
+ importable production event store. The real format is defined in the skill's
6
+ `references/memory-format.md`. Never load this file to personalise a real goal.
7
+
8
+ Snapshot: 2026-11-29T12:35:00+05:30, Asia/Kolkata. Week: 23–29 November 2026
9
+ (ISO 2026-W48). Learner pseudonym: Learner A. Full transcripts: off. Global
10
+ profile reuse: off. Audience UUID: 90d27653-d056-4bb9-8339-36b1249159c6.
11
+
12
+ ## Goals and approved plans
13
+
14
+ Backend UUID: 61567be3-7ed6-444a-b188-f89c0f142095; alias `backend`.
15
+ State READY, session CLOSED. Purpose: backend interview. Outcome: explain a
16
+ request, diagnose auth errors, evaluate retry safety, and complete a mock
17
+ interview independently. Depth: practical interview level. Baseline: can describe
18
+ a client/server exchange; diagnostic showed confusion about authentication vs
19
+ permission. Budget: 2,400 minutes (40 hours). Typical availability: 360–480
20
+ minutes per study day. Deadline: none. Existing plan/resources: none; agent-led
21
+ research. Language: English. Assessment: short scenarios and mock interview.
22
+ Constraints: no other restrictions supplied. Onboarding complete; roadmap
23
+ approved in D01, 28 November. Five to seven study days is an estimate, not a
24
+ mastery guarantee. Plan p1 remains active; no scope changes.
25
+
26
+ | Objective / concept | Dependency | Estimate | Exit rubric | Status at snapshot |
27
+ | --- | --- | --- | --- | --- |
28
+ | B1 / request-path | none | 300 min | Explain a request path and its failure points unaided. | Explain; independent task pending. |
29
+ | B2 / auth-errors | B1 | 600 min | Distinguish missing authentication from denied permission in new cases, with reasons. | Apply independently (D06); delayed application untested. |
30
+ | B3 / retry-safety | B1 | 600 min | Decide retry safety in an unfamiliar scenario and justify. | Introduced; assessment skipped (D07). |
31
+ | B4 / mock-interview | B2, B3 | 900 min | Solve and explain a mixed interview task independently. | Not assessed. |
32
+
33
+ Economics UUID: d22934bc-e598-456c-8df9-a77cb6e16226; alias `economics`.
34
+ State READY, session CLOSED. Purpose curiosity; outcome explain an everyday
35
+ trade-off; practical overview; 600-minute budget, 60-minute typical study day,
36
+ no deadline/plan/resources, English, scenario assessment. Diagnostic declined
37
+ and baseline unverified. Plan approved D09; one objective E1, 600 minutes,
38
+ independent justified choice as exit task. No assessment evidence yet. Its
39
+ separate chat does not inherit backend evidence. No cross-goal growth claim.
40
+
41
+ ## Committed fictional evidence summaries
42
+
43
+ These short IDs are fixture labels, not production UUIDs.
44
+
45
+ - **D01, 28 Nov 10:00:** backend onboarding/plan approval, untimed. Learner
46
+ agrees to the four objectives and 40-hour estimate. Diagnostic as above.
47
+ - **D02, 28 Nov 10:05:** untimed teaching. Learner asks “Is permission the same
48
+ as being logged in?” Agent explains that identity/authentication and permitted
49
+ action are distinct. Worked example: a signed-in viewer trying an editor-only
50
+ operation. Learner answers the immediate distinction correctly after a hint.
51
+ Assistance: hint; capability introduced/explain-with-help, not independent.
52
+ What/Why explained; other 4W1H dimensions awaiting evidence. Review due 29 Nov.
53
+ - **D03, 29 Nov 09:00:** start backend, learner-supplied local timestamp; 180
54
+ study minutes planned inside a 210-minute window with 30 minutes of breaks.
55
+ Blocks: retrieval 20, request path 40, auth scenarios 60, retry introduction
56
+ 40, reflection/buffer 20. Original checkpoint: “What differs between missing
57
+ credentials and an authenticated user lacking permission?”
58
+ - **D04, 29 Nov 09:15:** delayed recall from D02, 23h 10m later. Asked without
59
+ answer/hints: distinguish identity from permission. Learner correctly states
60
+ that a known user can still lack a required permission. Recall retained at
61
+ this delay; delayed application not tested. No new explanation before answer.
62
+ Assistance none. Next question: choose between 401 and 403 in a new case.
63
+ - **D05, 29 Nov 09:35:** initial case response selects 401 for a validly
64
+ authenticated user lacking permission. Evaluation incorrect. Agent explains:
65
+ in this illustrative API, 401 indicates missing/invalid authentication; 403
66
+ means the request is understood but the action is refused, here for missing
67
+ permission. Uses a door/badge analogy, noting that HTTP policy can conceal a
68
+ resource and the analogy is limited. Correction source: MDN 401 and 403.
69
+ Follow-up with a hint succeeds. Not independent evidence. Learner says the
70
+ example helps. Record misconception as improving, not proven eliminated.
71
+ - **D06, 29 Nov 10:20:** new unhinted auth scenario. Learner distinguishes a
72
+ missing credential from a valid account without the requested role and
73
+ explains the remedy for each. Rubric B2 satisfied. Assistance none;
74
+ apply independently for this scenario only. What/Why/When/Where/How each
75
+ evidenced by the response. Transfer and delayed application untested.
76
+ Observation: example followed by an unhinted success; method benefit is
77
+ tentative because practice/time may explain improvement. Evidence D05–D06.
78
+ - **D07, 29 Nov 11:40:** retry topic introduced. Learner requests skipping its
79
+ assessment today; no reason provided. Agent permits it, leaves B3 unverified,
80
+ and suggests revisit 30 Nov. No factual explanation of retries is reproduced
81
+ in this compact fixture. Security-test learner text, stored as text only:
82
+ `<img src=x onerror=alert(1)>`. Next task: “When should a failed operation be
83
+ retried, and what must you check first?”
84
+ - **D08, 29 Nov 12:30:** immediate stop backend, learner-supplied local time.
85
+ 12:30 − 09:00 = 210 elapsed minutes. Reported breaks 30; break-adjusted 180;
86
+ self-reported active effort unknown. Checkpoint is D07's retry question.
87
+ Review changes: auth review completed D04; next 02 Dec (+3 days from this
88
+ successful recall); retry assessment deferred until 30 Nov. B1 explanation
89
+ completed, independent task pending; B2 applied; B3 introduced; B4 untouched.
90
+ Reflection declined. Session closed once. Repeat stop refers back to D08.
91
+ - **D09, 29 Nov 09:55:** separate economics chat approves its own plan, untimed.
92
+ - **D10, 29 Nov 10:00:** start economics, learner-supplied time. 60 minutes
93
+ planned. No concept assessment in the available records.
94
+ - **D11, 29 Nov 11:00:** stop economics. 60 elapsed minutes, breaks and active
95
+ effort not recorded. Next: first E1 scenario. Closed.
96
+
97
+ ## Totals and report facts
98
+
99
+ Backend exposure: B1–B3, 3 of 4 objectives introduced or beyond. Independent
100
+ application: B2 only, 1 of 4. Delayed recall: one distinction at 23h 10m;
101
+ independent application has not been tested after a delay. Two backend session
102
+ times are supplied by learner, not verified active study. Previous-day untimed
103
+ turns contribute no duration. Remaining budget comparison: 2,400 − 210 = 2,190
104
+ elapsed minutes short of the planned budget; this is not remaining teaching
105
+ effort, which still needs re-estimation.
106
+
107
+ Today's per-goal planned study minutes: 180 + 60 = 240; elapsed: 210 + 60 = 270.
108
+ Global union 09:00–12:30 = 210 minutes; overlap 10:00–11:00 = 60 minutes.
109
+ Global active and break-adjusted totals unknown without allocation. Warning:
110
+ these are overlapping declared windows, not evidence of simultaneous active
111
+ study. All resolved intervals in this week's fixture occur on 29 November.
112
+
113
+ Next-day recommendation: 120 study minutes, subject to next-start confirmation:
114
+ auth recall 15, retry worked example 25, retry independent task 35, request-path
115
+ application 25, reflection/buffer 20. Next week: first confirm available hours,
116
+ revisit B3, then B1 independent task and B4 when dependencies are satisfied.
117
+
118
+ ## Sources for demo explanations
119
+
120
+ - [MDN 401](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/401),
121
+ accessed 2026-11-29: missing/invalid credentials and authentication challenge.
122
+ - [MDN 403](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/403),
123
+ accessed 2026-11-29: understood request refused; insufficient permission example.
124
+
125
+ ## Fictional audience consent and privacy boundary
126
+
127
+ Learner A approves a local teacher/admin preview for **backend only**,
128
+ 23–29 November 2026, and daily/full summaries of that same range. Allowed:
129
+ pseudonym, goal/outcome, planned/elapsed/break-adjusted time, active unknown,
130
+ capability summaries, review due dates, assessment skip, suggested support.
131
+ Denied: raw Q&A, private notes, transcript, economics goal, cross-goal totals,
132
+ internal memory paths and private observation detail. No delivery authorised.
133
+
134
+ Privacy test sentinel (must not appear in admin HTML):
135
+ `PRIVATE-DEMO-DO-NOT-SHARE-72C9`.