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
Expand Up @@ -296,3 +296,13 @@ Raphaël approved the paid cold build, then asked for iteration until it works.
Peak disk 7.9 GB, 7.7 GB free at the end. Memory peak is unobserved: cgroup `memory.peak` is not readable inside the managed container. No OOM kill occurred on the 8 GiB instance. The elapsed-time compute estimate is about $0.11, about $0.14 across all four runs, before allowances; actual billing is not reconciled. Evidence: `tasks/evidence/2026-11-03-installer-cold-build/result.json` and `progress.jsonl`.

This proves the fit-only cold build (artifacts, no tests). It does not prove a full install. Deployment, OAuth sign-in and revocation still need the OAuth client. PRs #2465/#2475 stay draft and unmerged.

## Reconciliation (2026-11-09 weekly queue sweep)

- Shipped: #2475 (merged 2026-11-08) shipped the user-owned installer; draft #2465 was closed as superseded by it.
- Production deploy run on `e727f0259` (2026-11-09 01:29 UTC) succeeded and contains this merge, so the change is live.
- The ten top-level plan items (runner-neutral engine through CI/staging proof) are superseded by
this file's later implementation and publication checkpoints and shipped in #2475; their boxes
were never ticked as the work moved into those checkpoints. They were not individually
re-verified in this sweep. The shared-engine CI parity work (production still runs with `use_shared_engine` unset in `.github/workflows/deploy-reusable.yml`) and the adversarial-audit items are carried forward in `tasks/backlog/2026-11-09-installer-shared-engine-follow-ups.md`.
Comment thread
simple-agent-manager[bot] marked this conversation as resolved.
Resolved
- Moved from `tasks/active/` to `tasks/archive/` by the weekly reconciliation.
Original file line number Diff line number Diff line change
Expand Up @@ -110,3 +110,9 @@ landing captures, including actual unavailable state, and gave final verdict:
design blockers or visible regression. Screenshot artifact12833588308. Review and
validation recorded in PR2465. Live Browser Back check retained both floor canvases.
Design work complete; real OAuth and aggregate PR merge remain blocked as before.

## Reconciliation (2026-11-09 weekly queue sweep)

- Shipped: Brand work landed through #2475 (merged 2026-11-08), which contains all of #2465; #2465 itself was closed unmerged.
- Production deploy run on `e727f0259` (2026-11-09 01:29 UTC) succeeded and contains this merge, so the change is live.
- Moved from `tasks/active/` to `tasks/archive/` by the weekly reconciliation.
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ Research: design v4 SAM idea 01M60R60ZQT4203MGXAVJNPRH5. Cloudflare confidential
- [x] Tests: callback replay/expiry, CSRF, account isolation, cleanup, upstream failures
- [x] Mobile/desktop browser screenshots and overflow assertions
- [x] Specialist code review, staging Worker deployment, public endpoint and mobile/desktop checks
- [ ] Configure OAuth client and verify real Cloudflare consent
- [ ] PR with validation and explicit prototype limitations
- [x] Configure OAuth client and verify real Cloudflare consent
- [x] PR with validation and explicit prototype limitations

Acceptance: no marketing/main-app storage or session dependency; no cloud tokens in browser/logs/URLs; deployments do not run in forks; env-derived domain; user gets clear bounded prototype outcome; self-host instructions reproducible; staging address serves verified build.

Expand All @@ -21,3 +21,9 @@ Workflow adjustment: reuse SAM-provided isolated branch/workspace and task file
Validation: 12 tests, lint/typecheck/dry-run build, public-doc build/link checks and 12 browser screenshots pass; real local cross-site form/redirect/cookie handoff passes. Security and completion reviewers passed code. Staging run 40679197642 deployed the Worker but OAuth client configuration returned403; requested OAuth Client Read/Write on staging deployment token. Live API evidence identified wildcard `*.sammy.party/*` interception; deployment now adds exact installer hostname route. New bounded staging smoke provisions/checks/deletes a temporary Worker independently of OAuth consent.

