Adopt Echo's merged bound-carrying provider package and move the compiler's Echo pins
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- git, rust
- Domain
- build-system
Research direction
Read the repository’s AGENTS.md and code conventions, then inspect scripts/consumer-witnesses/jedit-state-read.Dockerfile, scripts/consumer-witnesses/README.md, and the provider fixture paths named in the issue. Start by checking that Echo#1052 has merged and identify commit P; compare the copied tree and component digests with the manifest. Add the named compiler build test, run the consumer witness by hand, and confirm the acceptance checks and CHANGELOG update.
Written by the indexing model from the issue text.
Description
.dag: issue-dag/2
.id: ambyte-lang/ambyte#385
.kind: task
.type: feature
.blocked_by: [flyingrobots/echo#1052]
.size_hours: 3
Feature
You are the engineer for this issue. Read all sections of this issue.
Write tests from section 2c (Test Plan) first. Make sure that they fail before you write the code.
Do the work in section 2b. Make sure that all tests pass.
Make sure that each item under Acceptance is true.
Do not change anything that Out of scope names.
Read AGENTS.md and the project's code conventions before you change code.
Run the project's checks as AGENTS.md or the README gives them. Do not use --no-verify.
Open a draft pull request. Link this issue. Write progress comments on the pull request.
Make the pull request ready only when every item under Acceptance and in the Definition of Done is true and CI passes.
Outcome
The compiler repository holds Echo's replacement provider package from flyingrobots/echo#1052's merge commit P, with recorded provenance, and its consumer witness pins P.
Scope
- Copy
schemas/edict-provider/package/v1from Echo commitPinto a new fixture directory.fixtures/providers/echo-generated/stays the provider-envelope fixture. - Record
P, the exact tree copied, each component's SHA-256 and the manifest's bindings beside the copy. - Move the Echo revision in
scripts/consumer-witnesses/jedit-state-read.Dockerfileandscripts/consumer-witnesses/README.mdtoP. Refreshfixtures/providers/echo-target-profile/if its bytes differ atP. - A compiler build of
node-atom-readthrough the copied package.
Out of scope
- The emission: flyingrobots/amblicit#359. The oracle's reader: flyingrobots/amblicit#376. Host conversion of the bound refusals: flyingrobots/amblicit#379.
- Any compatibility reader or older package kept beside the current one.
Prerequisites
- flyingrobots/echo#1052: the replacement package merged on Echo's
main(ruling C010 of Echo'sdocs/architecture/one-admission-path.md). This replaces flyingrobots/echo#1086, which named this work in the Echo repository.
Safe intermediate state
Before this task, the compiler's Echo pins name Echo 49e9efb6 and 5413f553, which predate the field, and the manual consumer witness fails with the emitting compiler. After it, the pins name P.
Acceptance
-
git merge-base --is-ancestor P origin/mainsucceeds in flyingrobots/echo, and the copied tree equalsgit archive P schemas/edict-provider/package/v1. - Each component's SHA-256 equals the digest bound in the copied
provider-manifest.echo.json. -
node_atom_read_builds_through_echo_package: the build yields a package whosesemantic_boundequals the target IR'ssemanticBound(units= 1,048,584) (boundary: compiler public build). - The consumer witness passes against
P(run by hand; the result is attached). - Compiler CI is green on the pull request before the merge.
1. Background Context
Under ruling C010 the compiler's emission merges first and Echo's replacement second. The compiler's CI reads no Echo provider package, and its only real Echo pins are the consumer witness and the target-profile copy.
2. Problem Description
The compiler holds no package that accepts its emission, so no compiler-side build through Echo's components is possible.
2b. Proposed Solution
Copy the merged package with provenance and test one build through it. Rejected: replacing echo-generated/, which is an envelope fixture whose tests do not load providers (crates/amblicit-syntax/tests/provider.rs:1-15).
2c. Test Plan
First test: node_atom_read_builds_through_echo_package. Boundary: compiler public build. Pre-change behaviour: no Echo package with semantic_bound exists in the repository, so the test fails at the missing fixture. Kind: baseline RED (missing artifact).
Edges: a component byte changed (digest mismatch refused).
Known failure modes: copying from an unmerged Echo branch.
Fuzz and stress: not applicable.
3. Why now
flyingrobots/amblicit#379 needs Echo's refusal codes in the compiler repository.
4. Risks
A stale copy; the tree-equality check guards it.
5. Definition of Done
Acceptance true; CHANGELOG updated.
6. Stakeholders
flyingrobots (owner); Ambyte and Echo maintainers.
7. Related Issues
flyingrobots/echo#1076, flyingrobots/echo#1086, flyingrobots/amblicit#359, flyingrobots/amblicit#379.
- Dominant language
- Rust
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from flyingrobots/edict
-
Update Wasmtime to 48.0.11 for RUSTSEC-2026-0648Possibly taken @flyingrobots claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
flyingrobots/edict#457 ·
-
enhancement type: goalpost
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
flyingrobots/edict#355 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
flyingrobots/edict#306 ·
-
enhancement type: goalpost
Difficulty 4/5 3-5 days Newbie friendliness 42/100
flyingrobots/edict#451 ·
-
enhancement release:target-ir
Difficulty 5/5 Over a week Newbie friendliness 28/100
flyingrobots/edict#450 · 1 comment · 1 reaction ·
All issues in flyingrobots/edict
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Maintainers usually reply within 1 day
-
autofixer: follow-up triage: bug triage: classified triage: correctness triage: has-reproducer
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
tursodatabase/turso#13221 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
-
O-windows relnotes relnotes-needs-review relnotes-tracking-issue T-libs
Difficulty 1/5 Under an hour Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
approved
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
fritzprix/libr-agent#3266 ·
Maintainers usually reply within 1 day