Skip to content

feat: integrate CodeBuddy Code foreground TUI sessions - #6546

Open
nikhilachale wants to merge 10 commits into
OrchestratorInc:mainfrom
nikhilachale:feat/codebuddy-code-tui-integration
Open

nikhilachale wants to merge 10 commits into
OrchestratorInc:mainfrom
nikhilachale:feat/codebuddy-code-tui-integration

Conversation

@nikhilachale

@nikhilachale nikhilachale commented Oct 11, 2026 •

Copy link
Copy Markdown
Collaborator

Code changes: +678 -11
Tests: +429 -6
Others: +1069 -3

Binary assets in this source snapshot: 5 (excluded from line counts).

Foreground TUI with native Default/manual permissions; Chat/ACP, Auto, Accept Edits, Bypass, background work, reviewer and handoff excluded.

Current status

Current source snapshot: a646ae710f8d2273d11be72cf6c78a487b9d2760 (base db77f945db58ce1d9970e99e7e9b68396f38c78b). Open for review; GitHub mergeability MERGEABLE, merge state BLOCKED. Exact-head CI: pending (15 successful, 8 queued/running, 0 unsuccessful among 23 reported checks). CI run 1 · CI run 2 · CI run 3 · CI run 4. Green source CI does not establish current native/UI runtime proof or full integration readiness.

This fix created only clean isolated source worktrees and temporary review reports; it created no AO/native sessions, provider profiles or owned runtime processes. No local build, gofmt, test, fixture, provider or UI run was performed.

Historical runtime build: Historical AO/UI source 5827f13d75b639eac6ed76f6d572b6752c060da5, released @tencent-ai/codebuddy-code@2.164.0, Node24.21.0/Ubuntu; launcher SHA256 426186a82e36466d5be485f335ced1b0d664539c53b72a5f10ba3a267e60dab6. Earlier lifecycle sources/failures remain separately recorded. Report · evidence index, original receipts, image/provenance hashes. Receipt SHAs/bytes are unchanged. Linux/VPS proof is not Windows/macOS native proof. Runner SHA256 8887aa2e7101b9e6d3950bfca08ffddf2e1e6c1c3f1d030c8dec2676443aecea remains historical where reported; manual/standalone proof is not a strict runner PASS.

Changes since runtime proof: The harness guide records direct model IDs, supported permissions/input/history bounds and an intentional initials avatar fallback because no asset reuse terms were verified. Native/UI journeys at the current source are NOT_RUN. Current-main reconciliation preserves the integration and upstream migration ledger; current source/CI state is recorded above.

The matrix separates current verification from recorded historical passes; NOT_RUN does not erase those passes. Excluded interfaces/manual model input are deliberate supported-scope decisions.

Area Supported scope Verification Proof or reason
Registration and UI Foreground TUI with native Default/manual permissions; Chat/ACP, Auto, Accept Edits, Bypass, background work, reviewer and handoff excluded. NOT_RUN Adapter/registry/API/generated/product paths are present; current Settings/task journeys not reverified.
Models Truthful native/freeform model IDs; no invented catalog. Pre-launch/defaults and effective selection need current-source review. NOT_RUN Historical native selection separate from current picker/default verification.
Setup Pinned official npm native install and harness guide with auth/model/permission/history prerequisites. NOT_RUN Harness guide; current Settings/native setup journey NOT_RUN.
Readiness Binary/profile/config, native Default mode and bounded instructions/history; current-source validation pending. NOT_RUN Historical native proof does not qualify all advertised OS/current config cases.
Identity and logo Product label and intentional initials fallback; asset reuse terms were not verified. NOT_RUN Fallback disposition; actual current avatar UI NOT_RUN.
TUI and Chat TUI supported; Chat/ACP/handoff excluded deliberately. Historical actual AO screenshots retained. NOT_RUN Historical actual AO images; excluded interfaces are deliberate.
Permissions and instructions Bounded additive private instructions and native Default/manual; other modes rejected deliberately. NOT_RUN Historical scoped PASS/limits; current live path NOT_RUN.
Lifecycle Historical executing Escape, independent Kill/control, exact native restore and fresh instructions; draft/permission409 guards. NOT_RUN Historical scoped PASS/limits; current live path NOT_RUN.
Evidence Pinned historical source/native/runner/UI receipts, attempts, images and provenance; missing originals disclosed. NOT_RUN Historical evidence retained; current native/UI proof NOT_RUN. Reproduction-input limitations below remain explicit.
CI and handoff Exact source checks/merge snapshot; incomplete live qualification and historical cleanup. NOT_RUN Exact-head CI pending (15 successful, 8 queued/running, 0 unsuccessful among 23 reported checks); mergeability MERGEABLE. Source CI scope only; current native/UI qualification NOT_RUN.

