perf(calendar): finish page-switch loading and agent continuation #1

Closed
arielle wants to merge 0 commits from arielle/calendar-ui-agent-author into main AGit
Owner

Calendar and Feed can wait on optional Tasks, identity and cache work before rendering during a page switch. This change starts independent work early while retaining account checks, lifecycle cancellation, draft preservation and scoped offline fallback.

The agent harness adds isolated Git worktrees, compact context, direct peer mail, controller-owned Linux CI, bounded durable continuation and independent review with author acknowledgment. Local Codex trials use a verified native sandbox and isolated executables. Resolved continuation warnings are cleared, and Forgejo now gates harness and browser regressions without launching models.

Validation:

  • 405 Python harness regression tests passed.
  • 1,058 locked offline Rust tests passed on Audiopluginserver for the retained candidate; independent free-model review accepted and the author acknowledged.
  • The final Calendar contract update passed all 36 cases and rejected three temporary regression mutations.
  • Calendar offline, Calendar/Feed loading and real service-worker document navigation, observatory and team-board fixtures passed in Chromium, Firefox and WebKit.

This PR completes codex/calendar-ui-agent-author. Hosted checks must pass before merging. Browser fixtures do not establish installed macOS performance, and no application deployment is included.

Calendar and Feed can wait on optional Tasks, identity and cache work before rendering during a page switch. This change starts independent work early while retaining account checks, lifecycle cancellation, draft preservation and scoped offline fallback. The agent harness adds isolated Git worktrees, compact context, direct peer mail, controller-owned Linux CI, bounded durable continuation and independent review with author acknowledgment. Local Codex trials use a verified native sandbox and isolated executables. Resolved continuation warnings are cleared, and Forgejo now gates harness and browser regressions without launching models. Validation: - 405 Python harness regression tests passed. - 1,058 locked offline Rust tests passed on Audiopluginserver for the retained candidate; independent free-model review accepted and the author acknowledged. - The final Calendar contract update passed all 36 cases and rejected three temporary regression mutations. - Calendar offline, Calendar/Feed loading and real service-worker document navigation, observatory and team-board fixtures passed in Chromium, Firefox and WebKit. This PR completes codex/calendar-ui-agent-author. Hosted checks must pass before merging. Browser fixtures do not establish installed macOS performance, and no application deployment is included.
feat(agents): isolate edits and share project knowledge
All checks were successful
Secret Scan / Secret scan (push) Successful in 34s
83c2e99fb8
Use retained detached Git worktrees for new OpenCode edit runs, preserve existing candidates, and project only safe source into checks. Connect the controller to shared Memora and code graph reads through authenticated loopback SSH forwarding.

Explain historical sandbox setup blocks, show shared knowledge availability, and record the verified Feed deployment.

Verified 263 Python tests, board and monitor browser suites in Chromium, Firefox and WebKit, and live canonical knowledge retrieval.
docs(agents): record verified worktree and knowledge rollout
All checks were successful
Secret Scan / Secret scan (push) Successful in 35s
ce1121fec4
Enabled OpenCode worktrees and shared Memora/code graph access on Audiopluginserver. Clarified historical sandbox setup warnings and marked the Calendar suggestion implemented.

Verified 263 tests locally and in the live isolated pipeline, independent review, author acknowledgment, and preservation of both checkouts. Feed fixes are deployed and healthy.
test(navigation): reproduce blocked Calendar and Feed loads
All checks were successful
Secret Scan / Secret scan (push) Successful in 33s
4696d8be72
Add held-request regressions for Calendar range painting and authorized Feed cache versus live document races. Expose a protected three-browser navigation check to image-capable OpenCode workers.

Baseline reproduces 17 failures and 3 passes. Existing Calendar suites, worker cache runtime, board UI in three engines and 39 edit-pipeline tests pass.
fix(agents): budget paired navigation edits explicitly
All checks were successful
Secret Scan / Secret scan (push) Successful in 33s
9ab74527c0
test(navigation): cover real WebKit document identity handoff
All checks were successful
Secret Scan / Secret scan (push) Successful in 37s
3ec169cd52
The Calendar template no longer calls offline.saveSnapshot with an inline
'calendar' literal. It routes snapshot writes through the shared
saveOfflineSurfaceSnapshot helper, so the surface name is a parameter and
the coordinator is preferred over the data-layer fallback.

Update the two stale source contracts to assert the helper call and both
writer paths instead of the removed literal. The runtime behaviour is
unchanged: the Calendar still persists an account-scoped snapshot under the
'calendar' surface.

These two assertions have failed on main since fdba3489 (fix(calendar):
keep live events editable when Tasks fails) refactored the template, and
they were excluded from the scoped rerun of 09b69921 rather than repaired.

Co-Authored-By: OpenCode <opencode@opencode.ai>
test(offline): track the refactored Calendar coordinator writer
All checks were successful
Secret Scan / Secret scan (push) Successful in 32s
c6cf933afe
The Calendar template routes snapshot writes through the shared
saveOfflineSurfaceSnapshot helper, so the coordinator call takes the
surface name as a parameter instead of an inline 'calendar' literal.

Update the coordinator contract to assert the helper call and the
coordinator path. This assertion has failed since fdba3489 refactored the
template; CI never reached this target because it sorts after
compat_routes, which failed first and stopped the fail-fast run.

Co-Authored-By: OpenCode <opencode@opencode.ai>
perf(navigation): render Calendar and Feed before optional waits
All checks were successful
Secret Scan / Secret scan (push) Successful in 33s
ccf6ac95cf
Paint Calendar from its range response while Tasks updates only the sidebar. Race live Feed HTML against freshly authorized saved content, including unbound WebKit navigation clients, and prevent prior-account fallback after rejected identity. Keep cache and performance side effects on the selected winner.

Verified protected loading checks and actual service-worker document navigation in Chromium, Firefox and WebKit; Calendar/Feed browser regressions and worker runtime checks pass. Fixture timings do not prove installed macOS latency.
feat(agents): coordinate durable free-model repair pipelines
All checks were successful
Secret Scan / Secret scan (push) Successful in 32s
f4cf04d2d5
Add scoped live peer mailboxes, explicit cross-request collaboration, compact source-backed context and Codex continuation capsules. Run fixed Linux CI, gate test edits with independent static integrity checks, and route failures through diagnosis, rework, independent review and author feedback. Prefer Big Pickle for text repairs while retaining image-capable models for UI work.

Retain isolated candidates across interruptions, deduplicate fresh-context resumes, isolate damaged checkpoints and supervise the persistent Linux worker with a user service. Preserve explicit cancellation and scope boundaries; no automatic merge, deployment or paid-model fallback.

Verified 371 Python regressions, 20 Linux CI projection tests, three-engine board browser coverage, source syntax and skill validation. Live repair trial and full Rust CI follow publication; the continuation CLI does not monitor desktop Codex quota automatically.
fix(agents): validate real candidates and hand off CLI quota failures
All checks were successful
Secret Scan / Secret scan (push) Successful in 35s
350df39f89
Validate context hashes against retained candidate files outside the sandbox, preserve free Big Pickle defaults across text repair stages, accept MCP progress metadata and retain sanitized report diagnostics. Include public Rust credential modules in the trusted CI projection while keeping private data excluded.

Add opt-in automatic continuation after usage-limit errors from explicitly monitored Codex CLI tasks. Rebuild only approved partial edits at the same source pin, preserve free-model choices and avoid session logs or credential polling. Desktop chat quota detection and automatic Codex return remain outside this path.

Verified native-artifact/placeholder regression, 20 CI projection tests and nine quota-handoff tests including a real loopback receipt and operator cancellation.
fix(agents): retain completed reports and complete Linux test inputs
All checks were successful
Secret Scan / Secret scan (push) Successful in 33s
586c07386f
Publish edit reports atomically, finish CLI collection once a native report is durable, and validate completed reports even if post-submission chatter reaches the time or tool budget. Explicit cancellation still takes precedence.

Materialize safe pinned relative Git links as read-only source and bind the trusted Node runtime for Rust navigation tests. Keep private data, escaping links and host symlinks excluded.

Verified 22 CI input tests, native completion/deadline/cancellation regressions, actual test.sh projection and a Linux Node runtime smoke check.
fix(agents): preserve completed work across worker restarts
All checks were successful
Secret Scan / Secret scan (push) Successful in 32s
a5ecbc5f34
Retain validated reports after CLI timeouts, checkpoint interrupted work, and block duplicate orphaned CI containers. Allow bounded repairs in existing large Rust test files.

Verified 395 harness tests, three browser engines and a recovered free Big Pickle trial. Linux CI preserved the original checkout and found one stale navigation test anchor after 1000 passing tests; the free repair pipeline will handle it.
fix(agents): ignore pruned history when discovering live peers
All checks were successful
Secret Scan / Secret scan (push) Successful in 37s
07ee1a91da
fix(agents): focus continuation context within stage budgets
All checks were successful
Secret Scan / Secret scan (push) Successful in 35s
1ed4c75404
fix(agents): reserve a same-session context completion
All checks were successful
Secret Scan / Secret scan (push) Successful in 35s
239ae8a2e1
fix(agents): include GnuPG in the pinned Linux CI runtime
All checks were successful
Secret Scan / Secret scan (push) Successful in 33s
4d151275e0
fix(agents): restore protected Codex trials
All checks were successful
Secret Scan / Secret scan (push) Successful in 35s
e517164a9a
Use [native Codex permissions](https://learn.chatgpt.com/docs/permissions) without nested sandboxing. Fresh analysis and edit trials completed, and the dashboard now shows their results. Original files and credentials remain protected.

Fix mailbox concurrency and apply the agent-reviewed navigation test repair.

Verified: 404 harness tests and 1,058 Linux Rust tests passed; independent review accepted and the author acknowledged.
ci(agents): enforce final calendar agent verification
Some checks failed
Security Assurance / Real-liboqs boundary check (pull_request) Has been skipped
Agent harness and navigation / Harness regression tests (push) Successful in 47s
Secret Scan / Secret scan (push) Successful in 48s
Agent harness and navigation / Harness regression tests (pull_request) Successful in 40s
Agent harness and navigation / Browser regression tests (push) Successful in 4m0s
Rust CI / cargo test (pull_request) Has been cancelled
Secret Scan / Secret scan (pull_request) Has been cancelled
Agent harness and navigation / Browser regression tests (pull_request) Has been cancelled
Security Assurance / Rust security boundaries (pull_request) Has been cancelled
Security Assurance / Dependency audit and SBOM (pull_request) Has been cancelled
Security Assurance / Secret scan (pull_request) Has been cancelled
Security Assurance / ActivityPub parser fuzz smoke (pull_request) Has been cancelled
Rust CI / fmt + clippy (pull_request) Has been cancelled
60e8d4308f
Run harness and browser regressions on relevant Forgejo pushes and pull requests. Clear resolved continuation warnings and constrain Calendar stale-load checks to the actual loader.

Verified 405 harness tests, 36 Calendar contracts and Chromium, Firefox and WebKit browser suites. Three temporary Calendar regressions were rejected.
ci(agents): cover model policy without duplicate branch jobs
Some checks failed
Security Assurance / Real-liboqs boundary check (pull_request) Has been skipped
Agent harness and navigation / Harness regression tests (pull_request) Successful in 35s
Rust CI / fmt + clippy (pull_request) Failing after 18s
Secret Scan / Secret scan (push) Has been cancelled
Secret Scan / Secret scan (pull_request) Has been cancelled
Security Assurance / Rust security boundaries (pull_request) Has been cancelled
Security Assurance / Dependency audit and SBOM (pull_request) Has been cancelled
Security Assurance / Secret scan (pull_request) Has been cancelled
Security Assurance / ActivityPub parser fuzz smoke (pull_request) Has been cancelled
Agent harness and navigation / Browser regression tests (pull_request) Has been cancelled
Rust CI / cargo test (pull_request) Has been cancelled
da773e4325
style(tests): format the retained navigation assertion
Some checks failed
Security Assurance / Real-liboqs boundary check (pull_request) Has been skipped
Agent harness and navigation / Harness regression tests (pull_request) Successful in 39s
Rust CI / fmt + clippy (pull_request) Successful in 57s
Agent harness and navigation / Browser regression tests (pull_request) Successful in 3m44s
Secret Scan / Secret scan (pull_request) Successful in 46s
Security Assurance / Rust security boundaries (pull_request) Successful in 4m53s
Security Assurance / Dependency audit and SBOM (pull_request) Successful in 30s
Security Assurance / Secret scan (pull_request) Successful in 48s
Security Assurance / ActivityPub parser fuzz smoke (pull_request) Successful in 10m38s
Rust CI / cargo test (pull_request) Successful in 21m20s
Agent harness and navigation / Harness regression tests (push) Successful in 44s
Rust CI / fmt + clippy (push) Successful in 49s
Agent harness and navigation / Browser regression tests (push) Successful in 3m0s
Secret Scan / Secret scan (push) Successful in 57s
Security Assurance / Rust security boundaries (push) Successful in 5m1s
Security Assurance / Dependency audit and SBOM (push) Successful in 29s
Security Assurance / Secret scan (push) Successful in 47s
Security Assurance / ActivityPub parser fuzz smoke (push) Successful in 9m51s
Security Assurance / Real-liboqs boundary check (push) Failing after 2s
Rust CI / cargo test (push) Successful in 20m46s
f9a003be91
arielle closed this pull request 2026-10-22 06:05:58 +02:00
Some checks failed
Security Assurance / Real-liboqs boundary check (pull_request) Has been skipped
Agent harness and navigation / Harness regression tests (pull_request) Successful in 39s
Rust CI / fmt + clippy (pull_request) Successful in 57s
Agent harness and navigation / Browser regression tests (pull_request) Successful in 3m44s
Secret Scan / Secret scan (pull_request) Successful in 46s
Security Assurance / Rust security boundaries (pull_request) Successful in 4m53s
Security Assurance / Dependency audit and SBOM (pull_request) Successful in 30s
Security Assurance / Secret scan (pull_request) Successful in 48s
Security Assurance / ActivityPub parser fuzz smoke (pull_request) Successful in 10m38s
Rust CI / cargo test (pull_request) Successful in 21m20s
Agent harness and navigation / Harness regression tests (push) Successful in 44s
Rust CI / fmt + clippy (push) Successful in 49s
Agent harness and navigation / Browser regression tests (push) Successful in 3m0s
Secret Scan / Secret scan (push) Successful in 57s
Security Assurance / Rust security boundaries (push) Successful in 5m1s
Security Assurance / Dependency audit and SBOM (push) Successful in 29s
Security Assurance / Secret scan (push) Successful in 47s
Security Assurance / ActivityPub parser fuzz smoke (push) Successful in 9m51s
Security Assurance / Real-liboqs boundary check (push) Failing after 2s
Rust CI / cargo test (push) Successful in 20m46s

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
arielle/polycule-rust!1
No description provided.