Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: nilscript-org/NILScript
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: nilscript-org/NILScript
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: feat/intent-method-contract
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 1 commit
  • 2 files changed
  • 1 contributor

Commits on Jun 26, 2026

  1. feat(intent): op=method contract — nil_intent can express workflow ac…

    …tions
    
    Extend the intent write contract so the single nil_intent payload covers workflow methods (post an
    invoice, validate a picking, confirm an order), not just CRUD:
    
    - Change gains `method` + `params` (for op="method").
    - OP_TO_RESOURCE["method"] = "resource.method" — maps to the adapter's generic, allow-list-governed
      (default-deny) method spine, so no per-action verb is needed.
    
    Contract readiness only: the write-execution provider that consumes `change` (CRUD and method) over
    propose→commit is the intent-unification phase. Reads are unchanged. Backward-compatible (new fields
    default-empty). Adapter side (odoo resource.method + per-(model,method) allow-list) already shipped.
    AI Bot
    AI Bot committed Jun 26, 2026
    Configuration menu
    Copy the full SHA
    2023143 View commit details
    Browse the repository at this point in the history
Loading