Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

fix: register shared claim evidence in the server catalog (#13226)

Adam Eivyfbd3b3fd6a59
diff --git a/server/lib/README.md b/server/lib/README.md
index 14eb09e8b0..5210cf3c8d 100644
--- a/server/lib/README.md
+++ b/server/lib/README.md
@@ -680,6 +680,7 @@ The barrel `server/lib/index.js` is a machine-checkable enumeration of every pub
| `postRotation.js` | Pure deterministic day-based rotation for POST practice selection — `shuffleForDay` supplies a stable pseudorandom daily mix; `orderByRecencyRotation` sorts candidates fresh-before-recently-practiced, then by priority, and rotates equivalent ones by local day so a tier never pins to one drill. Mirrored at `client/src/lib/postRotation.js`. |
| `postStreak.js` | Pure DST-safe POST practice-streak math — the single `computePostStreaks` implementation shared by scored sessions and the training log, plus `computeUnifiedStreak` (a day is active with EITHER a session or a practice entry), `normalizeYmd` (day-key prefix for a date that may be a full ISO timestamp), and `recordDayKey` / `withDerivedDayKeys` (re-derive a record's day key from its `startedAt`/`completedAt`/`timestamp` instant, so readers ignore a `date` frozen in a previously-configured timezone). |
| `activeDays.js` | Cross-domain "days active" set math (#4120) — `unionActiveDayKeys(sources, timezone)` unions several domains' stored date values into one sorted array of user-local `YYYY-MM-DD` keys (`.length` is the honest day count; summing per-domain counts would double-count any day logged in two domains), and `toUserDayKey(value, timezone)` is its per-value normalizer. Owns the day-boundary reconciliation between POST (stamps `userLocalToday()`) and the health logs (stamp the server-local `getDateString()`): a value carrying an INSTANT (the pre-#2681 full-ISO shape some legacy training entries still store) is re-keyed into the user's timezone rather than `split('T')[0]`'d to the UTC day, while a value that is already a bare day LABEL is taken as authored — there is no instant left to re-derive from, so retro-normalizing stored health keys is out of scope by construction, not by omission. Non-day values are dropped rather than coerced. Pure. |
+| `issueClaimEvidence.js` | Shared forge claim evidence: documented claim refs, PR/MR closing trailers, paginated GitHub commit messages, and complete-page validation. |
| `planIds.js` | Utilities for PLAN.md `[slug]` IDs. |
| `markdownText.js` | `stripMarkdownEmphasis(text)` — unwrap `**bold**` / `~~struck~~` / `` `code` `` / `[text](url)` and drop HTML comments, keeping the words. For strings handed to something that can't read markdown (a model's text encoder, a slug builder, TTS); leftover lone `*_~` become spaces so an unbalanced marker can't fuse two words. Does not collapse whitespace — callers that need that normalize themselves. |
| `renderSlot.js` | Render-slot helpers for `(proof\|final)Image` per stage. |
diff --git a/server/lib/index.js b/server/lib/index.js
index 5162b20205..e084241322 100644
--- a/server/lib/index.js
+++ b/server/lib/index.js
@@ -961,3 +961,4 @@ export * from './manuscriptLocate.js';
export * from './runwayCatalogSnapshot.js';
export * from './runwaySpecialVideoModels.js';
+export * from './issueClaimEvidence.js';