Skip to content

chore: build both packages against published GenAgent packages - #1

Open
joshrotenberg wants to merge 2 commits into
mainfrom
chore/standalone-packages
Open

joshrotenberg wants to merge 2 commits into
mainfrom
chore/standalone-packages

Conversation

@joshrotenberg

@joshrotenberg joshrotenberg commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Make the two packages extracted from genagent/gen_agent (genagent/gen_agent#542) build and test on their own against published GenAgent packages.

Status: complete. Local gates pass; CI pending.

Changes

  • structured/mix.exs: gen_agent ~> 0.11.0, and optional gen_agent_claude ~> 0.5.0 and gen_agent_codex ~> 0.8.0, from Hex instead of monorepo paths.
  • delegation/mix.exs: the same published core and backends; gen_agent_structured as a path dependency on ../structured.
  • Path references in READMEs, the plugin README and two build error messages change from extensions/delegation and integrations/structured to delegation and structured.
  • Root README.md, LICENSE and .gitignore.
  • CI: for each package on Elixir 1.19/OTP 27 and 1.20/OTP 29, run deps.get --check-locked, deps.unlock --check-unused, hex.audit, compile with warnings as errors, format check and tests; plus examples/check_profiles.exs for structured and the plugin export for delegation. These are the checks gen_agent's scripts/quality.sh ran for them.

Gates

scripts/quality.sh locally, both packages:

Package deps locked/unused, hex.audit compile (warnings as errors) format test extra
structured pass pass pass 54 passed check_profiles.exs: 3 profiles accepted, malformed rejected
delegation pass pass pass 96 passed plugin export built for aarch64-apple-darwin

The test counts are the same files that ran in gen_agent; only mix.exs, lockfiles, docs and two error messages changed.

Out of scope

  • Hex publication (still undecided in #472, which moves here).
  • Behaviour changes in either package.

structured and delegation depend on gen_agent ~> 0.11.0,
gen_agent_claude ~> 0.5.0 and gen_agent_codex ~> 0.8.0 from Hex
instead of monorepo paths; delegation takes structured from
../structured. Paths in docs and build messages follow the new
layout. Adds a root README, LICENSE, .gitignore, the quality script
ported from gen_agent, and CI running it for both packages on Elixir
1.19/OTP 27 and 1.20/OTP 29.
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