Skip to content

feat(template): add molecule-security-scan to Backend Engineer (#303) - #307

Merged
HongmingWang-Rabbit merged 1 commit into
mainfrom
fix/backend-engineer-security-scan
Apr 16, 2026
Merged

feat(template): add molecule-security-scan to Backend Engineer (#303)#307
HongmingWang-Rabbit merged 1 commit into
mainfrom
fix/backend-engineer-security-scan

Conversation

@HongmingWang-Rabbit

Copy link
Copy Markdown
Contributor

Closes #303. One-line: extend Backend Engineer plugins from [molecule-hitl, molecule-skill-code-review] to include molecule-security-scan. YAML parse verified. Same pattern as PRs #277 and #289.

🤖 Generated with Claude Code

Closes #303. Surfaces CVE/secret scanning at dev time instead of
waiting for the Security Auditor's 12h cron. Backend Engineer's
plugin list: [molecule-hitl, molecule-skill-code-review,
molecule-security-scan].

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@HongmingWang-Rabbit
HongmingWang-Rabbit merged commit 5c4146e into main Apr 16, 2026
@HongmingWang-Rabbit
HongmingWang-Rabbit deleted the fix/backend-engineer-security-scan branch April 16, 2026 02:21
molecule-ai Bot pushed a commit that referenced this pull request Apr 21, 2026
…y-scan

feat(template): add molecule-security-scan to Backend Engineer (#303)
HongmingWang-Rabbit pushed a commit that referenced this pull request Jun 12, 2026
The workflow's `name:` field contained `GITEA/GITHUB`, which trips
`lint-workflow-yaml` Rule 3 (slash in workflow name breaks
`<workflow> / <job> (<event>)` status-context tokenization). On
2026-05-20 aa375b1f this fatal lint blocked the Production auto-deploy
job on `publish-workspace-server-image`, forcing a manual
`redeploy-fleet` curl.

Rename to "Lint no tenant GITEA or GITHUB token write" (the linter
already documents `-` or space as the supported separators).

Verification:
- Pre-fix: `python3 .gitea/scripts/lint-workflow-yaml.py` → exit 1,
  Rule 3 FATAL on lint-no-tenant-gitea-token.yml.
- Post-fix: same command → exit 0, 'no fatal Gitea-1.22.6-hostile
  shapes', and `pytest tests/test_lint_workflow_yaml.py` 27/27 pass.

Surface unchanged: workflow still triggers on the same pull_request
and push events; only the human-readable display name shifts.
HongmingWang-Rabbit pushed a commit that referenced this pull request Jun 12, 2026
Closes task #307. Unblocks Production auto-deploy SOP path on publish-workspace-server-image (the manual aa375b1f curl is no longer required).

Verification on this SHA:
- Lint workflow YAML for Gitea-1.22.6-hostile shapes: Successful in 1m5s (cured Rule 3).
- Lint no tenant GITEA or GITHUB token write / Scan for repo-host token write into tenant workspace surface: Successful in 4s (renamed, still scans).
- lint-required-context-exists-in-bp: Successful in 1m33s (bp-exempt directive in def1178 satisfies Tier 2g).
- CI / all-required: Successful in 7m31s.
- qa-review: Refired and APPROVED by core-qa (id=4957).
- security-review: Refired and APPROVED by core-security (id=4958).
- sop-checklist / all-items-acked: Successful (7/7 acked).

2/2 APPROVES from core-qa + core-security (both independent of devops-engineer author).
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.

template: Backend Engineer missing molecule-security-scan — CVE gate fires too late (Security Auditor only)

1 participant