Skip to content

[codex] fix Socket security workflow - #185

Merged
DannyDesert merged 2 commits into
mainfrom
codex/socket-workflow-fix-20260504
May 4, 2026
Merged

DannyDesert merged 2 commits into
mainfrom
codex/socket-workflow-fix-20260504

Conversation

@DannyDesert

@DannyDesert DannyDesert commented May 4, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Replace the unsupported SocketDev/action mode: diff path with Socket's documented CLI workflow.
  • Add an explicit SOCKET_SECURITY_API_KEY precheck so the job degrades clearly when the secret is not configured.
  • Fetch enough history for PR diff context and keep actions pinned.

Verification

  • Ruby regression check: no SocketDev/action or mode: diff; workflow contains socketcli and SOCKET_SECURITY_API_KEY.
  • Node YAML parse: .github/workflows/socket-security.yml parses and contains the socket-security job.
  • Node/bash validation: every run: script passes bash -n.
  • Credential skip simulation: empty SOCKET_SECURITY_API_KEY emits enabled=false, warning, and job summary.
  • Credential-present simulation: non-empty SOCKET_SECURITY_API_KEY emits enabled=true.
  • git diff --check

Notes

  • Repository currently has no SOCKET_SECURITY_API_KEY secret or variable configured, so the workflow will skip with a visible warning until that secret is added.
  • This PR modifies .github/workflows/socket-security.yml; the protected-path guard is expected to require the human-approved label.

@DannyDesert DannyDesert added the human-approved Human has reviewed protected path changes label May 4, 2026
@DannyDesert
DannyDesert marked this pull request as ready for review May 4, 2026 18:26
@DannyDesert
DannyDesert merged commit 2c9c1f3 into main May 4, 2026
6 checks passed
@DannyDesert
DannyDesert deleted the codex/socket-workflow-fix-20260504 branch May 4, 2026 18:27
DannyDesert added a commit that referenced this pull request May 4, 2026
## Summary
- add a public-release readiness regression test that blocks
Troy-specific AWS/Discord/private-network IDs in public
deploy/docs/prompt surfaces
- remove active Strategist Builder/Deployer directive publications and
update the objective workflow examples to route through Architect/AO-era
ownership
- make AO a first-class AWS Terraform service with private Cloud Map
service discovery, Core -> AO URL wiring, AO -> Core callback URL
wiring, AO storage/concurrency config, and fail-fast GitHub/AO auth
checks
- scrub deployment helper docs/scripts and Terraform comments/defaults
so the product does not publish private deployment IDs
- fix Terraform validation blockers in Secrets Manager for_each handling
and S3 lifecycle configuration

## Coverage against existing PRs
- PR #183 already covers local compose/CLI AO install defaults; this PR
covers the AWS Terraform deploy path and public-release leakage checks.
- PR #184 covers broader config wiring drift; this PR only removes the
remaining active Strategist Builder/Deployer publications and adds a
focused regression guard.
- PR #185 is a Socket workflow fix and is not duplicated here.
- PR #186 covers GitHub readiness doctor checks; this PR adds AWS
deploy-time GitHub/AO auth requirements.
- PR #187 covers dynamic repo registration; this PR only passes
GitHub/AO repo identity through AWS deployment config.

## Verification
- `npx vitest run packages/core/tests/public-release-readiness.test.ts`
- `npm run validate-configs --workspace=packages/core`
- `terraform -chdir=deploy/aws validate`
- `npm run typecheck`
- `npm test`
- `npm run build`

## Notes
- `terraform validate` proves syntax/module wiring. The new GitHub/AO
`check` blocks are plan-time guardrails and require real variable values
during an AWS plan/apply.
- The full test suite currently emits an existing Vitest warning about a
nested `vi.mock` in `packages/core/tests/discord-executor.test.ts`;
tests still pass.

Co-authored-by: Troy Murray <troy@graviton.xyz>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

human-approved Human has reviewed protected path changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant