# dag

> Every PAG keyword record, with what grounds it and how it is checked.

Page: Ontology · Grammar
Canonical: https://banes-lab.com/ontology/grammar#pag-keywords-dag

Listed in [Ontology · Grammar](https://banes-lab.com/api/pages/ontology/grammar.md), after [state_machine](https://banes-lab.com/ontology/grammar/pag-keywords-state-machine.md) and before [priority_queue](https://banes-lab.com/ontology/grammar/pag-keywords-priority-queue.md).

Every PAG keyword record, with what grounds it and how it is checked.

### DAG

Details

Meaning
Graph declaration · makes a dependency graph explicit; the loop spine is one

Example
DAG pipeline:

Grounds
[representation:graph](https://banes-lab.com/records/reasoning/representation-graph.md), [invariant:epi-declared-dependency](https://banes-lab.com/records/reasoning/invariant-epi-declared-dependency.md)

How it is checked

Checked by
a structured-document validator that parses each document against the grammar and reports every defect by its shape

Population
Every agent and template document the validator walks, and every occurrence of the keyword in them

Freshness
A verdict stands until the grammar data or a document that uses the keyword changes

Refusal
The validation stage fails the gate on any defect code, so a document with a malformed keyword does not ship

Observation
None, because a keyword is static text in a document, and nothing observes it while a run executes

Evidence
Watched to fire and to accept: a suite plants a retired head in a real template and validates every agent and template on disk clean

Authoritative side
The grammar data, which every keyword in a document conforms to

Depends on
Not answered

Shape it refuses
Not answered

### NODE

Details

Meaning
Node definition

Example
NODE build:

Grounds
[representation:graph](https://banes-lab.com/records/reasoning/representation-graph.md)

How it is checked

Checked by
a structured-document validator that parses each document against the grammar and reports every defect by its shape

Population
Every agent and template document the validator walks, and every occurrence of the keyword in them

Freshness
A verdict stands until the grammar data or a document that uses the keyword changes

Refusal
The validation stage fails the gate on any defect code, so a document with a malformed keyword does not ship

Observation
None, because a keyword is static text in a document, and nothing observes it while a run executes

Evidence
Watched to fire and to accept: a suite plants a retired head in a real template and validates every agent and template on disk clean

Authoritative side
The grammar data, which every keyword in a document conforms to

Depends on
Not answered

Shape it refuses
Not answered

### DEPENDS_ON

Details

Meaning
Dependencies · declared by the referent, never inferred from a name

Example
DEPENDS_ON [a, b]

Grounds
[invariant:epi-declared-dependency](https://banes-lab.com/records/reasoning/invariant-epi-declared-dependency.md)

How it is checked

Checked by
a structured-document validator that parses each document against the grammar and reports every defect by its shape

Population
Every agent and template document the validator walks, and every occurrence of the keyword in them

Freshness
A verdict stands until the grammar data or a document that uses the keyword changes

Refusal
The validation stage fails the gate on any defect code, so a document with a malformed keyword does not ship

Observation
None, because a keyword is static text in a document, and nothing observes it while a run executes

Evidence
Watched to fire and to accept: a suite plants a retired head in a real template and validates every agent and template on disk clean

Authoritative side
The grammar data, which every keyword in a document conforms to

Depends on
Not answered

Shape it refuses
Not answered

### AFTER

Details

Meaning
Sequencing

Example
AFTER compile

Grounds
[representation:graph](https://banes-lab.com/records/reasoning/representation-graph.md)

How it is checked

Checked by
a structured-document validator that parses each document against the grammar and reports every defect by its shape

Population
Every agent and template document the validator walks, and every occurrence of the keyword in them

Freshness
A verdict stands until the grammar data or a document that uses the keyword changes

Refusal
The validation stage fails the gate on any defect code, so a document with a malformed keyword does not ship

Observation
None, because a keyword is static text in a document, and nothing observes it while a run executes

Evidence
Watched to fire and to accept: a suite plants a retired head in a real template and validates every agent and template on disk clean

Authoritative side
The grammar data, which every keyword in a document conforms to

Depends on
Not answered

Shape it refuses
Not answered

### BEFORE

Details

Meaning
Reverse sequencing

Example
BEFORE deploy

Grounds
[representation:graph](https://banes-lab.com/records/reasoning/representation-graph.md)

How it is checked

Checked by
a structured-document validator that parses each document against the grammar and reports every defect by its shape

Population
Every agent and template document the validator walks, and every occurrence of the keyword in them

Freshness
A verdict stands until the grammar data or a document that uses the keyword changes

Refusal
The validation stage fails the gate on any defect code, so a document with a malformed keyword does not ship

Observation
None, because a keyword is static text in a document, and nothing observes it while a run executes

Evidence
Watched to fire and to accept: a suite plants a retired head in a real template and validates every agent and template on disk clean

Authoritative side
The grammar data, which every keyword in a document conforms to

Depends on
Not answered

Shape it refuses
Not answered

### PARALLEL_GROUP

Details

Meaning
Parallel nodes · peers with no edge between them

Example
PARALLEL_GROUP: a, b

Grounds
[representation:graph](https://banes-lab.com/records/reasoning/representation-graph.md)

How it is checked

Checked by
a structured-document validator that parses each document against the grammar and reports every defect by its shape

Population
Every agent and template document the validator walks, and every occurrence of the keyword in them

Freshness
A verdict stands until the grammar data or a document that uses the keyword changes

Refusal
The validation stage fails the gate on any defect code, so a document with a malformed keyword does not ship

Observation
None, because a keyword is static text in a document, and nothing observes it while a run executes

Evidence
Watched to fire and to accept: a suite plants a retired head in a real template and validates every agent and template on disk clean

Authoritative side
The grammar data, which every keyword in a document conforms to

Depends on
Not answered

Shape it refuses
Not answered

## Links to

- [Graph](https://banes-lab.com/records/reasoning/representation-graph.md)
- [Declared Dependency](https://banes-lab.com/records/reasoning/invariant-epi-declared-dependency.md)
