Skip to content

docs: update AgentSkill — AMap key pooling, cache improvements, stooq normalization#319

Open
catoneone wants to merge 1 commit intoAffineFoundation:mainfrom
catoneone:update/affine-skill-2025-03-25-cache-apikeys
Open

docs: update AgentSkill — AMap key pooling, cache improvements, stooq normalization#319
catoneone wants to merge 1 commit intoAffineFoundation:mainfrom
catoneone:update/affine-skill-2025-03-25-cache-apikeys

Conversation

@catoneone
Copy link
Copy Markdown
Collaborator

Summary

  • AMap multi-key pooling: AMAP_MAPS_API_KEY now supports comma-separated keys for quota pooling with auto-failover on exhaustion
  • Split cache TTLs: AMap data → 30 days (stable routes/POIs), Transport data → 48 hours (epoch-rotated)
  • Early env error termination: QQR stops episode immediately on API failure instead of wasting remaining tool calls
  • Stale cache fallback (liveweb-arena): Serves stale cached page when refresh fails instead of deleting cache entry
  • Stooq symbol normalization (liveweb-arena): Bare symbols (aapl) canonicalized to suffixed form (aapl.us) for cache dedup

Test plan

  • Review SKILL.md changes for accuracy
  • Cross-reference with upstream commits in affinetes and liveweb-arena

🤖 Generated with Claude Code

…ache fallback, stooq normalization

- AMap API now supports multiple comma-separated keys for quota pooling
- Split cache TTL: AMap 30 days (stable data) vs Transport 48 hours (epoch-rotated)
- QQR early termination on env errors (immediate stop after API failure in step)
- LiveWeb stale cache fallback (serve stale data on refresh failure)
- Stooq plugin URL normalization (bare symbols → canonical suffixed form)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant