Skip to content

feat(author): build from an archive the person attaches, where a chat's code can download nothing - #201

Merged
alekswebnet merged 2 commits into
mainfrom
feat/author-build-archive
Nov 13, 2026
Merged

alekswebnet merged 2 commits into
mainfrom
feat/author-build-archive

Conversation

@alekswebnet

@alekswebnet alekswebnet commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

Closes #200.

ChatGPT's code can download nothing, but it builds from a file the person attaches. This PR teaches the skill to use that: an archive holding the one-file build tool and the whole library pack. The organisation's site will serve it at /h5p/bundles/h5p-author-build.tar.gz, 14.9 MB (missing-elements/missing-elements.github.io#47).

SKILL.md

  • Step 3 has a new first route, From the build archive: find the attached archive, unpack it, then build with --libraries parts. This needs nothing installed or fetched, and works for any type.
  • The build page's route gets one fixed line, used where Node runs but nothing installs or downloads. It goes right after the link: To get the .h5p file here instead: download … (15 MB) and attach it to your next message.
  • Step 5's hand-over includes that line, and the opening names the archive among the routes.

design/author.md

A new rule, Where nothing downloads, the person attaches the build archive. It records:

  • what reached ChatGPT's sandbox and what did not;
  • the owner's runs in ChatGPT, Claude and Grok;
  • why the archive covers every type and is a .tar.gz: a .zip was read as a plugin;
  • that nothing passes through a server of ours;
  • the Haiku numbers below.

Measured on Haiku

Each run had no network, with npm cut off by a dead registry.

Case Old text New text
Archive attached: built from it, package passes the verifier 3 of 3 3 of 3
No archive, offer written as a sentence: exact address — 1 of 3 (one named the file only, one said nothing)
No archive, offer as a fixed line to copy — 2 of 3 (one left it out)

Across the six no-archive runs, every link was exact and every run gave the source file. So the route's words are for models that need the step written out, as ChatGPT's prompt wrote it out in the owner's test. A weak model still drops some of the offer, so the guide tells people to attach the archive with their first message.

Checks

Order

This ships as author 0.9.8 with #197 and #199: the archive's tool needs #199's --version fix. The org site's PR (#47) moves its pin to 0.9.8 and writes the archive. Until it is live, the address in this skill answers 404, so that PR should merge soon after 0.9.8 is published.


Summary by cubic

Adds a build-from-archive route for chat sandboxes where the chat's code can run but can't download anything. The user attaches h5p-author-build.tar.gz (14.9 MB, served at /h5p/bundles/h5p-author-build.tar.gz), and the skill unpacks it and builds with --libraries parts. Nothing installs or fetches, for any type. Closes #200.

Changes

  • Step 3 takes the archive route first when the archive is attached; where Node runs but nothing installs or downloads, the build page's route carries one fixed offer line, and step 5's hand-over includes it.
  • Offline, a source's path must name a file in the sandbox, such as an attached one, since a web address is downloaded as the package builds; the offer line follows the source when no link was printed.
  • design/author.md records why the archive is .tar.gz (a .zip was read as a plugin), that nothing passes through a server of ours, and Haiku results: 3 of 3 builds from the attached archive pass the verifier, while offer lines vary with model strength, so the guide, not the skill, tells people to attach the archive with their first message.
  • Ships as author 0.9.8 with feat(author): the skill no longer sends a chat with its text alone to the skill's page #197 and fix(author): the command line as one file prints its versions #199; the archive's tool needs fix(author): the command line as one file prints its versions #199's --version fix. The address answers 404 until the site PR merges, so that should land soon after 0.9.8 is published.

Written for commit c5fcf8e. Summary will update on new commits.

View guided diff Turn on auto-fix

…'s code can download nothing

Step 3 builds first from h5p-author-build.tar.gz where the user attached it,
and where Node runs but nothing installs or downloads, the build page's route
carries one fixed line offering it. design/author.md records why and the
Haiku runs. Closes #200.

@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 2 files

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="design/author.md">

<violation number="1" location="design/author.md:720">
P2: The skill does not ask users to attach the archive with their first message; its only explicit request comes after a failed local build. Add an upfront recommendation to the skill, or revise this claim so users are not promised guidance they will not receive.</violation>
</file>

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

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

Comment thread skills/h5p-author/SKILL.md Resolved
Comment thread design/author.md Outdated
- **Across both no-archive arms:** all six links were exact, and all six gave the source file.

As with the feedback line before it, a weak model drops some of what it is asked to write.
The guide therefore tells people to attach the archive with their first message.

@cubic-dev-ai cubic-dev-ai Bot Nov 13, 2026 •

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.

P2: The skill does not ask users to attach the archive with their first message; its only explicit request comes after a failed local build. Add an upfront recommendation to the skill, or revise this claim so users are not promised guidance they will not receive.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. 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. At design/author.md, line 720:

<comment>The skill does not ask users to attach the archive with their first message; its only explicit request comes after a failed local build. Add an upfront recommendation to the skill, or revise this claim so users are not promised guidance they will not receive.</comment>

<file context>
@@ -681,6 +681,43 @@ to 3,000. Twenty-four things the code does not say by itself:
+  - **Across both no-archive arms:** all six links were exact, and all six gave the source file.
+
+  As with the feedback line before it, a weak model drops some of what it is asked to write.
+  The guide therefore tells people to attach the archive with their first message.
 - **The skill names no product** (2026-11-12, the owner's call). Its routes were told apart by
   the apps they were measured in; they now say what each needs: a shell that reaches the npm
</file context>
Fix with cubic

Comment thread skills/h5p-author/SKILL.md Resolved
…er's line has a place without a link

From cubic's review of #201: a path at a web address is downloaded as the
package builds, which a sandbox with no network cannot do; a source that names
files gets no link, so the line follows the source; design/author.md says the
guide, not the skill, asks people to attach the archive up front.
@alekswebnet alekswebnet self-assigned this Nov 13, 2026
@alekswebnet
alekswebnet merged commit cd31f60 into main Nov 13, 2026
9 checks passed
@alekswebnet
alekswebnet deleted the feat/author-build-archive branch November 14, 2026 22:40
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.

h5p-author: build from an archive the user attaches, where a chat's code can download nothing

1 participant