Re-vendor the canonical files from sneak/prompts at dd4027b (closes #112) #115

Merged
clawbot merged 3 commits from issue-112-revendor-prompts into next 2026-10-06 21:01:47 +02:00
3 Commits
Author SHA1 Message Date
sneak 778b26cc0d Test that neoirc-cli keeps its auth cookie off plain HTTP to other hosts
check / check (push) Failing after 3s
The cookie test showed the Secure auth cookie reaching localhost and
127.0.0.1 over plain HTTP, but not that it is still withheld over plain
HTTP from every other host. A new test points the client at
neoirc.example, sends its connections to the test server, and checks
that the cookie does not arrive.

Model: opus-5-5
2026-10-06 16:16:05 +00:00
clawbot 58d8f5cc94 Keep neoirc-cli sessions on localhost and test the relay goroutine stop
check / check (push) Failing after 5s
The auth cookie is always Secure, and Go 1.24's cookie jar sends a
Secure cookie only over HTTPS, so neoirc-cli lost its session against a
plain-HTTP server on localhost. Its jar now treats a server on localhost
as HTTPS, as curl does. The README's Transport Security section and
Python example say what a client needs.

A test checks that closing a registered IRC client's connection stops
its relay goroutine. The README Entrypoints section names a make target
only for the scripts that have one, and the Dockerfile says why the
test phase runs with -p 4.

Model: opus-5-5
2026-10-06 14:13:31 +00:00
clawbot 60c0d4b5e3 Re-vendor the canonical files from sneak/prompts at dd4027b (closes #112)
check / check (push) Failing after 7s
The shared files are fetched from sneak/prompts dd4027b, with this
repository's own entries after the shared content in .gitignore,
.editorconfig and .dockerignore.

Lint and tests are Dockerfile phases (golangci-lint v2.14.0, Debian Go
1.24.13) that the build stage depends on, and the Makefile targets call
the script/ entrypoints. make fmt also formats Markdown with prettier.

Fixes for the new lint findings: the auth cookie is always Secure, an
IRC connection's relay goroutine stops when the connection closes, and
repeated strings are constants.

Model: opus-5-5
2026-10-06 08:35:46 +00:00