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
{{ message }}
Repository navigation
Commit c5d6607
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docs/specifications/App/TDD.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1893,7 +1893,7 @@ Every verb wraps the typed `PbleException` ([§14.1](#141-status-byte--typed-exc
1893
1893
1894
1894
**Visible regular-file multi-delete — FROZEN (`[docs]` 2026-08-27, [ADR-0043](../../decisions/0043-session-bound-visible-file-multi-delete.md)).**`FilesView` owns a temporary selection of eligible shown direct regular-file names plus captured `cwd` and opaque session stamp. A labelled Select action or eligible-row long press enters; rows become checked toggles, Select all includes eligible shown files only, and Cancel/Escape/Back exits. Folders and locked entries never enter the set. The contextual bar replaces normal Files actions and uses a live selected count, destructive Delete, and item progress. One scrollable dialog presents the exact `cwd` and ordered names with Cancel focused before Delete.
1895
1895
1896
-
`deleteMany` snapshots the controller's displayed order, rejects unknown/directory/unsafe/reserved/overlength names and a mismatched expected `cwd` or session before the first `Connection.delete`, then awaits each delete serially. A second batch receives a local `busy` failure and sends no verb. On the first typed error or session change it starts no later delete and returns exact succeeded/current/unattempted accounting. It performs no rollback or automatic retry. If at least one delete was issued, it calls `listDir(capturedCwd)` exactly once only while the captured session is current; a primary delete error wins over a reconciliation error. Complete success clears selection; failed/partial removes succeeded names, keeps unresolved names selected, focuses and announces one localized result, and leaves the refreshed listing visible. Folders retain the existing single empty-directory delete; there is no recursion or new PBLE opcode.
1896
+
`deleteMany` snapshots the controller's displayed order, rejects duplicate/unknown/directory/unsafe/reserved/overlength names and a mismatched expected `cwd` or session before the first `Connection.delete`, then awaits each delete serially. A second valid batch receives a local `busy` failure, reports all of its ordered paths unattempted, and sends no verb. On the first typed error or session change it starts no later delete and returns exact succeeded/current/unattempted accounting. It performs no rollback or automatic retry. If at least one delete was issued, it calls `listDir(capturedCwd)` exactly once only while the captured session is current; a primary delete error wins over a reconciliation error. Complete success clears selection; failed/partial removes succeeded names, keeps still-rendered unresolved names selected, focuses and announces one localized result, and leaves the refreshed listing visible. Reconciliation cannot create a selected ghost for an absent failed path, and a later selection edit dismisses rather than mutates prior result accounting. Navigation that hides Files clears local selection even if an already-issued, non-cancellable board delete must finish; switching Editor/Console centre focus while the landscape Files sidebar remains visible does not hide it. Folders retain the existing single empty-directory delete; there is no recursion or new PBLE opcode.
Copy file name to clipboardExpand all lines: docs/specifications/App/specs.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -153,7 +153,7 @@ The client implements the PBLE/1 wire contract; it references [protocol.md](../p
153
153
154
154
**Working-loop increment — FROZEN (A-30 subset · `[docs]` 2026-07-02, [ADR-0010](../../decisions/0010-working-loop-in-memory-document.md), [TDD §11.6](TDD.md#116-working-loop-provider-contract-frozen)).** In scope: `listDir` rooted at `fs_root` with into/up navigation, open-in-editor (`getFile` → editor buffer), upload-current-buffer (`putFile`), mkdir, delete, rename, `newFile`, continuous transfer progress + whole-file CRC success, typed-error → localized message, disabled-with-guidance while disconnected (FR-FILES-1/2/3/4/8, binding via the `Connection` seam only, CON-8). **Deferred:** export-to-device-storage **Download** (needs local persistence + a new dep — open-in-editor is the read-into-app path this increment). `.py`/data-only holds (FR-FILES-7, CON-3).
155
155
156
-
**Visible-file multi-delete — FROZEN (`[docs]` 2026-08-27, [ADR-0043](../../decisions/0043-session-bound-visible-file-multi-delete.md), [TDD §11.6](TDD.md#116-working-loop-provider-contract-frozen)).** A labelled Select action and eligible-file long press enter a contextual mode scoped to the exact shown direct regular files in one `cwd`; folders, descendants, firmware-reserved/control-plane paths, transfer scratch paths, and omitted/truncated entries are never selected. Select all means all eligible **shown files**. Tap/Space toggles instead of opening; normal navigation and mutation affordances are unavailable until Cancel/Escape/Back. One confirmation displays the exact folder and ordered filenames. The app then validates the captured `cwd`, paths, and opaque connection-session stamp, awaits ordinary `Connection.delete` calls sequentially, stops before the next path on the first failure/session change, never rolls back or retries, and refreshes the captured folder once only if the same session remains current. Complete, failed, and partial results truthfully identify succeeded, failed/current, and unattempted paths; unresolved files remain selected. Folders retain the existing one-at-a-time empty-directory delete and no recursive delete exists.
156
+
**Visible-file multi-delete — FROZEN (`[docs]` 2026-08-27, [ADR-0043](../../decisions/0043-session-bound-visible-file-multi-delete.md), [TDD §11.6](TDD.md#116-working-loop-provider-contract-frozen)).** A labelled Select action and eligible-file long press enter a contextual mode scoped to the exact shown direct regular files in one `cwd`; folders, descendants, firmware-reserved/control-plane paths, transfer scratch paths, and omitted/truncated entries are never selected. Select all means all eligible **shown files**. Tap/Space toggles instead of opening; normal navigation and mutation affordances are unavailable until Cancel/Escape/Back. One confirmation displays the exact folder and ordered filenames. The app then validates the captured `cwd`, paths, and opaque connection-session stamp, awaits ordinary `Connection.delete` calls sequentially, stops before the next path on the first failure/session change, never rolls back or retries, and refreshes the captured folder once only if the same session remains current. Complete, failed, and partial results truthfully identify succeeded, failed/current, and unattempted paths; still-rendered unresolved files remain selected, while reconciliation never creates a selected ghost for an absent path. Navigation that hides Files clears selection without cancelling an already-issued board mutation. Folders retain the existing one-at-a-time empty-directory delete and no recursive delete exists.
0 commit comments