Skip to content

Update Sepo from 0.4.0 to v0.5.0/5f7d2032080e9c0578d0e4cb3b98b2f695f33547 - #18

Draft
sepo-agent-app[bot] wants to merge 1 commit into
mainfrom
agent/update-agent-infra-20260801
Draft

Update Sepo from 0.4.0 to v0.5.0/5f7d2032080e9c0578d0e4cb3b98b2f695f33547#18
sepo-agent-app[bot] wants to merge 1 commit into
mainfrom
agent/update-agent-infra-20260801

Conversation

@sepo-agent-app

@sepo-agent-app sepo-agent-app Bot commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

Update Sepo from 0.4.0 to v0.5.0 (5f7d2032080e9c0578d0e4cb3b98b2f695f33547)

Warning

Opened as a draft: not mergeable as-is. This 0.5.0 update carries a
breaking runtime API change that breaks the diary repo's target-owned
.agent/src/cli/publish-literature-update.ts (npm --prefix .agent run build
fails). A companion target-side fix is required before merge — see
Blocking follow-up below. The agent-owned update itself is internally
consistent and compiles cleanly; only the target-owned CLI fails.

  • Source: self-evolving/repo@v0.5.0 (SHA 5f7d2032080e9c0578d0e4cb3b98b2f695f33547, latest release)
  • Installed: 0.4.0
  • Target branch: main
  • Update mode: conservative merge — agent-owned scope only, no removals, .skills/ and AGENTS.md untouched.

Changed path groups

  • .agent/ — runtime sync (docs, package.json/package-lock.json deps + version, model-defaults.json, shared src/ modules, tests, tools/local-runner/), plus new self-improvement modules/CLIs/tests, README.md, and scripts/test/. Synced without --delete, so all target-only files are preserved.
  • .github/workflows/ — updated agent-entrypoint.yml, agent-router.yml, agent-update.yml; added agent-cache-seed.yml, agent-self-improvement.yml.
  • .github/actions/ — updated setup-agent-runtime/action.yml (adds cache_mode runtime/CLI caching), resolve-agent-provider/resolve-provider.js (reasoning-effort handling).
  • .github/prompts/ — updated agent-answer.md, agent-install.md, agent-update.md; added agent-self-improvement.md.

Audit summary

Item Classification Action
.agent/** shared runtime, docs, tools, tests clean agent-owned updated (sync, no delete)
.agent/src self-improvement modules/CLIs/tests, README.md, scripts/test/ source-only agent-owned added
.agent/src/deployments.ts, literature-update.ts, cli/publish-*.ts, cli/inactivate-preview-deployments.ts + their tests target-owned preserved
3 workflows + 2 actions + 3 prompts (see above) clean agent-owned updated
agent-cache-seed.yml, agent-self-improvement.yml, agent-self-improvement.md source-only agent-owned added
.github/workflows/test-scripts.yml target-customized (adds Quartz site validate/build/test) preserved — see note
.github/assets/sepo-headline.png source-README branding, not runtime skipped
.github/ISSUE_TEMPLATE/*, prompts/garden-*.md, pull_request_template.md, dependabot.yml, actions/deploy-sepo-site, actions/resolve-discussion-ids, actions/resolve-agent-provider/package.json, garden workflows (agent-auto-diary, agent-record-diary, agent-add-idea, agent-site-preview, agent-deploy-site-main, deploy) target-only preserved (untouched)

No legacy scaffolds found (.flows/, .claude/, agent-local.yml, agent-runner.yml, stale Claude/Codex actions — none present). No files removed (remove obsolete = false).

Customizations preserved

  • All target-owned .agent/src CLIs/modules (deployment, literature, preview) and their tests.
  • test-scripts.yml kept at the diary version (Quartz check/build/test lane). Note: 0.5.0's upstream test-scripts.yml adds a paths: filter, a self-evolving/repo/AGENT_TEST_SCRIPTS_ENABLED gate, AGENT_TEST_RUNS_ON, and lane-based test scripts. Consider folding those into the diary's Quartz-aware version in a follow-up.
  • All target-only .github templates, prompts, actions, and garden workflows.
  • Root AGENTS.md (target-owned garden instructions) — untouched. .gitignore already contains .agent/dist/ + .agent/node_modules/.

Blocking follow-up (target-owned, out of update scope)

0.5.0 simplified createRepositoryDiscussion / createDiscussion in the shared .agent/src/discussion.ts to return only { url } (previously CreatedDiscussion with id + url; the GraphQL query no longer selects the node id). The diary's target-owned .agent/src/cli/publish-literature-update.ts still reads discussion.id to post follow-up item comments via addDiscussionComment(discussion.id, …), so it no longer type-checks:

src/cli/publish-literature-update.ts(68,21): error TS2339: Property 'id' does not exist on type '{ url: string; }'.
src/cli/publish-literature-update.ts(76,58): error TS2339: Property 'id' does not exist on type '{ url: string; }'.

This is target application code (out of the agent-infra update scope), so it is intentionally not modified here. The diary maintainers need to adapt the literature-update flow to obtain the discussion node id explicitly (e.g., a dedicated GraphQL lookup by number/URL) or restructure comment posting. Once that lands, the build/test lane goes green.

Validation

  • git diff --check / git diff --cached --check: PASS (no whitespace errors)
  • npm --prefix .agent ci: PASS (new pinned deps: @agentclientprotocol/codex-acp@1.1.2, acpx@^0.12.0)
  • Workflow/action YAML parse (all updated + new files): PASS
  • npm --prefix .agent run build (tsc): FAIL — 2 errors, both in target-owned publish-literature-update.ts (above). All agent-owned code compiles cleanly.
  • npm --prefix .agent test: FAIL — gated by build; test:runtime, check:workflow, check:docs, check:shell did not run.

Memory / rubrics branches

  • agent/memory exists (2f0ed3c…) — not reinitialized. agent/rubrics absent (repo has no rubrics steering).
  • refs/agent-state/* and other agent/* branches left untouched.

Post-merge notes (document only)

  1. Land the target-side fix for publish-literature-update.ts (above) so the build/test lane passes.
  2. New workflows agent-cache-seed.yml and agent-self-improvement.yml are introduced by 0.5.0 — review any vars/secrets they expect before relying on them.
  3. setup-agent-runtime now supports cache_mode (default full); no action required, but review if you pin runners.
  4. Verify provider secrets still match updated workflows; optionally consider merging 0.5.0's test-scripts.yml gating into the Quartz-aware version.

🤖 Generated with Claude Code

Update Sepo agent infrastructure from 0.4.0 to v0.5.0
(5f7d2032080e9c0578d0e4cb3b98b2f695f33547).

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
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