Staging run [40680257534](https://github.com/raphaeltm/simple-agent-manager/actions/runs/40680257534): temporary Worker provisioning, anonymous401, ownership handoff and cleanup passed; exact routing fixed. Live install.sammy.party serves build23852a97f; mobile/desktop screenshots reviewed, no overflow, login correctly disabled. Real endpoint checks: foreign-Origin403, unconfigured sign-in503, anonymous session401, privacy200. OAuth provisioning403 is the remaining blocker; no real consent success claimed. Production configured but not deployed. Branch5151bdeef adds public prerequisite correction. PR held until staging OAuth verification per /do phase6 gate.

## Reconciliation (2026-11-09 weekly queue sweep)

- Shipped: Prototype superseded by the shipped installer in #2475 (merged 2026-11-08), which registers the OAuth client in full mode (`OAUTH_REGISTRATION_TOKEN`) and verified real consent in fresh installs.
- Production deploy run on `e727f0259` (2026-11-09 01:29 UTC) succeeded and contains this merge, so the change is live.
- Moved from `tasks/active/` to `tasks/archive/` by the weekly reconciliation.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ subagent confirms address the core problems.
- [x] Vertical-slice tests per item, each proven discriminating
- [x] Local test-quality reviewer subagent confirms tests are legitimate (all three LEGITIMATE)
- [x] Security and UI/UX reviews addressed; docs updated
- [ ] PR green, merge, prod deploy verified
- [x] PR green, merge, prod deploy verified

## Findings

Expand Down Expand Up @@ -102,3 +102,10 @@ subagent confirms address the core problems.
visible (`useFallbackSessionPoll.ts`), which bounds staleness to one poll; pushing would need
`updateD1ExecutionStep` to broadcast on an unchanged step. Raised as MEDIUM by the
task-completion validator and accepted as bounded.

## Reconciliation (2026-11-09 weekly queue sweep)

- Shipped: #2494 merged 2026-11-03.
- Production deploy run on `e727f0259` (2026-11-09 01:29 UTC) succeeded and contains this merge, so the change is live.
- Fix A and Fix B stay deferred as recorded above; their backlog files remain open.
- Moved from `tasks/active/` to `tasks/archive/` by the weekly reconciliation.
Original file line number Diff line number Diff line change
Expand Up @@ -73,3 +73,10 @@ Fresh Phase 5 review of 8 local reviewers on d826b6cbe. Fixed:
- Next: wait for PR1 #2501 `merged` → `git rebase origin/main` → push `HEAD:sam/operations-tools-pr2-3-4vtq8v` → Phase 6 staging (check no other staging run is active).
- Staging plan: staging CF_TOKEN cannot write KV, so drive real chats. Secrets only through exec_with_secrets (CF_TOKEN; read-only D1 helper: account c4e4aebd980b626f6af43ac6b1edcede, main D1 1cfaf5d4-8226-47d8-bf26-6ba727ce5718, observability D1 8c2fa46c-3b89-428b-b235-d835b7914106). Smoke user is superadmin. In the admin UI set the Operations (feedback) project to Test Project 1 (01KJNR9R3TEN3KX1ETE33852R8) and `operations.debuggerTools=read`; restore both afterwards. Start a chat in Test Project 1 with VM profile raph-cc-convo (01KVR2BJEFY19587NTWR5M6PQN) so it owns a real node, and have it call ops_find_anomalies, ops_get_session_story (its own task), ops_node_logs with contains, ops_capture_debug_package and download_library_file. Check operations_audit_log rows. Delete the VM afterwards.
- PR body: per-tool round-trip table (gate 1 D1 + audit 1 D1 + settings cached; anomalies ~10, list_nodes ~3, get_node ~7, session_story ~14, timeline ~15 with fan-out 2, search_errors ~3, worker_logs ~3, node_* ~4, workspace_agent_sessions ~5, capture ~9 + R2; purge ~6 per run), debug-package buffering rationale (library encrypts whole objects; capped streaming read), CodeRabbit evidence.

## Reconciliation (2026-11-09 weekly queue sweep)

- Shipped: #2504 merged 2026-11-04 (PR1 #2501 and PR3 #2502 also merged).
- Production deploy run on `e727f0259` (2026-11-09 01:29 UTC) succeeded and contains this merge, so the change is live.
- The two unchecked items were not re-verified in this sweep.
- Moved from `tasks/active/` to `tasks/archive/` by the weekly reconciliation.
Original file line number Diff line number Diff line change
Expand Up @@ -102,3 +102,9 @@ Debugging agents in the Operations project cannot answer "why is this node still
- decide `status = 'pending'` → re-open an executed approval (first attempt was non-discriminating: a deny also moves `expires_at`, so the expiry conjunct masked it; the re-open test fixes that)
- decide `expires_at > ?` → approve an expired request
- Bug found by the telemetry-source test: the capture source selected `trigger` (column is `capture_trigger`).

## Reconciliation (2026-11-09 weekly queue sweep)

- Shipped: #2502 merged 2026-11-04.
- Production deploy run on `e727f0259` (2026-11-09 01:29 UTC) succeeded and contains this merge, so the change is live.
- Moved from `tasks/active/` to `tasks/archive/` by the weekly reconciliation.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ surface in light and dark, desktop and mobile, uploaded to the PR.
- [ ] Chat desktop and mobile resemble references 01/02/03/04/10 in both themes
- [ ] At most one live blur on screen; panes separated by gutters; elements solid
- [ ] All chat-attached panels and dialogs use the SAM Glass overlay
- [ ] CI green on the draft PR; screenshots posted to the PR
- [x] CI green on the draft PR; screenshots posted to the PR

## Implementation notes

Expand All @@ -61,3 +61,10 @@ surface in light and dark, desktop and mobile, uploaded to the PR.
- Overlays use the full pane fill + live blur; light-mode chrome fill was too see-through.
- Hierarchy modal closes the phone chat-list drawer first (two live blurs otherwise).
- Docs screenshots under apps/www/public/images/docs predate SAM Glass; regenerating them is a separate pass.

## Reconciliation (2026-11-09 weekly queue sweep)

- Shipped: #2506 merged 2026-11-04 (originally requested as a draft; later merged), with follow-ups #2522 and #2529.
- Production deploy run on `e727f0259` (2026-11-09 01:29 UTC) succeeded and contains this merge, so the change is live.
- The unchecked visual acceptance items were not re-verified in this sweep.
- Moved from `tasks/active/` to `tasks/archive/` by the weekly reconciliation.
Original file line number Diff line number Diff line change
Expand Up @@ -82,3 +82,9 @@ Constraint: do not relax the proof requirement (rule 56).
- [x] A slept workspace whose wake released its binding gets deletion proof on its first due attempt.
- [x] Its stopped node is destroyed on the first cleanup pass.
- [x] No unbound workspace without a held wake claim is treated as preserved, including one with only a stale wake task.

## Reconciliation (2026-11-09 weekly queue sweep)

- Shipped: #2526 merged 2026-11-04.
- Production deploy run on `e727f0259` (2026-11-09 01:29 UTC) succeeded and contains this merge, so the change is live.
- Moved from `tasks/active/` to `tasks/archive/` by the weekly reconciliation.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Publish today's GCP learnings in public docs ASAP, then deploy a fix for one con
- [x] Add meaningful regressions for connection-to-catalog/pool flow and distinct accounts.
- [x] Run API validation and independent Cloudflare/security/test/constitution/task reviews.
- [x] Verify deployed staging behavior before fix PR.
- [ ] Merge and monitor production rollout with bounded smoke.
- [x] Merge and monitor production rollout with bounded smoke.
- [x] Update known-issue docs when fix ships.

## Acceptance
Expand Down Expand Up @@ -43,3 +43,9 @@ Random-ID managed dual writes introduced by b00b2952d (#1612) were missed by a c
PR #2540 CI passed at head 0ebe85960. CodeRabbit was requested once after green CI and returned five findings after an active review. Shared seed/mirror snapshot and non-null legacy identity fixes have regression coverage. The repair now compares an ordered candidate snapshot before acquiring a unique source-generation lease; authority updates use bounded chunks in one atomic batch. Matched retained candidates refresh catalog state independently of source-wide retirement, while unmatched overrides remain unchanged. Canonical-only selections now have explicit union coverage. Revised checks and follow-up staging verification are required before merge; the earlier staging result applies to the original runtime only.

Follow-up local validation: 28 focused GCP regressions and all 138 default-capacity-pools tests pass, including 2,000 historical rows with a two-row update chunk budget, candidate insertion/update races, source publication ownership, retained catalog freshness/idempotence, and preserved canonical-only selections. Independent correctness review passes.

## Reconciliation (2026-11-09 weekly queue sweep)

- Shipped: Docs #2538 and dedupe fix #2540 merged 2026-11-05.
- Production deploy run on `e727f0259` (2026-11-09 01:29 UTC) succeeded and contains this merge, so the change is live.
- Moved from `tasks/active/` to `tasks/archive/` by the weekly reconciliation.
Original file line number Diff line number Diff line change
Expand Up @@ -144,3 +144,9 @@ Declined, with replies on the PR: `PLATFORM_AI_MODELS` entries (Antigravity has
the invariant covers platform-routed agents only), Playwright submit test (generic connect flow),
Plan mode mapping (Antigravity has no read-only mode; `default` asks before every write and the
guide says so), XDG/plugin-secret/helper-regeneration notes.

## Reconciliation (2026-11-09 weekly queue sweep)

- Shipped: #2542 merged 2026-11-06.
- Production deploy run on `e727f0259` (2026-11-09 01:29 UTC) succeeded and contains this merge, so the change is live.
- Moved from `tasks/active/` to `tasks/archive/` by the weekly reconciliation.
Original file line number Diff line number Diff line change
Expand Up @@ -213,3 +213,9 @@ default without clicking it. Staging's GitHub Environment now has `ACP_INTERACTI
- OpenCode release: https://github.com/raphaeltm/simple-agent-manager/releases/tag/opencode-v2.2.5-sam-s1
(two builds in one environment are byte-identical; CI vs workspace builds differ, so the CI
build is the published artifact).

## Reconciliation (2026-11-09 weekly queue sweep)

- Shipped: #2536 merged 2026-11-05; follow-ups #2543, #2546 and #2556 also merged.
- Production deploy run on `e727f0259` (2026-11-09 01:29 UTC) succeeded and contains this merge, so the change is live.
- Moved from `tasks/active/` to `tasks/archive/` by the weekly reconciliation.
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,10 @@ Kept standalone on purpose: library `upload_to_library`/`replace_library_file`/`
- The local machine is shared and was at load average 30-67. Some suites hit their 10s hook timeouts, and a stashed `main` failed the same way.
- Follow-ups: idea 01M6SPM7G7TPCNAMC31EVZ1QDP (coordination tools phase 2), idea 01M6SPMDHY2F2BPVD933B9FYJZ (policy injection budget).
- Merge with main 349c78101 -> head 1fead2384; baseline kept 2180@a42bb51 with main dates; CI 21/21 incl Sonar.

## Reconciliation (2026-11-09 weekly queue sweep)

- Shipped: #2558 merged 2026-11-07 (145 to 82 tools); the original do-not-merge constraint was lifted.
- Production deploy run on `e727f0259` (2026-11-09 01:29 UTC) succeeded and contains this merge, so the change is live.
- The unchecked acceptance items were not individually re-verified in this sweep; the grouped `<domain>_read`/`<domain>_write` tools are in use in production SAM sessions.
- Moved from `tasks/active/` to `tasks/archive/` by the weekly reconciliation.
Original file line number Diff line number Diff line change
Expand Up @@ -124,3 +124,9 @@ Waived by Raphaël for this work (session `eecddba8`, 2026-11-07).
`services/provisioning-attempt-limits.ts`. LOWs done: quota target lookup fails closed;
stale-lease restart test with a skipped first tier. Compaction: per-source test traced into
`buildProvisioningExhaustionPlan` (two tiers survive); both proven by revert.

## Reconciliation (2026-11-09 weekly queue sweep)

- Shipped: #2576 merged 2026-11-07 (stacked on #2571 and #2572, both merged).
- Production deploy run on `e727f0259` (2026-11-09 01:29 UTC) succeeded and contains this merge, so the change is live.
- Moved from `tasks/active/` to `tasks/archive/` by the weekly reconciliation.
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,16 @@ Idea 01M6YQ6KWZ24HA20CKPB59SYRG: a newly provisioned staging node refused its ow
- [ ] Staging small reservation .2 vCPU/.5GB RAM/5GB disk; delete every created staging VM.
- [ ] Early DRAFT PR + needs-human-review. CodeRabbit request/wait recorded.
- [ ] Exact PR/head SHA approval from coordinator before ready/merge; new commit voids approval.
- [ ] Production deployment success with deployed main containing merge before bug 2 begins.
- [x] Production deployment success with deployed main containing merge before bug 2 begins.

## Workflow
No main commits. Use existing SAM task branch/workspace. Archive notes belong in a separate draft PR, per user; keep this task active until then.

Red/green proof: four failures pre-fix (reserve, attach, first-reservation evaluator, correct disk reason during bootstrap); 111 tests passed after fix.

## Reconciliation (2026-11-09 weekly queue sweep)

- Shipped: #2595 merged 2026-11-09.
- Production deploy run on `e727f0259` (2026-11-09 01:29 UTC) succeeded and contains this merge, so the change is live.
- Process items (staging slot, coordinator approval) were not re-verified in this sweep.
- Moved from `tasks/active/` to `tasks/archive/` by the weekly reconciliation.
50 changes: 50 additions & 0 deletions tasks/archive/2026-11-09-weekly-queue-reconciliation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# Weekly queue reconciliation (2026-11-09)

SAM task `cron-95d1a1792d3440f08f38dbc6dc0d3af59ef0e12b71de7f18963d7aff02c18bda`. Output branch
`sam/weekly-queue-memory-reconciliation-c18bda`. Task-file-only change: no code, so staging
verification does not apply.

## Problem

The repository task queue drifts from reality: files stay in `tasks/active/` after their PRs
merge, and `tasks/backlog/` accumulates shipped, superseded and duplicate entries. Old open PRs
need a weekly status nudge so their park decisions stay visible.

## Research findings

- `tasks/active/` had 14 files (not ~75). Every one maps to a merged PR (#2475, #2494, #2502,
#2504, #2506, #2526, #2536, #2538/#2540, #2542, #2558, #2576, #2595). Production deploy on
`e727f0259` (2026-11-09 01:29 UTC) succeeded and contains all of them.
- The archived full-installer task still lists open work (shared-engine CI parity, adversarial
audit gaps, release dependencies). Carried to
`tasks/backlog/2026-11-09-installer-shared-engine-follow-ups.md` so it is not lost.
- `tasks/backlog/` had 272 files, classified per file by evidence (merged PR or code path).
- Open PRs older than 7 days: #2376, #2308, #2265, #2062, #1788. The PR Shepherd defers weekly
consolidated reminders on them to this sweep.

## Checklist

- [x] Archive the 14 shipped active tasks with a reconciliation note each; tick checkboxes that
only recorded the merge or deploy
- [x] Carry the installer task's open remainder to a backlog file
- [x] Post a weekly status/park comment on each PR older than 7 days
- [x] Classify every backlog file; delete only shipped, superseded, obsolete or duplicate entries
with evidence; keep anything plausibly open (272 classified: 13 removed, 120 PARTIAL,
139 KEEP; duplicates' unique criteria folded into their canonical files)
- [x] Add reconciliation notes to the 13 PARTIAL files with new progress since the last sweep
- [x] Record a one-line rationale per removed backlog file in the PR description

## Acceptance criteria

- [x] `tasks/active/` contains only this task while the PR is open (archived before merge)
- [x] Every removed backlog file has a one-line rationale in the PR description
- [x] No backlog file with plausibly open work is removed (each removal spot-checked against code)
- [ ] CI green

## Notes

- Removed files and rationale: see the PR description.
- Findings left for humans (not changed here): `rateLimitAnonymous`
(`apps/api/src/middleware/rate-limit.ts`) has no callers since #2588; the `origin/harness/develop`
branch (PRs #943–#953) needs a land-or-retire decision; main CI on `80bb3b6de` (#2598) failed in
`Devcontainer Volume Mount`, so that merge has not deployed yet.
Loading
Loading