Repository navigation
E2432 selected-file P05: carry selected-source tickets over existing IPC #2906
Description
Current selected-file delivery — P05
Situation: Settings and session selection currently use effective/global ID-based views. The user approved physical agents-file selectors in both menus and BASE-hash profile sharing confined to the selected file. Each menu remembers its own source. This child covers only the approved phase below.
Explicit reconciliation with the existing issue
The newly approved physical-file selectors need source context across existing native/browser selection and launch endpoints. Only additive approved DTO/ticket plumbing; no dormant layer/transition IPC package. Historical specifications and their phase mappings remain intact below and in their frozen plan directory; they are not the execution contract for this new selected-file cut. No new issue is created or closed issue reopened. This is an explicit current-scope mapping, not evidence that the old broad package was implemented.
Certified phase identity
- Parent: IDs de agentes derivados de su ejecución — alcance mínimo #2432 (native link retained)
- Selected-file phase: P05; class: design-bearing; owner: ac-dev-rust-v5
- Depends on: P04 / E2432 selected-file P04: resolve selected-file launch restart and restore #2899; sequential landing only
- Branch at phase start: feature/2906-source-ticket-wire
- Canonical epic: D:/0_repos/AgentsCommander_iac/.ac/plans/2432-selected-file-profiles/plan-v7-selected-file-profiles.md
- Plan-SHA256: 2E09A6E856CA77EF70A1C47D9976DB93CF9206C9B0540434199E33FC8821A3BA
- Sole phase specification: D:/0_repos/AgentsCommander_iac/.ac/plans/2432-selected-file-profiles/phase-v3-p05-source-selection-wire.md
- Phase-SHA256: F574CAFCA81660F53CCEAC4877BA27F0D57735F51C92CE3829D58A7A9A16F5C7
- Exact five-party consensus: room-shared/profile-hash-link-intake/formal-round6-consensus-v1.json (author + four independent approvals)
Allowed files
- src-tauri/src/commands/config.rs — preview/apply DTOs, source fingerprint/validation/normalized ticket reply
- src-tauri/src/commands/session.rs — optional source ticket public create/root/restart routes
- src-tauri/src/web/commands.rs — browser create/selection source-qualified dispatch
- src-tauri/src/lib.rs — only necessary command signature wiring/inline fixtures
Acceptance and focused validation
Rust owner authors new/updated inline e2432_ native/browser create route controls; Shipper executes them. Controls assert identical selected source spawn/seed despite same-ID decoy. Old JSON requests deserialize;
stale source/context/hash/ref fails before publication/teardown; preview/apply fingerprints include source; lock/force/no-ref semantics unchanged; partial
target failure reports honest counts; post-apply reply ticket matches new observation; root-create/restart reaches source bootstrap. cargo test --locked --lib e2432_. Additive wire is shippable before selectors consume it.
Delivery authority and limits
User standing authorizations apply to exact consensus within this scope. Mapping/freeze/cold gate must complete before writes. The actual phase owner authors source/fixtures; Shipper executes the approved checks. Preserve current main and unrelated changes. A phase PR closes only this child after its acceptance checks; no broad historical requirement or parent Epic closure is implied. No final executable/GUI/input/install/release/version change requested.
Preserved historical issue record — not the current execution specification
Resolución vigente — reverificación de scope mínimo
Epic: #2432 (vínculo nativo conservado).
DIFERIDO — NO NECESARIO COMO PAQUETE
Nuevo contrato IPC de capas no justificado; los campos actuales transportan IDs.
Fuera de la prioridad de lanzamiento actual. Mantener vinculado a la Epic para revisión posterior; no ejecutar por dependencias o aprobaciones históricas.
Objetivo vigente: «los ids de agentes cambien a unos ids que se desprendan de el string univoco que requieren ejecutar». Una ventana/editor. El usuario ordenó atacar únicamente lo estrictamente necesario y revisar el resto después. La auditoría de 22 hijos preserva diferencias entre necesidad conceptual y paquete histórico; no es consenso de implementación. Faltan definir el string/equivalencias y la compatibilidad de IDs anteriores antes de certificar el mínimo exacto. Hash determinista no prueba idempotencia. Las especificaciones y dependencias históricas no habilitan ampliar ni bloquear automáticamente el núcleo reducido. Esta resolución no elimina ni revierte comportamiento entregado; los estados abiertos/cerrados se conservan.
Evidencia: auditoría de cinco perspectivas por issue, base main d823839; artefactos locales room-shared/e2432-necessity-audit/issue-2906/.
Especificación anterior — antecedente histórico
El alcance ampliado siguiente no es la orden vigente de ejecución.
Part of epic #2432 (under #2429). This phase implements the certified ipc layer contract contract for independent coding-agent identities/layers and recoverable persistence. Existing references, defaults, locks and history must be preserved.
Specification
Canonical phase: D:/0_repos/AgentsCommander_iac/.ac/plans/2432-identity-layers/phase-v17-P05-ipc-layer-contract.md
Phase-SHA256: f9bbba5e725d1e84c8b3d79708f978cb8eb0f82fc13d1de4ea5d0e5b47ed895e
Plan-SHA256: 8393829484bb61d01034a79b6a5f1fb095bdf66927ee0854911b64681b884622
Version: v17; owner: Rust; class: design-bearing
Depends on: #2905
Files
-
src-tauri/src/commands/config.rs
-
src-tauri/src/web/commands.rs
-
src-tauri/src/lib.rs
-
src-tauri/module-arcs.txt
Symbols
Symbols: list_coding_agent_sources/read_coding_agent_source/save_coding_agent_source; resolve_coding_agent_source_profile; preview/apply/set_source_selection_default; get_coding_agent_transition/get_coding_agent_source_request/resume_coding_agent_transition; common _inner; lib invoke registry; WS match arms.
Acceptance
Implement exactly the frozen phase behavior, edge cases and failure contracts. Stay within this phase whitelist; preserve the inactive/activation and recovery ordering. All count-positive phase fixtures and required integrated-tree guards must pass before publication. Future tests are not claimed as run.
Verification commands
cargo +1.98.1 test --locked --manifest-path src-tauri/Cargo.toml --lib source -- --list
cargo +1.98.1 test --locked --manifest-path src-tauri/Cargo.toml --lib source
cargo +1.98.1 check --locked --manifest-path src-tauri/Cargo.toml --all-targets
cargo +stable fmt --manifest-path src-tauri/Cargo.toml --all -- --checkAuthorization
Technical consensus is complete. Human gate 7.5 is pending. No implementation or branch creation is authorized by issue creation. Current API lifecycle/FUP #2885 and #2436 remain outside this phase.
Activity
[-]I2432 P05: ipc layer contract[/-][+]E2432 selected-file P05: carry selected-source tickets over existing IPC[/+]