AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified Apache-2.0 Self-run

Post Deploy Canary Monitor

skill-felvieira-claude-skills-fv-46-post-deploy-canary-monitor · by felvieira

|

No reviews yet
0 installs
28 views
0.0% view→install

Install

$ agentstack add skill-felvieira-claude-skills-fv-46-post-deploy-canary-monitor

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access Used
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-felvieira-claude-skills-fv-46-post-deploy-canary-monitor)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
3mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Post Deploy Canary Monitor? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Post-Deploy Canary Monitor — Vigia Producao Sem Dormir

> Inspiracao: gstack/canary (MIT, Garry Tan). > Adaptado: foca em pos-deploy (depois do 100% rollout), enquanto skill 43 cobre durante o rollout gradual.

Diferenca vs skill 43 (canary-deployment)

| | Skill 43 canary-deployment | Skill 45 post-deploy-canary-monitor (esta) | |------------------|----------------------------|--------------------------------------------| | Momento | DURANTE o rollout (0% → 100%) | DEPOIS do rollout completar (100% live) | | Decisao | Promover ou abortar deploy | Manter producao ou rollback | | Mecanismo | Traffic split, feature flag, blue-green | Polling de metricas + screenshot diff | | Termina quando | 100% completo OU abortou | Janela de observacao expirou OK | | Escalacao | (proprio rollback do canary) | Chama skill 43 (rollback) ou skill 24 (release-manager) |

Quando Usar

  • deploy acabou de fechar 100% — primeiras 2-24h de vigilancia
  • mudanca grande (migration, refactor, framework upgrade) que pode regredir silencioso
  • sem observability robusta no projeto (esta skill cobre o basico)
  • producao critica onde "deploy passou no canary 5%" nao garante "100% e saudavel"

Quando NAO Usar

  • voce ja tem Datadog/Sentry/NewRelic com alertas — use o sistema existente
  • deploy trivial (config change, doc) sem risco
  • ainda esta no rollout — use skill 43

Governanca Global

Segue GLOBAL.md, policies/verification-before-completion.md (a verificacao continua apos deploy fechar), policies/handoffs.md (escalacao pra skill 43), policies/observability-trace-tags.md.

Gate contra constituicao

Quando memory/constitution.md define SLOs no eixo Performance/Reliability:

  • baseline pre-deploy precisa estar capturado antes desta skill comecar
  • threshold de abort = SLO violado + N% margem
  • error budget restante deve cobrir esta janela de observacao

Inputs

url: https://prod.exemplo.com
baseline:
  metrics: ./baseline/metrics-pre-deploy.json
  screenshots: ./baseline/screenshots/
thresholds:
  console_errors_per_min: 0          # zero tolerancia
  lcp_regression_pct: 20              # >20% pior que baseline = abort
  cls_regression_pct: 25
  screenshot_diff_pct: 5              # >5% de pixels diferentes em paginas-chave
  status_5xx_pct: 1                   # >1% de respostas 5xx
window:
  interval: 15m
  duration: 24h
  abort_after_consecutive_failures: 2
escalation:
  on_abort: skill-43-rollback         # ou comando manual
  notify: 

Protocolo

1. Captura baseline (pre-deploy)

Se nao houver baseline ainda, capturar antes do deploy:

# Metricas
curl -s "$URL/metrics" > baseline/metrics-pre-deploy.json

# Screenshots de paginas-chave (Playwright via anthropic-skills:webapp-testing)
# - homepage
# - 2-3 paginas mais traficadas
# - 1 fluxo critico (checkout, login, search)

2. Loop de vigilancia (pos-deploy)

A cada interval (default 15min), por ate duration (default 24h):

  1. Coletar metricas atuais — mesmo endpoint do baseline
  2. Tirar screenshots atuais — mesmas paginas
  3. Comparar contra baseline:
  • delta de console errors (qualquer >0 = alerta imediato)
  • delta de LCP/CLS (>threshold = alerta)
  • diff de screenshot (>threshold pixels = alerta)
  • taxa de 5xx (>threshold = alerta)
  1. Registrar em docs/canary-runs/YYYY-MM-DD-/timeline.jsonl:
{"t":"15:00","status":"ok","lcp_delta":-2,"errors":0,"screenshot_diff":0.4}
{"t":"15:15","status":"ok","lcp_delta":+5,"errors":0,"screenshot_diff":0.6}
{"t":"15:30","status":"alert","lcp_delta":+22,"errors":3,"screenshot_diff":7.2,"reason":"lcp_regression+errors"}
  1. Decidir:
  • tudo verde → continuar ate fim da janela → mark healthy
  • 1 alerta → log e continuar (false-positive comum)
  • 2 alertas consecutivos → escalar abort

3. Escalacao em abort

Ao detectar 2 falhas consecutivas:

  1. Registrar evento detalhado em docs/canary-runs/.../abort.md
  2. Notificar canal configurado (slack/email)
  3. Sugerir:
  • opcao A: /run-program rollback ou skill 43 reverse
  • opcao B: investigar (skill 06 + skill 34) — se nao for security/perf, hotfix
  • opcao C: user override (false positive confirmado)

NAO faz rollback automatico por default. Producao = decisao humana, salvo override explicito no input.

4. Saida saudavel

Ao final da janela sem aborts:

  1. Mark release healthy em docs/canary-runs/.../verdict.md
  2. Atualizar docs/releases/.md com link pro report
  3. Sugerir promover baseline atual como novo baseline canonico

Output canonico

docs/canary-runs/2026-05-27-v2.19.0/
├── input.yaml           # config usada
├── baseline/
│   ├── metrics.json
│   └── screenshots/
├── timeline.jsonl       # 1 linha por check
├── abort.md (se houve)  # detalhes do incidente
└── verdict.md           # healthy | rolled-back | aborted

Handoffs

  • escalacao: skill 43 (canary-deployment reverso) ou skill 24 (release-manager)
  • investigacao pos-abort: skill 06 (security) + skill 34 (static-analysis) + skill debugger
  • registro pos-saudavel: skill 24 (release-manager) atualiza changelog com badge "verified"

Dependencias

  • anthropic-skills:webapp-testing (Playwright) — captura screenshots
  • skill 20 (observability-sre) — define o que metrificar
  • skill 43 (canary-deployment) — escalacao de rollback
  • skill 30 (cost-tracker) — esta skill consome recursos durante a janela

Anti-padroes

  • ❌ Rollback automatico sem decisao humana (default) — producao nao se rolla sozinha
  • ❌ Janela infinita — sempre duration finito (24h-7d max)
  • ❌ Ignorar console error porque "e so um warning" — qualquer aumento = sinal
  • ❌ Sem baseline pre-deploy — comparacao impossivel
  • ❌ Screenshot diff sem mascarar areas dinamicas (timestamps, randoms) — gera false positive
  • ❌ Esta skill substituir observability profissional — ela cobre o gap, nao o ouro padrao

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.