Repository navigation
Releases
Smeldr v1.195.0 - OAuth sign-in and approver reads
[1.195.0] - 2026-11-24
Security
- The release binary signs an OAuth client in with the pasted token (T1287). With
OAUTH_ISSUERset, example/server wires smeldr.dev/oauth'sResolveBearerandTokenActivetoTokenStore.ActingUser. The access token then stands for the pasted token, and a revoked or expired token ends the client's access at its next refresh. Clients signed in before this sign in again.
Changed
- The release binary is built with smeldr.dev/mcp v1.78.0 (it was v1.77.3). It brings
record_close, the OAuth sign-in that stands for the pasted token (T1287), clearer refusals inretry_webhook(T1266) and the grant tools (T1248), and tool descriptions that name no record of smeldr.dev's own instance (T1222); see smeldr.dev/mcp's CHANGELOG. - The release binary checks
OAUTH_ISSUERat start (T1286). Before, any value was published as given, sonot-a-urlgave the endpointnot-a-url/oauth/authorize.- Now the start stops, naming
OAUTH_ISSUER, when the value is not an absolute http or https URL with a host, or has a query or a fragment. With these, every OAuth endpoint answered 404. OAUTH_ISSUERwithoutENABLE_TOKENSis refused, since an access token stands for a Smeldr token.- Public http, user info and a trailing slash still start, each with a warning from smeldr.dev/oauth.
- An issuer on another origin than
BASE_URLstarts, with one Info line naming both values.
- Now the start stops, naming
- The taken-URL condition names the item by its address (T1308). Its message said
Decision 01a1... is scheduled, but its URL "about" is taken; it now names the item's address where its type has one (Decision D9 ...), and its ID otherwise. The type, the receiver and the values are unchanged; a message written before stays as it is.
Fixed
-
A program that serves
app.Handler()itself answers HTML likeapp.Run(T1317). ThroughHandler()a module withTemplatesanswered JSON to every request, also toAccept: text/htmland to a request with noAccept, because onlyRunparsed the templates; it now answerstext/htmlto both, and a client that wants JSON sendsAccept: application/json.Handler()parses the templates and the partials once, asRundoes;Runstill refuses to start on a template that does not parse. UnderHandler()such a template is logged once at ERROR, naming the module's prefix and the file, and that module keeps answering JSON. The doc comment and REFERENCE say whatHandler()still does not do: the webhook worker pool, scheduled publishing, the version line and graceful shutdown belong toRun. -
A token holding only
approverreads a Domain made after setup, and what is placed in it (T1321). On v1.194.0 an approver read nothing in such a Domain:create_domain(andPOST /domains) stored the Domain withoutbelongs_to_organization, so it lay outside the Organization and D191's approver, who reads the Organization's hierarchy, read none of it (get_domainanswereditem.not_found,get_area,get_decisionandlist_decisionscapability.denied). A Domain is now created in the Organization, in the same transaction. At the first boot on this release, a Domain made before it is placed in the Organization too, and one Info line names how many and their addresses; a Domain whose edge was ended on purpose is left alone. An unplaced record stays unread by the approver, as D191 says: it is placed before it is ratified. -
A grant of a role with a dynamic scope must name its anchor (T1248).
Grant(andgrant_role) with an empty or blankScopeAnchorIDon a dynamic role is refused with the newgrant.anchor_required(422, fieldscope_anchor_id, valuerole), and nothing is stored. Send the place the grant is over asscope_anchor_id(its address, slug or ID). Before, it was stored and reached nothing: no read, no ratify or approve-change, andApproversOfnever listed it, so a caller who misspelt or left out the anchor was told a right had been granted when none was. A static or global role is unchanged, and an agent or job still gets the agent rule's own refusal first. Grants already stored this way are not deleted: the server logs their count and grant IDs once at boot (smeldr: dynamic grants with no anchor authorize nothing; revoke them); revoke them withrevoke_grant. -
A PUT cannot clear
PublishedAt(T1300). A PUT whose body had noPublishedAtsaved the zero time, also on an item that stayed published: RSS showed it as 1 January 0001 and sorted it last, the sitemap gave it year 1, and the AI doc left out its "Published:" line. A PUT now keeps the stored time when the body has none, and keeps a time the body sends. The move intopublishedstill stamps now. -
An
OnSignalhandler registered afterApp.Runruns (T1300). With no handler, listener or event stream at start, no module got the signal hook, so a handler added later never ran; with one, it did. The hook is now always set; a write with nothing listening costs about half a microsecond and three small allocations.AddSignalListenerstill belongs beforeApp.HandlerorApp.Run, as its doc comment now says. -
A webhook retry never makes two workers deliver one job (T1304). A worker's claim only moved
next_retry_at, so a job a worker held looked like one in its backoff: retrying it made it due, a second worker claimed it, both delivered, and the first then wrote over the row. Now the claim names its holder (claim_id) and its lease (claimed_until), the holder's update after its attempt applies only while its own claim is on the row, and a retry of a held job only leaves a request (retry_requested): the job is due now right after the attempt in flight if that attempt fails, and not sent again if it succeeds. If the holder dies, the next worker to claim the job after the lease honours the request. A job table without the new columns works as before.
Added
App.SignalsAddressedTo(ctx, state, limit, offset)lists the Signals addressed to the caller (T1308). It returns the Signals whose receiver is one of the caller's routing names, newest first, and the total: itsUser.ID, the operations it holds under governance (such asratify) and the receivers its subscriptions name (a role subscription names its band), the same names theaddressed_to_mesubscription filter matches. So a caller can list what waits on it without knowing the receiver words.stateempty means open and pending together, aslist_signals. The read scope applies before the page and the total: a holder ofratifyover one Domain sees that Domain's ratification conditions, not another's. One query over the names, on SQLite and Postgres. A caller with no identity is refused with the refusal typesignals.no_caller(403).EnsureOutboundJobClaimColumns(ctx, db)andOutboundClaimHolderSQL(T1304). The function addsclaim_id,claimed_untilandretry_requestedto a job table from before them;CreateWebhookTablescalls it, so example/server's boot adds them.OutboundClaimHolderSQLis the worker pool's claim with a holder;OutboundClaimSQLis unchanged.
Docs
- Every environment variable the release binary reads is listed (T1310). main.go's doc comment gains
CHANGE_CHECK_RECHECK_SCHEDULE(the re-check of open pull request Checks, default*/5 * * * *, read when governance records are on). AGENTS.md's table gains the 25 variables it did not list, fromENABLE_GOVERNANCE_RECORDSandORGANIZATION_NAMEto the five cutover dates, each with its default written as its value;ENABLE_SIGNAL_EXPIRY_SWEEPis listed as retired, only logging that it does nothing. A new test in example/server reads everyos.Getenv,os.LookupEnv,envOr,requireEnvandgetenvcall and fails, naming each variable and the file, when one is missing from main.go's doc comment, docs/SELF_HOSTING.md or AGENTS.md. - What a PUT keeps, and who the scheduler is (T1300).
updateHandler's doc comment and REFERENCE say a PUT keeps the stored ID, slug and address, so aSlugin the body is ignored with a 200 (a PATCH refuses it), and keepsPublishedAtwhen the body has none.SignalEvent.ActorRoleisguestalso for a system path with no actor, such as the scheduler's publish:ActorIDis empty andSurfaceistrigger.
Smeldr v1.194.0 — webhook retry and check reopen
[1.194.0] - 2026-11-16
Security
- The bootstrap admin token is no longer kept by
CaptureLogsor served at/_logs(T1299). It still shows once on standard error at start, unchanged. This affected a Go program that callsCaptureLogsbefore the token store creates the bootstrap token; the release binary does not callCaptureLogs. - What core needs so that an OAuth access token stands for exactly the Smeldr token pasted at sign-in (D195, T1287). This is the core part. The fix lands with smeldr.dev/oauth and smeldr.dev/mcp, and their CHANGELOGs say what a client and a server must do.
TokenStore.ActingUserreads a stored token by its fingerprint: the user it acts as, its role and class, and whether it is still valid.User.ViaandProvenanceRecord.Vianote the client a request came through, beside the token's own signature.CreateProvenanceTableadds theviacolumn.
Changed
- The release workflow builds nothing unless
ci.ymlis green on the tagged commit (T1297). A first job,ci-green, runsscripts/ci-green.shwith the workflow's own token (actions: read): green passes; red stops; a run still going is waited for up to 45 minutes; no run is waited for up to 10 minutes, then stops. When it stops, nothing is built or attached and the release stays a draft. It readsci.ymlonly, not the macOS getting-started or pin-currency workflows. It gates a tag on a commit that carries it; a tag on an older commit runs that commit's workflow, ungated. A release on a green commit builds the same five binaries andSHA256SUMSand publishes as before. cli's release workflow has the same gate. - A change in the Decisions in force reopens the open pull request Checks of the Area (D196, T1294). Before, an approved Check stayed approved when a Decision for one of its Areas was superseded, retired or newly ratified, so a pull request could merge on an approval given against a Decision that no longer held. Now:
- Every open Check of the Area is checked again as a new Check of the same commit. Where an Area requires approval it waits again, with new requests to its approvers.
- The old Check is superseded, and its answers stay readable.
- The host's status goes from passing to waiting.
- It happens in the call that changed the Decision, and a sweep is the guarantee (
App.RecheckChangeChecks; the example server runs it onCHANGE_CHECK_RECHECK_SCHEDULE, default every 5 minutes, whenever governance records are on). After a failed step, an approval can stand until the next sweep. - Checks made before this release are not reopened, since their changes may have been merged without core knowing.
- Update smeldr.dev/github with core. Until then, a pull request closed without a merge is not reported, and its Check can be reopened when a Decision of its Area changes, asking approvers about a change nobody will merge.
- The release binary lists the schema tools with
ENABLE_DYNAMIC_CONTENT(T1292). Before, a server could define a runtime type but not show its schema withoutENABLE_SCHEMA_TOOLStoo, sosmeldr-cli content-type getansweredunknown tool: get_content_type_schema. Nowget_content_type_schemaandlist_content_type_schemasare listed wheneverENABLE_DYNAMIC_CONTENTis on. They only read, and their role requirement is unchanged. Nothing is removed:ENABLE_SCHEMA_TOOLSandENABLE_BLOCKSlist them as before. - The three approval roles read the place they approve in (D191, T1247). Before, a
domain-approverorarea-approverwith no reader grant beside it was refused the Decisions and Checks it was meant to approve, so anarea-approveralone could not answer its change checks.domain-approverandarea-approvernow holdreadover their place, asdomain-readerandarea-readerdo.approverreads every place and what is placed in it: every Organization's hierarchy, not every record.- Nothing else widens: no write, manage or administer, and no read outside the place.
- At the upgrade, existing grants of these roles read their place from the first boot. A token's event subscriptions may then deliver events they did not deliver before, because delivery follows read. To see who holds the three roles first, use
approvers_oforsmeldr-cli approvers <place>. - D97: nothing is removed. A call that was refused is answered.
- A role you register yourself with
ratifyorapprove-changeis unchanged, and needsreadto be usable.
Added
App.RecordCloseandApp.RecheckChangeChecks(D196, T1294).RecordClose(ctx, CloseInput)records that a change was closed without a merge (capabilityitem check_change). Its Check is no longer reopened, and its open requests are withdrawn.RecheckChangeChecks(ctx)is the sweep behind the reopen, returningRecheckResult{Checked, Reopened, Failed}. Call it every few minutes if you use the change check.
ContradictionSweep.Stale: how many open contradiction rows written since T928 the sweep resolved because their contradiction no longer holds (T1242).
Fixed
- Webhook retry refuses a delivered job and an id that names no job (T1266).
WebhookJobQueue.RetryDead(and soretry_webhookandsmeldr-cli webhook retry) set any job it was given back to pending with no condition: a delivered job was delivered a second time, and an unknown id answered"retried": true. It now updates only adeadorpendingjob, in one conditional statement. A delivered job is refused withwebhook.job_delivered(409,ErrConflict, valuesjobandstatus) and an unknown id withwebhook.job_not_found(404,ErrNotFound, valuejob); nothing changes then. Still retried as before: a dead job, a pending job in its backoff (sent now) and a pending job past its delivery window (sent again). A claim is not visible to a retry, so retrying a job while a worker delivers it can still deliver it twice, as before. - A
Standalone()module now starts beside a default orAPIOnlymodule (T1295). Before, the program panicked at start: theGET /{slug}/aidocpattern conflicted with every module'sGET /{prefix}/{slug}. A Standalone item's AI doc is now served by the catch-all, after the modules' own routes. So/posts/aidocis still the posts item with the slugaidoc, and nothing that answered before answers differently. app.Content(&T{}, smeldr.Repo(...))with a typed Repo panics with what to write (T1295):app.Content(smeldr.NewModule(&T{}, smeldr.Repo(...), smeldr.At(...))). Before, it said "use smeldr.Repo(...) or App.Content", which is what the reader had done.NewModulewithout a Repo now says to passsmeldr.Repo(...)tosmeldr.NewModule.- A Decision's
ratification-requiredrequest is placed with the Decision (T1289). Before, it had no place, so adomain-approverorarea-approver(who read their place since T1247) did not see the request they are there to answer. It now moves with the Decision as its other conditions do. Requests already open, and thoseMigrateSignalKindsopens at boot (it does not place them itself), are placed byApp.SweepContradictionConditions, which example/server runs at boot and on the structural sweep's schedule. On a server that runs neither, such a request is placed when its Decision's place changes, or when the server callsSweepContradictionConditionsorSweepPremiseFlags. A request for an unplaced Decision stays unplaced until the Decision is placed. - A contradiction holds its
conflict-detectedrows only while both Decisions can still hold (D192, T1242). A Decision that isproposed,ratifiedorpending-re-evaluationcan still hold;superseded,retiredandarchivedcannot. Before, an edge asserted when a side was already superseded opened two rows that nothing would close, and a proposed side archived without being ratified left both rows open, because only a move out ofratifiedresolved them. Now such an edge opens nothing, and any move out of play resolves both rows:D5 can no longer hold (archived)on its own row andthe contradicting Decision can no longer holdon the other. A moveratified -> pending-re-evaluationno longer resolves them, since the Decision still holds.App.SweepContradictionConditionsalso resolves open rows written since T928 whose contradiction no longer holds. Also:ratification-requirednames the Decision by its address instead of its internal ID, and re-asserting a livecontradictsedge from its other end is the same edge for the rev check (rev_missingwithout a rev,rev_conflictwith a stale one); before, it skipped the check. - Field and flow descriptions, Signal-kind descriptions, provenance reasons and a problem type's title no longer name a record of Smeldr's own instance (T1222). Texts such as "Required (D112): one line ..." or the reason "founder of the organization (D142)" cited a record on smeldr.dev's instance; on a self-hoster's instance that address is another record or none. Each text now says what it means without the address: the
smeldr_descriptionoftitle, the deprecated number fields,sources,amendment_type,pilotandexternal_ref("an address such as D1"), the Task and Goal flow descriptions, thepremise-flaggedandchange-unapprovedSignal kinds, theno_commitfield and the task_plan schema change reason, the reasons core writes on the founder's grants, the approval-role rename, the default places, a reworded contradiction, a restored edge and a resolved premise flag, and theschema.field_invalidtitle ("title over the 120-character limit"). Reasons already stored stay as they are. Tool and argument names, theruleof each problem type and theD110value of the deprecated-field warning are unchanged. A guard test now reads every string literal in the package, with an allow-list of five, each with its reason: four log lines and theD110wire value. - **An agent or a j...
Smeldr v1.193.2 — Grant anchors resolved
[1.193.2] - 2026-11-14
Fixed
- Dynamic grant anchors are resolved on write (T1213).
RoleStore.GrantandGrantAtnow resolve a dynamic grant's anchor (RoleGrant.ScopeAnchorID) to the item's ID, whether the caller gives the ID, the address (such as an Area'sARE1) or the slug. Before this, the anchor was stored as given, so an address or slug was accepted and the grant then read nothing, with no error. When the candidate types hold no match, the grant is refused with the new problem typegrant.anchor_not_found(422, with the valuesanchor,roleandtypes), and a slug that matches in two candidate types is refused withident.ambiguous. When the role's relation kind can anchor any type, only an address with a registered prefix is resolved, and any other anchor is kept as given. The agent rule's Area check uses the same resolution. Existing grants are not rewritten: a grant made before this release with an address or slug as anchor still reads nothing, so revoke it and grant it again. - Corrects an article in five agent-rule refusals (T1213). Five refusals of the agent rule said "an job token" for a job grantee; they now say "a job token".
Smeldr v1.193.1 — Messages without our addresses
[1.193.1] - 2026-11-14
Changed
- Error and warning messages no longer name records of Smeldr's own instance by address (T1211). Before this change, 22 messages ended with a record address such as "(D142)", "(D156)", "(D112)" or "(T273)", and the place-authority refusals (
ratify.automated_class,place.authority_required) appended "(D145)", "(D146)", "(D148)", "(D149)" or "(D189)". Those addresses name records on smeldr.dev's own instance, so on any other instance they point at other records or at nothing. Each message still says what is refused and what to do. Examples of the form now describe the record in words (for example, "a D followed by a number") instead of citing it. Messages are not part of the API contract (the problem type id is), so this changes no API. Code that matched message text should match the problem type id instead (smeldr.ProblemTypeOf). - Refusals of job tokens now read "a job token" instead of "an job token" (T1211). This is a grammar fix in the refusal text only. There is no behaviour change.
ProblemTypeInfo.Rule, therulewire field anddocs/PROBLEM_TYPES.mdnow say whatrulemeans (T1211).rulenames the records of Smeldr's own design (Decisions and Tasks on smeldr.dev's instance) that a refusal rests on. It does not name records on the instance that answered, and it is not meant for end users; the type URI remains the stable name for users. The field stays and is not deprecated. The valuedecisionsent by the D110 refusal of a server-assigned number field is documented the same way.- A test now fails when a message names a record address (T1211).
TestMessagesNameNoRecordAddressesreads the calls that build messages (errors, refusals, warnings) and fails on a new message that cites a record address.
Smeldr v1.193.0 — Supersede in one write
[1.193.0] - 2026-11-13
Added
App.SupersedeDecisionreplaces a Decision in one write (D189, T1187). It takes aSupersedeRequestand returns aSupersedeResult, in one transaction or not at all: the Decisions, the place and the relation commit together, and standing is recorded after the commit, as on any transition. The move is written only while the replaced Decision is still in the state the checks read, so two overlapping supersedes cannot both commit, with or without a rev; the later one is refused withdecision.replacement_state. Exactly one ofSupersedeRequest.Replacement(an existing, ratified Decision) andSupersedeRequest.New(a replacement this write creates, places where the replaced Decision is placed and ratifies) must be set. The relation is asserted and the replaced Decision moves tosupersededin the same write. New requirement: with an existing replacement, the caller needsratifyover the replacement's place as well as the replaced Decision's; assertingsupersedesalone never required it.App.SupersedeDecisionVianames the surface. Capabilityitem supersede.retiredis a new final state on the Decision flow (D189, T1187). It marks a Decision taken out of force with no replacement. Standing ceases. A Decision moves intoretiredfromratified,pending-re-evaluationorsuperseded, and needsratifyover its place and a reason. A retired Decision can move toarchived.App.RetireDecisionandApp.RetireDecisionViamove a Decision toretired(D189, T1187). A reason is required. Agents and jobs are refused. Fromsuperseded, the call is refused withdecision.repair_not_neededwhen the replacement is already recorded. Capabilityitem retire.App.RepairSupersededandApp.RepairSupersededViarepair a superseded Decision with no replacement recorded (D189, T1187). The request is aRepairRequest. The caller either names a replacement, and the relation is asserted onto the superseded Decision with the reason in provenance, or retires the Decision. Capabilityitem repair_superseded.App.SweepStructuralruns a new detector,decision-replacement(D189, T1187). It records a finding for a Decision superseded with no replacement recorded, and for one still in force under a livesupersedesrelation. Findings are deleted once they stop firing, andflaggedcounts them.- New problem types (D189, T1187).
decision.replacement_required(409),decision.repair_not_needed(409) anddecision.supersede_form(400). No HTTP route is added in this release: the acts are Go functions and MCP tools, and their HTTP door comes with the application-layer authorization work (T1185).
Deprecated
- A plain transition to
supersededwith no livesupersedesrelation (D189, T1187). Until 2027-02-15 the transition still works, and its result carries the warningdecision.supersede_without_replacement, which names that date. From 2027-02-15 it is refused withdecision.replacement_required. UseSupersedeDecisionorRetireDecisioninstead. A plain transition tosupersededis unchanged when thesupersedesrelation is already recorded.
Smeldr v1.192.0: additions to existing reads
[1.192.0] - 2026-11-13
Added
SignalHistoryandSignalKindOfclassify every signal type (T1183).SignalHistoryis a newSignalKindconstant next toSignalConditionandSignalRequest.SignalKindOf(t string) SignalKindreturns the catalog kind of a signal type, orSignalHistoryfor a type that is not in the catalog. It followsSignalTypeOf, so the two never disagree.PlaceApprover.IsCallerandInstanceAdministrator.IsCallersay whether a holder is the caller (T1183). Both are JSONis_callerfields, set byApp.ApproversOfandApp.Administrators. A holder is the caller when it is the caller's own identity (D165), so the flag is true whichever of the identity's live tokens made the call.App.RestCountsWithadds the ratified split, a caller's limit and a page of addresses (T1183).RestCountsnow calls it with zero options, and its answer is unchanged.RestCountsDetailaddsRestsOnThisDetailandThisRestsOnDetail, each with a ratified count and the page of addressesRestCountOptionsasks for;RestCountitself is unchanged, so it stays a comparable value. Out-of-range options returnErrBadRequestwith problemrest_counts.limit_invalid. The sweep stores a nullableratified_countcolumn insmeldr_rest_counts, added byEnsureRestCountTable, andStoredRestCounts.Ratified.Knownstays false until a sweep fills it.SearchQuery.NarrowandSearchQuery.Aftersearch by address and external reference (T1183). A narrow search matches only the record's address and itsexternal_ref, from one character, and never reads a text field.SearchQuery.Aftercontinues it from a previousSearchResult.Next, and each hit carriesExternalRefandMatchReason. Each search reads at most 201 rows per type and phase (SearchNarrowCountCeilingis 200, D183), and above thatSearchResult.AtLeastis set. A reference matches case-insensitively for ASCII letters, and references are ordered in byte order on both databases. New indexes on every addressed table:idx_<table>_address_no, andidx_<table>_narrow_refon the reference key and the id (under the C collation on PostgreSQL, whatever the database's own collation).App.PremiseFlagslists the premise-flagged pairs of a resting Decision (D149, T1183). It returnsPremiseFlagvalues, each saying whether a condition is open (ConditionOpen), the condition's address (only when the caller may read that Signal), the premise (only when the caller may read it), and the lastconfirm_premise. An unknown or unreadable Decision returnsErrNotFound, and an empty decision returnsErrBadRequestwith problempremise.decision_required. Capabilityitem premise_flags.LatestSweepRunsreturns the newest sweep run of each detector (T1183). It is a package function, not a method onSweepRunStore, and it returns the records sorted by detector, withskippedanderrset. A database with no sweep table returns an empty list, and a failed read returnsErrInternal. The new indexidx_smeldr_sweep_runs_lateston(detector, ran_at, id)serves it, so the read follows the number of detectors, not the number of runs.
Smeldr v1.191.2: go1.26.11 and re-evaluation on SQLite
[1.191.2] - 2026-11-13
Fixed
- Date-based re-evaluation of Decisions now queues on SQLite (T1196). Ratifying a Decision with
next_eval_atset never queued its re-evaluation on SQLite. Theschedule-evaltrigger read the field into asql.NullTime, which fails on SQLite because the driver returns theTIMESTAMPTZcolumn as a string. The trigger now uses core's shared time scanner, which accepts either form, so the Decision is queued insmeldr_eval_queueand moves topending-re-evaluationonce its time has passed. The warning is now two messages, "eval_field unreadable" (with the error) and "eval_field empty"; PostgreSQL was not affected, and Decisions ratified on SQLite before this fix need a one-time backfill.
Security
- Core now builds with the Go toolchain go1.26.11, which fixes GO-2026-6859 in net/http (T1191). govulncheck reported GO-2026-6859 against core, and go1.26.11 fixes it in the standard library's
net/http. Thetoolchainline in go.mod and in the example modules now names go1.26.11 instead of go1.26.10. The release binaries of this version are built with go1.26.11. Thego 1.26.5line is unchanged, so consumers need no newer Go.
Smeldr v1.191.1: revoked tokens refused on HTTP
[1.191.1] - 2026-11-11
Security
- Behaviour change: on an App with a TokenStore, a bearer token signed with
smeldr.SignTokenbut never stored is now refused on HTTP routes too (T1176). MCP already refused such a token. To keep working, mint bearer tokens through the store:TokenStore.Create,TokenStore.CreateClassified,smeldr-cli token create, or thecreate_tokenMCP tool. - HTTP routes now check bearer tokens against the TokenStore, so a revoked token is refused at once (T1176). Before this fix, a revoked token could still read, and write on record routes, until its signed expiry. When the App has a
Config.TokenStore, every route that authenticates a bearer token asks the store, the same check MCP makes. That covers the App middleware (so every module's record routes),/packet,/reachability,/_content,/_audit,/_logs,/_stats, the first connect of/_events/stream, and the AuthFunc given toApp.CookiesManifestAuthandApp.RedirectManifestAuth. A revoked token, a token whose identity is suspended or retired, and a token the store does not hold are refused like a bad signature. If the store query fails, the token is refused. Not changed: an App without a TokenStore, session cookies (CookieSession), custom AuthFuncs,?preview=tokens, and upload tokens. A request with a revoked bearer token is refused even if it also carries a valid session cookie. Cost: one SHA-256 and one primary-key query per request that carries a bearer token signed with the App's secret. There is no cache, so a revocation takes effect on the next request.
Smeldr v1.191.0: application sitemap fragments
[1.191.0] - 2026-11-06
Added
- Application pages can now be listed in the sitemap with
App.SitemapFragment(T1168). Before, only content modules withSitemapConfighad sitemap fragments, so a home page or topic page served by the application's own handlers could not be listed.SitemapFragmentadds a fragment at a path you choose, and/sitemap.xmllists it next to the module fragments. Theentriesfunction runs on each request, so a new page is listed at the next crawl. ALocthat starts with/is joined toConfig.BaseURL.
Smeldr v1.190.1: one worker per webhook job
[1.190.1] - 2026-11-06
Fixed
- Outbound webhook deliveries are no longer duplicated by parallel workers (T1146). The default pool of 10 workers read the same due jobs without claiming them, so a receiver could get one delivery up to 10 times with the same
X-Smeldr-Delivery. The delivery log, the delivery stats and the circuit breaker counted every copy too, so a failing job showed one attempt after several hits and the breaker could open early. A worker now claims a due job with one conditional update before it delivers, on SQLite and Postgres, and a worker whose read of the job is out of date does not claim it. A claim holds the job for 2 minutes; a job whose worker stops is due again after that, with its attempt count unchanged. Delivery is still at least once, so receivers should deduplicate onX-Smeldr-Delivery. The new exported constantOutboundClaimSQLexists only for the Postgres integration test.docs/REFERENCE.mdnow showssmeldr-cli webhookcommands instead of the oldforge webhookones.