Personal Telegram developer console for GitHub

fix/editor-safe-file-options
audit/commit-drilldown audit/finalize-workspace-menu-security audit/ops-actionability audit/pr-menu-consolidation audit/status-menu-consolidation audit/telegram-menu-e2e audit/telegram-menu-e2e-wave2 chore/actions-node24-runtime cleanup/remove-diag design/cloudflare-ops-read docs/control-plane-2-7-design docs/guide-v2-1-sync docs/menu-audit-final-sync docs/phase2-acceptance-closeout docs/phase2-multifile-design feat/bootstrap-worker feat/cloudflare-ops-read feat/cp2-multifile-final feat/cp2-multifile-workspace feat/cp3-github-write-final feat/cp4-cloudflare-ops-final feat/cp5-cicd-control-plane feat/cp6-incident-manager feat/cp7-automation-engine feat/deep-file-browser feat/final-delivery-16-20 feat/github-advanced-read feat/in-app-guide-v2 feat/navigation-recovery-ux-v2 feat/ops-console-v2-1 feat/persistent-menu-code-input feat/phase2-multifile-workspace feat/phase2-multifile-workspace-v2 feat/plugin-foundation-v1 feat/safe-github-ops feat/self-register-webhook feat/studio-g0-foundation feat/telegram-main-inline-menu feat/telegram-pr-merge feat/ux-platform-8-12 feat/v3a-readonly-copilot feat/workspace-file-upload feature/mobile-repo-browser feature/multi-file-change-set fix/approval-expiry-feedback fix/callback-resilience-and-docs fix/ci-actions-pagination fix/cloudflare-fetch-binding fix/editor-request-body-cap fix/editor-safe-file-options fix/issues-permission-release-empty-ux fix/main-menu-callback-fallback fix/phase2-file-editor-selection fix/phase2-final-ux fix/phase2-workspace-ref-persistence fix/production-auto-deploy fix/provider-write-error-feedback fix/repository-id-navigation-fallback fix/repository-pr-navigation fix/telegram-callback-updates fix/telegram-runtime-diagnostics fix/workspace-editor-flow-v2 fix/workspace-recovery-validation hardening/ci-zero-test-telegram-token hardening/pr1-destructive-totp hardening/pr2-kill-switch main multifile-workspace nexa/edit-BwJEIIY3PW nexa/edit-IPHT8irO7b nexa/edit-b4Od3BIMYd p2-multifile phase2-20261005 phase2-20261005-a phase2-20261005-b phase2-20261005-c phase2-20261005-d phase2-20261005-e phase2-20261005-f phase2-20261005-g phase2-20261005-h phase2-20261005-i phase2-20261005-j phase2-20261005-k phase2-20261005-l phase2-20261005-m phase2-20261005-n phase2-20261005-o phase2-20261005-p phase2-20261005-q phase2-20261005-r phase2-20261005-s phase2-20261005-t phase2-20261005-u phase2-20261005-v phase2-20261005-w phase2-20261005-x phase2-20261005-y phase2-20261005-z phase2-acceptance-closeout phase2-add-file-hotfix phase2-change-set phase2-design-20261005 phase2-design-final phase2-implementation phase2-multifile-implementation phase2-multifile-spec phase2-spec-final phase2-workspace phase2/multifile-workspace plan/nexa-studio-v2-reviewed security/remove-telegram-setup spec/repository-workspace-editor v3a/multifile work/multifile
md 35 lines 3.84 KB
Rendered Raw
1 # Phase 2 Multi-file Workspace Acceptance
2
3 ## Contract
4 Phase 2 extends Repository Workspace to a bounded **multi-file Change Set** while preserving **single-file compatibility** as a one-entry Change Set. Every Change Set is pinned to an **exact base SHA**, uses one commit message, renders aggregate/per-file Diff, seals deterministic file descriptors/digests, and publishes only to `nexa/edit-*`.
5
6 Provider mutation remains behind central Policy, **Safe Approval**, durable replay protection and the global **Kill Switch**. There is **no direct `main` mutation**, force update, automatic merge/rebase or silent conflict resolution. Source/draft bodies, secrets and signed approval material are excluded from callbacks, audit, incident records and logs.
7
8 ## Production implementation evidence
9 - Core Phase 2 merge SHA: `c2aafc36950e39f06e11c940d29a1692d527c526`; PR #54, head `ec64e8386288416a4315b6aff8867704190cfc68`.
10 - Add-file callback routing hotfix: PR #56, head `33b2b15883a7dd43fecf1ba308040f954d201d18`, exact-head CI run `37537654452` success, merge `ad7d3b3f8ab993c8fed9b1f3dc8dbc6876c5e2dc`.
11 - Main-menu local callback fallback: PR #57, head `de1b32ec82458c866614fb6b33036a1a23f54d7f`, exact-head CI `37571808790` success, merge `fd6ea8492b65fc2e983f5d4caf32ad29fe167e67`, post-merge CI `37571849725` success, deploy `37571878439` success.
12 - Durable workspace navigation refs / pinned file picker: PR #58; owner-device add-file smoke passed after production deployment.
13 - Per-file workspace editor controls: PR #59; owner-device editing of both Change Set files passed after production deployment.
14 - Multi-file Ready summary: PR #60, head `5e60da97f909c6ccc25e0b492bec180a551a81a4`, exact-head CI `37664886234` success, merge `e354ff4c09f29f4e7db2878ab17205805261f87b`, post-merge CI `37664960688` success, deploy `37664996112` success.
15 - Current Cloudflare deployment after PR #60: `6732f7e5-c190-4f39-9ba8-46a6241e17d7`, version `417f0e54-da05-4c69-8187-241b4a5afe4a`, 100% traffic.
16
17 ## Owner-device production smoke — PASS
18 - Target repository: `davoodmehraban89/nexa-dev-bot`.
19 - Exact base/main SHA before publication: `c6d457b56b8527a26c1ca97ace82a3b622e586fa`.
20 - Change Set: `README.md` and `PROJECT_MEMORY.md`; both edited and durably saved.
21 - Aggregate Diff observed on owner device: 2 changed files, +2/-2; each file +1/-1.
22 - Ready generated target branch `nexa/edit-BwJEIIY3PW` and remained mutation-free before Safe Approval; GitHub independently returned the target branch as absent before approval and `main` remained at the exact base SHA.
23 - Safe Approval was completed on the authorized owner device. No TOTP was required because branch commit publication is WRITE, not DESTRUCTIVE.
24 - Resulting branch: `nexa/edit-BwJEIIY3PW`.
25 - Resulting commit: `612e4bcecf39547d331174bfa15860ea06832cc1`.
26 - Commit parent: `c6d457b56b8527a26c1ca97ace82a3b622e586fa` (the exact pinned base).
27 - Independent GitHub verification of commit contents: exactly the intended two modified files, `README.md` (+1/-1) and `PROJECT_MEMORY.md` (+1/-1), in the same commit.
28 - Independent GitHub verification immediately after publication: `main` remained `c6d457b56b8527a26c1ca97ace82a3b622e586fa`; no direct-main write occurred.
29 - Owner-device smoke completed 2026-10-07 (production Telegram runtime).
30
31 ## Acceptance result
32 **PASS.** The real production path demonstrated: add second file -> independently edit/save both files -> aggregate/per-file Diff -> one commit message -> Ready -> no pre-approval provider mutation -> Safe Approval -> exactly one multi-file commit on a new `nexa/edit-*` branch -> `main` unchanged.
33
34 The editor Mini App does not mutate an already-rendered Telegram Workspace message in place after Save; reopening/rerendering Workspace reflects the durable count. This is a presentation refresh limitation, not a persistence or publication failure, and does not alter the accepted security/write contract.
35