Prepare Remote 0.1.0 test release and retain SSH-signed publishing

This commit is contained in:
Storm Dragon committed 2026-11-06 19:15:59 -05:00
1 parent d7da6548e1
commit 346ec77c75
8 files changed
+450 -29

No files matched your search

+42 -5
View File
@@ -4,9 +4,9 @@ A repository of experimental Tentacles for Cthulhu, maintained by Storm
Dragon. It contains [Hello World](hello-world/README.md), the development
[Wormhole tentacle](wormhole/README.md), and
[Battery Status](battery-status/README.md).
The [Remote implementation](remote/README.md) has a source-built command with
reader-owned consent and experimental software speech; it is not yet installable
or able to control a desktop.
The experimental [Remote tentacle](remote/README.md) connects through an NVDA
Remote compatible relay for speech, keyboard control, clipboard text and Braille,
with reader-owned consent for each session. Its first release is for live testing.
Repository material and these Tentacles are licensed under GPL-3.0-or-later; see
[LICENSE](LICENSE) and [CONTRIBUTING.md](CONTRIBUTING.md).
@@ -20,6 +20,10 @@ Native packages are available from the
Battery Status 0.1.0 packages are available from the
[Battery Status release page](https://git.stormux.org/storm/cthulhu-tentacles/releases/tag/battery-status-v0.1.0).
It uses Cthulhu+Shift+B and requires the UPower system service.
Remote 0.1.0 test packages are available from the
[Remote release page](https://git.stormux.org/storm/cthulhu-tentacles/releases/tag/remote-v0.1.0).
It uses Cthulhu+Ctrl+Shift+R and requires the matching experimental reader;
see [installation and live checks](remote/README.md#install-and-test-010).
Local build artifacts live in the ignored `dist/` directory.
The discovery source URL is
`https://git.stormux.org/storm/cthulhu-tentacles`.
@@ -47,10 +51,10 @@ make check
The executables are `hello-world/bin/hello-world`,
`wormhole/bin/wormhole-tentacle`, `battery-status/bin/battery-status`, and
the development command `remote/bin/remote`;
`remote/bin/remote`;
all are ignored by Git.
Checks validate the TOML metadata, registration and suggested bindings, and
invoke the three catalog Tentacles through the actual Cthulhu host, plus private
invoke the existing catalog Tentacles through the actual Cthulhu host, plus private
Remote consent/relay and typed speech IPC tests. They produce no speech
or Braille and leave the running reader alone.
@@ -64,6 +68,8 @@ and focused-item/clipboard access as well as speech/Braille. **Install** instead
and saves the package disabled. The reader verifies the catalog's SHA-256 digest,
package identity and native architecture before saving a launch entry. Catalogs
without a published compatible release show a clear message and remain unchecked.
Remote can be selected in the same table; its installation grants and separate
per-session approval are described in its README.
No source builds or install scripts run during this workflow. Resource limits
do not make untrusted same-user programs safe.
@@ -122,6 +128,36 @@ explicit restart is needed when changing the reader itself. For source-only loca
testing, the development launch procedure remains in
[Hello World](hello-world/README.md#local-launch).
### SSH-agent release uploads
For this Gitea repository, `tools/publish.py` signs HTTPS API requests with an
RSA key already registered with Gitea and loaded in `ssh-agent`. It requires
Python's Paramiko package. No API token is needed or stored, and no private-key
file is read. With multiple loaded RSA keys, select one using
`--ssh-key SHA256:...` and its `ssh-add -l` fingerprint.
```sh
python3 -B tools/publish.py auth
python3 -B -m unittest discover -s tools -p test_publish.py
```
Prepare and review one Tentacle's archives, `dist/catalog.toml`, `SHA256SUMS`
and release notes. Commit the reviewed source and push its release tag. The
uploader requires a clean working tree and checks that the remote tag points to
the current source commit. For example, after tagging a new Remote version:
```sh
python3 -B tools/publish.py publish --tentacle remote --notes dist/remote-release-notes.md
python3 -B tools/publish.py verify --tentacle remote
```
The publisher refuses an existing release, creates a draft prerelease, uploads
the selected archives and checksums, publishes it, then downloads the public
assets again to verify their hashes. Upload failures retain the draft for
inspection; it never deletes or replaces assets. Push the matching catalog to
the default branch only after public verification passes. This tool does not
make commits, push Git refs, or modify the running reader.
## Create and release your own Tentacle
This tutorial creates a native Go Tentacle named **Greeting**, then makes it
@@ -335,6 +371,7 @@ and testing AI-assisted changes.
The `make build`, `make check` and `tools/package.py` commands in **this**
repository build/check Hello World, Wormhole, and Battery Status. `tools/package.py --tentacle wormhole`
packages Wormhole; `--tentacle battery-status` packages Battery Status.
Use `--tentacle remote` to package Remote for both architectures.
The default still packages Hello World. The checker pins the
current versions and expected Tentacles. Adapt those tools and checks when
extending this repository, or use