You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: AGENTS.md
+4-81Lines changed: 4 additions & 81 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,7 +29,7 @@ Use this file to keep AI-assisted changes small, scoped, and consistent with the
29
29
30
30
### Current Focus: Unified JES Operator Surface Hardening and Documentation Consistency
31
31
32
-
The JES Operator Interface unification work is merged into **`main`** and the Raspberry Pi Zero 2 W validation issue track (`#89` through `#94`) is completed. The current focus is stability maintenance of the unified operator experience, preserving WebUI/TUI terminology parity, and keeping implementation and documentation synchronized without reintroducing branch-specific assumptions. Design concept: *政府機関・軍 × DEFCONハッカー* — institutional structure with terminal-hacker aesthetic.
32
+
The JES Operator Interface unification work is merged into **`main`** and the Raspberry Pi Zero 2 W validation issue track (`#89` through `#94`) is completed. The current focus is stability maintenance of the unified operator experience, preserving WebUI/TUI terminology parity, and keeping implementation and documentation synchronized without reintroducing branch-specific assumptions.
33
33
34
34
### Active Branch
35
35
@@ -130,6 +130,7 @@ Preserve these invariants unless a change explicitly updates the threat model, s
130
130
## Canonical Source Map
131
131
132
132
Load only the relevant files for the requested change. Do not load the whole repository by default.
133
+
Issue-level implementation history is maintained in `docs/ROADMAP_HISTORY.md`.
133
134
134
135
### Cryptography, Container Format, and Key Path
135
136
@@ -145,14 +146,6 @@ Use this context for changes involving `vault.bin`, the Phasmid vault core, Argo
145
146
-`docs/THREAT_MODEL.md`
146
147
-`tests/test_vault_core.py` and related tests
147
148
148
-
Relevant issues:
149
-
150
-
-`#4` cryptographic erase and local access-path invalidation
151
-
-`#5` Argon2id + HKDF-SHA-256 migration
152
-
-`#10` cryptographic module boundary and startup self-tests
153
-
-`#19` local multi-source key derivation pipeline ✅
154
-
-`#26` vault cryptographic core split ✅
155
-
156
149
### TUI Operator Console
157
150
158
151
Use this context for changes involving the Textual-based operator interface, TUI screens, widgets, theme, banner, service layer, or WebUI lifecycle management from the TUI:
@@ -167,7 +160,7 @@ Use this context for changes involving the Textual-based operator interface, TUI
Use this context for changes involving FastAPI routes, Web mutation token, restricted confirmation, hidden routes, Field Mode, face lock sessions, store/retrieve routes, maintenance routes, emergency routes, response headers, or neutral download filenames:
@@ -195,21 +183,6 @@ Use this context for changes involving FastAPI routes, Web mutation token, restr
195
183
-`docs/THREAT_MODEL.md`
196
184
-`tests/test_web_server.py` and related tests
197
185
198
-
Relevant issues:
199
-
200
-
-`#3` observable differences in restricted recovery flows
201
-
-`#7` authentication attempt limiting and backoff
202
-
-`#15` WebUI security headers and CSRF review
203
-
-`#21` deployment profiles and capability table
204
-
-`#22` restricted action policy enforcement ✅
205
-
-`#24` local coercion and restricted-flow scenario matrix ✅
206
-
-`#25` user-visible UI and CLI strings ✅
207
-
-`#39` JES Neon-Ops design system overhaul (Phase 1–2) ✅
-`#43` Brand polish and animation update (Phase 6–7) ✅
212
-
213
186
### CLI Behavior
214
187
215
188
Use this context for changes involving `main.py`, command syntax, CLI output, confirmations, retrieve/store/init/brick/reset-face-lock behavior, or CLI terminology:
@@ -221,15 +194,6 @@ Use this context for changes involving `main.py`, command syntax, CLI output, co
221
194
-`docs/THREAT_MODEL.md`
222
195
-`tests/test_cli.py` and related tests
223
196
224
-
Relevant issues:
225
-
226
-
-`#4` cryptographic erase and local access-path invalidation
227
-
-`#6` access passphrase policy and strength checks
228
-
-`#7` authentication attempt limiting and backoff
229
-
-`#11` process hardening and secure memory best-effort support
230
-
-`#25` user-visible UI and CLI strings ✅
231
-
-`#29` local operations commands and docs alignment ✅
232
-
233
197
### Object Cue, Camera Matching, and Face Lock
234
198
235
199
Use this context for changes involving ORB matching, camera capture, object cue registration, match ambiguity, stable multi-frame matching, face template enrollment, or UI lock behavior:
@@ -240,12 +204,6 @@ Use this context for changes involving ORB matching, camera capture, object cue
240
204
-`docs/THREAT_MODEL.md`
241
205
- related tests in `tests/`
242
206
243
-
Relevant issues:
244
-
245
-
-`#20` multi-object cue and visual sequence matching
246
-
-`#27` split camera, object cue, and face UI lock responsibilities
247
-
-`#28` local dual-passphrase approval flow, if face-lock replacement is affected
248
-
249
207
### Metadata Handling
250
208
251
209
Use this context for changes involving metadata risk detection, metadata reduction, uploads, in-memory processing, file type support, original filename handling, or neutral metadata-reduced downloads:
@@ -256,12 +214,6 @@ Use this context for changes involving metadata risk detection, metadata reducti
256
214
-`docs/THREAT_MODEL.md`
257
215
- related tests in `tests/`
258
216
259
-
Relevant issues:
260
-
261
-
-`#24` scenario matrix ✅
262
-
-`#25` user-visible UI and CLI strings ✅
263
-
-`#30` metadata reduction for exported payloads
264
-
265
217
### Audit Logging
266
218
267
219
Use this context for changes involving event logs, audit record shape, hash chains, HMACs, log export, audit filenames, event names, or audit metadata:
@@ -273,13 +225,6 @@ Use this context for changes involving event logs, audit record shape, hash chai
273
225
-`docs/SPECIFICATION.md`
274
226
- related tests in `tests/`
275
227
276
-
Relevant issues:
277
-
278
-
-`#2` hash-chained audit log integrity checks
279
-
-`#16` release integrity manifest and SBOM workflow
280
-
-`#29` local operations commands and docs alignment ✅
281
-
-`#31` audit integrity and hash-chaining
282
-
283
228
### Local State and Deployment Posture
284
229
285
230
Use this context for changes involving `.state/`, state file names, state permissions, typed state, attempt limiting, tmpfs, LUKS, deployment profile, appliance setup, service hardening, runtime secrets, or Raspberry Pi deployment:
@@ -295,17 +240,6 @@ Use this context for changes involving `.state/`, state file names, state permis
295
240
-`docs/SOLUTION_READINESS_PLAN.md`
296
241
- related tests in `tests/`
297
242
298
-
Relevant issues:
299
-
300
-
-`#11` process hardening and secure memory best-effort support
301
-
-`#12` volatile local key-material store using tmpfs
302
-
-`#13` local device-binding inputs
303
-
-`#17` optional LUKS layer
304
-
-`#18` restricted recovery observability on target hardware ✅
305
-
-`#21` deployment profiles and capability table
306
-
-`#23` typed local state store and transition checks ✅
307
-
-`#29` local operations commands and docs alignment ✅
308
-
309
243
### Testing, CI, Coverage, and Release Review
310
244
311
245
Use this context for changes involving tests, CI, static analysis, coverage, release validation, SBOMs, manifests, or review records:
@@ -319,11 +253,6 @@ Use this context for changes involving tests, CI, static analysis, coverage, rel
319
253
-`docs/SOLUTION_READINESS_PLAN.md`
320
254
-`README.md`
321
255
322
-
Relevant issues:
323
-
324
-
-`#16` release integrity manifest and SBOM workflow
325
-
-`#24` scenario matrix ✅
326
-
327
256
---
328
257
329
258
## Documentation Authority
@@ -539,12 +468,6 @@ Before finalizing an AI-generated change, verify:
539
468
540
469
## Operational Discipline
541
470
542
-
### AI Context Management
543
-
544
-
- Load only the **minimal set of files** required for the current domain.
545
-
- Do not initiate broad repository-wide rewrites.
546
-
- Check `ruff` and `mypy` before submitting any Python changes.
547
-
548
471
### Self-Hardening Execution Rules
549
472
550
473
When implementing tasks generated from `PHASMID_SELF_HARDENING_ISSUES.md`, follow these additional constraints:
@@ -559,7 +482,7 @@ When implementing tasks generated from `PHASMID_SELF_HARDENING_ISSUES.md`, follo
559
482
### Change & Test Strategy
560
483
561
484
-**Surgical Edits**: Prefer targeted edits over full-file rewrites for large files.
562
-
-**Verification**: Always run`python3 -m unittest discover -s tests` after changes.
485
+
-**Verification**: Run `ruff`, `mypy`, and`python3 -m unittest discover -s tests` after changes.
0 commit comments