Repository navigation
feat: exfa/compute@1 envelope, groups, packages, workspaces + equipment ids - #1
Merged
Merged
Conversation
…nt ids
docs/27 §5: the engine stays workspace/group-agnostic and consumes a single
compute media; Format owns the host-side documents and the compiler that lowers
them into compute requests.
- types: stable id? on FitModule/FitDrone/FitFighter/FitCargo; Group/GroupActor/
GroupRelation ('project' | 'command', source_item_ids, targets, amount,
distance_m, enabled); Package (dependency-closure export); Workspace;
Library.groups (required, {} default).
- resolve: id passthrough into emitted FitRequest items.
- compute.ts: computeRequest() wraps resolveFit into exfa/compute@1 calc.
- group.ts: compileGroup() -> one batch request; project -> projected[]
{kind:fit, select} (strict whitelist, deep-cloned per target), command ->
fleet.booster_fits; issues for missing actors/targets/unknown item ids.
- package.ts: packageFit/packageGroup transitive dependency closure;
mergePackage with rename/replace/skip + reference remapping.
- files: library-index gains groups (authoritative) + groups/<id>.json files.
- schemas: group/package/workspace/compute + fit-document id + library(-index)
groups + vendored fit-request id/select. Versions -> 1.1.0.
Co-authored-by: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
docs/27 §5.2–5.4 — the host-side document layer of the unified compute design. The engine stays workspace/group-agnostic; Format owns fit-plan/group/workspace/package documents and lowers them into
exfa/compute@1requests.computeRequest()— resolved fit →exfa/compute@1calc envelopecompileGroup()— group actors + directed relations → ONEoperation=batchrequest (project→projected[kind=fit]with strict-whitelistselect;command→fleet.booster_fits; deep-cloned per target; issues not throws)packageFit/packageGroup/mergePackage— transitive dependency closure + rename/replace/skip mergeid?on module/drone/fighter/cargo items (drivesselect);Library.groups; library-index +groups/*.jsonfilesTest plan
npm test32/32,npm run build,npm run schema-validatecargo test9/9Generated with Devin