Skip to content

docs: every doc, README and demo page checked against the code, and shortened - #289

Merged
alekswebnet merged 4 commits into
mainfrom
docs/concise
Nov 26, 2026
Merged

alekswebnet merged 4 commits into
mainfrom
docs/concise

Conversation

@alekswebnet

@alekswebnet alekswebnet commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Every doc, package README and demo page was checked against the code and shortened where it was wordy. Each doubt was settled from the source or by running the command, not from design/ or comments. No code changes.

What changed

  • Author README: 29 KB to 12 KB. Its API reference moved to a new docs/author-api.md, as tables of exports, options and results; the root README links it.
  • MCP README: the tools are a table, and the folders and "what leaves your computer" sections are short lists.
  • Embed README: 22 KB to 19 KB; docs/cmi5.md and the cmi5 README no longer repeat each other.
  • The other docs and READMEs were already tight: small cuts, and several grew by a corrected fact.
  • Demo pages: text only, 8 of 12 pages. One table row added (downgrade-libraries on the setup page).

Stale claims fixed

  • Newer library versions. Four places said content made for a newer library version than the pack has is refused or must wait. By default it plays at the newest older minor (downgrade-libraries): verify README, the app page, the compare page, the setup page's table.
  • The frame's language. The runtime README said the element's lang picks it. The package's defaultLanguage comes first, then lang.
  • AR Scavenger. Named as a camera user in three places; the frame's script policy blocks its inline scripts, so it does not run.
  • The app server. The MCP README said "It is not a service we run yet". That sentence is gone; the README names no hosted address.
  • cmi5. failed goes out once per session, not per registration. Browse and Review mode withhold only the result, not every statement. The demo's cards said "completion by the mastery score"; it is pass or fail.
  • Embed and SCORM. The Caddyfile needs its domain replaced; the command prints no policy; the report message carries downgradedLibraries; buildScormInPage returns an object, not a Blob; exit codes and --force with --scorm are now listed.
  • Element API (docs/api.md). Nothing dropped or renamed. file wins over src only until a new src is set; a save follows a completed or progressed statement by three seconds; custom-css and custom-js load after the libraries' own.
  • Troubleshooting. The curl -sI check could never show a body; it is now curl -s -D - -r 0-1. The formulas row now gives libraries="pack" as the fix.
  • Normalize README. It never said that directory entries, duplicates and refused names are dropped.
  • Numbers. Library pack 1.1.1, largest type bundle 8 MB, install-only libraries 1.9 MB, the revision example's version.
  • Root README. Three weekly jobs, not one. The hosted demo counts page views (no cookies), so "no telemetry" now says it is the packages that have none.

Policy pages

docs/compatibility.md and ACCESSIBILITY.md are unchanged. SECURITY.md gains two rows in its supported versions: the VS Code extension and the hosted app server. docs/privacy.md keeps its wording and gains four facts, each checked in the code:

  • The cache name is h5p-pkg-v<major>-*, not v0.
  • Echo360 joins the video hosts.
  • A new row for Timeline's media hosts (Wikipedia, Vimeo, SoundCloud, Flickr), which the frame's policy allows.
  • A SCORM zip also gives the LMS each question's result, with a typed answer.

The libraries README now names each licence word for word as libraries.txt does: MPL, MPL2, pd, GPL3, GPL-3.0, and MathDisplay's Apache-2.0 parts.

Left as it is

  • The element mirrors a state attribute that docs/api.md does not document; adding it would extend the contract.
  • Claims about third-party systems (LMS settings, other H5P tools, browser install steps) cannot be checked from this code and stay as written.

Checked

  • pnpm build:demo builds.
  • The skills test that reads the embed README's LMS table passes.
  • Links and anchors that other files point at still resolve.

Found in code, not fixed here

…hortened

Each claim was checked against the source or by running the command, and
what was stale is fixed: content made for a newer library version plays at
an older one by default, the frame takes the package's language before the
element's, the hosted app server exists, AR Scavenger does not run, the
library pack is 1.1.1, and others the pull request lists.

The author README's API reference moves to docs/author-api.md. The policy
pages keep their wording: docs/privacy.md gains four facts, and
compatibility, security and accessibility are unchanged.

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed across 37 files

Reply with feedback, questions, or to request a fix.

View guided diff | Turn on auto-fix | Re-trigger cubic

Comment thread packages/author/README.md Resolved
Comment thread packages/author/README.md Resolved
Comment thread apps/demo/demo/compare.html Resolved
Comment thread docs/resume.md Resolved
Comment thread docs/revision.md Resolved
Comment thread packages/embed/README.md Resolved
Comment thread packages/embed/README.md Resolved
Comment thread docs/libraries.md Resolved
Comment thread packages/embed/README.md Resolved
Comment thread packages/normalize/README.md Resolved
…rd for word, and SECURITY.md names the extension and the hosted app server

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed across 3 files (changes from recent commits).

Reply with feedback, questions, or to request a fix.

View guided diff | Turn on auto-fix | Re-trigger cubic

Comment thread packages/mcp/README.md Resolved
Comment thread packages/libraries/README.md Resolved

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 issue found across 20 files (changes from recent commits).

Prompt for AI agents (unresolved issues)

Check if these issues are valid — if so, understand the root cause of each and fix them. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. If appropriate, use sub-agents to investigate and fix each issue separately.


<file name="docs/privacy.md">

<violation number="1" location="docs/privacy.md:76">
P3: This privacy summary overstates SCORM 1.2 answer retention: numeric responses are written only when they are numbers, and typed responses are plain text capped at 255 characters. State those limits here so the data description matches the SCORM runtime.</violation>
</file>

Reply with feedback, questions, or to request a fix.

View guided diff | Turn on auto-fix | Re-trigger cubic

Comment thread packages/verify/README.md Resolved
Comment thread packages/mcp/README.md Resolved
Comment thread docs/author-api.md Resolved
Comment thread docs/privacy.md Resolved
@alekswebnet
alekswebnet merged commit 42d3c7b into main Nov 26, 2026
14 checks passed
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