micro--go-micro
631c58cb75
goreleaser / goreleaser (push) Has been cancelled
* thesis: position Go Micro as complementary to LangChain, not competing Add a 'Where we fit' section: 'harness' has two layers — the intra-agent harness (single-model runtime: prompts, tools, context, sandbox, the Ralph loop) that LangChain/LangGraph/deepagents/Claude Code own and we do NOT compete with, and the operational harness (the distributed substrate agents operate inside: services-as-tools, discovery, durable runs, observability, interop, the services->agents->workflows lifecycle) which is our focus. They stack and interoperate via MCP/A2A; we make those agents better neighbours, not obsolete. * ci: gate Codex dispatch on CODEX_TRIGGER_TOKEN secret Codex ignores @codex comments authored by the github-actions bot, so the hourly dispatch was producing no PRs while still posting to the tracker issue. Gate the comment step on the presence of CODEX_TRIGGER_TOKEN: the workflow now no-ops until a PAT for a Codex-followed account is set, then activates automatically with no further change. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CmdEY7pYmV5zzwCjNJ4ykL --------- Co-authored-by: Claude <noreply@anthropic.com>
46 行
2.2 KiB
YAML
46 行
2.2 KiB
YAML
name: Continuous Improvement
|
|
|
|
# Durable backbone for the autonomous improvement loop
|
|
# (see internal/docs/CONTINUOUS_IMPROVEMENT.md).
|
|
#
|
|
# A Claude Max subscription provides no API key for CI, so the loop is driven by
|
|
# Codex rather than Claude Code: on a cadence this posts an @codex instruction on
|
|
# the tracker issue (#3024), and Codex runs one improvement increment + opens a PR.
|
|
#
|
|
# Codex does NOT respond to comments authored by the github-actions bot, so the
|
|
# dispatch is GATED on a CODEX_TRIGGER_TOKEN secret (a PAT for a user account Codex
|
|
# follows). Until that secret is set the workflow runs but no-ops — this avoids
|
|
# piling up @codex comments that Codex silently ignores. The moment the secret is
|
|
# added the loop activates with no further change.
|
|
|
|
on:
|
|
workflow_dispatch: {}
|
|
schedule:
|
|
- cron: "29 * * * *" # hourly, off-minute (tune as needed)
|
|
|
|
permissions:
|
|
issues: write
|
|
|
|
concurrency:
|
|
group: continuous-improvement
|
|
cancel-in-progress: false
|
|
|
|
jobs:
|
|
dispatch:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Ask Codex to run one increment
|
|
env:
|
|
GH_TOKEN: ${{ secrets.CODEX_TRIGGER_TOKEN || github.token }}
|
|
HAS_TRIGGER_TOKEN: ${{ secrets.CODEX_TRIGGER_TOKEN != '' }}
|
|
run: |
|
|
if [ "$HAS_TRIGGER_TOKEN" != "true" ]; then
|
|
echo "CODEX_TRIGGER_TOKEN is not set — skipping dispatch."
|
|
echo "Codex ignores comments from the github-actions bot, so posting now"
|
|
echo "would only create noise. Add a CODEX_TRIGGER_TOKEN secret (a PAT for"
|
|
echo "a user account Codex follows) to activate the loop."
|
|
exit 0
|
|
fi
|
|
gh issue comment 3024 --repo "${{ github.repository }}" --body \
|
|
"@codex Run one continuous-improvement increment per internal/docs/CONTINUOUS_IMPROVEMENT.md, aligned to the North Star in internal/docs/THESIS.md (the holistic services → agents → workflows lifecycle). Pick the single highest-value roadmap/issue/improvement-radar item that advances that thesis, implement it, verify \`go build ./...\`, \`go test ./...\`, and \`golangci-lint run ./...\`, and open a PR against master. One concern per PR; stay out of brand/positioning copy and breaking public API."
|