Skip to content

chore: archive workspace notes and validation evidence - #436

Open
L4b0R wants to merge 3 commits into
OpenCoworkAI:mainfrom
L4b0R:chore/workspace-backup-pr433
Open

L4b0R wants to merge 3 commits into
OpenCoworkAI:mainfrom
L4b0R:chore/workspace-backup-pr433

Conversation

@L4b0R

@L4b0R L4b0R commented Sep 25, 2026

Copy link
Copy Markdown
Contributor

Summary

Type of change

  • Bug fix
  • New feature
  • Refactor (no behavior change)
  • Documentation
  • Build / CI / tooling
  • Breaking change

Linked issue

Checklist

  • I checked the linked issue / relevant context before starting
  • pnpm lint && pnpm typecheck && pnpm test passes locally
  • Added/updated tests for the change
  • Added a changeset (pnpm changeset) if user-visible
  • Updated docs if behavior changed

Dependency additions (if any)

Screenshots / recordings (UI changes)

@github-actions github-actions Bot added the docs Documentation label Sep 25, 2026

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review mode: initial

Findings

  • [Major] This PR commits the Codex agent workspace to the public repo — all 31 changed files live under .Codex/workspace/** and are maintainer-local agent artifacts: PR-body drafts, a verbatim copy of the prior bot review, planning notes, and a ~87 KB validation bundle with PNG evidence. None of it is product source or public documentation, and the repo convention keeps agent/private working state out of the public tree (see AGENTS.md, which treats docs/ as internal/gitignored; the same intent applies to .Codex/). Landing this adds ~2,900 lines of noise, leaks workflow internals, and gives future contributors the impression that agent scratch state is version-controlled. Evidence: .Codex/workspace/bot433-reply.md:1, .Codex/workspace/pr433-bot-review.md:1, .Codex/workspace/validation/source-edit-browser/attempt-2026-09-21T16-11-19-211Z/verification.json:1.
    Suggested fix: drop .Codex/workspace/** from this PR and add .Codex/ (or at least .Codex/workspace/) to .gitignore so agent scratch state stays local:

    git rm -r --cached .Codex
    printf '\n# Local agent workspace\n.Codex/\n' >> .gitignore
    
  • [Minor] The committed validation evidence embeds a workstation-specific absolute path — .Codex/workspace/validation/source-edit-browser/attempt-2026-09-21T16-11-19-211Z/persists-an-exact-text-patch-through-the-full-FilesTab-UI.txt:2 shows C:\Users\hjh\AppDa…r-qLNxfB\workspace, repeated across the sibling .txt captures. Local user paths should not be published; this is resolved automatically by removing .Codex/workspace/** as above.

  • [Nit] The PR body is the unmodified pull-request template — no summary, no type-of-change box selected, and the PR is only labeled docs. If anything here is genuinely meant to be published, the description must state the why; otherwise use this PR to remove the files instead.

Questions

  • Is the intent to publish these notes, or was .Codex/workspace/ committed by accident while archiving PR #433 material? If the latter, closing the PR and gitignoring .Codex/ is simplest. (I could not verify from the public checkout whether .gitignore already lists .Codex/.)

Summary

  • Review mode: initial. No product code, tests, dependencies, config, release, or distribution files are touched, so there is no runtime, security, license, or packaging path to validate.
  • The single substantive issue is scope: the entire diff is the Codex agent workspace under .Codex/workspace/**. Recommend closing this PR, or rewriting it to remove those files and add .Codex/ to .gitignore. No changeset is needed since nothing user-visible changes.
  • Residual risk: if .gitignore already ignores .Codex/, these files were force-added and should still be removed rather than kept.

Testing

  • Not run (automation). No tests are warranted for agent workspace notes; the correct outcome is removal, not coverage.

Open-CoDesign Bot

@github-actions github-actions Bot added the area:desktop apps/desktop (Electron shell, renderer) label Sep 25, 2026

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review mode: follow-up after new commits

Findings

  • [Major] This PR still commits the Codex agent workspace to the public repo, and the follow-up grew it rather than reducing it — the diff is .Codex/workspace/** scratch notes (PR-body drafts, plans, a verbatim copy of the prior bot review) plus a ~87 KB browser-validation bundle (verification.json and PNG/TXT captures). These are maintainer-local agent artifacts, not product source or public documentation; the repo treats this class of internal working state as non-public (AGENTS.md). Landing it publishes ~2,900 lines of noise and exposes workflow internals. Evidence: .Codex/workspace/credential-boot-fix.md:1, .Codex/workspace/pr433-main-sync.md:1, .Codex/workspace/validation/source-edit-browser/attempt-2026-09-21T16-11-19-211Z/verification.json:1. The prior review's [Major] on this remains unaddressed — no .gitignore change is included in the diff.
    Suggested fix: remove .Codex/workspace/** from the PR and ignore the directory so agent scratch state stays local:

    git rm -r --cached .Codex
    printf '\n# Local agent workspace\n.Codex/\n' >> .gitignore
    
  • [Minor] The committed validation captures embed a workstation-specific absolute path — C:\Users\hjh\AppDa…r-qLNxfB\workspace — repeated across the sibling .txt files. Evidence: .Codex/workspace/validation/source-edit-browser/attempt-2026-09-21T16-11-19-211Z/persists-an-exact-text-patch-through-the-full-FilesTab-UI.txt:2. Local user paths should not be published; this is resolved automatically by removing .Codex/workspace/**.

  • [Minor] The PR also modifies apps/desktop/src/renderer/src/components/chat/PromptInput.browser.test.ts (dev-server → build + preview, plus added console/request diagnostics) and adds apps/desktop/src/renderer/src/components/chat/__fixtures__/active-message-browser.html. These are unrelated to "archive workspace notes and validation evidence" and are not described in the PR body. If intentional, split them into their own PR with a description; if they are incidental branch content, drop them from this one.

  • [Nit] The PR body is still the unmodified pull-request template — no summary/why, no type-of-change box selected. The previous review noted this as well; if anything here is genuinely meant to be published, the description must state the purpose.

Questions

  • Is the intent to publish .Codex/workspace/ content, or was this committed by accident while archiving PR #433 material? If accidental, closing this PR and adding .Codex/ to .gitignore is the simplest resolution. (I could not verify from the public checkout whether .gitignore already lists .Codex/.)

Summary

  • Review mode: follow-up after new commits. The prior [Major] scope finding (private agent artifacts under .Codex/workspace/**) is unresolved and now larger, and the prior [Minor] workstation-path leak persists. Aside from the two apps/desktop test/fixture files, the diff adds no product code, dependencies, config, release, or distribution files, so there is no runtime, security, license, or packaging path to validate here. Recommend removing .Codex/workspace/** and gitignoring .Codex/ before this is considered for merge.
  • Residual risk: if .Codex/ is already ignored, these files were force-added and should still be removed rather than kept. Not found in the public repo I can see whether .gitignore already covers .Codex/.

Testing

  • Not run (automation). No tests are warranted for agent workspace notes; the correct outcome is removal, not coverage. If the PromptInput.browser.test.ts refactor is kept, it belongs in a separate PR so CI exercises it on its own.

Open-CoDesign Bot

@L4b0R

L4b0R commented Sep 25, 2026

Copy link
Copy Markdown
Contributor Author

CI failure follow-up — 236ef0c

The failing run timed out in the first PromptInput browser test's beforeEach while waiting for textarea, before any locale/layout assertion. The other cases passed. The original fixture served raw HTML from a Vite development middleware, so the readiness fetch did not prepare its module graph. Cold dependency optimization can invalidate in-flight imports; the existing TweakPanel browser suite already avoids this class of startup race with build + preview. The old logs did not capture failed HTTP responses, so a specific failed chunk/status cannot be proven retrospectively.

This update builds the existing composer fixture into a unique temporary directory before launching preview/Chrome, retains production CSS and all 18 existing behavioral assertions, adds HTTP/request/console diagnostics for mounting failures, and cleans both build output and browser profile. No retries, longer timeouts, product-code changes, or dependencies were added. The branch also merges current main without rewriting history.

Validation:

  • Focused composer browser suite: 18/18 passed.
  • pnpm lint and pnpm typecheck: passed.
  • Full pre-push suite: passed (desktop: 167 files, 2251 tests passed, 1 platform skip; all 10 package test tasks successful; 61 automation-script tests passed).
  • Electron main/preload/renderer build smoke: passed.
  • Fresh GitHub CI is running for this revision.

Compatibility: green — no runtime behavior changes.
Upgradeability: green — no persisted-data or dependency changes.
Lean: green — reuses existing Vite build/preview infrastructure.
Elegance: green — deterministic startup instead of retries/timeouts.

This follow-up addresses the test failure only; the original archive contents are unchanged.

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

area:desktop apps/desktop (Electron shell, renderer) docs Documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant