Compile one witnessed optional-slot optic and guarded candidate
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 12/100
Research direction
This is a roadmap-level compiler design item that depends on amblicit#290 landing first. Start by reading the Collections v2 O2 and sections 2.1–2.3 referenced in the body, then the existing generic effect and import machinery in the compiler. Done means the Present, Absent, unavailable and integrity-failure cases are covered by positive and negative compiler tests, and targets without the slot capability refuse the package.
Written by the indexing model from the issue text.
Description
.dag: issue-dag/2
.id: ambyte-lang/ambyte#293
.kind: task
.type: feature
.blocked_by: [ambyte-lang/ambyte#290]
Roadmap: flyingrobots/amblicit#288. Executable issue: one coherent, independently mergeable PR.
Outcome
The compiler represents an optional membership observation and a bounded proposed slot change under the versioned collection law.
Scope
- Implement the chosen at/existing representation, typed place namespace, supported reading outcomes, basis/support obligations, and single-slot candidate form.
- Distinguish owner missing from member absent; copying a payload/reading cannot copy ownership or grant authority.
- Add canonical schemas, capability admission, native Target IR checks, and public source specimens; keep runtime enforcement delegated to the target.
Exclusions
- General traversal/composition and a production collection storage implementation.
Acceptance checks
- Positive and negative compiler cases distinguish Present, established Absent, unavailable/partial evidence and typed domain versus integrity failures as specified.
- A copied description cannot fabricate authorization; a reading from another basis cannot silently become current.
- Canonical aliasing, payload/structure misuse, missing operation-level failure declarations and malformed support metadata refuse.
- A target without the slot capability explicitly refuses the package; this PR does not claim Echo execution.
Required prior merges
- flyingrobots/amblicit#290: Settles canonical place identity, outcome attribution, wire shape, and ownership rules.
These are contract prerequisites, not scheduling or shared-file preferences. Native blocked_by relationships carry the same edges.
Safe state after merge
Existing code remains accepted; new artifact forms are explicitly versioned and cannot claim execution on unsupported consumers.
Evidence and baseline
- Collections v2 O2 and sections 2.1–2.3; current generic effect/import machinery is the starting seam.
This is a plan, not a claim that the behavior already exists. Before implementation, refresh the relevant source and artifact pins. Preserve compatibility or explicitly version and refuse unsupported capabilities.
Closure evidence
Link the implementation PR using GitHub's closing reference for this exact issue. Record meaningful regression evidence, required repository checks and independent review, exact source/component identities where applicable, and the resulting mainline integration commit. A compiler-only result cannot stand in for verifier/publication/runtime evidence. Keep the live status here rather than in a parallel local checklist.
- 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