ADR 0002, 0003 en 0004: code.overheid.nl als publicatieplatform en identity hub, met verbetersuggesties en commitadressen zonder werkadres #102
No reviewers
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
code/docs!102
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "adr-federated-forges"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Voorstel voor drie ADR's over code.overheid.nl en de forges van andere organisaties.
Lezen met diagrammen:
Proef: draait op ZAD, met verzonnen mensen en organisaties. De presentatie met de demo start op https://code-overheid.fieldlabc.zadlab.nl/#presentatie; zonder
#presentatiekom je op de hub zelf. De code staat op https://code.digitaledienst.overheid.nl/developer-overheid-nl/con-poc. Onder Confirmation in ADR 0002 staat wat de proef weglaat of anders doet dan de ADR.ADR 0002
nl-sectie vanpubliccode.yml, met een standaard per organisatie. De standaard kent geen landensecties meer. De beheerders vanpubliccode.ymlnemen de sleutels op onder denl-extensie.ADR 0003
ADR 0004
Status: voorgesteld. Er is nog niets gebouwd of geprobeerd; onder Confirmation staat wat de proef eerst moet laten zien. ADR 0002 en 0003 gelden zoals ze er staan, zonder de wijzigingen uit ADR 0004. De ADR is ingekort van ruim 9.000 naar ongeveer 2.900 woorden.
static-cipher-drifter@code.utrecht.nl. Die forge leidt het af uit het subject van de identity provider, met een eigen sleutel. De hub en andere forges krijgen alleen dat adres.ADR 0003 verandert ADR 0002 op elf plekken. Die wijzigingen zitten in deze pull request. ADR 0004 zou ADR 0002 veranderen in de regels 2, 3, 4, 5, 7, 8 en 9 en in de naam van optie B6, en ADR 0003 in regel 14. Dat is nog niet doorgevoerd: ADR 0004 somt de wijzigingen op, voor als het wordt aangenomen. Open punten staan onderaan elke ADR.
ADR 0002: federatie van forges met code.overheid.nlto ADR 0002: gefedereerde forges, met code.overheid.nl als hub en hostADR 0002: gefedereerde forges, met code.overheid.nl als hub en hostto ADR 0002: gefedereerde forges, met code.overheid.nl als publicatieplatform, hub en hostADR 0002: gefedereerde forges, met code.overheid.nl als publicatieplatform, hub en hostto ADR 0002: code.overheid.nl als publicatieplatform, identity hub en forge hostADR 0002: code.overheid.nl als publicatieplatform, identity hub en forge hostto ADR 0002 en 0003: code.overheid.nl als publicatieplatform en identity hub, met verbetersuggestiesADR 0002 en 0003: code.overheid.nl als publicatieplatform en identity hub, met verbetersuggestiesto ADR 0002, 0003 en 0004: code.overheid.nl als publicatieplatform en identity hub, met verbetersuggesties en pseudonieme commitadressenADR 0002, 0003 en 0004: code.overheid.nl als publicatieplatform en identity hub, met verbetersuggesties en pseudonieme commitadressento ADR 0002, 0003 en 0004: code.overheid.nl als publicatieplatform en identity hub, met verbetersuggesties en commitadressen zonder werkadresI'm going to need to do multiple passes as this is quite a extensive changeset. I feel there is a lot in here that we might do better not deciding in such a strong fashion right now, specifically a lot of implementation details.
Also I would like to stress that we really need to test some of this with some of our most important users. These changes will help some of them, but not help others. I'm especially interested in the users that want to get contributions from the general public. Also I think the architectural complication will complicate things for users, so getting a designer or UXer involved would be very valuable.
This is my first comment as I think this is really breaking for me.
@ -0,0 +10,4 @@We tried this twice in November 2026. First came a demo with three forges (Kiesraad, RVO and Logius, with made-up people and projects). It compared a mirror on code.overheid.nl, changes without an account, and signing in with another forge's account. Signing in across forges worked with Forgejo as it is. Forwarding changes through the central platform was the most fragile part (see A2). A proof of concept then built this decision on Forgejo 15.0.11. It runs as a [demo with a walkthrough](https://code-overheid.fieldlabc.zadlab.nl/#presentatie). It leaves out parts of the decision, which Confirmation lists. Every Forgejo limitation named below is unchanged in Forgejo 17.0.2.This decision changes the mission of code.overheid.nl. [Mission and vision](../mission-and-vision.md) names a collaboration platform and a build platform as goals two and three. Under this decision, projects are developed on the forges of organizations, and code.overheid.nl publishes, checks and brokers identity. It builds mirrored code to produce evidence. A mirror runs the workflows its origin already has ([0003](0003-quality-suggestions.md), rule 10). What code.overheid.nl builds from mirrored code, it publishes signed in its own package registry (same ADR, rule 11). No project has its build defined on code.overheid.nl.This does not change the mission and vision of code.overheid.nl. Those stay the same. However the architecture we use to facilitate that changes.
Ik heb geprobeerd hier chocolade van te maken, maar het is veel tekst en het is lastig te volgen. Daarnaast vraag ik mij af of dit voor standaarden wel handig is. In de wereld van standaardisatie is het juist nodig dat mensen met naam en toenaam worden genoemd, zodat achteraf kan worden gecheckt waarom een organisatie voor/tegen was. Dit is een van de voorwaarden van Forum Standaardisatie voor open standaarden. Bij het bepalen van draagvlak voor een wijziging is het noodzakelijk dat een organisatie kan aantonen dat ze ergens het niet mee eens waren, zodat daar geen discussies over ontstaan.
Als ik het goed begrijp zou na deze ADR het niet meer mogelijk zijn om te weten wie wat heeft gedaan. Hoe zie jij het alternatief om te voldoen aan de eisen van Forum Standaardisatie?
Overigens is deze ADR geschreven voor commit messages, maar geldt hetzelfde niet ook voor issues?
@ -0,0 +14,4 @@* No work address enters new history.* code.overheid.nl gets no work address and no real name, and holds no key and no table that leads from a commit address to a person.* The fork at home and the pull request at the origin (0002, rule 2) keep working, and existing commits keep their hashes.Wat is
homeenoriginhier? Is dat niet hetzelfde?@ -0,0 +26,4 @@* Scope of a commit address: E1 all of government, E2 per person from the home forge, E3 per forge worked on, E4 per repository.* Mail: F1 the work address, F2 no-reply, F3 a commit address with a relay, F4 an alias in the organization's mail.* Issuer: G1 the identity provider, G2 the forge, G3 code.overheid.nl, G4 the person.* Enforcement: H1 instruction only, H2 the pusher's address, H3 the pusher's or a colleague's, H4 any registered commit domain, H5 refuse known real addresses, H6 rewrite on receipt.De term "commit domain" wordt hier geregistreerd, maar wat is dat? Ik zie dat veel voorkomen in dit document, maar nergens staat wat daarmee bedoelt wordt.
@ -0,0 +61,4 @@**17. A person has one commit address, issued by their home forge.** A forge gives an address to every account it holds itself, local accounts of suppliers included. The address does not change. No other forge derives one. At a forge Sanne visits through the hub, her account takes the address she has at Utrecht. Someone with local accounts on two forges has two addresses and two histories, and someone who moves from Utrecht to Rotterdam starts again.**18. The address is three English words under the commit domain of the forge.** For example `static-cipher-drifter@code.utrecht.nl`. The words come from three cyberpunk word lists that Code Punt publishes, one per position, 512 words each. The forge derives them from the subject the identity provider gives a person, with a secret key of its own (HMAC). The same person always gets the same address, and nobody without the key can compute it. When two people land on the same three words, the forge raises a counter, derives again and stores the counter. The name in a commit stays free; the guide recommends the three words.Wat wordt er bedoeld met "The name in a commit stays free; the guide recommends the three words."?
@ -0,0 +65,4 @@**19. The home forge holds the key and the table, and the hub gets neither a real address nor a real name.** A pseudonym service in the forge image holds both. It makes the commit address the primary address of the account in Forgejo, so Forgejo's own commits, the `email` claim it gives the hub and its signature check all use it. It also sets the display name of the account to the three words and the account name to the part of the address before the @. Those are the names Forgejo gives the hub at sign-in and writes in the commits it makes itself, such as a merge. The real name stays in the table. The hub accepts from a forge only addresses in that forge's commit domain, which the register names, and passes the address on to the forge someone visits. To find the home forge at sign-in, a person picks their organization or types its domain, never their address. Forgejo's own mail to its accounts goes out through the service, which puts the real address back. An organization without a home forge has nobody to derive addresses, so its people can only read.**20. Mail to a commit address is delivered by the home forge while it knows the person.** Code Punt runs one relay for all forges, on a host outside ZAD, which takes no incoming mail. The relay hands each message to the pseudonym service of the home forge, and that service delivers it to the work address. The relay asks for no destination and gets none. Its log holds the commit address, the time and the outcome, for 30 days. Once the account is gone, the service refuses and the relay tells the sender the contact address of the organization. An organization may run its own relay.Wat is een ZAD? Komt maar 1 keer voor in dit document
@ -0,0 +73,4 @@A forge administrator can exempt a repository that takes in history with real addresses, such as a fork of an outside project.**22. Existing history stays as it is.** Nothing is rewritten, so hashes, forks and signatures stay valid. code.overheid.nl reports per mirror how many addresses outside the commit domains its history holds, and how many of those came in after enforcement started, which should be zero. It reports counts, never addresses. The mirrors keep the real addresses that are in history, also in the archive of a forge that left. For a person who wants theirs gone, the takedown route of 0002, rule 1 is what remains."the takedown route of 0002, rule 1 is what remains" Het woordje takedown is het laatste woordje in die regel van 0002, maar volgens mij is er niet beschreven wat dat dan betekent. "is what remains" is volgens mij grammaticaal incorrect.
@ -0,0 +155,4 @@### Changes to ADR 0002 and 0003 when acceptedThis ADR is proposed, so 0002 and 0003 stand as written. These are the changes to make in them once it is accepted.Het voelt een beetje gek om 1 PR te hebben waarbij het derde bestandje wezenlijke veranderingen maakt aan de eerste twee bestandjes. Kan je dan niet gelijk 0002 en 0003 updaten met deze opties, zodat het totaalpakket duidelijker is? Zeker omdat het veel tekst is en hier erg veel veranderingen worden voorgesteld, is het overzicht een stuk moeilijker te krijgen.
@ -0,0 +182,4 @@* Rule 14, by the bot and by the origin: the commits carry the commit address of the account that pushes.* Changes to ADR 0002, rule 7: the count of things a forge does follows the new numbering.### ConsequencesEr staan veel meer Bad dan Good hier. Is het dan wel een goed beslissing?
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.