Private
Public Access
feat(directives): scavenge from intent_dsl_survey + handoffs/: 5 directives
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
# intent_signal_postfix_not_xml
|
||||
|
||||
## v1
|
||||
|
||||
**Why this iteration:** Lifted from `conductor/tracks/intent_dsl_survey_20260612/spec.md:92-93` (Cluster 3 — "nagent's tag protocol — mentioned but explicitly rejected (no XML angle brackets, no JSON blobs)") + `conductor/tracks/intent_dsl_survey_20260612/spec.md:50` (Non-Goals: "ignore its record formats as they problably will be less xml/json based as I don't like them"). The rejection is explicit and user-stated, not an oversight.
|
||||
**Source:** `conductor/tracks/intent_dsl_survey_20260612/spec.md:50 + 92-93`
|
||||
|
||||
---
|
||||
**Lifted:** 2026-07-02 (scavenge pass — directive library expansion from intent_dsl_survey track)
|
||||
@@ -0,0 +1,25 @@
|
||||
# Intent DSL signals use non-XML postfix notation — XML angle brackets and JSON record blobs are explicitly rejected
|
||||
|
||||
## The signal format
|
||||
|
||||
The project's intent DSL (per `conductor/tracks/intent_dsl_survey_20260612/`) uses postfix and infix symbols for signals, not XML or JSON record formats. Examples:
|
||||
|
||||
- `->` (between verbs) — pipeline flow: output of left → input of right
|
||||
- `<-` (after a verb) — input binding: the right side is the producer
|
||||
- `[ ]` — basic block (Onat's compilation unit, no branching semantics)
|
||||
- `arena { }` — arena-scoped block (tape-drive region)
|
||||
- `try { ... } recover { ... }` — error envelope returning `Result[T]`
|
||||
|
||||
Per `conductor/tracks/intent_dsl_survey_20260612/spec.md:92-93`: "nagent's tag protocol — mentioned but explicitly rejected (no XML angle brackets, no JSON blobs)."
|
||||
|
||||
Per `conductor/tracks/intent_dsl_survey_20260612/spec.md:50`: "Not adopting XML/JSON record formats. Per the user: 'ignore its record formats as they problably will be less xml/json based as I don't like them.'"
|
||||
|
||||
## Why
|
||||
|
||||
XML angle brackets (`<nagent-shell>...</nagent-shell>`) and JSON record blobs (`{"name": "read_file", "args": {...}}`) require string-escaping discipline the LLM is bad at. The non-XML postfix/infix notation survives AI-fuzzing: indentation drift, line-offset drift, and verb-name drift do not break the parser because the symbols are short, distinct, and the parser uses token positions, not line numbers.
|
||||
|
||||
## What this means in practice
|
||||
|
||||
- New DSL primitives use postfix/infix symbols, not XML tags.
|
||||
- A new "tag-like" protocol MUST NOT be introduced in this project without checking against the intent_dsl_survey spec.
|
||||
- The bridge script (translating DSL to function calls) parses symbols, not XML/JSON.
|
||||
Reference in New Issue
Block a user