carlos / platform Public

Clone
git clone https://amadan.net/carlos/platform

Plain git — no account needed to clone.

Download

Download this file

1package provision
2
3// Record-write census entries for db region forward plan 3 (carlos db
4// pull), layered on plans3aWriteCensusInventory (main's last at 0d9e81dc).
5// census-ruling-db-region-forward-3, accepted in full by the census owner on
6// #280, 2026-10-23 (docs/superpowers/notes/census-proposal-db-region-forward-3.md).
7// admitDBRead now admits a pull beside a query and audits it with its own
8// detail; its writes are the same conditional creates under db-reads/ in
9// the deployment bucket (the request, the queue entry), never an instance
10// or sidecar record: still nonrecord. No write site is added.
11func dbRegionForward3WriteCensusInventory() []censusEntry {
12 entries := append([]censusEntry(nil), plans3aWriteCensusInventory()...)
13 replacements := []censusEntry{
14 {"internal/console/apidbforward.go", "Server.admitDBRead", "nonrecord", "sel:Put", "3f657a9ad3b11512944ad557573bd59adf257e3fd3fe9cad9fc10a974658328b"},
15 }
16 for _, r := range replacements {
17 found := false
18 for i, e := range entries {
19 if e.File == r.File && e.Unit == r.Unit {
20 entries[i], found = r, true
21 }
22 }
23 if !found {
24 entries = append(entries, r)
25 }
26 }
27 return entries
28}
29