Skip to content

CI hygiene: drop redundant trufflehog job (+ Deno @cadre/router dup pending)#122

Merged
hyperpolymath merged 5 commits into
mainfrom
claude/ci-hygiene
Jun 20, 2026
Merged

CI hygiene: drop redundant trufflehog job (+ Deno @cadre/router dup pending)#122
hyperpolymath merged 5 commits into
mainfrom
claude/ci-hygiene

Conversation

@hyperpolymath

@hyperpolymath hyperpolymath commented Jun 20, 2026

Copy link
Copy Markdown
Owner

Pre-existing CI failures on main, split out of the now-merged k9-ecosystem PR (#120) so that PR stayed focused. None were introduced by #120. Both now fixed.

Fixed here

Secret Scanner / Workflow security linter + trufflehogsecret-scanner.yml had a hand-rolled trufflehog job that was both unpinned (trufflehog@main) and passed --fail on top of the action's own --fail (flag 'fail' cannot be repeated). The reusable scan job (SHA-pinned hyperpolymath/standards secret-scanner) already runs trufflehog — the passing scan / trufflehog check — so the local job was pure duplication. Removed it.

Language / package anti-pattern — the root deno.json workspace listed ./rescript-ecosystem/cadre-router, .../cadre-router/tea-router, .../cadre-router/tea-router-pkg, and .../cadre-tea-router as copies of the canonical top-level ./cadre-router / ./cadre-tea-router, so two members declared @cadre/router. Unlisted the legacy rescript-ecosystem/cadre-* entries from the workspace (files retained on disk; top-level dirs are canonical).

🤖 Generated with Claude Code

https://claude.ai/code/session_019i2e5ABGBKQmMdqk8puFWx

hyperpolymath and others added 5 commits June 20, 2026 19:31
The hand-rolled `trufflehog` job was both unpinned (`@main`, failing the
Workflow security linter) and passed `--fail` on top of the action's own
`--fail` ("flag 'fail' cannot be repeated"). The reusable `scan` job
(hyperpolymath/standards secret-scanner-reusable, SHA-pinned) already runs
trufflehog — the passing `scan / trufflehog` check — so the local job was
pure duplication. Remove it: fixes both red checks and de-duplicates
secret scanning.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019i2e5ABGBKQmMdqk8puFWx
The root deno.json workspace listed ./rescript-ecosystem/cadre-router,
.../cadre-router/tea-router, .../cadre-router/tea-router-pkg and
.../cadre-tea-router as copies of the canonical top-level ./cadre-router /
./cadre-tea-router, so two workspace members declared @cadre/router and
Deno rejected the workspace ("cannot have the same name"). The top-level
dirs are canonical (registered cadre satellites, go-forward AffineScript
policy); the rescript-ecosystem copies are legacy. Remove the legacy
entries from the workspace (files retained on disk, just not workspace
members), clearing the duplicate-package error.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019i2e5ABGBKQmMdqk8puFWx
create-poly/deno.json declared @hyperpolymath/rescript-poly-core — the
name already owned by packages/core/poly-core — so Deno rejected the
workspace once the cadre duplicates were removed (it only reports one
collision at a time). The file was clearly copied from poly-core. Rename
the package to @hyperpolymath/rescript-create-poly. This was the last
duplicate package name in the workspace.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019i2e5ABGBKQmMdqk8puFWx
@hyperpolymath hyperpolymath marked this pull request as ready for review June 20, 2026 19:21
@hyperpolymath hyperpolymath merged commit 4fa96a6 into main Jun 20, 2026
8 of 17 checks passed
@hyperpolymath hyperpolymath deleted the claude/ci-hygiene branch June 20, 2026 19:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant