Repository navigation
Build(deps): Bump inquirer from 8.2.6 to 12.6.3 - #62
Closed
dependabot[bot] wants to merge 1 commit into
Closed
dependabot[bot] wants to merge 1 commit into
dependabot[bot] wants to merge 1 commit into
Conversation
Bumps [inquirer](https://github.com/SBoudrias/Inquirer.js) from 8.2.6 to 12.6.3. - [Release notes](https://github.com/SBoudrias/Inquirer.js/releases) - [Commits](https://github.com/SBoudrias/Inquirer.js/compare/[email protected]@12.6.3) --- updated-dependencies: - dependency-name: inquirer dependency-version: 12.6.3 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
Contributor
Author
|
The |
Contributor
Author
|
Superseded by #88. |
joelteply
added a commit
that referenced
this pull request
May 31, 2026
Auto-generated by `cargo test --release export_bindings` after the preceding commit added the Rust types with `#[derive(TS)]`. Brings the TS wire-shape surface into sync with the Rust dispatch shipped in the parent PR (#1501). # What this adds - `DirEntry.ts` — `{ name, path, kind: FsEntryKind, sizeBytes? }` - `ExistsResult.ts` — `{ success, exists, filePath, kind?, sizeBytes? }` - `FsEntryKind.ts` — `"file" | "directory" | "symlink" | "other"` - `GlobResult.ts` — `{ success, pattern, matches, totalMatches, truncated }` - `ListResult.ts` — `{ success, directoryPath, entries: DirEntry[], totalCount }` - Updates `src/shared/generated/code/index.ts` barrel to export the five new types # Why split into its own commit The Rust-side commit is the substantive change; the binding files are deterministic outputs of the ts-rs derive macros. Keeping them in a separate commit makes the diff easier to audit (Rust logic + tests in one commit, generated wire shapes in another) and matches the pattern from PR #1488 (the cell-shapes binding fixup). Task #62 (CI guard for ts-rs binding drift) remains the right long-term answer; until then, this kind of follow-up commit closes the gap. Co-Authored-By: Claude Opus 4.7 <[email protected]>
joelteply
added a commit
that referenced
this pull request
May 31, 2026
… TS build Adversarial PR review caught: a literal `**/*` glyph in the Rust docstring round-trips through ts-rs verbatim into a JSDoc block in `shared/generated/code/GlobResult.ts`, where the `*/` substring at column 57 prematurely closes the comment. `npm run build:ts` fails with TS1131 + TS1160; that blocks the validate CI job + npm start for the whole canary tree. Fix: replace the glyph spellings with the words "double-star slash star" in two places (one in the field doc, one in the const doc). Regenerated `GlobResult.ts` no longer contains the hazard. Per [[every-error-is-an-opportunity-to-battle-harden]]: the docstring also flags task #62 ("ts-rs binding drift CI guard") as the proper substrate-level fix — a regex check against `*/` in generated `.ts` doc blocks would have caught this class of bug mechanically. Co-Authored-By: Claude Opus 4.7 <[email protected]>
joelteply
added a commit
that referenced
this pull request
May 31, 2026
…introspection cluster (#1501) * feat(modules/code): code/exists + code/list + code/glob — filesystem introspection cluster Closes the Priority 1 gap from [PERSONA-AS-DEVELOPER-GAP.md](docs/planning/PERSONA-AS-DEVELOPER-GAP.md): the filesystem-introspection seam that blocks a persona from safely running `generate/module` (no way to check for collisions), enumerating files before edits, or listing directories without paying the full `code/tree` recursive cost. # What this PR adds Three new dispatch arms on the existing `code` ServiceModule (the right home — sits alongside `code/read`, `code/write`, `code/edit`, `code/tree`, `code/search`): | Command | Signature | Purpose | |---|---|---| | `code/exists` | `{persona_id, file_path}` → `ExistsResult{exists, kind, size_bytes?}` | Probe before scaffolding — collision check + kind in one call | | `code/list` | `{persona_id, path?, include_hidden?}` → `ListResult{entries: DirEntry[]}` | Flat readdir, directories first, alphabetical within each group | | `code/glob` | `{persona_id, pattern, root?}` → `GlobResult{matches, truncated}` | Glob expansion (`**/*.rs` etc.), workspace-scoped, capped at 5000 matches | Plus three FileEngine methods backing them (`exists`, `list_dir`, `glob_match`) and a `validate_introspect_path` private helper that handles non-existent paths cleanly (PathSecurity::validate_read rejects them; introspection needs to answer "does this exist?" without conflating absence with traversal). # Doctrine followed Per [COMMAND-INFRASTRUCTURE-FIELD-MANUAL.md](docs/architecture/COMMAND-INFRASTRUCTURE-FIELD-MANUAL.md): - **Module Design Template §3** — typed `Params/Result` shapes with `#[derive(TS)]`, camelCase serde, optional fields with `#[ts(optional)]` - **Concurrency doctrine §4** — multi-thread tokio stress test (`flavor = "multi_thread", worker_threads = 4`) pinning that concurrent introspection on a shared workspace returns consistent results - **Three primitives** — all three are pure **Commands** (request/ response queries against FileEngine, no state, no events) - **Rethink-not-port** — these are designed Rust-first; there's no TS predecessor to port from. Wire shapes follow the existing `code/*` family's conventions for consistency. # Sharp design decisions (the kinks the tests caught pre-merge) 1. **Non-existent paths report `exists=false`, not Err.** The substrate's `PathSecurity::validate_read` rejects missing paths because it canonicalizes — correct for read/write/edit, wrong for introspection. Added `validate_introspect_path` helper that does string-level safety (rejects `..` segments + absolute paths) without requiring existence. 2. **Glob filters explicitly via Override.matched().is_whitelist().** First implementation walked all files and emitted everything — gave 11 matches when 10 were expected. Fix: explicit per-entry whitelist check; files only (skip directories + scan root); standard_filters + hidden=true excludes dotfiles by default (matches Unix shell intuition). 3. **list_dir sorts directories first, then files, alphabetical within each group.** Predictable order matters for persona reproducibility — a generator that picks "first available name" must get the same answer every run. 4. **Glob result capped at GLOB_MAX_MATCHES (5000)** with `truncated: true` flag. A runaway `**/*` shouldn't OOM the caller; partial results are still useful and the cap is observable. 5. **Hidden file behavior diverges between list_dir and glob.** `code/list` includes hidden when `include_hidden=true` (explicit opt-in). `code/glob` always excludes hidden (matches Unix shell default — `**/*.rs` shouldn't surface `.git/*.rs`). Documented on each type. # Tests (30/30 pass — 22 pre-existing + 8 new) New tests in `src/workers/continuum-core/src/code/file_engine.rs::tests`: **exists (4)** - `exists_reports_file_with_size` — happy path with size - `exists_reports_directory_without_size` — directory has no size - `exists_reports_false_for_missing_with_no_error` — absence != error - `exists_rejects_path_outside_workspace_via_path_security` — traversal blocked **list_dir (5)** - `list_dir_returns_flat_listing_directories_first` — ordering invariant - `list_dir_excludes_hidden_by_default_includes_when_asked` — both modes - `list_dir_reports_file_size_only_for_files` — per-kind size policy - `list_dir_rejects_non_directory_path_loud` — clear error on misuse - `list_dir_for_missing_path_returns_not_found` — missing != success - `list_dir_handles_empty_directory_cleanly` — zero entries OK **glob (5)** - `glob_matches_files_by_extension_recursively` — `**/*.ts` works - `glob_scoped_to_subdirectory_via_root_param` — root narrows scope - `glob_with_no_matches_returns_empty_not_error` — 0 matches OK - `glob_rejects_bad_pattern_loud` — malformed pattern fails clearly - `glob_rejects_root_outside_workspace_via_path_security` — traversal blocked **concurrency (1)** - `introspection_under_concurrent_load_returns_consistent_results` — 32 parallel exists+list+glob ops on a shared workspace, all return stable counts (10 files, 10 matches) regardless of concurrent siblings. Per field manual §4.2 — multi-thread tokio, not single-threaded. All 22 pre-existing FileEngine tests still pass (no regression). # ts-rs bindings 5 new types are annotated with `#[derive(TS)]` + `export_to`: - `ExistsResult.ts`, `ListResult.ts`, `GlobResult.ts` - `DirEntry.ts`, `FsEntryKind.ts` These auto-generate next time `cargo test --release export_bindings` runs (per the existing `generate-rust-bindings.ts` flow). The pending CI guard for ts-rs drift (task #62) is the right place to catch any future drift here. # What this PR explicitly does NOT do - **Does NOT add TS wrapper commands** in `src/commands/code/exists/` etc. The Rust ServiceModule + IPC bridge is the canonical surface per [[rust-is-the-core-node-is-the-shell]]. TS wrappers can be added in a follow-up if/when browser ergonomics need them. - **Does NOT add `code/delete` or `code/move`.** Those are PERSONA-AS-DEVELOPER-GAP.md priority 5 (Small). FileEngine.delete already exists internally; the dispatch wiring is the only gap. Separate PR. - **Does NOT add the `continuum-core/build` + `test` cluster** (gap report priority 2). That's the next sprint — needs cargo `--message-format=json` parsing into typed envelopes. - **Does NOT add `events/command-completed`** (gap report priority 3). Largest scope item; needs its own design discussion. # References - [docs/planning/PERSONA-AS-DEVELOPER-GAP.md](docs/planning/PERSONA-AS-DEVELOPER-GAP.md) — Priority 1 cluster this PR ships - [docs/architecture/COMMAND-INFRASTRUCTURE-FIELD-MANUAL.md](docs/architecture/COMMAND-INFRASTRUCTURE-FIELD-MANUAL.md) §3 (Module Design Template) + §4 (Concurrency doctrine) - [docs/architecture/MODULE-CATALOG.md §0](docs/architecture/MODULE-CATALOG.md) — `code` module's row gains three commands when this PR + the gap report land - Memory: [[three-primitives-commands-events-persona]], [[alignment-via-substrate-economics]] — these commands are routable + discoverable, composing naturally with future intra-grid sharing Co-Authored-By: Claude Opus 4.7 <[email protected]> * chore(bindings): land ts-rs output for the code/exists+list+glob types Auto-generated by `cargo test --release export_bindings` after the preceding commit added the Rust types with `#[derive(TS)]`. Brings the TS wire-shape surface into sync with the Rust dispatch shipped in the parent PR (#1501). # What this adds - `DirEntry.ts` — `{ name, path, kind: FsEntryKind, sizeBytes? }` - `ExistsResult.ts` — `{ success, exists, filePath, kind?, sizeBytes? }` - `FsEntryKind.ts` — `"file" | "directory" | "symlink" | "other"` - `GlobResult.ts` — `{ success, pattern, matches, totalMatches, truncated }` - `ListResult.ts` — `{ success, directoryPath, entries: DirEntry[], totalCount }` - Updates `src/shared/generated/code/index.ts` barrel to export the five new types # Why split into its own commit The Rust-side commit is the substantive change; the binding files are deterministic outputs of the ts-rs derive macros. Keeping them in a separate commit makes the diff easier to audit (Rust logic + tests in one commit, generated wire shapes in another) and matches the pattern from PR #1488 (the cell-shapes binding fixup). Task #62 (CI guard for ts-rs binding drift) remains the right long-term answer; until then, this kind of follow-up commit closes the gap. Co-Authored-By: Claude Opus 4.7 <[email protected]> * fix(modules/code): escape `*/` glyph in GlobResult docstring breaking TS build Adversarial PR review caught: a literal `**/*` glyph in the Rust docstring round-trips through ts-rs verbatim into a JSDoc block in `shared/generated/code/GlobResult.ts`, where the `*/` substring at column 57 prematurely closes the comment. `npm run build:ts` fails with TS1131 + TS1160; that blocks the validate CI job + npm start for the whole canary tree. Fix: replace the glyph spellings with the words "double-star slash star" in two places (one in the field doc, one in the const doc). Regenerated `GlobResult.ts` no longer contains the hazard. Per [[every-error-is-an-opportunity-to-battle-harden]]: the docstring also flags task #62 ("ts-rs binding drift CI guard") as the proper substrate-level fix — a regex check against `*/` in generated `.ts` doc blocks would have caught this class of bug mechanically. Co-Authored-By: Claude Opus 4.7 <[email protected]> --------- Co-authored-by: Claude Opus 4.7 <[email protected]>
3 tasks
joelteply
added a commit
that referenced
this pull request
Jun 15, 2026
The substrate has Rust types with `#[derive(TS)]` + `#[ts(export_to =
"../../../protocol/typescript/...")]` attributes. `cargo test`
regenerates those .ts files as a side effect of running per-type
`export_bindings_*` tests.
When an author adds a new field or variant to a Rust type but forgets
to commit the regenerated .ts file, the wire shape drifts silently:
- Mac/Linux dev: cargo test regenerates locally, looks fine, ships
PR without the .ts in the diff.
- Reviewer: sees only the Rust change, approves.
- Downstream TS consumer at runtime: hits the new variant / missing
field; no compile-time guard fires (the .ts file is stale).
Today's session had a near-miss on continuum #1624 (Mac Intel
classify_silicon fix): TargetSilicon gained the MacIntelMetal variant
but the regenerated `protocol/typescript/governor/TargetSilicon.ts`
was not in the initial push. Had to amend.
Adds `.github/workflows/ts-rs-binding-drift-guard.yml`:
- triggers on PRs touching Cargo, rust-toolchain, core/**, or
protocol/typescript/** (a TS edit needs the gate too — it must
match the Rust source);
- picks up Rust 1.95 from rust-toolchain.toml (#1614);
- runs ONLY the `export_bindings_*` tests (cheap — same skip
patterns as #1616's CI gate so GPU/env-var tests don't sink it);
- then `git diff --exit-code protocol/typescript/`. Non-empty diff
means the test run regenerated bindings that the PR did NOT
commit. Fail with a verbatim fix-recipe in the error log.
Composes with:
- #1614 toolchain pin (Rust version)
- #1616 unit-test CI gate (same skip patterns)
- #1624 (the near-miss this workflow would have caught at CI)
Co-authored-by: Claude Opus 4.7 <[email protected]>
This was referenced Jun 27, 2026
joelteply
added a commit
that referenced
this pull request
Jul 19, 2026
…#200) (#1966) * refactor(persona): extract PersonaBirth — the single birth core (#200 prep) Factor the body of PersonaInstanceManagerModule::bootstrap_one into a standalone `PersonaBirth` struct (registry + daemon_socket + default_room + default_room_name + continuum_root + late-bound executor) with `birth_one(intent)`. PIM now delegates bootstrap_one to it and exposes `birth() -> Arc<PersonaBirth>`. Why: so the on-demand `persona/spawn` command reuses the EXACT birth path as boot auto-seed (spawner supervisor → bootstrap_planned → bootstrap_one → birth_one) — one birth core, never a parallel spawn implementation ([[persona-birth-is-a-first-class- handle-command]], compression). The instances/mod.rs comment already anticipated this: "bootstrap needs the module's full bootstrap capability … migrates under #62 once those deps are threaded." Pure refactor, no behavior change: the moved deps (daemon_socket/default_room/ default_room_name) leave PIM's struct (they live in PersonaBirth now, same Arc handles), dropping them as dead fields; PIM keeps registry/continuum_root/executor for registry()/commands()/install_executor. Lib compiles clean, zero new warnings. Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * feat(persona): persona/spawn — first-class handle-based birth command (#200) Birth a persona (an airc citizen) on demand, callable by any first-class citizen — a human, another persona, a widget, or the grid capacity-scaler. Joel: "the spawn or birth of users is a command … handle based, event spawning, if anything is slow, parameters easy to use." ([[persona-birth-is-a-first-class-handle-command]]) - commands/persona/spawn.rs: typed `persona/spawn` (Privileged). Params ALL optional — zero-arg births ONE persona with a random name + everything derived from her id (the #199 PersonaCard genesis). `name?` overrides the single name; `count?` spawns N (grid capacity), clamped to [1, MAX_SPAWN=32]. `plan_intents` (pure, unit-tested) encodes the count/name policy. - Non-blocking / event-driven: mints the identities (fast), returns the names as a PersonaSpawnReceipt IMMEDIATELY, and runs the slow births (airc keypair ceremony + seed/card/avatar) in a detached task. Each completed birth fires `persona:born` (payload PersonaInstanceInfo) — emitted from PersonaBirth::birth_one, so a birth by boot auto-seed OR by this command is uniformly observable. - PIM captures the event bus (late-bound) in initialize() and shares it with the birth core; commands() hands the shared Arc<PersonaBirth> to the command so on-demand births go through the EXACT same path as boot (no parallel spawn impl). The legacy `persona/instances/bootstrap` handle_command arm stays (delegates to the same birth core) — retiring it is a #62 follow-up. Large-name-pool expansion (the current pool is 119; collides at grid scale) is a noted #200 follow-up. Tests: spawn (7 — name/path+access, zero-arg=1, explicit-name-single, count clamp, batch-random-unique-ids), reassign + instance-mgr regression-green. ts-rs bindings for PersonaSpawnParams/Receipt regenerated. Lib compiles clean. Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo --------- Co-authored-by: Claude Opus 4.8 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps inquirer from 8.2.6 to 12.6.3.
Release notes
Sourced from inquirer's releases.
... (truncated)
Commits
dc0770cPublish75123b5Fix(@inquirer/core): Fix paginated pointer jump if user moved up then down5985e79Fix(@inquirer/core): Major refactor of the pagination logic to work better wi...e456e40Refactor: Cleanups following #1759553d9faChore(repo): gitignore mcp servers85d4642Publish9be3243Fix(@inquirer/core): Make sure useState set functions are always bound to the...22bf77fChore(deps-dev): Bump@types/nodefrom 22.15.17 to 22.15.19 (#1756)79e0032Chore(deps-dev): Bump the linting group with 3 updates (#1755)8812e6aAdd community prompt inquirer-select-with-state (#1753)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)