Skip to content

feat(core): configurable cache TTL and explicit cache bypass behavior #150

Description

@xodapi

Problem

vimit already has CacheStore, stale cache fallback, and --no-cache, but the current cache model is not fully explicit for users and contributors.

Open questions remain around:

  • whether TTL is configurable;
  • how manual refresh in --monitor should interact with cache;
  • whether stale fallback and cache bypass semantics are fully documented and consistent.

What to do

Tighten the existing cache behavior without redesigning unrelated runtime logic.

Acceptance Criteria

  • Cache TTL can be configured via config.
  • --no-cache always performs a fresh fetch and does not use stale cache fallback.
  • Manual refresh in --monitor has explicit documented behavior relative to cache.
  • Documentation and output semantics stay consistent with actual cache behavior.

What not to touch

  • No broad refactor of monitor rendering.
  • No unrelated API/retry redesign.
  • No changes to AGENTS workflow.

Supersedes #2.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

agentГотово к выполнению агентомenhancementNew feature or requestfeatzone:cliCLI args/output/integration testszone:coreCore library and shared logic

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions