Personal Telegram developer console for GitHub

feat/studio-g0-foundation
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 5.52 KB

G0 R-27 read inventory

Baseline reviewed: main 5d1c083d326db327cc3973a9d3adecc1d8092c91 plus pending PR #63 and PR #64, integrated locally before behavior changes. Three focused audit agents and the coordinator read the required modules and all baseline tests in full. This is an AI-assisted source review, not a human security review, a CI result, or a device smoke.

The list below covers the required files at formatting commit 40e14f7; additional core/DO files were also reviewed. New implementation tests were read during implementation and review.

.github/workflows/ci.yml
.github/workflows/deploy.yml
src/bot-legacy.js
src/bot.js
src/cloudflare-menu.js
src/core/totp.js
src/core/workspace-policy.js
src/guide-menu.js
src/kill-switch-bot.js
src/menu.js
src/ops-menu.js
src/platform-menu.js
src/plugins/cloudflare/manifest.js
src/plugins/cloudflare/plugin.js
src/plugins/cloudflare/service.js
src/plugins/github/manifest.js
src/plugins/github/plugin-legacy.js
src/plugins/github/plugin.js
src/plugins/github/workspace-commit.js
src/plugins/github/workspace.js
test/action-policy.test.js
test/approval-expiry-ui.test.js
test/approval-flow.test.js
test/approval-provider-error-ui.test.js
test/approval.test.js
test/audit.test.js
test/automation.test.js
test/bot.test.js
test/bounded-json.test.js
test/cicd-control-plane.test.js
test/cloudflare-deploy-config.test.js
test/cloudflare-menu.test.js
test/cloudflare-ops-completion.test.js
test/cloudflare-plugin.test.js
test/cloudflare-service.test.js
test/destructive-second-factor.test.js
test/durable-replay.test.js
test/final-acceptance-contract.test.js
test/final-delivery.test.js
test/github-advanced-plugin.test.js
test/github-advanced-read-error-ui.test.js
test/github-advanced-read.test.js
test/github-advanced-write-completion.test.js
test/github-issues-pagination.test.js
test/github-live-findings.test.js
test/github-pagination.test.js
test/github-plugin.test.js
test/github-pr-merge.test.js
test/github-repository-fallback.test.js
test/github-workspace-approval.test.js
test/github-workspace-bot-approval.test.js
test/github-workspace-file-upload.test.js
test/github-workspace-integration.test.js
test/github-workspace-provider-error-ui.test.js
test/github-workspace-provider.test.js
test/github-workspace-ui.test.js
test/github.test.js
test/help-guide.test.js
test/incidents.test.js
test/index.test.js
test/kill-switch.test.js
test/menu.test.js
test/navigation.test.js
test/ops-console.test.js
test/phase2-controller.test.js
test/phase2-editor-multifile.test.js
test/phase2-multifile-acceptance.test.js
test/phase2-ready.test.js
test/platform-experience.test.js
test/plugin-registry.test.js
test/plugin-router.test.js
test/security.test.js
test/telegram-file-upload.test.js
test/telegram-menu-e2e.test.js
test/telegram-persistent-menu-input.test.js
test/telegram.test.js
test/workspace-approved-recovery.test.js
test/workspace-editor-dom-safety.test.js
test/workspace-editor-v2.test.js
test/workspace-editor-worker.test.js
test/workspace-multifile-commit.test.js
test/workspace-multifile.test.js
test/workspace-policy.test.js
test/workspace-recovery-validation.test.js
test/workspace-store-file-input.test.js
test/workspace-store.test.js

Total required baseline files read: 86.

Confirmed findings and disposition

  • Compressed source: formatted in a separate commit; 116 executable JS ASTs and template values compared unchanged; baseline 282 tests passed before and after.
  • Duplicate limit text/defaults: consolidated against WORKSPACE_EDITOR_LIMITS; old 3,000/12,000 values occur in historical Phase 1 plans rather than current policy.
  • /health exposed version/runtime metadata and release version was hardcoded: addressed in G0 worker changes.
  • Webhook had no update deduplication and returned 400 for handled errors: addressed with durable 24h at-most-once claims and metadata-only logs.
  • Sensitive-path file previews leaked source into Telegram: withheld. Ordinary legacy previews/diffs still conflict with the strict full R-07 target and require the Mini App migration; not declared compliant.
  • GitHub PR normalization dropped draft state: preserved so existing merge guard applies.
  • Async status view was not awaited on text commands; Cloudflare delivery text had unmatched HTML: corrected with regressions.
  • Unlock callbacks matched the lock suffix and had no signed Approval/TOTP: disabled fail-closed pending a complete verified unlock protocol; no insecure shortcut enabled.

Open safety backlog — require focused security review

  1. R-07: migrate all source/draft/PR patch display from Telegram to the authenticated Mini App; ordinary source/diff messages still exist.
  2. Diff memory: O(beforeLines × afterLines) allocation can exceed Worker memory for newline-heavy valid drafts. Add bounded diff algorithms/tests before expanding use.
  3. Automation: step effects precede durable completion with no execution claim; concurrent resumes may repeat effects. Do not enable new write recipes.
  4. Incidents: nontransactional read/await/write update may lose concurrent records.
  5. Delivery evidence: current correlation accepts an unrelated runtime version at 100% once CI/deploy SHAs match; require independent version-to-SHA verification.
  6. TOTP/unlock: per-user encryption and last-step replay protection, plus signed/TOTP unlock, remain R-17/R-25 work.
  7. G1/G2: shared token/default owner, 20-repository cap, fixed commit identity, no D1/grants/sessions, no If-Match, 30-minute Workspace TTL and inline CSP are future contract gaps.

No one should infer that G0 or later gates passed from this inventory.