AgentSkillsCN

ttl-policy

为框架内容的时效性管理时间存活策略。

SKILL.md
--- frontmatter
name: ttl-policy
description: Manage Time-To-Live policies for framework content freshness
version: 1.0.0

TTL Policy Skill

Purpose

Manage Time-To-Live (TTL) policies for content consumed from the multi-agent-os framework. Ensures information freshness and triggers review cycles when content expires.

When to Use

  • When consuming content from framework
  • When checking document freshness
  • When syncing from upstream
  • When reviewing stale content

TTL by Content Type

TypeTTL (days)Rationale
Protocol/Standard90Core protocols are stable
API Documentation60Interfaces change moderately
Configuration30Configs need frequent updates
Roadmap/Timeline14Time-sensitive
Security Policy90Security requires stability
Decision Record180Decisions are long-lived
Tutorial/Guide60Examples may need updates
Reference Data30Data freshness matters

Status States

code
🟢 FRESH    → now < expires - 7d    → Use normally
🟡 EXPIRING → expires-7d < now < expires → Alert, plan review
🔴 EXPIRED  → now >= expires        → Block usage, require refresh

PROV Tag Format

Add provenance tracking to consumed content:

Compact (1-line)

html
<!-- PROV: https://github.com/ekson73/multi-agent-os/blob/main/protocols/hmp.md | v1.0 | sync:2026-01-07 | TTL:90d | exp:2026-04-07 -->

Inline (Markdown-safe)

markdown
[//]: # (PROV: https://github.com/ekson73/multi-agent-os/blob/main/protocols/hmp.md|v1.0|2026-01-07|TTL90|exp:2026-04-07)

JSON

json
{
  "_prov": "https://github.com/ekson73/multi-agent-os/blob/main/protocols/hmp.md|v1.0|2026-01-07|TTL90|exp:2026-04-07"
}

PROV Fields

FieldFormatExample
full-urlGitHub URLhttps://github.com/.../file.md
versionSemverv1.0
syncISO datesync:2026-01-07
TTLDaysTTL:90d
expISO dateexp:2026-04-07

Agent Actions by Status

StatusAgent ActionHuman Action
🟢 FRESHUse normallyNone needed
🟡 EXPIRINGWarn humanSchedule review
🔴 EXPIREDBlock, require refreshSync from upstream

Sync Protocol

When content is EXPIRED:

  1. Check upstream for updates
  2. Pull latest version
  3. Update sync date
  4. Recalculate expiration
  5. Update PROV tag

Skill based on TTL Policy v1.0 | multi-agent-os