docs: CH-Gateway Handoff, Stand 27.08.2026 - #29
Merged
Conversation
Six merges took the slice from «Infomaniak access» to a policy layer that actually runs on every path: registry with origin, classifier, rule engine, audit writer, the Swiss endpoint, and the guard the delegation path was bypassing entirely. The document records what the code cannot: which three questions are Holger's to answer (Zitadel's AGPL licence, the open provider choice at protection level 'low', and that Art. 13.1 of the Infomaniak DPA promises the EEA rather than Switzerland), and which four things look finished but are not — the residency layer being largely congruent with the trust layer, bySource never reaching the audit log, deduplicateEntities collapsing I3 upstream of the classifier, and the full form of invariant I1 remaining untestable until the credential resolver exists. It also records the environment traps that cost this session real time: `git checkout --` discarding uncommitted work after a sabotage, `cp` aliased to `-i` refusing restores silently, `%G?` reporting «no signature» when only verification is unconfigured, and a worktree whose node_modules looks empty while the suite runs fine. Those are the notes nobody writes down and everyone pays for twice. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Was
docs/superpowers/plans/2026-08-27-ch-gateway-handoff.md— der Stand nach sechs Merges, neben dem Handoff vom 26.08.Warum
Der Code sagt, was gebaut wurde. Er sagt nicht, welche Fragen offen sind, welche Teile fertig aussehen und es nicht sind, und welche Umgebungsfallen die Arbeit gekostet haben.
Inhalt
Ist-Stand, gemessen:
mainaufd85dd0f, 1426 Tests grün / 29 übersprungen, typecheck und beide Builds Exit 0 — in einem frischen Worktree auforigin/maingefahren, nicht aus dem Verlauf übernommen.Drei Entscheidungen für Holger, keine davon ein Defekt: Zitadels AGPLv3 fürs Selbst-Hosten (gehört vor einen Juristen, nicht vor einen Agenten), die offene Anbieterwahl bei Schutzbedarf
'low', und dass Art. 13.1 des Infomaniak-AVV den EWR zusichert statt die Schweiz — die CH-Residenz stützt sich auf den Leistungsbeschrieb, nicht auf den Vertrag.Vier Dinge, die fertig aussehen und Grenzen haben: die Residenzschicht ist heute weitgehend deckungsgleich mit der Vertrauensschicht und blockt nur einen Fall;
bySourceerreicht das Audit-Log nicht;deduplicateEntitieskollabiert I3 schon vor dem Klassifikator; und die Vollform von I1 bleibt unprüfbar, bis es den Credential-Resolver gibt.Vier Umgebungsfallen, die je mindestens einen Umlauf gekostet haben:
git checkout --verwirft nicht committete Arbeit,cpmit-i-Alias lehnt Rückstellungen still ab,%G?meldet «keine Signatur», wenn nur die Verifikation fehlt, undnode_modulesim Worktree ist fast leer, während die Suite trotzdem läuft — was ein Agent fälschlich als fehlende Abhängigkeiten gelesen hat.Tests
Reine Dokumentation, kein Code berührt. Das Commit-Gate lief mit (typecheck und Suite grün).
🤖 Generated with Claude Code