Skip to content

Compile basis-bound validated workspace patch requests #178

Description

@flyingrobots

Outcome

Edict compiles a typed, capability-bounded validated workspace patch request whose exact Core-to-Target derivation can be independently verified by Echo.

Acceptance

  • real Edict source and a complete capability/lawpack closure declare the validated patch request;
  • the request binds canonical patch input, exact observation basis, writable-path policy authority, policy and postcondition classes, operation and byte budgets, settlement schema, and reconciliation law;
  • compiler-owned Core and Target artifacts preserve the complete non-callable request projection;
  • undeclared or floating operation families, incomplete capability closure, empty resource coordinates, and duplicate Target request identities fail closed before artifact identity;
  • runtime-valued patch, path aperture, basis, and budget instances survive compilation for Echo admission; Echo #711 owns malformed-patch, escaped-path, forbidden-CI-path, conflict, and incomplete-authority refusal before mutation;
  • the supplied Target request remains independently derivable from exact compiler-owned Core, allowing Echo to reject substitution;
  • no raw filesystem-write, shell, Git, network, or model authority is introduced;
  • fixed-seed property and bounded stress cases cover canonical request identity and non-callable lowering.

Non-goals

  • executing or dynamically validating the patch;
  • filesystem authority in Edict or the compiler/provider seam;
  • Git, GitHub, CI, process, network, or model adapters.

Downstream

Blocks the Echo validated workspace patch adapter and flyingrobots/hello-echo#11. Native dependency edges are maintained through GraphQL.

Metadata

Metadata

Assignees

No one assigned

    Labels

    domain: backendCompiler/backend implementation workrelease:lawpacksLawpack contract and authority source release workrelease:target-profilesTarget-profile contract and authority source release workroadmap-a1Roadmap A.1: typed external request construction

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions