Org foundation pack: reusable workflows + agent guidance#3
Merged
Conversation
- Reusable workflows: security-gate, ci-go, ci-node, deploy-vps. Repos call them via `uses: PerfOpsLab/.github/.github/workflows/X.yml@main`. - Workflow templates surface in GitHub "New workflow" picker. - AGENTS.md / CLAUDE.md as canonical org-wide agent guidance. Repo-local files override; user instructions override both. - Issue templates (task / bug / epic) + PR template + CODEOWNERS. - repos.yaml manifest: stack, deploy target, CI per repo, archive candidates. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Lays down the org-wide foundation that the rest of PerfOpsLab repos will lean on.
Reusable workflows (
workflow_call)reusable-security-gate.yml— gitleaks, npm audit (advisory), govulncheck. Auto-skip if file (package-lock.json/go.mod) absent.reusable-ci-go.yml— gofmt, vet, golangci-lint, build, test (race-by-default).reusable-ci-node.yml— single aggregated check (npm run check) with fallback chain.reusable-deploy-vps.yml— generic SSH/SCP-based VPS deploy with optional clean/build/remote-setup/deploy_script/health/public smoke. Drop-in for the existingmanual-prod-deploy.ymlpattern.Workflow templates (UI "New workflow" picker)
Each reusable workflow has a starter template + properties JSON.
Agent guidance
AGENTS.md— canonical org guidance: hard rules, per-language verification, VPS deploy contract, issue/PR conventions.CLAUDE.md— pointer toAGENTS.md(no duplicate source of truth).Issue + PR templates
bug_report.yml,task.yml,epic.yml+ config disabling blank issues.PULL_REQUEST_TEMPLATE.mdwith verification + risk sections.Manifest
repos.yaml— single source of truth for stack, deploy target, CI per repo. Marksdemo-repositoryandimproved-parakeet-demo-repositoryas archive candidates and notes the pending decision onpolymarket-arborg-transfer.Other
.github/CODEOWNERSdefaults to @muntianus.CONTRIBUTING.md— branch model, pre-merge checklist, link to reusable workflows.Why
Today every repo has its own
security-gate.yml, its own deploy story, and CLAUDE.md is missing in 5 of them. This eliminates the drift before it gets worse and gives sibling repos a single line to call instead of copy-pasting workflow YAML.Verification
workflow_call-only (noon: push/pr); no caller is required to merge them.run:andscript:blocks (no inline${{ inputs.* }}injection into shell).@main— caller pins explicitly when needed.Follow-ups (subsequent PRs in sibling repos)
security-gate.ymlwithuses: PerfOpsLab/.github/.github/workflows/reusable-security-gate.yml@main.AGENTS.md+CLAUDE.mdto launchgate, perfops-action, k6-scenarios, telegram-reminder-simple, iac-monitoring-agent.reusable-deploy-vps.ymlinto VPS-deployed services.🤖 Generated with Claude Code