Repository navigation
Docs: ops runbook, agent guide, SETUP.md cleanup - #474
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
🟡 Clear to proceed: Claude of Duty logged 1 item to considerMission: Review the code. Protect the branch. Deploy the future. Note 1 finding to consider. It does not block this PR.
Run 45656880323, attempt 1 for head Claude of Duty never approves a PR. A human reviewer gives the final approval. 📋 Full review record: reasons, checks, signals, finding details, model summaries, token usageReviewed snapshot
Reasons the gate failed None. No reason applies. Checks (code, no model)
Signals (context only, never block)
Dependency changes None. Finding details
Blocking is decided by code from category and severity, never by the model. A finding in a blocking category blocks only at high or critical severity.
The Security pass completed and reported no findings. The Supply chain pass completed and reported no findings. Model summaries
Token usage
|
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
| 5. Immediately merge the pull request. The push to `master` that the merge causes uses `ecr-main` and the new role, and pushes `:prod` and `:latest`. | ||
| - If the first push fails, correct the new role (see the rules above). Then re-run the job. The re-run uses `ecr-approval`, so a maintainer must approve it. | ||
| - When the push run is complete, write down the image digest of `:prod`. Give it to the person who does the back-end CloudTrail check: | ||
| - When the push run is complete, write down the image digest of `:prod`.: |
There was a problem hiding this comment.
low bug, confidence high, pass review
Stray punctuation left after edit
The edit removed the trailing clause but left '.:' so the line ends with a dangling colon before the command block. Cosmetic doc glitch.
Model output from untrusted input. Check it before you act on it.
…s, saved-digest cleanup Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
| 5. Immediately merge the pull request. The push to `master` that the merge causes uses `ecr-main` and the new role, and pushes `:prod` and `:latest`. | ||
| - If the first push fails, correct the new role (see the rules above). Then re-run the job. The re-run uses `ecr-approval`, so a maintainer must approve it. | ||
| - When the push run is complete, write down the image digest of `:prod`. Give it to the person who does the back-end CloudTrail check: | ||
| - When the push run is complete, write down the image digest of `:prod`.: |
There was a problem hiding this comment.
low bug, confidence medium, pass review
Stray punctuation left after removing back-end hand-off
The edit removed the back-end hand-off sentence but left a trailing '.:' which makes the following command block read as a broken sentence.
Model output from untrusted input. Check it before you act on it.
Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
| TS=$(aws elbv2 describe-target-health --target-group-arn "$TG" --query 'TargetHealthDescriptions[0].TargetHealth.State' --output text) | ||
| test "$TS" = healthy || { echo "target state is $TS: STOP"; false; } | ||
| # c) no errors in the last 15 minutes | ||
| E=$(aws logs filter-log-events --log-group-name ecs-20221213004720404200000001 \ |
There was a problem hiding this comment.
low bug, confidence medium, pass review
Post-deploy log check may flag old errors and uses wrong filter semantics
The check uses a 15-minute window that can include errors from the previous (failed or pre-deploy) task, causing false STOP/rollback. Also under set -e, a failure of the aws call aborts without a clear message. Minor runbook reliability issue.
Model output from untrusted input. Check it before you act on it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
| test "$TS" = healthy || { echo "target state is $TS: STOP"; false; } | ||
| # c) no errors since the new task started (errors of the old task do not count) | ||
| A=$(aws ecs describe-tasks --cluster $C --tasks "$T" --query 'tasks[0].startedAt' --output text) | ||
| B=$(python3 -c 'import sys,datetime as d; print(int(d.datetime.fromisoformat(sys.argv[1]).timestamp()*1000))' "$A") # ISO time to epoch ms, same on macOS and Linux |
There was a problem hiding this comment.
low bug, confidence medium, pass review
startedAt parsing may fail on older Python/AWS CLI output
AWS CLI text output for startedAt can be formatted such that fromisoformat fails on older python3 (before 3.11) for some offsets. With set -e the check block aborts with a traceback rather than a clear STOP. The comment claims it is the same on macOS and Linux, which is not guaranteed.
Model output from untrusted input. Check it before you act on it.
Add OPS.md (deploy, rollback, secrets, deps, logs), mirroring the back-end runbook.
Add AGENTS.md (maintenance mode, public repo rules, commands). No CLAUDE.md: Claude Code reads AGENTS.md when it is absent.
SETUP.md: the old shared role was deleted on 2026-11-23, CloudTrail check clean. Removed the stale back-end link.
Facts checked with read-only AWS calls and the infra Terraform.
🤖 Generated with Claude Code