Repository navigation
0.9.25 — audit pass: a queue role cannot name a path, HTTP stays off the server's disk
An audit pass over the whole codebase: every finding below was reproduced on the code before it was
fixed, and each has a test that fails on 0.9.24.
- Security: a queue role could name a path.
hub_queue_sendused the role verbatim in
queues/<role>.<node>.queue.md, sorole: "../../x"wrotex.<node>.queue.mdtwo directories
above the hub — over the HTTP transport, anywhere the server user can write, from any tenant.
Role and subscriber names are now checked before any disk access (letters, digits,-,_;
subscribers may also carry.), and refused rather than rewritten. - Security: over HTTP, a caller's
cwdwas resolved against the server's disk.hub_context
looked for a.hubdmarker and a git root under whatever path it was given and, through
claimsTouched, listed recently modified files there;hub_claim_checkandhub_presencedid
the same, and the audit riding onhub_briefrangit login a card's- path:, which a tenant
writes. The HTTP transport now setslocal: falseon every call (a caller cannot override it),
and those tools answer from hub data only, saying what they did not check. - Security: the multi-tenant board showed the operator's
AGENTS.mdto every tenant that had
not written its own, through the team-root fallback. A tenant now sees its own rules or none. hub whereamiran the marker's inventory script through a shell, quoted with JSON double
quotes, inside which a shell still expands$(...). It is executed directly now.hub_section_addwas the one card write with no size cap. 0.9.23 rotated over-long sections
on report, sync and card-set; a section fed only through here grew without bound. It rotates too.- History files in a shared hub were created owner-only.
projects/history/<slug>.mdis
appended by whoever writes the card; the first writer left itrw-r--r--, and the next user's
card write then failed on the history step before saving the card — the maple-98 class, in
one more place. All history appends (and absorbed files) now go through the same group-bit rule. DECIDE: a | b | clostcfrom both the card and the journal: the split kept two parts.- A claim written without
ttlMincrashed the next conflicting claim after saving it
(Invalid Date), and printedNaNm leftinhub brief. hub_get's truncation note readcard: undefined shown, undefined hiddenwhen the card
string was cut; it now says how many characters were shown and hidden.hub doctor's torn-write line described a 200-line window the check no longer uses.- Refactors, behaviour unchanged except that a task with no
createdstamp now sorts the same way
inhub_briefand the kanban as it already did inhub_next: one urgency sort instead of three copies, one reader for the
shipped protocol, one digest-size refusal, one tail reader and role-file matcher in the queue
module, and the node-name rules shared between the mesh check and the log readers.