~bigbes/sr-ht-spec · parade

main · last commit 18 hours ago · 8tmadfpi

← Back to the parade

spec-c8o Add a bind-address config key to specs Lined Up

status: open P2 task
bd update spec-c8o --claim bd close spec-c8o
Created byEugene Blikh
Ownerbigbes@gmail.com
Created2026-08-17T20:40:10Z
Updated2026-08-17T20:40:10Z
Description
What is wrong: specs has no `bind-address` config key at all — the web listener's bind is settable only through the `-b` command-line flag. (This is entangled with the fact that specs currently has no `config.example.ini` file at all — see the separate "specs is missing config.example.ini/README/SPEC/Makefile gates" issue, which this one depends on.)

Why it matters: the containerised deployment relies on the shared `bind-address` config key to set `0.0.0.0:<port>` in exactly one place; every entrypoint's comment says repeating the port on the command line "is how a unit and its config drift apart". specs is one of only two services (with dolt) where this convention cannot currently be honoured.

Sibling that does it correctly: every other sibling's `config.example.ini` reads a `bind-address` key in `[<svc>.sr.ht]` and passes it to `server.New`/`validateConfig`.

Fix: once `config.example.ini` exists for specs (tracked separately), add a `bind-address` key to its `[spec.sr.ht]` section and read it in `cmd/specsrht/main.go::validateConfig`, replacing the `-b` flag as the primary way to set the bind address.

Note: confidence verified — read specs' `cmd/specsrht/main.go` and confirmed no `config.example.ini` and no `bind-address` key anywhere in the repo.

Audit: D20 (cross-repo audit, 2026-08-17)

Depends on

No outgoing dependencies.

Depended on by

Nothing depends on this issue.

No comments.

  • Eugene Blikh created the issue · 2026-08-17T23:40:09Z
Stored rows — what this pane was built from, as read
issues 1 row
id spec-c8o
content_hash 4f65a25467ac070e207b8634746eeeede3e799df232dfe9d33eb9de182ff2aea
title Add a bind-address config key to specs
description What is wrong: specs has no `bind-address` config key at all — the web listener's bind is settable only through the `-b` command-line flag. (This is entangled with the fact that specs currently has no `config.example.ini` file at all — see the separate "specs is missing config.example.ini/README/SPEC/Makefile gates" issue, which this one depends on.) Why it matters: the containerised deployment relies on the shared `bind-address` config key to set `0.0.0.0:<port>` in exactly one place; every entrypoint's comment says repeating the port on the command line "is how a unit and its config drift apart". specs is one of only two services (with dolt) where this convention cannot currently be honoured. Sibling that does it correctly: every other sibling's `config.example.ini` reads a `bind-address` key in `[<svc>.sr.ht]` and passes it to `server.New`/`validateConfig`. Fix: once `config.example.ini` exists for specs (tracked separately), add a `bind-address` key to its `[spec.sr.ht]` section and read it in `cmd/specsrht/main.go::validateConfig`, replacing the `-b` flag as the primary way to set the bind address. Note: confidence verified — read specs' `cmd/specsrht/main.go` and confirmed no `config.example.ini` and no `bind-address` key anywhere in the repo. Audit: D20 (cross-repo audit, 2026-08-17)
design
acceptance_criteria
notes
status open
priority 2
issue_type task
assignee NULL
estimated_minutes NULL
created_at 2026-08-17T20:40:10Z
created_by Eugene Blikh
owner bigbes@gmail.com
updated_at 2026-08-17T20:40:10Z
closed_at NULL
closed_by_session
external_ref NULL
spec_id
compaction_level 0
compacted_at NULL
compacted_at_commit NULL
original_size NULL
sender
ephemeral 0
wisp_type
pinned 0
is_template 0
mol_type
work_type
source_system
metadata �{}
source_repo
close_reason
event_kind
actor
target
payload
await_type
await_id
timeout_ns 0
waiters
hook_bead
role_bead
agent_state
last_activity NULL
role_type
rig
due_at NULL
defer_until NULL
no_history 0
started_at NULL
is_blocked 0
events 1 row
id 01a01173-fe25-7a7b-94a2-0f1fb3d3f86a
issue_id spec-c8o
event_type created
actor Eugene Blikh
old_value
new_value
comment NULL
created_at 2026-08-17T23:40:09Z