drive workspace ignore from ignore_files:, add files.walk

Replace the hardcoded .gitignore + .clideignore read with the ordered
ignore_files: chain from .pql/config.yaml (D-4) — the single ignore
knob clide owns (D-3). readIgnoreFiles defaults to .gitignore (plus
.clideignore when present) when the config is absent or malformed, and
honours an explicit [] as "no file-based exclusions".

Add walkFiles + the files.walk command: a recursive, ignore-pruned,
capped flat file listing reused by quick-open (T-51) and the search
engine (T-52). Closes the never-filed ignore-layering placeholder in
files_commands.dart.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-05-31 20:08:34 +02:00
co-authored by Claude Opus 4.8
parent 7e76455775
commit d7be5535d5
7 changed files with 267 additions and 7 deletions
+5
View File
@@ -18,6 +18,11 @@ heading, and (b) bumping `pubspec.yaml` `version:` in the same commit.
### Added
- Workspace ignore now follows the `ignore_files:` list in `.pql/config.yaml`
(ordered, later-wins, per D-4) instead of a hardcoded `.gitignore` +
`.clideignore` pair — the single ignore knob clide owns. (T-52)
- `files.walk` command — a recursive, ignore-pruned, capped flat file listing
of the workspace, backing quick-open and search. (T-51, T-52)
- Sidebar readers (markdown + decision) gain a chrome action bar: back/forward
history, a single-slot pin (one click sets/replaces; one click to return),
and an edit pencil that opens the current doc in the editor. (T-189, T-190, T-191)