Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# AgentKeyCard accessibility refactor

> **Reconciliation 2026-11-02:** Superseded. #2474 (`09b7f3e08`) deleted `AgentKeyCard.tsx`, and no
> code references it. The replacement shared accounts UI addresses A-1 to A-3 by design:
> `components/accounts/AccountCard.tsx` uses design-system `Button`/`DropdownMenu` (labelled
> "Actions for <account>") and `ConfirmDialog`, and `AgentConnectForm.tsx:152` is a labelled
> `radiogroup`. Any new a11y gaps in the accounts components belong in a fresh task. Candidate for
Comment thread
simple-agent-manager[bot] marked this conversation as resolved.
Resolved
> archive. Archived by the 2026-11-02 weekly queue reconciliation.

> **Reconciliation 2026-09-30 (weekly queue audit): partially shipped; still open.**
>
> - **Shipped:** none of the accessibility items. The delete-scope fix shipped earlier (see
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Project credentials UI follow-ups

> **Reconciliation 2026-11-02:** Superseded; nothing left. #2474 (`09b7f3e08`) deleted
> `AgentKeyCard` and moved account connection out of `ProjectAgentCard`. Both scopes now use the
> same `ConnectAccountSheet` → `AgentConnectForm`, which carries its own OpenCode provider picker
> (`components/accounts/AgentConnectForm.tsx:69,259`), so Finding 1's prop-forwarding has no
> target. Finding 2 is done (`ProjectSettings.tsx` is 421 lines) and Finding 3 was already moot. Archived by the 2026-11-02 weekly queue reconciliation.
Comment thread
simple-agent-manager[bot] marked this conversation as resolved.
Resolved
Comment thread
simple-agent-manager[bot] marked this conversation as resolved.
Resolved

> **Reconciliation 2026-10-26:** #2414 (`0620c1595`) moved the Agents tab into
> `apps/web/src/components/project-settings/ProjectSettingsAgentsTab.tsx`, so
> `ProjectSettings.tsx` is 419 lines and Finding 2 is done. Still open: Finding 1.
Expand Down Expand Up @@ -29,8 +35,8 @@

Two genuinely new findings from UI/UX review that were not addressed in PR #753. Other findings either reflect pre-Phase-5 code, are incorrect analysis, or overlap with existing backlog tasks:

- A11y concerns (44px touch targets, `window.confirm`, `aria-pressed`, focus-visible ring) → covered by `tasks/backlog/2026-04-18-agent-key-card-accessibility.md`
- Visual audit coverage → covered by `tasks/backlog/2026-04-18-project-credentials-playwright-audit.md`
- A11y concerns (44px touch targets, `window.confirm`, `aria-pressed`, focus-visible ring) → covered by `tasks/archive/2026-04-18-agent-key-card-accessibility.md`
- Visual audit coverage → covered by `tasks/archive/2026-04-18-project-credentials-playwright-audit.md`
- Failed-delete state clearing and save-toast-before-await → false positives: current code awaits API calls before state mutation, so rejections short-circuit correctly
- Delete confirmation copy → already fixed via `scope="project"` prop in `AgentKeyCard.tsx:81-85` (commit `2bfe276e`)

Expand Down Expand Up @@ -78,5 +84,5 @@ The architecture doc (`docs/architecture/credential-security.md:337-344`) shows
- PR: https://github.com/raphaeltm/simple-agent-manager/pull/753
- Rule 18: `.claude/rules/18-file-size-limits.md`
- Rule 24: `.claude/rules/24-no-duplicate-ui-controls.md` (check no duplicate controls after extraction)
- Related backlog: `tasks/backlog/2026-04-18-agent-key-card-accessibility.md`
- Related backlog: `tasks/backlog/2026-04-18-project-credentials-playwright-audit.md`
- Related backlog: `tasks/archive/2026-04-18-agent-key-card-accessibility.md`
- Related backlog: `tasks/archive/2026-04-18-project-credentials-playwright-audit.md`
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Playwright visual audit for ProjectAgentCredentialsSection

> **Reconciliation 2026-11-02:** Superseded. #2474 (`09b7f3e08`) removed
> `ProjectAgentCredentialsSection`'s states (masked key, inheriting hint, "No user-level
> credential" copy). The replacement project surfaces are audited at mobile and 1280 px with
> overflow checks in `apps/web/tests/playwright/accounts-settings-audit.spec.ts`: Project settings
> → Accounts pinned/default/paused/compute (`:616`), long names (`:504`), guided login (`:518`)
> and the Agents tab (`:659`). Only the empty and error states lack project-scope cases (they run
> on `/settings/agents`, `:334`/`:359`). That is not enough to keep this file. Archived by the 2026-11-02 weekly queue reconciliation.
Comment thread
simple-agent-manager[bot] marked this conversation as resolved.
Resolved

> **Reconciliation 2026-09-30:** still open. The target component was renamed to
> `ProjectAgentsSection` / `ProjectAgentCard` in PR #757 (page `/projects/:id/settings/agents`).
> The only coverage is one marketing screenshot
Expand Down Expand Up @@ -46,6 +54,6 @@ Do not modify `ProjectAgentCredentialsSection` unless the audit reveals a layout

- Rule 17: `.claude/rules/17-ui-visual-testing.md`
- Existing audit pattern: `apps/web/tests/playwright/ideas-ui-audit.spec.ts`
- Related backlog (shared AgentKeyCard a11y): `tasks/backlog/2026-04-18-agent-key-card-accessibility.md`
- Related backlog (shared AgentKeyCard a11y): `tasks/archive/2026-04-18-agent-key-card-accessibility.md`
- Related backlog (Miniflare integration tests): `tasks/backlog/2026-04-18-credentials-miniflare-integration-tests.md`
- Source PR: https://github.com/raphaeltm/simple-agent-manager/pull/753
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ Claude guided sign-in fails after code submission and hides the true failure as
- [x] Tests cover chunking, wrong URL/state, exit/error/token races, IO failures, redaction, and DO mapping/vertical slice.
- [x] Characterize pinned Claude 2.1.281 with isolated synthetic input and the production wrapper.
- [x] Update affected docs and complete local specialist review.
- [ ] Deploy exact reviewed branch to available staging, run bounded smoke and cleanup; deliver URL for user's real sign-in.
- [ ] Draft PR retained unmerged; CI status reported. Full successful real-account E2E remains user test, not claimed by mocks.
- [x] Deploy exact reviewed branch to available staging, run bounded smoke and cleanup; deliver URL for user's real sign-in. (Final revision `8c68b3176` deployed by staging run 40894817670 at https://app.sammy.party/settings/connections; recorded in the #2473 body.)
- [ ] Draft PR retained unmerged; CI status reported. Full successful real-account E2E remains user test, not claimed by mocks. (Left unticked: the hold was lifted, not met. Raphaël confirmed a real-account staging sign-in and asked to ship; #2473 merged.)

## References

Expand All @@ -39,11 +39,18 @@ Astra tested the unmodified pinned CLI against a loopback TLS proxy with synthet
- [x] Capture a real CLI synthetic-success fixture with original stdout chunks.
- [x] Assert exact token capture, state redaction, every streamed split, and child environment override.
- [x] Exercise the actual driver + native CLI + PTY + local synthetic OAuth response: completed, exact token written mode 0600, code file deleted, no stdout/stderr leak.
- [ ] Complete delta review and deploy follow-up to staging.
- [ ] Verify live staging failure path and hand off real-account retry.
- [x] Complete delta review and deploy follow-up to staging. (Admission-error finding fixed in `8c68b3176` with an independent security review; that revision is the staging deploy above.)
- [x] Verify live staging failure path and hand off real-account retry. (Live Playwright session `01M6438PY263RGSEE20AF3QDMS` showed HTTP400/code_rejected for a synthetic code; Raphaël then confirmed his real-account sign-in works.)

The renderer change is an evidence-based robustness fix, not a proven diagnosis of the user's failed attempt. Real-account success still requires staging verification.

Follow-up validation: 82 focused tests, API typecheck/build passed. Full API lint found only test import ordering, corrected. Security/runtime/env/constitution and completion/test/docs delta reviews passed; staging and real-account validation remain pending.

CodeRabbit follow-up: admission failures now persist the same classified safe code/message as their logs. New regression failed before fix, then passed; 40 DO tests and changed-file lint pass, independent security delta review passes. Requires final staging redeploy.

## Reconciliation 2026-11-02

Shipped. #2473 merged as `0452e5cef` on 2026-10-29. Main CI 40918318915 passed and Deploy
Production run 40920874879 succeeded (both recorded in the #2473 body). Raphaël confirmed the
real-account staging sign-in before release. Moved from `tasks/active/` to `tasks/archive/` by the
2026-11-02 weekly queue reconciliation.
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ Admin page investigation found a canceled 114-second request with only 7ms CPU.
- [x] Redact query strings in generated observability config so callback/terminal credentials are not retained.
- [x] Document setup, overrides, retention and billing reference.
- [x] Run relevant validation and independent local specialist reviews.
- [ ] Verify staging trace configuration and captured dependency spans.
- [ ] Merge after CI/review and verify production deployment/configuration and new traces.
- [x] Verify staging trace configuration and captured dependency spans. (Staging run 41082816507 on `d6c1587e5`: traces enabled, rate 1, persisted, query redaction on; trace `c4de347b3d263d8d884151699863da8a` has a native `d1_first` span; recorded in the #2477 body.)
- [x] Merge after CI/review and verify production deployment/configuration and new traces. (Merged as `e7e5edef3`; Deploy Production 41088475230 succeeded; production trace `dd515f607a1abe4e77a57738d1542929` has `d1_run`, `d1_all`, Durable Object storage and RPC spans, checked 2026-10-30 17:11 UTC.)

## Acceptance criteria
- Staging and production generated configs enable persisted native traces by default at rate 1.
Expand All @@ -37,3 +37,10 @@ Admin page investigation found a canceled 114-second request with only 7ms CPU.

## Review follow-up
CodeRabbit identified query credential retention risk. Added observability.redact_query_string=true for generated environments, type coverage and assertions; docs clarify metadata remaining after redaction. Staging old-head retry still running; final redacted configuration must be verified before production.

## Reconciliation 2026-11-02

Shipped. #2477 merged as `e7e5edef3` on 2026-10-30 and Deploy Production run 41088475230
succeeded. Staging and production trace evidence is in the #2477 body under "Staging Verification
Evidence" and "Production Verification". Moved from `tasks/active/` to `tasks/archive/` by the
2026-11-02 weekly queue reconciliation.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Project account setup only accepts pasted tokens although user account setup sup
- [x] Unit/contract tests and lint/typecheck/build
- [x] Mobile/desktop visual audit and independent specialist reviews
- [x] Staging scoped-flow verification and cleanup
- [ ] PR, CI, best-effort CodeRabbit, merge, production smoke
- [x] PR, CI, best-effort CodeRabbit, merge, production smoke (#2476; CodeRabbit review 5711615609 had 2 minor findings, fixed in `43a00198d` with threads resolved; main CI 41054578568 and Deploy Production 41056852924 passed; read-only production smoke at 12:57 UTC on 2026-10-30, recorded in a #2476 comment.)

## Acceptance

Expand Down Expand Up @@ -69,3 +69,10 @@ Extracted request parsing/scope validation and agent resolution from the shared
## CodeRabbit review fixes

Resolved both review findings: cancelled create continuations now return before writing the shared session ID; a deferred-response regression verifies current-project polling, code submission and cancellation after a stale response. Browser audit mocks configuration and session polling separately.45 focused unit tests,4 refreshed mobile/desktop browser cases, web typecheck/build/lint pass; screenshots inspected and independent security/completion delta review PASS.

## Reconciliation 2026-11-02

Shipped. #2476 merged as `608bdbd1b` on 2026-10-30 and Deploy Production run 41056852924
succeeded. The PR's last comment left the file in active "for human closure/archive". This
reconciliation archives it because every box is met. Moved from `tasks/active/` to `tasks/archive/`
by the 2026-11-02 weekly queue reconciliation.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Raphaël approved prototype Direction A and authorized PR, merge and production.
- [x] Behavioral tests cover full old request, options/custom replies, stale/concurrent state, send failure, dismissal/navigation and authorization boundaries.
- [x] Playwright audits actual components with mocked APIs, mobile + desktop, long content, empty/error/context; visually review and upload screenshots.
- [x] Remove prototype route/files before PR; docs and contract updated.
- [ ] Typecheck/lint/targeted tests/build; independent specialist review; CI/CodeRabbit; merge/deploy/production smoke.
- [x] Typecheck/lint/targeted tests/build; independent specialist review; CI/CodeRabbit; merge/deploy/production smoke. (#2487: CodeRabbit review addressed; main CI 41325525460 and Deploy Production 41327195249 passed; basic production smoke at 16:56 UTC on 2026-11-01 served the new dialog chunks, recorded in a #2487 comment.)

## Acceptance

Expand All @@ -42,3 +42,9 @@ Full question readable even outside current chat page; responses stay visible wh
- CodeRabbit context feedback addressed: whole streamed messages assembled through the logical transcript reader, invalid limits fall back to existing Admin comment-context setting (default six), existing scan/character bounds apply, and limited excerpts are visibly labeled. Real SQLite and Workers regressions cover streamed chunks, exclusive timestamp and ordering.

- Final review fixes: shared membership helper joins project+active member in one D1 statement, retaining defensive identity checks. Cold worst-case reader remains eight operations including bootstrap/settings/archive work. Backend and independent completion review PASS. Full API unit sweep: 936 files passed, one skipped; six preloaded fixture failures were repaired and all affected files separately rerun PASS (372 targeted assertions across relevant runs). Final API typecheck and edited-file ESLint passed. Final browser10/10 and Workers13/13 passed; context screenshots reuploaded and UI review PASS.

## Reconciliation 2026-11-02

Shipped. #2487 merged as `979acda77` on 2026-11-01 and Deploy Production run 41327195249
succeeded. Raphaël waived staging for this task explicitly (quoted in the #2487 body). Moved from
`tasks/active/` to `tasks/archive/` by the 2026-11-02 weekly queue reconciliation.
Loading
Loading