Niyatna Docs

Bounded Plan Sequencing

Decompose complex intents into structured execution sequences and delegate to subagents under Niyatna OS.


When a human operator submits a large, complex OpenIntent packet, Niyatna OS decomposes the goal into a sequence of smaller, bounded steps. This plan sequencing ensures that each sub-task produces verifiable proof before proceeding.


Subagent Delegation

For tasks containing independent operational lanes, Niyatna OS spawns specialized subagents (e.g., Code Researcher, Copy Writer, Security Auditor):

  • Scoped Workspaces: Each subagent is spawned in a separate, isolated subdirectory or container.
  • Independent Verification: Each subagent must compile, test, and verify its specific output.
  • Result Consolidation: The parent agent aggregates subagent proofs (file diffs, logs, screenshots) into the main Proof of Intent bundle.

Plan Structure

  1. Scope Definitions: Explicitly listing files, directories, and tables to be modified.
  2. Preservation Rules: Declaring what must remain untouched.
  3. Verification Criteria: Specifying the tests, scripts, or checks that prove completion.
  4. Staging Flags: Panning out which steps require human review before executing the next phase.