mirror of
https://github.com/bitbaum/fleet.git
synced 2026-12-04 04:27:27 +01:00
docs/chatkit
4
Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
144855dea6 |
chore(aoz): rename the repo to aoz-begleitung, and record why (#94)
* chore(aoz): rename the repo to aoz-begleitung, and record why `bitbaum/aoz-housing` is now `bitbaum/aoz-begleitung`. It was the last public place the product was still called Housing: registers/retired.json retired "AOZ Housing" as the PRODUCT name on 2026-09-10, but the repo kept it, and the repo is PUBLIC — so the retired name sat on the org page, in every clone URL, and in ~55 references across this repo alone. The deploy name `aoz-wohnen` is deliberately NOT renamed with it, and that is the decision, not an omission. It is an infrastructure identifier — systemd unit, /opt path, database — and nothing on the box keys on the repo name; renaming it would touch a live site for no visible gain. Two names now instead of three. The registers are DERIVED and were regenerated, not hand-edited: origin.json (aoz's `stamped` and `swh` drop to null, correctly and temporarily — Software Heritage archived the old origin URL and the OpenTimestamps manifest names the old repo; the nightly origin-proof re-stamps) and packages.json. proofs/origin/*.json are untouched on purpose. They are hash-chained and append-only, so a past proof naming bitbaum/aoz-housing is correct history; rewriting one would both falsify the record and break the chain. retired.json gains the `repo` row, which is what makes the old name traceable — and what makes org-drift-audit.sh start flagging documents that still use it. Three were flagged: this repo's AGENTS.md (fixed here), the renamed repo's README (fixed in aoz-begleitung#243) and its CLAUDE.md, which is BASELINED with a reason rather than fixed: `JWT_ISSUER` is still the literal string `aoz-housing` and must stay so — src/proxy.ts and src/lib/auth/config.ts pass it as the JWT issuer, and changing it invalidates every live session. A live auth value, not a name. Verified across the rename: bitbaum/aoz-housing redirects to the new repo, https://aoz.orangecat.ch still 200, aoz-wohnen-app still active, and the new clone URL resolves to 431bae7 — the same tip as before. Tests green: deploy-freshness 24, deploy-reconciler 34, repo-metadata 17, model-pin, version-currency, product-identity 45, verify-predicates 29. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NLZ6vs1jsWw2kKbpWTZHf2 * chore(aoz): defer the retired-name row until the docs it polices have landed org-drift-audit.sh reads the org's DEFAULT BRANCHES, not the working tree. So adding the `aoz-housing -> aoz-begleitung` row to retired.json in the same PR that fixes AGENTS.md is a deadlock by construction: the audit judges main, where AGENTS.md is still unfixed, so `--check` fails — and the fix cannot merge while it fails. The row is a POST-condition, not a co-requisite. Fix the documents first, let them reach the default branches, then declare the name retired and let the audit hold the line from there. The row returns in its own PR once this and loki#732 are on main. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NLZ6vs1jsWw2kKbpWTZHf2 * chore(aoz): the baseline exception belongs with the row that creates it Same sequencing lesson, mirrored. Without the retired-name row nothing flags aoz-begleitung/CLAUDE.md, so a baseline entry for it matches no violation — and org-drift rejects that correctly: "baseline entries with no matching violation — the ratchet fell". A baseline full of entries that match nothing is a ratchet that cannot fall, which the file's own header already says. So the row and its one exception land together, in the PR after this one. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NLZ6vs1jsWw2kKbpWTZHf2 --------- Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com> |
||
|
|
755c021f1c |
fix(version-currency): read workspace manifests, not just the root (#59)
The audit read only each repo's root package.json. A monorepo consumer was
therefore invisible — and worse than invisible, it sat in the "current (0 gaps)"
line, which claims more than "not looked at" and was not true.
Measured before this change: kivvi installed @bitbaum/ai-kit in packages/ai at
^0.15.0 and datacat in backend at ^0.13.0, against a published 1.4.1. Neither
appeared in any gap report. Both repos read as current.
Reading workspace manifests raises the measured total from 13 to 40. The 27 new
findings were all already true; nothing regressed today. The largest were never
once reported by this audit:
kivvi apps/web next 14.2.35 < 16, react/react-dom ^18 < 19,
tailwindcss ^3.4.1 < 4, eslint ^8.57 < 10
evig packages/* typescript ^5.3.2 < 6, jest ^29 < 30, @types/node ^20 < 26
datacat backend @bitbaum/ai-kit ^0.13.0 < 1, openai ^5.10.2 < 7
Every probe is evidence-based: a directory is LISTED before a manifest inside
it is fetched, so "no package.json here" is something the listing said rather
than a 404 being read as an answer. Two shapes are handled because the fleet
has two — pnpm workspaces with packages/ and apps/ (kivvi, evig, orangecat,
petvity, fleetcrown), and plain sibling directories with no workspace marker at
all (datacat's frontend/ and backend/). A workspace-only rule would have kept
missing datacat, which is half the reason this exists.
Only repos that actually have those directories pay for the extra listings;
a flat repo issues exactly the same requests as before.
Gaps from a non-root manifest are labelled with their directory, because
"kivvi" and "kivvi packages/ai" are facts about different files and a report
that prints them identically sends someone to edit the wrong one. Root gaps are
unlabelled, so existing output is unchanged.
UNCHECKED still means the ROOT manifest could not be read — that is what "this
repo was measured" has always meant, and a workspace member that fails to load
is not grounds for discarding the repo's real findings. But it is not silent
either: such manifests are listed under PARTIAL, so a repo can never reach
"current (0 gaps)" on the strength of files nobody read.
Baseline raised 13 -> 40 in the same commit, as the process requires.
Claude-Session: https://claude.ai/code/session_01NLZ6vs1jsWw2kKbpWTZHf2
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
|
||
|
|
955e2484d1 |
chore(ci): retire the ai-kit git-tag pin — it lives on npm now (#18)
ai-kit is published as @bitbaum/ai-kit@0.6.2 and all 7 consumers
(orangecat, fleetcrown, aoz-housing, botsmann, evig, hirnli, truthseeker)
have "^0.6.2" from the registry on their mains (verified 2026-09-04). The
internal_tags entry that policed the github-tag pins has nothing left to
police, so it graduates exactly the way blessed-versions.json always said
it would: delete the entry. As a 0.x package it joins drizzle-orm and
@anthropic-ai/sdk in the "no meaningful major, not listed" convention —
no new mechanism.
- blessed-versions.json: internal_tags now {}, comment records the
graduation path and the 0.x convention
- test-version-currency.mjs: two new checks pin the now-live config shape
(absent internal_tags counts only major gaps; empty internal_tags does
not judge a leftover git pin) — the || {} in gapsFor is proven, not
assumed
- STACK.md: AI row now names @bitbaum/ai-kit from npm; package-manager
row and "still open" note say the npm bootstrap is DONE but the pnpm
sweep is still in progress (5 repos converting) — NOT marked done
Measured before and after: TOTAL GAPS 1 with both main's config and this
one — identical, the ratchet does not move. That 1 is sbb-lost-found's
eslint ^8.57.1 < blessed 10, a pre-existing regression on main (baseline
is 0) that the weekly ratchet will flag; it belongs to sbb-lost-found,
not this PR.
Claude-Session: https://claude.ai/code/session_01WqKqMnHQHSmkGFfc5t7Rxn
Co-authored-by: Mao Nakamoto <41178744+maonakamoto@users.noreply.github.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
|
||
|
|
503f476efa |
feat(ci): staleness is measured, and the measurement is a ratchet (#10)
The 2026-08-31 fleet audit found the box on an EOL Node, aoz-housing a full framework generation behind on every axis, and ai-kit pinned at three tags across seven consumers — one at the pre-org-move OWNER. None of it hidden, all of it unmeasured. Same lesson shared-inventory encodes for duplication: writing 'stay current' in a doc is what already failed. blessed-versions.json is the SSOT (blessed major per key package + the tag every internal git pin must carry); version-currency.mjs measures every default branch against it, reports UNCHECKED for anything it could not read rather than counting it clean, and --check ratchets the total: fall or hold, never rise. Baseline seeded at the audit's real number: 80. Self-test pins both sides with the audit's own fixtures (the aoz manifest, the dead-owner pin) and runs in ci.yml beside the other detector tests. Claude-Session: https://claude.ai/code/session_01WqKqMnHQHSmkGFfc5t7Rxn Co-authored-by: Mao Nakamoto <41178744+maonakamoto@users.noreply.github.com> Co-authored-by: Claude Fable 5 <noreply@anthropic.com> |