Skip to content

feat(ci): unified engineering pipeline#222

Merged
lukeocodes merged 4 commits intomainfrom
chore/add-context7-action
Apr 13, 2026
Merged

feat(ci): unified engineering pipeline#222
lukeocodes merged 4 commits intomainfrom
chore/add-context7-action

Conversation

@lukeocodes
Copy link
Copy Markdown
Member

Replaces the entire multi-role workflow system with a streamlined, secure engineering pipeline.

What's new

engineering.yml — unified pipeline

  • build job: triggered by type:suggestion label (or cron sweep). Plans with Haiku, builds in a per-language Docker sandbox with Opus. Neurosymbolic layer: working memory, forward-chaining rules, pre-AGENT_DONE constraint checker. Opens a PR with full build log.
  • engineering job: @claude in any PR comment triggers this. Full unrestricted repo access. Org-gated.

issues.yml — issue handler

  • Cron every 5 minutes. Classifies and responds to issues.
  • Every path is org-gated. External issues are completely invisible — no response, no tokens — until a team member manually applies type:suggestion.
  • @claude in an issue comment triggers the handler immediately (org-gated).

notify-docs.yml — rewritten

  • No longer filters by PR title. Detects changed examples/NNN-* dirs from the diff. Creates one issue per changed example in deepgram-docs with full README and BLOG.md embedded.

.github/scripts/

  • plan_agent.py — Haiku planning phase
  • run_agent.py — Opus build agent loop
  • agent_state.py — neurosymbolic layer (WorkingMemory, RuleEngine, constraint checker)
  • filter_secrets.py, next_example_number.py, system_prompt.md

What's removed

engineer, lead-fix, lead-review, pm-suggestions, pm-dashboard, test-examples, test-existing, vp, claude-mentions workflows and the entire instructions/ directory.

Secrets required

  • ANTHROPIC_API_KEY — planning + agent loop
  • DEEPGRAM_API_KEY — passed into sandbox for real API calls
  • DOCS_PATissues:write on deepgram/deepgram-docs (already exists)
  • Partner secrets as needed (planner selects them per-issue)

- Pin all actions/checkout@v4, anthropics/claude-code-action@beta, and
  other unpinned refs to commit SHAs across all workflows
- notify-docs: remove broken passing check (README has no ✅ markers);
  a merged [Example] PR is sufficient signal to raise the suggestion
Build pipeline:
- engineering.yml: build job (type:suggestion label -> Docker sandbox with
  planning phase, neurosymbolic agent loop, constraint checker, PR on pass)
  and engineering job (@claude in PRs -> full unrestricted repo access)
- issues.yml: issue handler with 5-min cron sweep; all paths org-gated;
  external issues invisible until a team member applies type:suggestion
- notify-docs.yml: rewritten to detect changed examples by file diff rather
  than PR title; one docs issue per changed example dir with full README and
  BLOG.md context embedded

Scripts (.github/scripts/):
- plan_agent.py: Haiku planning phase (runtime, slug, action, secrets)
- run_agent.py: Opus build loop with tool-use in Docker sandbox
- agent_state.py: neurosymbolic layer (WorkingMemory, forward-chaining
  RuleEngine, pre-AGENT_DONE constraint checker)
- filter_secrets.py, next_example_number.py, system_prompt.md

Labels:
- setup-labels.yml: add type:suggestion and automated

Removed:
- engineer, lead-fix, lead-review, pm-suggestions, pm-dashboard,
  test-examples, test-existing, vp, claude-mentions workflows
- instructions/ directory (superseded by .github/scripts/system_prompt.md)
@lukeocodes lukeocodes merged commit 225b1f3 into main Apr 13, 2026
@lukeocodes lukeocodes deleted the chore/add-context7-action branch April 13, 2026 16:35
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