AgentSkillsCN

colocation-time-sync

共置时间同步工作流,适用于量化研究、实施与生产控制。适用于在涉及时钟同步、路径对称,以及临近优势的任务。

SKILL.md
--- frontmatter
name: colocation-time-sync
description: "Colocation Time Sync workflows for quantitative research, implementation, and production controls. use when tasks involve clock synchronization, path symmetry, and proximity advantages."

Colocation Time Sync

objective

Execute colocation time sync work with reproducible research, explicit controls, and deployable outputs.

workflow

  1. define end-to-end latency budget and deterministic performance targets.
  2. instrument each stage from feed ingress to order egress.
  3. optimize kernel, memory, and network path for tail-latency reduction.
  4. stress packet bursts, failovers, and capacity saturation scenarios.
  5. promote only after reproducible latency and recovery behavior is verified.

required diagnostics

  • stage-level p50, p99, and p999 latency decomposition.
  • jitter and throughput stability under sustained burst load.
  • packet-loss recovery time and replay correctness.
  • resource saturation signals before service-level breach.
  • clock-skew drift between capture and execution systems

risk controls

  • enforce hard latency and packet-loss service objectives.
  • enforce automatic failover and load-shedding thresholds.
  • enforce runbooks for exchange-connectivity incidents.

outputs

  • run python scripts/colocation_time_sync_diagnostics.py input.csv --output diagnostics.json and keep the json artifact.
  • write an implementation memo using references/colocation-time-sync-playbook.md with assumptions, tests, limits, and rollout plan.

resources

  • use scripts/colocation_time_sync_diagnostics.py for deterministic diagnostics.
  • use references/colocation-time-sync-playbook.md for the domain-specific checklist and delivery structure.