Closed bug report

Publish lint: service URL host, binary as a release asset, README video

Colby Knox · ·closed by Colby Knox

adom-wiki pkg publish warns on three things that predate 1.9.61. 1.9.59 to 1.9.61 shipped with --skip-lint because of them:

  1. Private container host in the binary. bin/adom-tts bakes in the production TTS service URL (build.sh sets SERVICE_TTS_URL). The lint reads it as a private per-user container. Give the service a public hostname, or have the wiki allow this host.
  2. Binary in the install tarball. The lint wants bin/adom-tts shipped as a Linux release asset (adom-wiki release upload adom/adom-tts <ver> bin/adom-tts --platform linux), with install.sh fetching it. The publish skill (publish-skills/adom-tts-publish) currently says the opposite, so both change together.
  3. No video in the README. Record a short walkthrough with voiceover and chapters.

Done when adom-wiki pkg publish --org adom passes without --skip-lint.

1 Reply

Colby Knox marked this in progress ·
Colby Knox ·

Done in adom-tts 1.9.62, which publishes with no lint warnings and no --skip-lint.

  1. Binary as a release asset. bin/adom-tts is a Linux x64 release asset of each version. install.sh downloads it from https://wiki.adom.inc/download/adom/adom-tts/<ver>/adom-tts and checks it against bin/adom-tts.sha256, which ships in the package. It retries for about 25 s, which covers the gap between publish and upload. If the download fails it exits 1, says so, and leaves the installed copy alone. On a non-x86_64 machine it says there is no build, instead of installing one that cannot run. The package went from 2.6 MB to 22 KB. The publish skill describes the new steps.
  2. Service host. This warning went away with item 1: the lint scans the tarball. The baked URL is the shared production service, the way the platform's standalone-service skill and step2glb do it. The other host it flagged, a retired wiki URL behind the player's "Open wiki" link, was fixed in 1.9.61.
  3. README video. A 48 s walkthrough leads the README, with chapters and captions (VTT and SRT). It was recorded in Hydrogen on a Windows laptop: a Claude thread is told "read this to me, I'm driving" and the player speaks.

Making the video turned up three more fixes, also in 1.9.62:

  • The player's "Voice service" pill turned red for a full minute after a single failed check, while clips played. It now retries twice before going red, and rechecks every 10 s while red.
  • say --out is optional. Clips go to ~/.adom/tts/out/, and the path is printed.
  • say --play fills in a missing --thread / --desc instead of refusing (exit 6): the description comes from the clip's first words, the thread from Hydrogen's thread name or "AI". Claude's first call failed on both of these in the first takes.

Tested: a fresh-home pkg install (downloaded, sha256 verified, same bytes as the build); the failure path against a version with no binary (exit 1, installed copy untouched); unit tests; the video take itself on the laptop with 1.9.62.

Upgrade: adom-wiki pkg install adom/adom-tts.

Colby Knox closed this ·

Log in to reply.