Repository navigation
feat(author): build routes as files, one question at most, every fact once; a page makes the link; the verifier is not waited for - #203
Merged
Conversation
…kes the link, and the verifier is not waited for Where no package was built and the reply is read in a chat, step 3 hands the source over in a small page: the source in a script of type application/json and a fixed script that makes the build page's link in the user's browser. Nothing compressed is typed or copied, and no code tool is needed. The link a command prints stays for a reply read outside a chat and for a package built here. Step 4 asks npm for the verifier's version first and gives up after ten seconds, so an npm that cannot install, as after a build from the archive, is found out at once. design/author.md records the probes in ChatGPT's preview, the six wordings and what each cost, the Haiku numbers, the archive kept in a ChatGPT Project, and the verifier's wait. Closes #202.
Contributor
There was a problem hiding this comment.
All reported issues were addressed across 2 files
Reply with feedback, questions, or to request a fix.
View guided diff | Turn on auto-fix | Re-trigger cubic
… a source ends, and the record counts every run A source showing <script>, </script> or <!-- cut the page's script block short. Haiku did not follow a rule to escape them (0 of 2); in a noscript they need nothing (3 of 3). The design record now places all 31 earlier runs.
… in SKILL.md SKILL.md keeps steps 1 and 2 and a step 3 of four checks in order, each naming a file of references/build/: archive.md, npm.md, two-files.md, browser.md; the three that build here end in built-here.md (problems, the verifier, the link, the hand-over). A chat reads 13.0 to 14.7 KB of the skill's text where it read 18.9. prepack copies all of references/, and its test holds the copy to the skill. Haiku, 7 of 7 runs handed over what their route says. Closes #204.
Contributor
There was a problem hiding this comment.
All reported issues were addressed across 13 files (changes from recent commits).
Reply with feedback, questions, or to request a fix.
View guided diff | Turn on auto-fix | Re-trigger cubic
…route found from two answers The skill asks only for the content type; the author and licence are taken as given or defaulted (known name or Unknown, U) and said, a rule written once, in SOURCE_FIELDS under every type's fields, with the licence codes. Step 3 finds two answers once, internet and npm, which pick the route and later the verifier, and the npm check is skipped where the chat's tools say there is no internet. built-here.md holds the link's commands alone; route 4 outside a chat writes the page to a file. No part, check or pointer is written twice. A chat reads 9.8 to 12.0 KB of the skill's text, where it read 18.9.
Contributor
There was a problem hiding this comment.
All reported issues were addressed across 38 files (changes from recent commits).
Reply with feedback, questions, or to request a fix.
View guided diff | Turn on auto-fix | Re-trigger cubic
…tands for is U, schema from the archive too, and a taken name is not asked about cubic's review of 94b9337: the generated text told a chat to split any licence's version, which the build refuses for CC0 1.0, GNU GPL and the rest; a licence such as MIT had no way out; an unlisted type's schema sent a chat with the archive to fetch two files; a taken file name was still a question. Haiku 3 of 3 on the licences (CC0 1.0 whole, CC BY-SA 3.0 split, MIT to U).
This was referenced Nov 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #202. Closes #204.
Where ChatGPT cannot build, it hands over a link to the build page that it copies from a command's output, and it damages some of them; with its code tool unavailable there is no link at all. ChatGPT shows an
htmlcode block of a reply as a page, under Preview, on a free account too. This PR has a chat that built nothing write a small page whose script makes the link in the user's browser, so nothing compressed is typed or copied and no code tool is needed.It also stops the skill waiting for a verifier that cannot install, and, as the owner asked, puts each build route in a file of its own, asks the user one thing at most, and writes every fact once (#204).
The page route and the verifier's check
Written in
SKILL.md, then moved with the split below: the page is inreferences/build/browser.md, and the verifier's ten-second check became step 3's npm answer, found once.htmlblock, the source in anoscriptand a short fixed script that deflates it and writes the link Build and play it. The reply says to open the block with Preview first, and to save it as an.htmlfile where a chat shows no Preview.jsonblock.npm view … --fetch-timeout=10000 --fetch-retries=0 &&, and runs the verifier only where npm answers. A registry that hangs is found out in ten seconds.Build routes, one file each; one question; every fact once (#204)
The owner's three calls: each build method in its own file; the whole conversation as fast as it can be without dropping a check that guarantees anything; and no part, check or pointer written twice.
SKILL.mdis the flow.The content type, the only question the user is asked.
The source.
Two answers, found once:
npm view … --fetch-timeout=10000, run beside the first file reads.Then the first route that holds:
references/build/archive.mdnpm.mdtwo-files.mdbrowser.mdOne pointer: routes 1 to 3 hand over through
built-here.md(problems, the verifier run only where npm answered, the link, the hand-over); route 4's file is its own hand-over.What got faster:
U, said in the reply.Written once:
SOURCE_FIELDS, under every content type's fields, which every chat reads before writing a source, the build page's chats included.sync:skillrewrote the 28 type files.built-here.md: route 4, outside a chat, writes its page to an.htmlfile instead of printing a link.What a chat reads of the skill's text, against 18.9 KB before. The brief is 2.2 KB (was 2.9), and a type file grew by 0.3 KB.
The code blocks moved byte for byte, copied by a script.
copy-skill.mjs(prepack) copies all ofreferences/, the package exportsreferences/build/*.md,.gitignorecovers the copy, andbuild.test.tsholds the copy to the skill file for file.Haiku, with a stand-in for a chat's skill reader that logs each file it serves. A five-question Question Set, the request naming neither author nor licence:
Usaid; its link builds a package that passesSKILL.mdand the brief onlyEvery package built passes the verifier here.
What the runs fixed or found:
find /everywhere. Check 1 first ran it wherever Node ran, which on a real disk passed the code tool's 110 s. It is now whether the user attached the archive.CC0 1.0is one code. A licence no code stands for, such as MIT, now becomesU. Haiku keptCC0 1.0whole, split "CC BY-SA 3.0", and turned MIT intoUwith a word on why: 3 of 3, each built. The same review moved the unlisted-type schema to the archive too, and a taken file name is no longer a question.design/author.md
A new rule, In a chat that built nothing, a page the chat writes makes the link, and two paragraphs under the archive's rule. They record:
CompressionStream, a link the user allows, a download; and what it refuses: a fetch to our site or jsDelivr, a frame on the build page;Another rule, Each build route is a file of its own, every fact is written once, and one question at most is asked, records #204 and its runs, and the #182 rule notes that the author is no longer asked. The count in the file's opening is corrected: it said twenty-four rules, there were twenty-six, and these are the twenty-seventh and twenty-eighth.
design/layout.mdand the author README namereferences/build/.Measured on Haiku
31 replies. A reply "passes" where a page was due if its script is the one given, its link carries the page's source, and that source builds a package the verifier passes with no warning.
htmlblock as a page"With wording 6:
jsonblock with the page's address and the picture named, with no page.All 24 pages pass. Haiku never damages a link, so these runs show that the words are followed.
After review (b38ab60): the page first held the source in a
scriptof typeapplication/json, which a source showing</script>or<!--cuts short (cubic). Haiku ignored a rule to escape them (0 of 2 Drag the Words on HTML), so the source now sits in anoscript, which only</noscriptends. Five sources moved into it arrive byte for byte and build; Haiku with the new page, 3 of 3 (two Drag the Words with raw tags, one Question Set). Not run yet in ChatGPT's Preview.In ChatGPT, the owner's free account
Checks
test:unitof the author package: 183 passing, after the split too.SKILL.mdand the route files resolves (10).sync:skillis clean.Order
This needs an author release to reach people: the package ships the skill, and the organisation's site serves the zips and
/h5p/skill/from the release it pins. The guide's line on a ChatGPT Project is missing-elements/missing-elements.github.io#49.Summary by cubic
Fixes how a chat that cannot build hands over a source: it now writes a small page whose script makes the build-page link in the user's browser, so nothing compressed is typed or copied and no code tool is needed. Step 4 also stops waiting for a verifier that cannot install, checking npm first and giving up after ten seconds. SKILL.md's build routes move into
references/build/, one file a route. Closes #202 and #204.Build routes
built-here.md, which holds the build's problems, the verifier, the link and the hand-over.U) and said in the reply, and only the CC BY codes take a version.prepackcopies all ofreferences/.Hand-over details
noscript, which ends only at</noscript>; the earlierscriptof typeapplication/jsonwas cut short by a source showing<script>,</script>or<!--, and Haiku did not follow a rule to escape them.jsonblock with no page or link.design/author.mdrecords the probes in ChatGPT's preview, the six wordings measured on Haiku, and the counts from all 31 runs.Written for commit 7be0002. Summary will update on new commits.