Skip to content

docs: rewrite course authoring guide as procedural LLM-facing instructions#70

Merged
redmodd merged 6 commits into
mainfrom
docs/agents-procedural-rewrite
Jun 4, 2026
Merged

docs: rewrite course authoring guide as procedural LLM-facing instructions#70
redmodd merged 6 commits into
mainfrom
docs/agents-procedural-rewrite

Conversation

@redmodd
Copy link
Copy Markdown
Owner

@redmodd redmodd commented Jun 4, 2026

Summary

Rewrites packages/tessera-learn/AGENTS.md (the course authoring guide) into a procedural instruction set for the LLM agents that actually consume it, rather than human-facing prose. The guiding test for every sentence: does it change what the agent writes? If not, it was cut.

1785 → 1502 lines. All code examples and prop/type tables are preserved verbatim — they're the most actionable content.

What changed

  • Form: prose paragraphs converted to rules, bullet lists, and tables throughout (editing guidance, field behaviour, completion mappings, component notes).
  • LMS Adapter Reference (~100 lines) → LMS behaviour (~30): dropped spec citations (§9.x), interaction encoding, API-discovery, and other pure runtime internals an author never writes; kept an author-relevant differences table + local-testing table.
  • Custom xAPI (~130 → ~75): kept config/call shapes and the per-mode table; replaced the actor-priority pseudocode, retry narrative, and per-mode caveat essays with a tight Gotchas list.
  • Stripped justification clauses, marketing framing, and parenthetical mechanism asides.
  • Renamed anchors (#lms-adapter-reference#lms-behaviour, #data-contract-what-the-lms-sees#data-contract) and updated all references — verified no dead internal links.

Notes

  • Docs-only, no API change → patch changeset included.
  • prettier --check passes.

redmodd and others added 6 commits June 3, 2026 22:15
…tions

Convert AGENTS.md prose to rules/tables and trim runtime-internal
reference (adapter spec citations, xAPI internals) that course authors
never write. 1785 -> 1502 lines; all code examples and prop tables kept.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
The scaffolded root CLAUDE.md/AGENTS.md aren't immutable pointers — they
carry a Project notes section for user-provided standards (#68). Updates
don't overwrite them.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
The GitHub link resolved to the root monorepo dev guide; point it at
packages/tessera-learn/AGENTS.md. Correct the "guide at the workspace
root" wording to reflect the pointer model, and add the missing
useCompletion hook to the included-hooks list.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
The rewrite documented the runtime audit as `pnpm exec tessera a11y`,
but the scaffolded workspace exposes a `pnpm a11y <course>` script and
the workspace README already uses that form. Switch the guide to
`pnpm a11y <course>` and list a11y among the reserved script names so
all the authoring docs agree.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@redmodd redmodd merged commit ba866d1 into main Jun 4, 2026
8 checks passed
@redmodd redmodd deleted the docs/agents-procedural-rewrite branch June 4, 2026 13:49
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