simplenote-mcp-server / workflows
AGENTS.md19 starsChanged 13 months agoMITView on GitHub
CI/CD pipeline definitions. unified-ci.yml is the main pipeline (validate → test → security → status jobs); release.yml is manual-dispatch-only (see root AGENTS.md); others handle Dependabot automation, security scanning, docs, and evaluations.
- Reads credentials
In this repository6 other files it gives its agents.
- AGENTS.mdAGENTS.md
- helm/AGENTS.mdAGENTS.md
- scripts/AGENTS.mdAGENTS.md
- tests/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
The file
Files
.github/workflows/
Purpose
CI/CD pipeline definitions. unified-ci.yml is the main pipeline (validate → test → security → status jobs); release.yml is manual-dispatch-only (see root AGENTS.md); others handle Dependabot automation, security scanning, docs, and evaluations.
Ownership
unified-ci.yml— thin caller:validate(→reusable-python-lint.yml),test(→reusable-python-test.yml, bothtests/andsimplenote_mcp/tests/preserved as separate pytest processes),security(→reusable-security-scan.yml, shared withmonitoring-consolidated.yml),build_and_publish(→reusable-docker-build.yml),local-test(→reusable-local-test.yml),status(aggregation, stays inline — needsneeds.*.resultfrom sibling jobs in the same file). Blocks on version consistency before test/build/security run.test/securityjob IDs are load-bearing: their displayed check names (test / Test,security / Security) are live required branch-protection status checks (validate / Validateis not required, despite existing) — do not rename these job IDs, or the internalname:field of the reusable workflows they call, without first reading the actual resulting check name off a live PR and updating branch protection in the same window (see the 2026-08-13 Phase 9 refactor for the verification protocol).security.yml,dependency-review.yml— Bandit/pip-audit/CodeQL-style scanning.auto-fix.yml— thin caller:resolve-targetjob (inline branch/fix-type allowlist validation, no checkout needed) →reusable-auto-fix-apply.yml(checkout target branch, ruff fix/commit/push — kept inline rather than script-extracted, since the target branch may predate this refactor and lackscripts/) →reusable-auto-fix-notify.yml(PR comment via.github/scripts/find-associated-pr.js/comment-auto-fix.js, summary).auto-merge.yml— thin caller:auto-merge(→reusable-auto-merge-pr.yml) +dependabot-auto-merge(→reusable-dependabot-auto-merge.yml, gated ongithub.actor/github.event_nameat the caller job level, not inside the reusable workflow, sincegithub.event_nameinside a calledworkflow_calljob is not reliably the original triggering event). Neither reusable workflow adds a checkout step — both are triggered by fork-reachable PR events with write-level permissions, so checking out PR content andrequire()-ing a script from it would be a "pwn request" vector; theirgithub-scriptbodies stay inline instead.claude-dependabot-merge.yml,claude-status-check.yml— Dependabot/PR automation (external-repo thin callers).evaluation-quality-gate.yml— thin caller:reusable-eval-quality-run.yml(npm eval suite, gated onANTHROPIC_API_KEYpresence so Dependabot PRs skip gracefully; parsing viascripts/ci/parse_eval_results.py) →reusable-eval-quality-report.yml(PR comment + check-run via.github/scripts/post-quality-gate-comment.js/create-quality-gate-check.js).mcp-evaluations.yml— thin caller:reusable-mcp-eval-run.yml(3mclenhard/mcp-evalsinvocations againstevals/*.yaml, gated onOPENAI_API_KEYpresence — a different secret thanevaluation-quality-gate.yml'sANTHROPIC_API_KEY, previously misdocumented here as the same; falls back toscripts/ci/manual_smoke_test.pywhen absent) →reusable-mcp-eval-pr-check.yml(scripts/ci/validate_eval_yaml.py, PR comment via.github/scripts/comment-eval-files-changed.js).release.yml— manualworkflow_dispatchversion bump/release (patch/minor/major); thin caller:reusable-release-prepare.yml(version bump viascripts/release/bump_version.sh, changelog viascripts/release/generate_release_changelog.sh, commit/tag/push/GitHub-Release — single job, see in-file overage note) →reusable-release-build.yml(build/twine, SBOM+vuln reports viascripts/generate_release_security_reports.py, kept version-synced with the tool pins this script installs) →reusable-release-attach-reports.yml;notifyjob stays inline in the caller.update-version.yml— thin caller (reusable-version-sync.yml); triggers onv*.*.*tag push (also acceptsworkflow_dispatchwith a manualtaginput, for testing), syncs version references post-release viascripts/release/sync_version_references.sh.docs.yml— thin caller (docs build viareusable-docs-build.yml, Pages deploy viareusable-docs-deploy.yml, link check viareusable-docs-link-check.yml).monitoring-consolidated.yml— thin caller (reusable-security-scan.yml— parametrized for eventual reuse byunified-ci.yml'ssecurityjob —reusable-health-check.yml,reusable-badge-check.yml— adoptsscripts/validate-badges.py—reusable-monitoring-summary.yml).publish-pypi.yml— PyPI publish.reusable-*.yml— localworkflow_callreusable workflows, each owned by and used only by the caller(s) listed against it above. Not standalone triggers; see the owning caller foron:semantics. Introduced 2026-08-12 as part of a phased thin-caller refactor (org-standard ≤80-line-per-file check) — the docdyhr org's usual pattern delegates to the separatedocdyhr/.githubrepo (seesecurity.yml/claude-status-check.yml/claude-dependabot-merge.ymlbelow), but these use local composition instead by deliberate choice (no cross-repo versioning/tagging overhead for logic specific to this repo).
Local Contracts
yaml.safe_load()is not sufficient to validateuses:lines. A YAML-valid-but-schema-invaliduses:value (e.g. a bare SHA with the tag comment misplaced, instead ofowner/repo@<sha> # tag) parses cleanly but makes GitHub run zero jobs for every workflow referencing it. Only a schema-aware linter (actionlint) catches this class of bug — not currently run in CI. Runactionlinton any.github/workflows/*.ymledit before considering it done, especially SHA-pinning changes.github-scriptsteps must pass untrusted values viaenv:, never interpolate${{ needs.*.outputs.* }}/${{ github.event.inputs.* }}/${{ steps.*.outputs.* }}directly into thescript:body — an injected value could break out of the JS string literal (script-injection). Read viaprocess.env.*instead; see the existing pattern and comment inauto-fix.yml.dependabot.yml(one directory up, at.github/dependabot.yml) covers four ecosystems:pip,npm,docker,github-actions— keep all four current when adding a new dependency manager to the project.auto-merge.yml'sdependabot-auto-mergejob auto-approves and merges patch/minor Dependabot PRs, but skips any PR touching a security-sensitive package (cryptography,requests,urllib3,aiohttp— matched viacontains()againstdependency-names, so those PRs always fall through to manual review regardless of update type). Add to that list when a new security-sensitive dependency is introduced.mainbranch protection requires 3 status checks (configured 2026-08-11, contexts updated 2026-08-13 after the thin-caller refactor changed their displayed names):test / Test,security / Security,Dependency Review.Validatewas never in the required list, so its post-refactor name (validate / Validate) isn't either. Renamingunified-ci.yml'stest/securityjob IDs, or the internalname:field ofreusable-python-test.yml/reusable-security-scan.yml, changes these check names again — update branch protection (gh api repos/docdyhr/simplenote-mcp-server/branches/main/protection --method PUT, see git history around 2026-08-13 for the exact JSON body shape) in the same window as any such rename, or every subsequent PR becomes permanently unmergeable.
Verification
actionlinton any changed workflow file (manual — not yet wired into CI itself)- Push/PR and watch the
validatejob inunified-ci.ymlactually queues and runs
Child DOX Index
None.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

