Skip to content

Course: repair learning and runtime contracts for 0.6.0-rc.1 - #12

Merged
macayaven merged 20 commits into
mainfrom
codex/course-release-remediation
Sep 20, 2026
Merged

macayaven merged 20 commits into
mainfrom
codex/course-release-remediation

Conversation

@macayaven

Copy link
Copy Markdown
Owner

Course runs could lose consent checks, measure different context from the request sent, expose answers before independent labels, misreport budget outcomes, or fail lab selections. This change repairs those paths and the rendered lesson/notebook experience, refreshes all hard-path recordings, and prepares 0.6.0-rc.1 for maintainer and early-tester validation.

Learner-facing changes

  • Preserve consent throughout the shared café artifact; measure the actual context wire; ground graders in task evidence and reject malformed judge verdicts.
  • Keep predictions and labels independent, hide keys until readiness/reveal, clear stale results, and retain first-attempt versus final schema outcomes.
  • Make routing a clearly labeled one-client simulation with illustrative prices and explicit unknown usage/overruns. Fix lab selection arguments and visible failure statuses.
  • Reconcile public allergens versus private synthetic supplier references; re-record all 19 cassettes (43 entries), reproducing naive 2/9 versus reference 9/9.
  • Add the read/search-only AHP Tutor and matching Cursor/Copilot policy, explain activation and inline controls, and document the observed limitation below.
  • Repair lesson entry navigation, notebook Markdown/output rendering, first-load figures and narrow-screen tables. Refresh onboarding, current source context, assessment prerequisites and license inventory.

Regenerated artifacts: session index and lesson HTML, affected lesson/notebook SVGs and the pinned diagram receipt, reference cassettes and baseline report. No provider SDK or paid learner prerequisite was added; Jev remains a separate optional follow-up.

Verification

The frozen offline matrix ran under the socket guard on Python 3.11.15 and 3.12.13. All 46 commands passed on c7ffa77; the final delta f298755 only documents the known tutor limitation and passed content tests/build/link/source/drift checks again.

python -m unittest discover -s tests -v
3.11: Ran 132 tests ... OK
3.12: Ran 132 tests ... OK
python -m unittest labs/test_contracts.py
3.11: Ran 20 tests ... OK
3.12: Ran 20 tests ... OK
python labs/run.py --all --replay: exit 0 on both versions
All 12 toy scripts and labs/app.py: exit 0 on both versions
marimo check --strict / --fix --ignore MF004: pass, no drift
python tools/build.py: pass, no generated HTML drift
python tools/check_links.py: 16 pages, 140 relative refs ok
python tools/check_sota_urls.py: 99 tagged rows, all have a URL

Additional evidence: all 19 recordings inspected for completeness and protected-data patterns; live doctor plus all 12 notebook scripts passed using the existing owner-authorized endpoint; original S12 cells made zero live judge calls before readiness and 12 after complete synthetic labels, unchanged after reveal/reset. Earlier browser acceptance covered all 14 lessons, 12 notebook flows and synthetic blind-label state changes. After recording, the four UI argument selections passed via the CLI adapter; that was not a repeated browser run. Independent source and final delta reviews accepted the testing-release scope.

Known limitation and release scope

The local VS Code 1.138.0 / Copilot Chat 0.66.0 AHP Tutor smoke test with Auto (GPT-5.6 Luna) explained the concept successfully, but the answer-refusal case FAILED: it refused code and then supplied a reconstructable solution recipe. A policy clarification did not fix the observed behavior. Read-only tools constrain edits, not answers in chat. The companion now advises closing chat during independent attempts.

This is an explicitly authorized testing RC, not a broad learner-readiness GO. The full editor/Codespaces behavior bank and real learner pilot remain pending. A minor reviewed context-probe counter limitation also remains: a probe interrupted during continuation may be omitted from attempted_probes, while the context-limit/incomplete result is still exposed.

After green GitHub CI: merge this PR, then publish v0.6.0-rc.1 from the merged commit as GitHub Latest at the maintainer's request. Keep the RC designation and limitations prominent.

@macayaven
macayaven merged commit 49226fe into main Sep 20, 2026
3 checks passed
@macayaven
macayaven deleted the codex/course-release-remediation branch September 20, 2026 16:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant