GeezerVison is showing github.com — mcpx TTL convention follow-up: tasks family touch-on-read (#1884 remainder) · Issue #2546 · developing-today/code
mcpx TTL convention follow-up: tasks family touch-on-read (#1884 remainder) #2546DescriptionFollow-up to #1884 (split remainder, named there per its acceptance criteria). The touch-on-read TTL convention is adopted in pkgs/mcpx/docs/decisions/0005-ttl-touch-on-read.md and implemented for the elicit family in PR #2544. This issue covers the tasks family.
Verified 2026-10-29 at origin/main 7d1b081 (queue worker task 3120): internal/tasks/tasks.go:352 DefaultTTL() derives from plumbing.taskTTL (internal/defaults/defaults.go:506); task expiry is absolute from creation, with no lastTouched and no renewal.
Acceptance
- Tasks adopt decision 0005: item reads renew to
min(created + maxAge, lastTouched + ttl); collection reads do not touch; touch never shortens an explicit create-time lifetime and never revives an expired task.
- A paired maxAge ceiling setting is declared in the registry alongside the family's TTL knob (cf.
internal/settings/prototasks.go; the worked example is elicit.ttl/elicit.maxAge in PR mcpx: touch-on-read TTL convention for elicitations (#1884) #2544).
- Task representations touched by the change carry
expiresAt (RFC 3339), lastTouched, ttlRemainingMs.
- No
/renew endpoint or per-resource renew operation.
- Targeted tests cover touch renewal, the maxAge ceiling, and collection-reads-do-not-touch;
go test ./... in pkgs/mcpx passes via CI.
Acceptance criteria
- Tasks adopt decision 0005 touch-on-read: item reads renew to
min(created + maxAge, lastTouched + ttl); collection reads do not touch; touch never shortens an explicit create-time lifetime and never revives an expired task.
- A paired maxAge ceiling setting is declared in the registry alongside the family's TTL knob.
- Task representations touched by the change carry
expiresAt (RFC 3339), lastTouched, ttlRemainingMs; no /renew endpoint is added.
- Targeted tests cover touch renewal, the maxAge ceiling, and collection-reads-do-not-touch; mcpx tests pass via CI.
Activitydezren39 commented on Oct 30, 2026 Intake review
Related: #1884 (origin; elicit family implemented in PR #2544, decision 0005), #2547 (ask family remainder), #2548 (artifacts remainder). A fix task is already queued for this issue (task 3780's sibling — task 3779, repo-health-code-pilot).
Notes: Verified still live this run — internal/tasks/tasks.go DefaultTTL remains absolute-from-creation on main per the filer's 2026-10-29 verification at 7d1b081, and no open PR in this run's snapshot touches the tasks family (PR #2544 is elicit-only).
Risks: Medium — expiry semantics are load-bearing for every mcpx consumer; the never-shorten and never-revive guards are the easy parts to get wrong. The elicit implementation in PR #2544 is the worked example; divergence from its shape needs a stated reason.
Suggested approach: Mirror the elicit family's registry settings and representation fields; add the ceiling and touch rules as table tests first.
— Fleet monitor intake, 2026-10-30T04:30:00Z. Still-live check: open/merged PRs, recent commits, and open/closed issues searched in this run's snapshot; no merged PR explicitly resolves this issue.
dezren39 commented on Oct 31, 2026 🤖 Agent note · picked up
- Agent: repo-worker-code (OpenChamber scheduled lane)
- Session / ID: task 3779
- Task: Revalidate task-family TTL ownership and implement the scoped touch-on-read convention if unowned.
dezren39 commented on Nov 4, 2026
Agent note — picked up
- Agent: repo-worker-code (OpenChamber scheduled lane c8b9355e-319a-4640-8096-7ad19480d151) · Task: 3779
- Revalidated: issue mcpx TTL convention follow-up: tasks family touch-on-read (#1884 remainder) #2546 is OPEN, no hard-stop labels, and no matching open PR found.
- Resume: preserving existing branch queue/3779-2546-tasks-ttl and worktree /home/user/git/fleet/3779; prior checkpoint says task/MCP/daemon tests pass and settings checks fail.
dezren39 commented on Nov 5, 2026 agent-note:v1
event: handed_off
task: 3779 (small_fix, repo-health-code-pilot)
lane: c8b9355e-319a-4640-8096-7ad19480d151
worker: repo-worker-code
at: 2026-11-05T00:25:36Z
status: This lane stopped after its lease window; the latest queue response reports task 3779 still claimed with lane_id code-t. No further queue verbs or file edits were made after that ownership change was observed.
worktree: /home/user/git/fleet/3779 on queue/3779-2546-tasks-ttl; preserve the seven modified WIP files. This lane corrected tasks.maxAge Short and regenerated docs/configuration.md.
verification: worktree docs inventory test and internal/tasks tests pass. Worktree settings guard still fails (11 uncovered settings; 183 exemptions vs pin 182). Clean origin/main baseline has five uncovered settings and no exemption-ratchet failure. Do not attribute remaining compendium/environment failures without clean-base proof.
next: current claimant should verify task ownership and resume from the checkpoint; add the tasks.maxAge effect probe and MCP/v1 route tests, then verify hot-setting updates and maxAge restore behavior. dezren39 commented on Nov 5, 2026 agent-note:v1
state: handed off
task: 3779
worker: repo-worker-code
execution_lane: opencode
session_id: ses_e5e56d67dacffeMNLo5UNbQ6uM
issue: #2546
at: 2026-11-05T00:43:52.592642+00:00
summary: Claimed task bound to this OpenCode session and launched; the worker owns task execution. dezren39 commented on Nov 5, 2026 dezren39 commented on Nov 5, 2026 dezren39 commented on Nov 5, 2026 CI coverage note for PR #5754: gh pr checks currently reports only CodeRabbit (skipping); no policy-listed test job ran. I inspected .github/workflows/mcpx.yml and .github/workflows/mcpx-test.yml at the merged base: both declare schedule/workflow_dispatch triggers, not pull_request. Therefore no go test ./... CI result is available for this PR; the PR records the targeted local tests and the workflow-trigger coverage gap rather than implying CI passed. This workflow gap is outside task 3779.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|