Skip to content

chore(julia): bump shipped env to Piccolo ~1.21 (Specs Phase 1) - #347

Draft
aarontrowbridge wants to merge 2 commits into
mainfrom
amico/env-bump-1.21-271
Draft

chore(julia): bump shipped env to Piccolo ~1.21 (Specs Phase 1)#347
aarontrowbridge wants to merge 2 commits into
mainfrom
amico/env-bump-1.21-271

Conversation

@aarontrowbridge

Copy link
Copy Markdown
Member

Closes harmoniqs/Piccolo.jl#271

Shipped templates do not use the breaking 1.20 APIs — re-vet clean:

  • SmoothPulseProblem via TransmonSystem → UnitaryTrajectory succeeds on Piccolo 1.21.0
  • Piccolo.Specs parse_spec + materialize end-to-end succeeds

Changes:

  • packages/extension/julia/Project.toml: Piccolo ~1.19 → ~1.21
  • packages/extension/julia/Manifest.toml: 1.19.0 ⇒ 1.21.0, +JSON3, +StructTypes

Roadmap: plan-20260812-142100-problemspecs-issimo-roadmap W1.1

)

Deterministic Formulation+CompositeSystem → ProblemSpec per master spec
mapping table (parameterization→pulse.kind+template, min_time→
goal_treatment both+free_dt+time objective, ensemble→sampling wrapper,
leakage→options, custom→not spec-expressible fallback with reason,
T/N/max_iter/integrator flow-through).

- packages/schema/src/project.ts: new pure projection, validated via ajv
- packages/schema/src/index.ts: export projection, table-sniff
  kindForFilename for legacy card vs spec (problem.toml collision)
- packages/schema/julia/validate.jl: parity sniff
- packages/extension/opencode-plugin/problems.ts: rename workspace card
  problem.toml→card.toml (card.json), legacy fallback + migration
- packages/extension/opencode-plugin/amicode_tools.ts: amicode_formulate
  v2 projects → problem.toml/json ajv-validated; amicode_solve v2 reads
  problem.toml, applies T/N/max_iter/integrator overrides, emits
  solvespec.json with problem_spec path (still never launches)
- vitest goldens in project.test.ts + card vs spec disambiguation

Roadmap: plan-20260812-142100-problemspecs-issimo-roadmap W2.1
Spec: spec-20260717-020639-typed-problem-specs-piccolo-amicode

Closes #340
Re-vetted solve_template.jl + skeleton_free.jl against Piccolo 1.21.0:
- `integrator_type = :spline` not used (default bilinear path)
- `unitary_fidelity` direct call unaffected by fidelity(qcp) free-phase change
- `sync_trajectory!` warning is additive

Closes harmoniqs/Piccolo.jl#271
@coderabbitai

coderabbitai Bot commented Aug 12, 2026

Copy link
Copy Markdown

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: edb0ece2-5796-4af3-ab44-a706d23cfb9c

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Comment @coderabbitai help to get the list of available commands.

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.

Bump shipped Julia env compat bound to admit Piccolo v1.21 (Specs Phase 1)

1 participant