Historical implementation and evidence

Supersedes closed/unmerged contract-only5503 (native2.151.0). Implements current rendered input admission, native profile overrides, bounded additive instructions, exact native-ID history restore and migration0207/historical schema reconciliation. Missing/corrupt/foreign/ambiguous history fails closed; history over32MiB and instructions over64KiB are refused. Credential inventory stays configured; freeform models do not imply a catalog. Suggested prompts remain conservatively nonempty pending native resolution. CI/static output is not an initialized TUI; historical final lab used CI=false. This limited qualification is not a strict catalog/auth runner pass. Historical source 5827f13 had 23/23 green checks; evidence 36f0605 had 5/5/150 fixtures. Earlier native/login/provider/startup/static-renderer/capture, permission-cancel and freed=true assertion failures remain reachable in the report.

historical receipt 1 · historical receipt 2

Reproduction and retained-original limitations

The pinned reports/JSON retain action/result, file/token effects, process identity, cancellation, native-history continuity and capture assertions. A complete sanitized executable reproduction bundle is not established for every manual helper: exact helper bytes/hash and invocation, applicable local-contract bytes/hash with probe argv and interrupt/readiness/draft-cleanup settings, and complete native/AO fingerprints are unavailable where not recorded in the linked receipts; recoverability of those original inputs is unknown. No missing command, contract, hash or result is invented. Later reproductions must use a new attempt and cannot replace original failed/missing evidence.

Recorded owned-process/session/daemon/Electron cleanup is historical. Source worktrees, native profiles/history, dirty scratch workspaces, binaries and raw logs were reported retained privately; a complete current inventory/location/hash and recoverability of every original class are unavailable in the public record. Current recoverability is unknown; this reporting fix reconstructs no missing input and silently substitutes none. Share sanitized artifacts only; exclude credential stores, raw DBs and provider-profile directories. Preserve the retained failures and original screenshots.

Actual AO CodeBuddy exact restore

Actual native permission card in AO

@github-actions

Copy link
Copy Markdown
Contributor

🏆 Review leaderboard

Oct 4–11, 2026 · UTC

Rank Reviewer PRs reviewed Review rounds PR comments
🥇 @illegalcall @illegalcall 30 50 8
🥈 @ronishrohan @ronishrohan 16 19 11
🥉 @Prasad-D-Ware @Prasad-D-Ware 12 21 0
4 @nikhilachale @nikhilachale 11 24 3
5 @Vaibhaav-Tiwari @Vaibhaav-Tiwari 8 11 3
6 @axisrow @axisrow 8 10 11
7 @mohakchakraborty2004 @mohakchakraborty2004 7 7 1
8 @Pritom14 @Pritom14 5 5 4
9 @Rishet11 @Rishet11 4 10 2
10 @codebanditssss @codebanditssss 4 4 2

Ranked by distinct external PRs reviewed, then review rounds, then PR comments. Self-activity and bot activity are excluded.

Show 5 more reviewers
Rank Reviewer PRs reviewed Review rounds PR comments
11 @Annieeeee11 @Annieeeee11 3 6 1
12 @harshitsinghbhandari @harshitsinghbhandari 2 4 0
13 @neversettle17-101 @neversettle17-101 2 3 0
14 @whoisasx @whoisasx 2 2 0
15 @AgentWrapper @AgentWrapper 1 3 0

@nikhilachale

nikhilachale commented Oct 11, 2026 •

Copy link
Copy Markdown
Collaborator Author

CodeBuddy TUI qualification evidence is published immutably at 36f060529655dff4c61bfac56e65f05393d95b2e in PR6509. Report and exact lifecycle/cleanup receipts. Both images were inspected for secrets and downloaded from GitHub to verify their PNG SHA256 against the captured originals.

