Repository navigation
feat(project): expose Project file difference count (refs #3060) - #3066
Conversation
Adds get_project_file_difference (Tauri + WebSocket BrowserProject route): a bounded, read-only Git count of distinct Project-root paths differing from cached origin/main, untracked non-ignored included; null when unknown.
|
CI run 39042932314, attempts 1 and 2, reproduced the same Clippy
The prior operational plan limited source edits and the owner stopped before making changes. Its narrow continuation contract is being updated through the same reviewers; product scope and the retained frontend phase remain unchanged. The branch is still on the original published head while this gate is resolved. |
…0-project-file-difference-read
|
Both attempts of CI run 39047197115 on The user explicitly approved the reviewed minimal correction: only the |
…0-project-file-difference-read
Stale-base triage: documentation-only deltaFeature/CI head remains Freshly fetched main is Under the documentation-only stale-base rule, this delta requires no feature-branch update or fresh CI run. Keep the selected feature head unchanged while its existing CI completes. If every required/dispatched check passes for that exact head, reuse that result and proceed through the normal PR landing path; do not rerun CI merely for this changelog delta. Re-triage any additional main delta at landing. This record does not claim CI success or authorize merging pending/red checks. P01-v9 and its exact five-party approval remain unchanged; the root-project count and current filter contract are preserved. No new plan, source edit, test run, build, GUI action or merge was performed for this notice. |
|
CI run 39060514087, attempt1 on
Those workflow/screenshot/UI sources are byte-identical to integrated main85ed7f5b; the feature-only diff remains the four reviewed P01 paths. This comparison is not a baseline execution or a blanket conclusion about causality. Full logs and source evidence are preserved. One bounded rerun of only the failed jobs was requested on the same SHA/conditions, without source or environment changes. The principal checkout, remote and PR remain aligned. Await its native completion notice; do not merge pending/red checks. No separate workflow/UI repair has been delegated or authorized by this rerun. The current filter and P02 remain unchanged. |
|
Full CI passed on exact PR/local/remote head9c00028cb46813a9fd3b7ce9cccdd4201be0b9ee: https://github.com/mblua/AgentsCommander/actions/runs/39074273675,16/16 jobs SUCCESS. Raw logs verify screenshot Linux33/macOS32,0failed/ignored, and frontend SUCCESS. The earlier same-head automatic run was superseded by the configured concurrency group when ci:full started this successful full run; no failed check is waived. Fresh landing fetch found main29fad1be70cc730407ebdd41c9690d1ccb8a5cf7, advanced from integratedfe59d4dc. Delta includes release0.45.1 version/lock/build inputs and overlapping workflow counts33/32 already fixed upstream. This requires the full integration path, not docs-only green-result reuse. Architect is reconciling the exact current P01-v11 contract (six own diff paths) with upstream absorption of that workflow repair, before affected execution. No merge, branch update, new CI or new product scope yet; retain current green head and filter. |
…0-project-file-difference-read # Conflicts: # .github/workflows/pr-regression-gates.yml
…0-project-file-difference-read
…0-project-file-difference-read
…0-project-file-difference-read
…0-project-file-difference-read # Conflicts: # src/sidebar/components/ProjectPanel.context-menu.test.tsx
…0-project-file-difference-read
|
|
Exact-head CI is green for Step 9.5 incoming-base assessment:
Source review classifies this as unrelated to the additive backend counter: room-activity UI wiring, no new backend call or counter consumer, and no changes to Rust, shared IPC, scripts, workflows, configuration, manifests or locks. P01 adds no frontend change that could interact with the new wiring. The predicted native merge is conflict-free and differs from current main only in the four approved backend files; it retains all upstream UI and the existing filter. The architect and independent reviewer approve landing the current green head under the existing unrelated-delta exception. No branch refresh or repeat CI is required for this delta. Evidence: room04 shared |



Closes #3060
Parent: #3057. The header indicator follows in #3061 after this backend phase merges.
Adds
get_project_file_difference(path)through Tauri and the browser transport. It counts distinct paths in the Project root repository against a pinned cachedorigin/main, including non-ignored untracked files. Repository identity validation, NUL-delimited Git paths and one five-second budget return{count:null}when the read is unavailable.Exactly four backend files differ from the integrated upstream target. The existing Project header, filter, inherited menu test, workflows, manifests and lockfiles retain upstream bytes. The spawn-call inventory covers the new Git reads. No fetch, synchronization or settings writes are performed by the command.
Validation on
eaacb59622835d814f05b7909aed1404b325abe2, integratingf08b2734dbe60a40f3341f7d27b727d8e10ecc0e:Specification:
P01-v15-project-difference-read.md, SHA256E13171D3DEBE4396C2B01D3EEC6A40DF66829B3011E23E67693129BDDC814507, under the approved five-partyplan-v16/epic-v15/P01-v15/ retainedP02-v3set. Concrete local reports, command receipts and hashes are in room04 sharedproject-status-implementation/p01/landing-f08b2734/.The
ci:fulllabel remains enabled. All required and triggered CI checks must pass on this exact published head before merge. Earlier-head CI is historical evidence only.