Commit e0e0d32
docs+annotate: Filesystem cluster — 26 inline AXIOM: + 8 §(d) DEBT entries (Phase 2c) (#62)
## Summary
Phase 2c of the standards#203 trusted-base rollout. Largest single
cluster: Coq + Lean Filesystem (**34 markers total** — 13 Coq + 21
Lean).
## Coq side (13 markers — classifications from #58 Phase 1 triage)
### 8 §(c) AXIOM inline annotations
| Line | Identifier | Note |
|-----:|------------|------|
| 96 | `fs_eq_dec` | Treat as §(c) until property-test budget lands;
promote to §(b) then. |
| 104 | `mkdir_rmdir_inverse` | POSIX semantics |
| 114 | `create_unlink_inverse` | POSIX semantics |
| 124 | `read_write_identity` | POSIX semantics |
| 130 | `chmod_identity` | POSIX semantics |
| 136 | `chown_identity` | POSIX semantics |
| 142 | `rename_identity` | POSIX semantics |
| 147 | `rename_inverse` | POSIX semantics |
### 5 §(d) DEBT entries (no inline; enumerated in proof-debt.md)
- `mkdir_not_identity` (L300), `write_different_not_identity` (L316),
`transaction_cno` (L397), `mkdir_idempotent` (L421),
`snapshot_restore_identity` (L453). All DISCHARGE candidates per #58.
## Lean side (21 markers — new Phase 2c triage)
### 18 §(c) AXIOM inline annotations
- **10 POSIX primitives** (opaque ops): `mkdir`, `rmdir`, `create`,
`unlink`, `readFile`, `writeFile`, `stat`, `chmod`, `chown`, `rename`.
- **6 POSIX semantics axioms** (mirror Coq §(c)): `mkdir_rmdir_inverse`,
`create_unlink_inverse`, `read_write_identity`, `chmod_identity`,
`rename_identity`, `rename_inverse`.
- **2 snapshot primitives** (opaque ops): `snapshot`, `restore`.
### 3 §(d) DEBT entries (mirror Coq DISCHARGE)
- `mkdir_not_identity` (L233), `snapshot_restore_identity` (L288),
`mkdir_idempotent` (L309).
## docs/proof-debt.md
- New "Phase 2c triage — Lean Filesystem cluster" section with full
per-marker tables (primitives / semantics / snapshot / discharge).
- §(d) DEBT bucket gains 8 new Filesystem entries (5 Coq + 3 Lean),
each with owner + INDEFINITE deadline.
- "Lean — pending triage" count updates from 49 → 28.
## Verification
```
$ bash ../standards/scripts/check-trusted-base.sh .
[INFO] Found 129 soundness-relevant escape hatch(es).
[ERROR] 88/129 escape hatch(es) are undocumented.
```
Down from 122 (after #61) and 123 (after #60). Δ = 34 = the cluster
size exactly. **0 Filesystem-specific errors remain.**
## Cumulative progress
| PR | Cluster | Markers | Cumulative documented |
|-----|---------------|--------:|----------------------:|
| #60 | Lambda | 5 | 5 |
| #61 | CNO common | 1 | 7 (+1 already-passing) |
| #62 | Filesystem | 34 | 41 |
Remaining clusters (untriaged Lean + already-triaged Coq):
Quantum (50), Physics (39). Out of scope for this PR.
Refs standards#203, #58, #60, #61.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 885d85b commit e0e0d32
3 files changed
Lines changed: 137 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
48 | 100 | | |
49 | 101 | | |
50 | 102 | | |
| |||
85 | 137 | | |
86 | 138 | | |
87 | 139 | | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
88 | 172 | | |
89 | 173 | | |
90 | 174 | | |
| |||
95 | 179 | | |
96 | 180 | | |
97 | 181 | | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
98 | 201 | | |
99 | 202 | | |
100 | | - | |
101 | | - | |
102 | | - | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
103 | 207 | | |
104 | 208 | | |
105 | 209 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
96 | 100 | | |
97 | 101 | | |
98 | 102 | | |
| |||
101 | 105 | | |
102 | 106 | | |
103 | 107 | | |
| 108 | + | |
| 109 | + | |
104 | 110 | | |
105 | 111 | | |
106 | 112 | | |
| |||
111 | 117 | | |
112 | 118 | | |
113 | 119 | | |
| 120 | + | |
114 | 121 | | |
115 | 122 | | |
116 | 123 | | |
| |||
121 | 128 | | |
122 | 129 | | |
123 | 130 | | |
| 131 | + | |
124 | 132 | | |
125 | 133 | | |
126 | 134 | | |
127 | 135 | | |
128 | 136 | | |
129 | 137 | | |
| 138 | + | |
130 | 139 | | |
131 | 140 | | |
132 | 141 | | |
133 | 142 | | |
134 | 143 | | |
135 | 144 | | |
| 145 | + | |
136 | 146 | | |
137 | 147 | | |
138 | 148 | | |
139 | 149 | | |
140 | 150 | | |
141 | 151 | | |
| 152 | + | |
142 | 153 | | |
143 | 154 | | |
144 | 155 | | |
145 | 156 | | |
146 | 157 | | |
| 158 | + | |
147 | 159 | | |
148 | 160 | | |
149 | 161 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| 55 | + | |
55 | 56 | | |
56 | 57 | | |
57 | 58 | | |
| 59 | + | |
58 | 60 | | |
59 | 61 | | |
60 | 62 | | |
| 63 | + | |
61 | 64 | | |
62 | 65 | | |
63 | 66 | | |
| 67 | + | |
64 | 68 | | |
65 | 69 | | |
66 | 70 | | |
| 71 | + | |
67 | 72 | | |
68 | 73 | | |
69 | 74 | | |
| 75 | + | |
70 | 76 | | |
71 | 77 | | |
72 | 78 | | |
| 79 | + | |
73 | 80 | | |
74 | 81 | | |
75 | 82 | | |
| 83 | + | |
76 | 84 | | |
77 | 85 | | |
78 | 86 | | |
| 87 | + | |
79 | 88 | | |
80 | 89 | | |
81 | 90 | | |
| 91 | + | |
82 | 92 | | |
83 | 93 | | |
84 | 94 | | |
85 | 95 | | |
86 | 96 | | |
| 97 | + | |
87 | 98 | | |
88 | 99 | | |
89 | 100 | | |
90 | 101 | | |
91 | 102 | | |
| 103 | + | |
92 | 104 | | |
93 | 105 | | |
94 | 106 | | |
95 | 107 | | |
| 108 | + | |
96 | 109 | | |
97 | 110 | | |
98 | 111 | | |
99 | 112 | | |
100 | 113 | | |
| 114 | + | |
101 | 115 | | |
102 | 116 | | |
103 | 117 | | |
104 | 118 | | |
105 | 119 | | |
| 120 | + | |
106 | 121 | | |
107 | 122 | | |
108 | 123 | | |
109 | 124 | | |
| 125 | + | |
110 | 126 | | |
111 | 127 | | |
112 | 128 | | |
| |||
261 | 277 | | |
262 | 278 | | |
263 | 279 | | |
| 280 | + | |
264 | 281 | | |
265 | 282 | | |
266 | 283 | | |
| 284 | + | |
267 | 285 | | |
268 | 286 | | |
269 | 287 | | |
| |||
0 commit comments