Actual AO exact-ID restore and fresh private instructions

Actual native permission card in AO

Final daemon/UI/source5827f13d75b639eac6ed76f6d572b6752c060da5:23 green exact-head checks. Earlier native/login/provider/startup/CI/static-renderer/capture failures remain separate. TUI/default permissions only; configured auth/freeform models remain honest. Owned cleanup confirmed; no merge/release/deploy.

@nikhilachale
nikhilachale marked this pull request as ready for review October 11, 2026 15:47
@nikhilachale

Copy link
Copy Markdown
Collaborator Author

Final handoff: source 5827f13d75b639eac6ed76f6d572b6752c060da5 has23/23 green checks; evidence 36f060529655dff4c61bfac56e65f05393d95b2e has5/5 green checks, including150/150 fresh audit fixtures. PR6546 is ready for review. Native/AO permissions, current-viewport input, cancellation, independent Kill, exact history restore/fresh private instructions and inspected Electron screenshots are recorded in the immutable report linked above. All owned processes are gone and all delayed-side-effect files remain absent after restore/cleanup. TUI/default permissions only; configured auth/freeform models remain explicit. No merge, release or deployment.

@i-trytoohard i-trytoohard added this to the Agents & orchestration milestone Oct 11, 2026
@i-trytoohard i-trytoohard added comp/daemon Go daemon, process lifecycle, and backend control plane. enhancement New feature or request labels Oct 11, 2026
@nikhilachale

Copy link
Copy Markdown
Collaborator Author

Harness-specific reports, JSON receipts, screenshots and provenance now live on this integration PR branch, rather than the skill PR #6509.

Evidence index with embedded screenshots and JSON links.

Historical successes, failures and scope limitations remain as recorded. Moving these files does not rerun native/AO testing or upgrade any verdict.

This is evidence relocation only. Existing tested source/native hashes and failures are preserved; the documentation commit is not a fresh runtime pass. Applicable checks run in PR CI.

Recorded harness evidence — see scope above

Preserve harness-owned evidence and merge current canonical API, storage, and native Chat updates. Runtime proof remains qualified by its original source.
@nikhilachale

Copy link
Copy Markdown
Collaborator Author

Canonical main conflicts reconciled at d3fb82e0c85c, preserving previous source/evidence ancestry and every existing harness report/screenshot byte. Reconciliation receipt.

Validation is PR CI only; current-head checks are pending until GitHub reports them. This merge does not constitute a new native/AO run or promote historical fresh/restore/provider-role proof. Harness evidence stays on this integration PR; PR6509 remains reusable guidance and linked summaries.

Build the real daemon in PR CI for isolated VPS runtime verification without local validation suites or dependency installations. Record source revision, Go build info, and executable hash.
@nikhilachale

Copy link
Copy Markdown
Collaborator Author

Canonical main conflicts reconciled at 9bee877fd482, preserving previous source/evidence ancestry and every existing harness report/screenshot byte. Reconciliation receipt.

Validation is PR CI only; current-head checks are pending until GitHub reports them. This merge does not constitute a new native/AO run or promote historical fresh/restore/provider-role proof. Harness evidence stays on this integration PR; PR6509 remains reusable guidance and linked summaries.

@nikhilachale

Copy link
Copy Markdown
Collaborator Author

Canonical main conflicts reconciled at e28ada310b1c, preserving previous source/evidence ancestry and every existing harness report/screenshot byte. Reconciliation receipt.

Validation is PR CI only; current-head checks are pending until GitHub reports them. This merge does not constitute a new native/AO run or promote historical fresh/restore/provider-role proof. Harness evidence stays on this integration PR; PR6509 remains reusable guidance and linked summaries.

@nikhilachale

Copy link
Copy Markdown
Collaborator Author

Canonical main conflicts reconciled at af0e0cfeab77, preserving previous source/evidence ancestry and every existing harness report/screenshot byte. Reconciliation receipt.

Validation is PR CI only; current-head checks are pending until GitHub reports them. This merge does not constitute a new native/AO run or promote historical fresh/restore/provider-role proof. Harness evidence stays on this integration PR; PR6509 remains reusable guidance and linked summaries.

This branch has not been deployed

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

Labels

comp/daemon Go daemon, process lifecycle, and backend control plane. enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants