Skip to content

I2432 P02: independent source persistence #2893

Closed

Description

@mblua

Resolución vigente — reverificación de scope mínimo

Epic: #2432 (vínculo nativo conservado).

DIFERIDO — NO DEMOSTRADO

Separar configuración en fuentes independientes no es requisito demostrado.

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-2893/.


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 independent source persistence 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-P02-independent-source-persistence.md
Phase-SHA256: 1b6d792f2380e02aef3a3c9775378c104f73fd7735c5a9a9ab6dd57133e765de
Plan-SHA256: 8393829484bb61d01034a79b6a5f1fb095bdf66927ee0854911b64681b884622
Version: v17; owner: Rust; class: design-bearing
Depends on: #2892

Files

  • src-tauri/src/config/settings.rs

  • src-tauri/src/config/coding_agents_catalog.rs

  • src-tauri/src/config/local_overlay.rs

  • src-tauri/module-arcs.txt

Symbols

Symbols: list_active_sources/read_source_snapshot; prepare_source_candidate; prepare_settings_without_source_write; raw registered groups y LegacyCompatibilityOrigin; parse schema2 sin compose.

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 -- --check

Authorization

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

  1. mblua commented on Oct 7, 2026

    @mblua
    OwnerAuthor

    I2893 — technical re-score for origin-contract delta

    Baseline reconstructed for the P02 work specified by v17, not a claimed historical score. Re-score covers remaining origin-contract implementation and its consumer integration, excluding untouched future functionality. Evidence: architect-origin-contract.md, rust-origin-feasibility.md, origin-candidate-v18-20261007.md. No product implementation completed.

    Category P02 baseline Remaining delta Anchor and reason
    Scope footprint 8 8 Few files moving together; P02 four paths and existing consumers, no new path.
    Diagnosis difficulty 5 4 Cause now located by concrete overlay/default/raw source evidence.
    Domain knowledge 12 12 Parser/overlay rules with local linkage and preservation semantics.
    Solution-space ambiguity 8 10 Operational attribution required choosing among plausible policies; candidate awaits review.
    Blast radius and reversibility 12 12 Shared persisted source/reference preparation; incorrect attribution can affect later writes.
    Dependency and integration load 12 12 Existing coordinator/resolver/adapter/loader contracts must agree.
    Verification difficulty 12 13 New inline fixtures must distinguish unknown, disjoint edits, defaults and labels, with positive cases.
    State, data and compatibility 16 16 Raw unknown/absence/null preservation, legacy refs and source-aware compatibility.
    Concurrency and timing 8 10 Complete multi-input revision binding revalidated under existing ownership gates.
    Environment and tooling 4 4 Existing Rust/Windows tooling and inline harness; environment is not the defect.

    Baseline raw97 → round((97-10)/19099)+1 =46. Remaining delta raw101 → round((101-10)/19099)+1 =48.

    Full remains mandatory independently of score: architectural/persistence contract; architect+Rust+UI+Grinch exact-version consensus and human gate. State/data veto and verification-proof review also apply. Excluded ceremony: issues, branch, messaging/delegation, plan copying, review rounds, CI waiting, PR/merge/cleanup, changelog/version. Document count is not technical footprint.

    v18 is READY_FOR_COLD_VALIDATION only. This score neither certifies its design nor authorizes code. P01 delivered history remains unchanged.

  2. added a commit that references this issue on Oct 7, 2026
  3. mblua commented on Oct 7, 2026

    @mblua
    OwnerAuthor

    Delivered via PR #2947, merged at 2026-10-07T23:21:26Z into c1afa90. Independent raw readers and pure preparation added; source activation remains deferred to P11. General-only preparation preserves protected raw inputs and overlay-owned disk values.

    Rust implementation, B1/B2 corrections, main integration and the CI fixture-writer correction were reviewed by Grinch. Local origin16/source212 and applicable gates passed; all triggered applicable CI checks passed on exact6f63b031. Full-tier conditional jobs were skipped as configured (run3229 full=false), not claimed executed. Earlier CI failures preserved and corrected. Unrelated main sidebar delta triage recorded in PR.

    Issue closed. Principal repository clean on main == origin/main c1afa90; feature branch removed locally/remotely, remote refs only main/HEAD. No packaged build requested. Evidence in room-shared/i2893-execution. Next phase I2894 begins only after mandatory handoff-clear.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions