Skip to content
This repository was archived by the owner on Oct 12, 2026. It is now read-only.

add time-awareness polling tick extension - #84

Merged
0xgleb merged 1 commit into
masterfrom
feat/time-tick
Oct 3, 2026
Merged

0xgleb merged 1 commit into
masterfrom
feat/time-tick

Conversation

@0xgleb

@0xgleb 0xgleb commented Oct 3, 2026

Copy link
Copy Markdown
Member

Motivation

Issue #76: agents receive no signal that time has passed between turns. An agent in a long-running session cannot proactively check deadlines, estimate remaining budget, or pace work against real-world constraints.

Solution

A lightweight time-tick extension that shows a status line with elapsed session time and time since last user input, updating at a configurable interval (default 5 minutes, override via PI_TIME_TICK_INTERVAL_MS). Uses only setStatus — no model turns triggered, no sendMessage, no token consumption beyond the timer itself.

Validation

RED observed (test failed against missing module), GREEN after: time-tick suite 4/4 (configurable interval, elapsed+idle status, input tracking and cleanup, no model turns).

@coderabbitai

coderabbitai Bot commented Oct 3, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 37 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 27e17ee0-5220-4fcc-ae61-83a6bbef705d
📥 Commits

Reviewing files that changed from the base of the PR and between 8f70b08 and 75a50e5.

📒 Files selected for processing (2)
  • pi/extensions/time-tick/index.test.ts
  • pi/extensions/time-tick/index.ts
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@0xgleb
0xgleb merged commit 5b2a077 into master Oct 3, 2026
5 checks passed
@0xgleb
0xgleb deleted the feat/time-tick branch October 3, 2026 21:19
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant