Commit graph

209 commits

Author SHA1 Message Date
87cfa61b1f
git-chovy: enforce the same Forgejo hardening as AgentGit on every run (#170)
Actions off, webhooks/migrations external-only, server-side git hooks off.
Applied live on dev.chovy.com 2026-11-20 (backup app.bak-002.ini).

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 18:12:00 -08:00
a523c88c80
forgejo: enforce hardening on every deploy (actions off, external-only webhooks/migrations, no git hooks) (#169)
Every BBS signup gets a Forgejo account, so Forgejo users are untrusted.
On 2026-11-16 a new member pushed a workflow that would dump the runner
env, /etc/forgejo and /var/lib/forgejo and PUT it back to their repo. No
runner was registered so it never ran, but Actions was on and queued it.

app.ini is written only on first install, so enforce the keys each run.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 18:07:19 -08:00
dependabot[bot]
20fcbe6a79
chore(deps): bump the go-modules group with 4 updates (#168)
* chore(deps): bump the go-modules group with 4 updates

Bumps the go-modules group with 4 updates: [github.com/emersion/go-imap/v2](https://github.com/emersion/go-imap), [github.com/livekit/protocol](https://github.com/livekit/protocol), [github.com/livekit/server-sdk-go/v2](https://github.com/livekit/server-sdk-go) and [golang.org/x/crypto](https://github.com/golang/crypto).


Updates `github.com/emersion/go-imap/v2` from 2.0.0-beta.8 to 2.0.0-beta.9
- [Release notes](https://github.com/emersion/go-imap/releases)
- [Commits](https://github.com/emersion/go-imap/compare/v2.0.0-beta.8...v2.0.0-beta.9)

Updates `github.com/livekit/protocol` from 1.53.2 to 1.54.1
- [Release notes](https://github.com/livekit/protocol/releases)
- [Changelog](https://github.com/livekit/protocol/blob/main/CHANGELOG.md)
- [Commits](https://github.com/livekit/protocol/compare/v1.53.2...v1.54.1)

Updates `github.com/livekit/server-sdk-go/v2` from 2.19.0 to 2.20.0
- [Commits](https://github.com/livekit/server-sdk-go/compare/v2.19.0...v2.20.0)

Updates `golang.org/x/crypto` from 0.58.0 to 0.59.0
- [Commits](https://github.com/golang/crypto/compare/v0.58.0...v0.59.0)

---
updated-dependencies:
- dependency-name: github.com/emersion/go-imap/v2
  dependency-version: 2.0.0-beta.9
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-modules
- dependency-name: github.com/livekit/protocol
  dependency-version: 1.54.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-modules
- dependency-name: github.com/livekit/server-sdk-go/v2
  dependency-version: 2.20.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-modules
- dependency-name: golang.org/x/crypto
  dependency-version: 0.59.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-modules
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix(deps): mirror livekit's pion/webrtc + ice replaces for server-sdk-go v2.20.0

server-sdk-go v2.20.0 builds against livekit/webrtc-pion (dtls/v4) via a
replace directive, and Go does not apply a dependency's replaces to the
consumer, so the build failed with dtls/v3 vs dtls/v4 type mismatches.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Anthony Ettinger <anthony@profullstack.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 16:25:55 -08:00
dependabot[bot]
da1d557032
chore(deps): bump the go-modules group with 3 updates (#167)
Some checks failed
CI / build (push) Has been cancelled
deploy / deploy (push) Has been cancelled
test / test (push) Has been cancelled
Bumps the go-modules group with 3 updates: [github.com/livekit/protocol](https://github.com/livekit/protocol), [golang.org/x/term](https://github.com/golang/term) and [modernc.org/sqlite](https://gitlab.com/cznic/sqlite).


Updates `github.com/livekit/protocol` from 1.53.1 to 1.53.2
- [Release notes](https://github.com/livekit/protocol/releases)
- [Changelog](https://github.com/livekit/protocol/blob/main/CHANGELOG.md)
- [Commits](https://github.com/livekit/protocol/compare/v1.53.1...v1.53.2)

Updates `golang.org/x/term` from 0.47.0 to 0.48.0
- [Commits](https://github.com/golang/term/compare/v0.47.0...v0.48.0)

Updates `modernc.org/sqlite` from 1.61.1 to 1.62.0
- [Release notes](https://gitlab.com/cznic/sqlite/tags)
- [Changelog](https://gitlab.com/cznic/sqlite/blob/master/CHANGELOG.md)
- [Commits](https://gitlab.com/cznic/sqlite/compare/v1.61.1...v1.62.0)

---
updated-dependencies:
- dependency-name: github.com/livekit/protocol
  dependency-version: 1.53.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-modules
- dependency-name: golang.org/x/term
  dependency-version: 0.48.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-modules
- dependency-name: modernc.org/sqlite
  dependency-version: 1.62.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-modules
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-11-12 17:20:14 -08:00
46bb7e14c7
feat(web): WebMCP embed on the landing page via @profullstack/webmcp (#166)
Some checks failed
CI / build (push) Has been cancelled
deploy / deploy (push) Has been cancelled
test / test (push) Has been cancelled
Adds the @profullstack/webmcp embed so an AI agent in the visitor's browser (WebMCP) can use this site's tools.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 00:38:01 -08:00
8c700bdc02
ci: add CoinPay /coinpay commands (sh1pt Actions Fleet) (#165)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 07:58:35 +00:00
dependabot[bot]
cbac924262
chore(deps): bump the go-modules group with 2 updates (#164)
Some checks failed
CI / build (push) Has been cancelled
deploy / deploy (push) Has been cancelled
test / test (push) Has been cancelled
Bumps the go-modules group with 2 updates: [github.com/pion/webrtc/v4](https://github.com/pion/webrtc) and [modernc.org/sqlite](https://gitlab.com/cznic/sqlite).


Updates `github.com/pion/webrtc/v4` from 4.2.25 to 4.2.26
- [Release notes](https://github.com/pion/webrtc/releases)
- [Commits](https://github.com/pion/webrtc/compare/v4.2.25...v4.2.26)

Updates `modernc.org/sqlite` from 1.61.0 to 1.61.1
- [Release notes](https://gitlab.com/cznic/sqlite/tags)
- [Changelog](https://gitlab.com/cznic/sqlite/blob/master/CHANGELOG.md)
- [Commits](https://gitlab.com/cznic/sqlite/compare/v1.61.0...v1.61.1)

---
updated-dependencies:
- dependency-name: github.com/pion/webrtc/v4
  dependency-version: 4.2.26
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-modules
- dependency-name: modernc.org/sqlite
  dependency-version: 1.61.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-modules
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-11-05 16:35:17 -08:00
sh1pt-actions-fleet[bot]
29c14d4cb0
ci(deploy): pin the deploy key to one forced command; self-update runs the new setup.sh (#163)
Some checks failed
CI / build (push) Has been cancelled
deploy / deploy (push) Has been cancelled
test / test (push) Has been cancelled
The 10-27 incident showed what an unrestricted root deploy key is worth to an
attacker. The CI key is now installed on the box as
restrict,command="/usr/local/sbin/agentbbs-ci-deploy", so it gets no shell,
scp, sftp, pty or forwarding.

- deploy/ci-deploy.sh (installed by setup.sh): verbs `arch`, `upload
  agentbbs|ascii-live` (ELF on stdin, size-capped, root-only staging dir) and
  `deploy main|master` (app secrets as NAME=<base64> on stdin, allowlisted).
  It does what the old inline heredoc did: sync to origin, pause the
  self-update timer, install binaries, exec setup.sh SKIP_BUILD=1.
- deploy.yml: uses those verbs instead of scp + `sudo bash -s`.
- self-update.sh: reset to origin before exec'ing setup.sh, so a setup.sh
  change takes effect on the first timer run instead of the second.

Co-authored-by: Anthony Ettinger <anthony@profullstack.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 09:21:21 +00:00
sh1pt-actions-fleet[bot]
eb8e9ae9c5
feat(web): installable PWA manifest + icons for bbs.profullstack.com (#162)
Adds /manifest.webmanifest (standalone, black theme) and 192/512 PNG icons
(plus maskable + SVG) to the site root, links them from the landing page head,
and serves the manifest as application/manifest+json. Lets pwamart.com list
AgentBBS.

Co-authored-by: Anthony Ettinger <anthony@profullstack.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 08:55:20 +00:00
sh1pt-actions-fleet[bot]
d2a5ce9605
Replace local footer with universal footer (#161)
Some checks failed
CI / build (push) Has been cancelled
deploy / deploy (push) Has been cancelled
test / test (push) Has been cancelled
Co-authored-by: Anthony Ettinger <anthony@profullstack.com>
2026-10-31 08:26:26 +00:00
dependabot[bot]
0c635779b0
chore(deps): bump github.com/livekit/protocol (#160)
Some checks are pending
CI / build (push) Waiting to run
deploy / deploy (push) Waiting to run
test / test (push) Waiting to run
Bumps the go-modules group with 1 update: [github.com/livekit/protocol](https://github.com/livekit/protocol).


Updates `github.com/livekit/protocol` from 1.53.0 to 1.53.1
- [Release notes](https://github.com/livekit/protocol/releases)
- [Changelog](https://github.com/livekit/protocol/blob/main/CHANGELOG.md)
- [Commits](https://github.com/livekit/protocol/compare/v1.53.0...v1.53.1)

---
updated-dependencies:
- dependency-name: github.com/livekit/protocol
  dependency-version: 1.53.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-modules
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-30 10:43:30 +00:00
d970ce7b45
chore(deps): upgrade all Go modules; go 1.26.10 (stdlib vulns) (#159)
Some checks failed
CI / build (push) Has been cancelled
deploy / deploy (push) Has been cancelled
test / test (push) Has been cancelled
* chore(deps): upgrade all Go modules; go 1.26.8 -> 1.26.10 (13 stdlib vulns)

go get -u ./... && go mod tidy. Go directive to 1.26.10 clears 13 reachable
stdlib advisories (net/http, crypto/tls, crypto/x509, html/template).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* ci: setup-go from go.mod so CI builds with the pinned 1.26.10

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 05:51:21 -07:00
02fa75ed0c
Footer 0.2.6: pwamart badge beside built.indie (#158)
Some checks are pending
CI / build (push) Waiting to run
deploy / deploy (push) Waiting to run
test / test (push) Waiting to run
Anthony: "add a pwamart.com badge to all our sites". The baked @profullstack/footer copy goes to 0.2.6: the pwamart badge (pwamart.com/for.svg?site=<homepage>, linking pwamart.com/for?site=) beside the built.indie badge, same 200x44 size, same row. No ad units.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 02:39:36 -07:00
dependabot[bot]
17f0d23f9b
chore(deps): bump the go-modules group with 2 updates (#157)
Some checks failed
CI / build (push) Has been cancelled
deploy / deploy (push) Has been cancelled
test / test (push) Has been cancelled
Bumps the go-modules group with 2 updates: [github.com/livekit/protocol](https://github.com/livekit/protocol) and [github.com/pion/webrtc/v4](https://github.com/pion/webrtc).


Updates `github.com/livekit/protocol` from 1.52.1 to 1.53.0
- [Release notes](https://github.com/livekit/protocol/releases)
- [Changelog](https://github.com/livekit/protocol/blob/main/CHANGELOG.md)
- [Commits](https://github.com/livekit/protocol/compare/v1.52.1...v1.53.0)

Updates `github.com/pion/webrtc/v4` from 4.2.23 to 4.2.24
- [Release notes](https://github.com/pion/webrtc/releases)
- [Commits](https://github.com/pion/webrtc/compare/v4.2.23...v4.2.24)

---
updated-dependencies:
- dependency-name: github.com/livekit/protocol
  dependency-version: 1.53.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-modules
- dependency-name: github.com/pion/webrtc/v4
  dependency-version: 4.2.24
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-modules
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-22 16:15:29 -07:00
0499cb60f0
Premium checkout: CoinPay hosted session with URL + QR in the SSH terminal (#156)
Some checks failed
CI / build (push) Has been cancelled
deploy / deploy (push) Has been cancelled
test / test (push) Has been cancelled
join@ now creates a CoinPay checkout session (POST /checkout/sessions) instead
of a single-chain ETH payment: the buyer picks any coin the business accepts or
PayPal. The session URL and a half-block QR code of it are shown in the
terminal, and the session is polled (GET /checkout/sessions/:id) until paid,
Enter, disconnect or expiry. property=bbs.profullstack.com, account_id=handle,
customer_email=the verified email (asked for if none is stored), metadata
carries pubkey fingerprint, user id and the HMAC ref. Legacy payment ids still
verify.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-21 05:54:39 -07:00
8fe601b296
No ads on the homepage; low-profile text-link ads elsewhere (#155)
Some checks are pending
CI / build (push) Waiting to run
deploy / deploy (push) Waiting to run
test / test (push) Waiting to run
Homepage renders no ad unit. Remaining units are a single text_link
line per page with quiet spacing, never against the footer.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-20 22:33:59 -07:00
0be27adcb4
Footer: built.indie badge in the pre-rendered copy (@profullstack/footer 0.2.5) (#154)
Some checks failed
CI / build (push) Has been cancelled
deploy / deploy (push) Has been cancelled
test / test (push) Has been cancelled
The baked footer is what built.indie's backlink check reads; embed.js only
updates it in the browser.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-19 10:05:03 -07:00
ab93ab876c
Restore the @profullstack/footer ring row on the web front page (#153)
Some checks are pending
CI / build (push) Waiting to run
deploy / deploy (push) Waiting to run
test / test (push) Waiting to run
The pfs-footer webring row is being rolled out fleet-wide on purpose (and the
ring verifier reads it), so it comes back after the one-line site footer; the
baked pit.world global footer stays last.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-19 06:45:32 -07:00
efefbbba2d
Bake the pit.world global footer into the web front page, trim its own footer (#151)
The front page is a static file setup.sh writes at deploy, so the footer is
fetched at deploy time (3s timeout, nothing on failure) and baked in last.
Own footer is one line: name, ssh join, copyright, code. Drops the
@profullstack/footer ring block and embed.js, and moves the CrawlProof
text_link ad from above the footer to the top of the content.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-19 05:32:06 -07:00
e1abd3416f
Add a CrawlProof text_link ad unit to the web front page (#150)
Some checks are pending
CI / build (push) Waiting to run
deploy / deploy (push) Waiting to run
test / test (push) Waiting to run
Plain-HTML unit for slot 8a261afe-e212-4ab9-8c60-35607016bd33 above the
footer, with ad.js. Collapsed until data-cp-filled. No CSP on this page.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-19 00:52:20 -07:00
dependabot[bot]
bdaa55f258
chore(deps): bump the go-modules group with 4 updates (#149)
Some checks failed
CI / build (push) Has been cancelled
deploy / deploy (push) Has been cancelled
test / test (push) Has been cancelled
Bumps the go-modules group with 4 updates: [github.com/livekit/server-sdk-go/v2](https://github.com/livekit/server-sdk-go), [github.com/pion/webrtc/v4](https://github.com/pion/webrtc), [golang.org/x/crypto](https://github.com/golang/crypto) and [golang.org/x/term](https://github.com/golang/term).


Updates `github.com/livekit/server-sdk-go/v2` from 2.18.2-0.20260904062056-1da58cd7b795 to 2.19.0
- [Commits](https://github.com/livekit/server-sdk-go/commits/v2.19.0)

Updates `github.com/pion/webrtc/v4` from 4.2.22 to 4.2.23
- [Release notes](https://github.com/pion/webrtc/releases)
- [Commits](https://github.com/pion/webrtc/compare/v4.2.22...v4.2.23)

Updates `golang.org/x/crypto` from 0.57.0 to 0.58.0
- [Commits](https://github.com/golang/crypto/compare/v0.57.0...v0.58.0)

Updates `golang.org/x/term` from 0.46.0 to 0.47.0
- [Commits](https://github.com/golang/term/compare/v0.46.0...v0.47.0)

---
updated-dependencies:
- dependency-name: github.com/livekit/server-sdk-go/v2
  dependency-version: 2.19.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-modules
- dependency-name: github.com/pion/webrtc/v4
  dependency-version: 4.2.23
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-modules
- dependency-name: golang.org/x/crypto
  dependency-version: 0.58.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-modules
- dependency-name: golang.org/x/term
  dependency-version: 0.47.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-modules
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-15 16:51:42 -07:00
5b9244457c
fix(footer): drop the random and vote links from the baked footer (#148)
Some checks failed
CI / build (push) Has been cancelled
deploy / deploy (push) Has been cancelled
test / test (push) Has been cancelled
Matches @profullstack/footer 0.2.2, which removed them; the baked copy is what
crawlers and no-JS readers see before embed.js swaps in @latest.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 11:49:47 -07:00
5a3b4af6aa
feat(footer): use @profullstack/footer (#147)
Some checks failed
CI / build (push) Has been cancelled
deploy / deploy (push) Has been cancelled
test / test (push) Has been cancelled
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 02:42:39 -07:00
0e0071ebf1
fix(setup): install Caddy without the Cloudsmith apt repo (#146)
dl.cloudsmith.io/public/caddy/stable now answers 402 Payment Required, so
apt-get update in step 1 fails and every deploy (and the 15-minute
agentbbs-update timer) aborts before doing anything.

- Step 1 removes /etc/apt/sources.list.d/caddy-stable.list and its keyring
  before apt-get update.
- Step 9 installs the pinned GitHub release (CADDY_VERSION=2.11.7, SHA-512
  verified) to /usr/bin/caddy with the caddy user and upstream's unit,
  only when caddy is missing. Ubuntu's own package is 2.6.2, too old.
- An existing install (the dpkg 2.11.7 on bbs.profullstack.com, unit in
  /usr/lib/systemd/system) is left untouched, so the Caddyfile and unit
  keep working as before.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 01:36:56 -07:00
f406ac54d8
feat(webring): Random link in the Profullstack ring footer (#145)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 01:17:38 -07:00
dependabot[bot]
e8d0048877
chore(deps): bump modernc.org/sqlite (#144)
Some checks failed
CI / build (push) Has been cancelled
deploy / deploy (push) Has been cancelled
test / test (push) Has been cancelled
Bumps the go-modules group with 1 update: [modernc.org/sqlite](https://gitlab.com/cznic/sqlite).


Updates `modernc.org/sqlite` from 1.60.0 to 1.60.1
- [Changelog](https://gitlab.com/cznic/sqlite/blob/master/CHANGELOG.md)
- [Commits](https://gitlab.com/cznic/sqlite/compare/v1.60.0...v1.60.1)

---
updated-dependencies:
- dependency-name: modernc.org/sqlite
  dependency-version: 1.60.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-modules
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-08 18:56:20 -07:00
6cdc352d97
feat: public /api/health served by the agentbbs process (#143)
Some checks failed
CI / build (push) Has been cancelled
deploy / deploy (push) Has been cancelled
test / test (push) Has been cancelled
https://bbs.profullstack.com/ is Caddy's file_server, so a 200 there says
nothing about the BBS. /api/health is now answered by agentbbs itself on
its loopback HTTP listener (Caddy proxies it, like /verify) after a
`select 1` on the SQLite store with a 3s cap: 200 {"status":"ok","db":"ok"}
or 503 {"status":"error","db":"down"}, Cache-Control: no-store.

Adds Store.Ping. For status.profullstack.com.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-06 11:47:35 -07:00
e95f2a30c3
fix(setup): issue the news.<domain> cert on demand (#142)
Some checks are pending
CI / build (push) Waiting to run
deploy / deploy (push) Waiting to run
test / test (push) Waiting to run
news.bbs.profullstack.com never got a certificate. Its site block is
covered by the *.bbs.profullstack.com wildcard site, whose policy is
on_demand only, so Caddy never obtained the name in the background: no
attempt was ever logged, a TLS handshake got an internal error, and
NNTPS on :563 kept the self-signed bootstrap cert, which expired on
2026-09-12.

Opt the news site into on_demand. It is issued on the first handshake
through the ask endpoint, which approves AGENTBBS_NEWS_HOST since #141.
Verified live: https://news.bbs.profullstack.com answers 200 with a
Let's Encrypt cert, agentbbs-news-certs succeeds, and :563 verifies
(expires 2027-01-04).

Co-authored-by: riotcoder <riotcoder@profullstack.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-05 22:27:34 -07:00
6b5ce8f4be
fix(sites): let the ask endpoint approve the news host (#141)
news.bbs.profullstack.com has its own Caddy site block so Caddy can get
it a Let's Encrypt cert for NNTPS on :563. But it also falls under the
*.bbs.profullstack.com on-demand-TLS block, so Caddy asks agentbbs before
issuing, and the ask handler only approved members and mapped custom
domains. "news" is neither, so it got a 404 and never got a cert. The
news-certs timer then failed forever, and :563 kept serving the
self-signed bootstrap cert, which expired on 2026-09-12.

The handler now also approves the BBS's own service hosts. For now that
is only AGENTBBS_NEWS_HOST. Arbitrary names still 404, so this is still
not an open cert relay.

Co-authored-by: riotcoder <riotcoder@profullstack.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-05 22:21:56 -07:00
7d86e0ad1e
fix(mailu): cert refresh no longer dies silently on OpenSSL 3.5 (#140)
On the new bbs box (Ubuntu 26.04, OpenSSL 3.5.5) agentbbs-mailu-certs
failed on every run with a bare exit 1. `openssl s_client -quiet` prints
no certificate there, so `openssl x509` read nothing, the probe pipeline
failed under pipefail, and the `on_wire=$(served_not_after)` assignment
ended the script under set -e before it logged anything.

Drop -quiet, and make the probe best-effort with `|| true` so a failed
read-back can never be what fails the run. Without this fix, Caddy's next
renewal of mail.profullstack.com would never reach Mailu, the same way
join@ codes broke on 2026-09-13.

Tested on the box: exits 0, "already current (expires Nov 12 2026)".

Co-authored-by: riotcoder <riotcoder@profullstack.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-05 21:55:46 -07:00
9d6ecea017
feat: Profullstack webring links in the footer (#139)
Some checks failed
CI / build (push) Has been cancelled
deploy / deploy (push) Has been cancelled
test / test (push) Has been cancelled
The landing page setup.sh writes now ends its footer with the Profullstack
OpenWebring links (from=https://${DOMAIN}/), and setup.sh also writes
/.well-known/openwebring.json into the site root.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-04 00:52:22 -07:00
dependabot[bot]
34e5075680
chore(deps): bump the go-modules group with 3 updates (#138)
Some checks failed
CI / build (push) Has been cancelled
deploy / deploy (push) Has been cancelled
test / test (push) Has been cancelled
Bumps the go-modules group with 3 updates: [github.com/livekit/protocol](https://github.com/livekit/protocol), [github.com/pion/webrtc/v4](https://github.com/pion/webrtc) and [modernc.org/sqlite](https://gitlab.com/cznic/sqlite).


Updates `github.com/livekit/protocol` from 1.52.0 to 1.52.1
- [Release notes](https://github.com/livekit/protocol/releases)
- [Changelog](https://github.com/livekit/protocol/blob/main/CHANGELOG.md)
- [Commits](https://github.com/livekit/protocol/compare/v1.52.0...v1.52.1)

Updates `github.com/pion/webrtc/v4` from 4.2.20 to 4.2.22
- [Release notes](https://github.com/pion/webrtc/releases)
- [Commits](https://github.com/pion/webrtc/compare/v4.2.20...v4.2.22)

Updates `modernc.org/sqlite` from 1.59.0 to 1.60.0
- [Changelog](https://gitlab.com/cznic/sqlite/blob/master/CHANGELOG.md)
- [Commits](https://gitlab.com/cznic/sqlite/compare/v1.59.0...v1.60.0)

---
updated-dependencies:
- dependency-name: github.com/livekit/protocol
  dependency-version: 1.52.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-modules
- dependency-name: github.com/pion/webrtc/v4
  dependency-version: 4.2.22
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-modules
- dependency-name: modernc.org/sqlite
  dependency-version: 1.60.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-modules
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-02 12:52:24 -07:00
eccfe67bc3
ci(deploy): retry the :22 smoke test for up to ~2 minutes (#137)
Some checks failed
CI / build (push) Has been cancelled
deploy / deploy (push) Has been cancelled
test / test (push) Has been cancelled
The redeploy restarts agentbbs, and the smoke test could run before it had
re-bound :22 (0.3 s after on the #136 deploy). One probe made most deploys go
red while the BBS answered moments later. Probe up to 12 times, 10 s apart,
and fail only if :22 never answers. Still a keyscan only, so no account is
ever registered.

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-01 03:51:27 -07:00
f5c8e31d26
fix(forgejo): install the pinned release by renaming over the running binary (#136)
setup.sh downloaded straight to /usr/local/bin/forgejo while forgejo.service
was running, which fails with ETXTBSY ("Text file busy"). Every deploy logged
"forgejo download failed" and prod stayed on 11.0.1 although the pin is
11.0.15. Download to forgejo.new, check its --version, and rename it over the
old binary; the existing `systemctl restart forgejo` then starts the new one.
A failed or wrong download now keeps the installed binary instead of warning
that the backend will be unavailable.

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-01 03:32:02 -07:00
2537977711
feat(deploy): git.chovy.com, a public Forgejo forge on chovy's build host (#134)
* feat(deploy): git.chovy.com, a public Forgejo forge on chovy's build host

deploy/git-chovy/install.sh brings up the AgentGit recipe (setup.sh section
9d) on dev.chovy.com: the Forgejo 11.0.15 binary under systemd, SQLite,
loopback HTTP, built-in SSH on :2222, registration off, anonymous read of
public repos on. It is idempotent and has been run live.

Differences forced by that host: it adds one exact-name vhost to the
existing nginx (which serves chovy's customer apps) instead of a Caddy
block, validating with nginx -t and restoring on failure; certbot http-01
into chovy's /var/www/acme webroot; 127.0.0.1:3010 since :3000 is taken;
MemoryMax=2G so the forge cannot starve builds; chovy's mark as the logo.

Also sets BUILTIN_SSH_SERVER_USER = git. Without it Forgejo's built-in SSH
server only accepts the RUN_USER name and refuses git@ ("Invalid SSH
username git"), although SSH_USER = git advertises git@ clone URLs.
setup.sh's AgentGit app.ini has the same gap; not changed here.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* fix(deploy): probe the Forgejo listener with ss, not a plain-HTTP curl

ThreatCrush flags any curl to an http:// URL (CWE-319). The probe was
loopback-only, but ss answers the same question without an HTTP request.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-01 02:42:36 -07:00
5724364518
feat(web): add the CrawlProof stats tracker to the landing page (#133)
Some checks are pending
CI / build (push) Waiting to run
deploy / deploy (push) Waiting to run
test / test (push) Waiting to run
The bbs.profullstack.com site root is the one index.html setup.sh writes;
the tag goes in its head with the project id. Member homepages (/~name,
<name>.bbs...) are the members' own and are left alone. No CSP is sent, so
nothing else changes.

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-30 00:05:06 -07:00
dependabot[bot]
5bec3016b1
chore(deps): bump the go-modules group with 2 updates (#132)
Some checks failed
CI / build (push) Has been cancelled
deploy / deploy (push) Has been cancelled
test / test (push) Has been cancelled
---
updated-dependencies:
- dependency-name: github.com/livekit/protocol
  dependency-version: 1.52.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-modules
- dependency-name: modernc.org/sqlite
  dependency-version: 1.59.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-modules
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-24 19:00:50 -07:00
078937109c
fix(agentgit): register the member's SSH key on every BBS login, not just at signup (#131)
Some checks are pending
CI / build (push) Waiting to run
deploy / deploy (push) Waiting to run
test / test (push) Waiting to run
provisionGit returned early when the Forgejo account already existed, so
EnsureKey only ever ran during first provisioning. A member who deleted their
key on git.profullstack.com never got it back: every later BBS login hit the
`if !created { return }` and skipped key registration entirely. The comment on
the web verify path ("key is added on next BBS login") was describing behaviour
that could not happen.

Key registration now runs on every provisionGit call that carries a session
key. EnsureKey was already idempotent — it GETs the account's keys and compares
key material ignoring the comment — so re-running it is free when nothing
changed, and it re-adds a removed key, picks up a rotated one, and backfills
members who joined before AgentGit captured keys. The welcome email stays gated
on `created`, since the one-time password is only meaningful for a new account.

Two things that would have made this unreliable in the new every-login path:

- The key title was the constant "agentbbs". Forgejo rejects a duplicate title
  with 422, so a member who rotated their BBS key would have had the new one
  silently dropped. The title now carries a short fingerprint, so distinct keys
  coexist and the same key stays stable across logins.

- EnsureKey mapped *every* 422 to "already exists" and returned nil. That hid
  genuine rejections forever, which matters far more now the call is on the hot
  path. Only "has been used" bodies are swallowed; a rejected key surfaces with
  Forgejo's own reason so it lands in the logs.

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-24 04:28:18 -07:00
249a4e669b
fix(mail): unbreak join@ registration when the Mailu cert lapses (#129)
Some checks failed
CI / build (push) Has been cancelled
deploy / deploy (push) Has been cancelled
test / test (push) Has been cancelled
Registration has been dead since 2026-09-13. `ssh join@bbs.profullstack.com`
creates the account, then fails at the confirmation step with "couldn't email
the code" and disconnects, so nobody can finish signing up.

Cause: Caddy owns ACME for mail.profullstack.com and renewed on 2026-08-14
(valid to Nov 12), but Mailu went on serving the certificate it loaded at
container start (Jun 15 -> Sep 13). When that lapsed, the STARTTLS handshake
from internal/mail started failing verification and every transactional send
died with it -- confirmation codes, signup notifications, credential mail.
Reproduced against production; 25/465/993 all still present the expired cert
while :443 serves the renewed one.

Three things let a single stale certificate take registration down:

- setup.sh installed the refresher and enabled its *timer*, but never ran it.
  `systemctl enable --now <timer>` starts the timer, not the service, so a
  redeploy left a stale cert in place (and did nothing at all if the timer was
  never scheduled). The news and IRC sections already run theirs at provision
  time; the Mailu section now does too, which is what repairs the live host.

- refresh-certs.sh only compared files, so a copy whose reload silently failed
  left a fresh cert on disk and an expiring one on the wire -- invisible. It now
  reads back what the relay actually serves, forces a reload when that disagrees
  with /certs, refuses to copy a source cert that is itself expired, and no
  longer swallows the `docker compose restart` failure. It restarts `front`
  alone, the only container that mounts ./certs.

- internal/mail verified the relay's certificate even on loopback, where there
  is nothing to intercept. It now skips verification for a loopback relay (the
  reasoning docs/mail.md already applies to the plaintext Dovecot hand-off) and
  gains AGENTBBS_SMTP_SERVERNAME, mirroring AGENTBBS_MAIL_SMTP_SERVERNAME, so
  the documented 127.0.0.1:25 config can verify against the mail host instead of
  an IP literal. A non-loopback relay is still verified. Errors are wrapped with
  the address and the failing stage so the next failure is one journal line to
  diagnose rather than nine days of silence.

Tests cover the envelope, the unreachable-relay message, and both halves of the
TLS decision: a loopback relay with an expired cert delivers, a non-loopback one
with the same cert is refused.

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-22 07:40:15 -07:00
dependabot[bot]
af47cab5e4
chore(deps): bump the go-modules group with 2 updates (#128)
Some checks failed
CI / build (push) Has been cancelled
deploy / deploy (push) Has been cancelled
test / test (push) Has been cancelled
Bumps the go-modules group with 2 updates: [golang.org/x/crypto](https://github.com/golang/crypto) and [golang.org/x/term](https://github.com/golang/term).


Updates `golang.org/x/crypto` from 0.56.0 to 0.57.0
- [Commits](https://github.com/golang/crypto/compare/v0.56.0...v0.57.0)

Updates `golang.org/x/term` from 0.45.0 to 0.46.0
- [Commits](https://github.com/golang/term/compare/v0.45.0...v0.46.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-version: 0.57.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-modules
- dependency-name: golang.org/x/term
  dependency-version: 0.46.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-modules
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-18 07:09:44 -07:00
aad61eec17
Serve the OpenAccess descriptor at /.well-known/openaccess.json (#127)
Some checks failed
CI / build (push) Has been cancelled
deploy / deploy (push) Has been cancelled
test / test (push) Has been cancelled
Spec: https://logicsrc.com/openaccess

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

Claude-Session: https://claude.ai/code/session_01SWRffW4ifQPUrGXJtgYWMd
2026-09-12 12:26:25 -07:00
dependabot[bot]
d2e4b56ae7
chore(deps): bump the go-modules group with 3 updates (#126)
Some checks failed
CI / build (push) Has been cancelled
deploy / deploy (push) Has been cancelled
test / test (push) Has been cancelled
Bumps the go-modules group with 3 updates: [github.com/pion/webrtc/v4](https://github.com/pion/webrtc), [golang.org/x/crypto](https://github.com/golang/crypto) and [modernc.org/sqlite](https://gitlab.com/cznic/sqlite).


Updates `github.com/pion/webrtc/v4` from 4.2.19 to 4.2.20
- [Release notes](https://github.com/pion/webrtc/releases)
- [Commits](https://github.com/pion/webrtc/compare/v4.2.19...v4.2.20)

Updates `golang.org/x/crypto` from 0.55.0 to 0.56.0
- [Commits](https://github.com/golang/crypto/compare/v0.55.0...v0.56.0)

Updates `modernc.org/sqlite` from 1.57.0 to 1.58.0
- [Changelog](https://gitlab.com/cznic/sqlite/blob/master/CHANGELOG.md)
- [Commits](https://gitlab.com/cznic/sqlite/compare/v1.57.0...v1.58.0)

---
updated-dependencies:
- dependency-name: github.com/pion/webrtc/v4
  dependency-version: 4.2.20
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-modules
- dependency-name: golang.org/x/crypto
  dependency-version: 0.56.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-modules
- dependency-name: modernc.org/sqlite
  dependency-version: 1.58.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-modules
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-10 23:43:35 -07:00
bc010bf310
chore(deps): bump livekit protocol, server-sdk-go and pion/webrtc (#125)
Some checks failed
CI / build (push) Has been cancelled
deploy / deploy (push) Has been cancelled
test / test (push) Has been cancelled
Dependabot's go-modules bump (#123) fails to build: livekit/protocol
1.51.0 changed TransferSIPParticipant to return
*TransferSIPParticipantResponse, but server-sdk-go v2.18.1 still
returns *emptypb.Empty from its wrapper, so the module no longer
compiles. No tagged server-sdk-go release carries the fix yet, so pin
the SDK to a main pseudo-version (1da58cd, 2026-09-04) which was built
against the new signature and requires go >= 1.26.3.

- github.com/livekit/protocol v1.50.4 -> v1.51.1-0.20260903060125-0cf5ba018b8e
- github.com/livekit/server-sdk-go/v2 v2.18.1 -> v2.18.2-0.20260904062056-1da58cd7b795
- github.com/pion/webrtc/v4 v4.2.18 -> v4.2.19
- go directive 1.26 -> 1.26.3

Supersedes #123.


Claude-Session: https://claude.ai/code/session_01Y9ZqGBKouuFipzsRn6cUfa

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-04 02:03:05 -07:00
dependabot[bot]
f9a5995d5b
chore(deps): bump github/codeql-action in the github-actions group (#124)
Bumps the github-actions group with 1 update: [github/codeql-action](https://github.com/github/codeql-action).


Updates `github/codeql-action` from 3 to 4
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: '4'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-04 01:57:01 -07:00
dependabot[bot]
0f92a6f6bc
chore(deps): bump the go-modules group across 1 directory with 2 updates (#122)
Some checks failed
CI / build (push) Has been cancelled
deploy / deploy (push) Has been cancelled
test / test (push) Has been cancelled
Bumps the go-modules group with 2 updates in the / directory: [golang.org/x/crypto](https://github.com/golang/crypto) and [modernc.org/sqlite](https://gitlab.com/cznic/sqlite).


Updates `golang.org/x/crypto` from 0.54.0 to 0.55.0
- [Commits](https://github.com/golang/crypto/compare/v0.54.0...v0.55.0)

Updates `modernc.org/sqlite` from 1.56.0 to 1.57.0
- [Changelog](https://gitlab.com/cznic/sqlite/blob/master/CHANGELOG.md)
- [Commits](https://gitlab.com/cznic/sqlite/compare/v1.56.0...v1.57.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-version: 0.55.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-modules
- dependency-name: modernc.org/sqlite
  dependency-version: 1.57.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-modules
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-08-28 10:42:52 -07:00
RissRIce
4b815eaab8
fix(sites): roll back failed domain claims (#119)
Some checks failed
CI / build (push) Has been cancelled
deploy / deploy (push) Has been cancelled
test / test (push) Has been cancelled
* test(sites): reproduce stale failed domain claims

Signed-off-by: RissRIce <jsdavid278@gmail.com>

* fix(sites): roll back failed domain claims

Signed-off-by: RissRIce <jsdavid278@gmail.com>

---------

Signed-off-by: RissRIce <jsdavid278@gmail.com>
2026-08-13 02:34:30 -07:00
RissRIce
5a1f5d90db
fix(games): reject duplicate queue entries (#117)
Some checks are pending
CI / build (push) Waiting to run
deploy / deploy (push) Waiting to run
test / test (push) Waiting to run
* test(games): reproduce duplicate queue deadlock

* fix(games): reject duplicate queue entries
2026-08-12 21:20:18 -07:00
RissRIce
be75744248
fix(gopher): serve public files from SFTP storage (#115)
* test(gopher): cover SFTP public file paths

* fix(gopher): serve public files from SFTP storage
2026-08-12 19:20:06 -07:00
RissRIce
f83edd4351
fix(mailbox): write messages before IMAP append wait (#113)
Some checks are pending
CI / build (push) Waiting to run
deploy / deploy (push) Waiting to run
test / test (push) Waiting to run
Co-authored-by: rissrice2105-agent <289161642+rissrice2105-agent@users.noreply.github.com>
2026-08-11 17:44:33 -07:00
RissRIce
03a2ce3f8b
fix: validate provisioned account kind (#112)
Some checks are pending
CI / build (push) Waiting to run
deploy / deploy (push) Waiting to run
test / test (push) Waiting to run
2026-08-10 20:18:44 -07:00