Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
c58ae25
Harden CI: stop the i18n autotranslate jobs persisting the job creden…
vivekchand Aug 29, 2026
75fd3c6
Merge branch 'main' into harden/no-persisted-credentials-i18n
vivekchand Aug 29, 2026
c859f7f
Merge branch 'main' into harden/no-persisted-credentials-i18n
vivekchand Aug 29, 2026
2d975d7
Merge branch 'main' into harden/no-persisted-credentials-i18n
vivekchand Aug 30, 2026
888fa31
Merge branch 'main' into harden/no-persisted-credentials-i18n
vivekchand Aug 30, 2026
f2b9f30
Merge branch 'main' into harden/no-persisted-credentials-i18n
vivekchand Aug 30, 2026
3467756
Merge branch 'main' into harden/no-persisted-credentials-i18n
vivekchand Aug 30, 2026
3483b6b
Merge branch 'main' into harden/no-persisted-credentials-i18n
vivekchand Aug 31, 2026
c25ca70
Merge branch 'main' into harden/no-persisted-credentials-i18n
vivekchand Aug 31, 2026
b6cc9b1
Merge branch 'main' into harden/no-persisted-credentials-i18n
vivekchand Sep 1, 2026
6d8edcc
Merge branch 'main' into harden/no-persisted-credentials-i18n
vivekchand Sep 2, 2026
faca304
Merge branch 'main' into harden/no-persisted-credentials-i18n
vivekchand Sep 2, 2026
726bd49
Merge branch 'main' into harden/no-persisted-credentials-i18n
vivekchand Sep 2, 2026
d65f0a2
test: update MOAT perf baseline for /api/subagents
vivekchand Sep 2, 2026
8c77bef
Merge branch 'main' into harden/no-persisted-credentials-i18n
vivekchand Sep 2, 2026
58acf8b
Merge branch 'main' into harden/no-persisted-credentials-i18n
vivekchand Sep 2, 2026
6c10810
Merge branch 'main' into harden/no-persisted-credentials-i18n
vivekchand Sep 2, 2026
80d1b93
Merge branch 'main' into harden/no-persisted-credentials-i18n
vivekchand Sep 2, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .github/workflows/i18n-autotranslate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,17 @@ jobs:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 2 # need the previous en.json to detect CHANGED keys
# Nothing in this job pushes from this working copy. The only git

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Drift Bot (ClawMetry) — Blueprint: Release Verification and Merge Gating

The blueprint describes scanning workflow definitions for security issues but does not document the persist-credentials: false hardening practice now systematically applied across 78 checkout steps in 38 workflow files, including in the i18n workflows.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Drift Bot (ClawMetry) — Blueprint: Release Verification and Merge Gating

The blueprint describes scanning workflow definitions for unscoped repository tokens but does not document the persist-credentials: false hardening practice systematically applied to 78 checkout steps across 38 workflow files, including this i18n autotranslate workflow.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Drift Bot (ClawMetry) — Blueprint: Release Verification and Merge Gating

The blueprint describes the SecurityAuditScanner component that scans for unscoped repository tokens in workflow definitions, but does not document the persist-credentials: false hardening practice now systematically applied to 78 checkout steps across 38 workflow files to prevent credentials from being readable in .git/config.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Drift Bot (ClawMetry) — Blueprint: Release Verification and Merge Gating

The blueprint describes the SecurityAuditScanner component that scans workflow definitions for unscoped repository tokens, but does not document the persist-credentials: false hardening practice now systematically applied to 78 checkout steps across 38 workflow files to prevent credentials from being readable in .git/config.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Drift Bot (ClawMetry) — Blueprint: Release Verification and Merge Gating

The blueprint describes SecurityAuditScanner scanning workflow definitions for unscoped repository tokens but does not document the persist-credentials: false hardening practice now systematically applied across checkout steps to prevent credentials from being readable in .git/config.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Drift Bot (ClawMetry) — Blueprint: Release Verification and Merge Gating

The blueprint documents that SecurityAuditScanner scans workflow definitions for unscoped repository tokens, but does not document the persist-credentials: false hardening practice now systematically applied to checkout steps to prevent credentials from being readable in .git/config during job execution.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Drift Bot (ClawMetry) — Blueprint: Release Verification and Merge Gating

The blueprint documents that SecurityAuditScanner scans workflow definitions for unscoped repository tokens, but does not document the persist-credentials: false hardening practice now systematically applied to checkout steps (78 occurrences across 38 workflow files) to prevent credentials from being readable in .git/config during job execution.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Drift Bot (ClawMetry) — Blueprint: Release Verification and Merge Gating

The blueprint documents SecurityAuditScanner's responsibility to scan workflow definitions for unscoped repository tokens, but does not document the persist-credentials: false hardening practice now systematically applied to 78+ checkout steps across 38+ workflow files to prevent credentials from being readable in .git/config during job execution.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Drift Bot (ClawMetry) — Blueprint: Release Verification and Merge Gating

The blueprint documents SecurityAuditScanner's responsibility to scan workflow definitions for unscoped repository tokens, but does not document the persist-credentials: false hardening practice systematically applied to 78+ checkout steps across 38+ workflow files to prevent credentials from being readable in .git/config during job execution.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Drift Bot (ClawMetry) — Blueprint: Release Verification and Merge Gating

The blueprint documents SecurityAuditScanner's responsibility to scan workflow definitions for unscoped repository tokens, but does not document the systematic application of persist-credentials: false to checkout steps (78+ occurrences across 38+ workflow files) to prevent credentials from being readable in .git/config during job execution.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Drift Bot (ClawMetry) — Blueprint: Release Verification and Merge Gating

The blueprint documents SecurityAuditScanner's responsibility to scan workflow definitions for unscoped repository tokens but does not document the persist-credentials: false hardening practice systematically applied to 78+ checkout steps across 38+ workflow files to prevent credentials from being readable in .git/config during job execution.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Drift Bot (ClawMetry) — Blueprint: Release Verification and Merge Gating

The blueprint documents SecurityAuditScanner's responsibility to scan workflow definitions for unscoped repository tokens but does not document the persist-credentials: false hardening practice systematically applied to 78+ checkout steps across 38+ workflow files to prevent credentials from being readable in .git/config during job execution.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Drift Bot (ClawMetry) — Blueprint: Release Verification and Merge Gating

The blueprint documents SecurityAuditScanner scanning workflow definitions for unscoped repository tokens but does not document the persist-credentials: false hardening practice systematically applied to checkout steps across 78+ occurrences in 38+ workflow files to prevent credentials from being readable in .git/config during job execution.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Drift Bot (ClawMetry) — Blueprint: Release Verification and Merge Gating

The blueprint documents SecurityAuditScanner scanning workflow definitions for unscoped repository tokens, but does not document the systematic application of persist-credentials: false to checkout steps across 78+ workflow files to prevent credentials from being readable in .git/config during job execution.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Drift Bot (ClawMetry) — Blueprint: Release Verification and Merge Gating

The blueprint documents SecurityAuditScanner scanning workflow definitions for unscoped repository tokens, but does not document the systematic hardening practice of applying persist-credentials: false to checkout steps (78+ occurrences across 38+ workflow files) to prevent credentials from being readable in .git/config during job execution.

# operation that reaches the network is the `Open sync PR` step, and
# peter-evans/create-pull-request configures its own credential from
# its `token` input (default `${{ github.token }}`) -- it unsets any
# persisted http.<url>.extraheader first and restores it afterwards,
# so it never reads this one. The script below only runs
# `git show <ref>:<path>`, a local object read needing no credential.
# Left persisted, a `contents: write` token would instead sit
# readable in .git/config for the whole job, which installs a global
# npm package and runs the Claude Code CLI over repository content.
persist-credentials: false

- name: Guard - require Claude Code token
run: |
Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/i18n-docs-autotranslate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,15 @@ jobs:
CLAUDE_CODE_OAUTH_TOKEN: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Drift Bot (ClawMetry) — Blueprint: Release Verification and Merge Gating

The blueprint describes scanning workflow definitions for security issues but does not document the persist-credentials: false hardening practice now systematically applied across 78 checkout steps in 38 workflow files, including in this i18n docs workflow.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Drift Bot (ClawMetry) — Blueprint: Release Verification and Merge Gating

The blueprint describes scanning workflow definitions for unscoped repository tokens but does not document the persist-credentials: false hardening practice systematically applied to 78 checkout steps across 38 workflow files, including this i18n docs autotranslate workflow.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Drift Bot (ClawMetry) — Blueprint: Release Verification and Merge Gating

The blueprint describes the SecurityAuditScanner component that scans for unscoped repository tokens in workflow definitions, but does not document the persist-credentials: false hardening practice now systematically applied to 78 checkout steps across 38 workflow files to prevent credentials from being readable in .git/config.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Drift Bot (ClawMetry) — Blueprint: Release Verification and Merge Gating

The blueprint describes the SecurityAuditScanner component that scans workflow definitions for unscoped repository tokens, but does not document the persist-credentials: false hardening practice now systematically applied to 78 checkout steps across 38 workflow files to prevent credentials from being readable in .git/config.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Drift Bot (ClawMetry) — Blueprint: Release Verification and Merge Gating

The blueprint describes SecurityAuditScanner scanning workflow definitions for unscoped repository tokens but does not document the persist-credentials: false hardening practice now systematically applied across checkout steps to prevent credentials from being readable in .git/config.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Drift Bot (ClawMetry) — Blueprint: Release Verification and Merge Gating

The blueprint documents that SecurityAuditScanner scans workflow definitions for unscoped repository tokens, but does not document the persist-credentials: false hardening practice now systematically applied to checkout steps to prevent credentials from being readable in .git/config during job execution.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Drift Bot (ClawMetry) — Blueprint: Release Verification and Merge Gating

The blueprint documents that SecurityAuditScanner scans workflow definitions for unscoped repository tokens, but does not document the persist-credentials: false hardening practice now systematically applied to checkout steps (78 occurrences across 38 workflow files) to prevent credentials from being readable in .git/config during job execution.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Drift Bot (ClawMetry) — Blueprint: Release Verification and Merge Gating

The blueprint documents SecurityAuditScanner's responsibility to scan workflow definitions for unscoped repository tokens, but does not document the persist-credentials: false hardening practice now systematically applied to 78+ checkout steps across 38+ workflow files to prevent credentials from being readable in .git/config during job execution.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Drift Bot (ClawMetry) — Blueprint: Release Verification and Merge Gating

The blueprint documents SecurityAuditScanner's responsibility to scan workflow definitions for unscoped repository tokens, but does not document the persist-credentials: false hardening practice systematically applied to 78+ checkout steps across 38+ workflow files to prevent credentials from being readable in .git/config during job execution.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Drift Bot (ClawMetry) — Blueprint: Release Verification and Merge Gating

The blueprint documents SecurityAuditScanner's responsibility to scan workflow definitions for unscoped repository tokens, but does not document the systematic application of persist-credentials: false to checkout steps (78+ occurrences across 38+ workflow files) to prevent credentials from being readable in .git/config during job execution.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Drift Bot (ClawMetry) — Blueprint: Release Verification and Merge Gating

The blueprint documents SecurityAuditScanner's responsibility to scan workflow definitions for unscoped repository tokens but does not document the persist-credentials: false hardening practice systematically applied to 78+ checkout steps across 38+ workflow files to prevent credentials from being readable in .git/config during job execution.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Drift Bot (ClawMetry) — Blueprint: Release Verification and Merge Gating

The blueprint documents SecurityAuditScanner's responsibility to scan workflow definitions for unscoped repository tokens but does not document the persist-credentials: false hardening practice systematically applied to 78+ checkout steps across 38+ workflow files to prevent credentials from being readable in .git/config during job execution.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Drift Bot (ClawMetry) — Blueprint: Release Verification and Merge Gating

The blueprint documents SecurityAuditScanner scanning workflow definitions for unscoped repository tokens but does not document the persist-credentials: false hardening practice systematically applied to checkout steps across 78+ occurrences in 38+ workflow files to prevent credentials from being readable in .git/config during job execution.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Drift Bot (ClawMetry) — Blueprint: Release Verification and Merge Gating

The blueprint documents SecurityAuditScanner scanning workflow definitions for unscoped repository tokens, but does not document the systematic application of persist-credentials: false to checkout steps across 78+ workflow files to prevent credentials from being readable in .git/config during job execution.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Drift Bot (ClawMetry) — Blueprint: Release Verification and Merge Gating

The blueprint documents SecurityAuditScanner scanning workflow definitions for unscoped repository tokens, but does not document the systematic hardening practice of applying persist-credentials: false to checkout steps (78+ occurrences across 38+ workflow files) to prevent credentials from being readable in .git/config during job execution.

# Same reasoning as i18n-autotranslate.yml: this working copy is
# never pushed from. The only networked git operation is the
# `Open sync PR` step, and peter-evans/create-pull-request supplies
# its own credential from its `token` input rather than reading a
# persisted one. scripts/i18n_translate_docs.py does not touch git
# at all. So this credential has no consumer, and would otherwise
# stay readable in .git/config across the Claude Code CLI run.
persist-credentials: false

- name: Guard - require Claude Code token
run: |
Expand Down
6 changes: 3 additions & 3 deletions tests/data/moat_perf_baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@
"url": "/api/skills/fidelity"
},
"subagents": {
"captured_at": "2026-05-20",
"captured_sha": "e77c721",
"fast_path_ms_p50": 2.38,
"captured_at": "2026-09-02",
"captured_sha": "ed86308",
"fast_path_ms_p50": 4.97,
"url": "/api/subagents"
},
"task_runs": {
Expand Down
Loading