Skip to content

R4: Build Dhyanesh orchestration, simulation and release layer - #1

Merged
DYNAMOatGHUB merged 1 commit into
aishafrom
dhyanesh
Oct 6, 2026
Merged

DYNAMOatGHUB merged 1 commit into
aishafrom
dhyanesh

Conversation

@DYNAMOatGHUB

Copy link
Copy Markdown
Owner

Implement TinyAgent.run as a bounded, single-decision lifecycle. It uses Aisha's frozen types, registry and prompt contract; limits model calls to 1 + max_repairs; repairs from the original prompt; never retries backend errors or terminal tool failures; and preserves answer provenance and raw model outputs in AgentResult.

Add deterministic SimulatedBackend, JSONL RecordingBackend and SHA-256 prompt-matched ReplayBackend. Add 35 ground-truth scenarios, the F01-F16 fault taxonomy, round-trip validation, repair and exhaustion variants, false-execution checks, and simulated/live/replay evaluation commands. Provide 50 labelled live queries and explicitly mark unrun measurements as "not executed" instead of publishing estimated accuracy.

Add the public exports, CLI with a labelled simulated mode, examples, packaging, README, Python 3.10/3.12 CI, dependency and dynamic-execution AST gates, and Dhyanesh's integration tests. Ignore prd/ and generated artifacts so planning documents cannot enter this branch.

This branch is based on Aisha's existing aisha branch. Her reflection, registry, prompt, contract files and tests remain unchanged. The new simulator passes their contract integration check. The full fault eval, live runtimes and CLI execution remain pending on the parser, executor, coercion and transport modules from the other owners; CI labels the simulated eval deferred until those modules exist. PRD-04 demo fixtures are kept separate because Aisha's search and set_alarm test signatures differ from the PRD-04 scenario contract.

Verified: 31 unit tests pass; wheel builds with no runtime dependencies; staged diff passes whitespace checks; prd/ matches .gitignore.

Implement TinyAgent.run as a bounded, single-decision lifecycle. It uses
Aisha's frozen types, registry and prompt contract; limits model calls to
1 + max_repairs; repairs from the original prompt; never retries backend
errors or terminal tool failures; and preserves answer provenance and raw
model outputs in AgentResult.

Add deterministic SimulatedBackend, JSONL RecordingBackend and SHA-256
prompt-matched ReplayBackend. Add 35 ground-truth scenarios, the F01-F16
fault taxonomy, round-trip validation, repair and exhaustion variants,
false-execution checks, and simulated/live/replay evaluation commands.
Provide 50 labelled live queries and explicitly mark unrun measurements
as "not executed" instead of publishing estimated accuracy.

Add the public exports, CLI with a labelled simulated mode, examples,
packaging, README, Python 3.10/3.12 CI, dependency and dynamic-execution
AST gates, and Dhyanesh's integration tests. Ignore prd/ and generated
artifacts so planning documents cannot enter this branch.

This branch is based on Aisha's existing aisha branch. Her reflection,
registry, prompt, contract files and tests remain unchanged. The new
simulator passes their contract integration check. The full fault eval,
live runtimes and CLI execution remain pending on the parser, executor,
coercion and transport modules from the other owners; CI labels the
simulated eval deferred until those modules exist. PRD-04 demo fixtures
are kept separate because Aisha's search and set_alarm test signatures
differ from the PRD-04 scenario contract.

Verified: 31 unit tests pass; wheel builds with no runtime dependencies;
staged diff passes whitespace checks; prd/ matches .gitignore.
Copilot AI balanced review requested due to automatic review settings October 6, 2026 14:24

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@DYNAMOatGHUB
DYNAMOatGHUB merged commit ef7604c into aisha Oct 6, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants