Infrastructure · Data Structures

Sequence

Sequential ordering

Definition

Mechanism

Ordered execution: A then B. Output of A available to B.

Invariants

None stated.

Risks

Failure modes

None stated.

Relationships

Root pattern: builds on nothing in this library.

Used by

References

Chain

Sequential data container (linked list)

Plan

An ordered sequence of steps to achieve a goal

Society

PromptChain

Sequential LLM calls with validation gates

Composes with

Society

Taper

Multi-stage filter of increasing strictness: wide high-entropy input to narrow certain output

Reference

Data schema

{
  "type": "object",
  "required": [
    "steps"
  ],
  "properties": {
    "steps": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Ordered list of step IDs"
    },
    "current_index": {
      "type": "integer",
      "description": "Index of currently executing step"
    },
    "completed": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "IDs of completed steps"
    }
  }
}

Identity

Ref
Sequence#0cae
Sema ID
sema:Sequence#mh:SHA-256:0cae6b0951c4e93742259ff81ded009a85283d250c948f97cce3b9b3b8e58e1a
Ring
0
Tier
1
Updated
2026-11-11