Skip to content

arniwesth/mot 26 csp initial research#80

Open
arniwesth wants to merge 39 commits into
arniwesth/mot-25-code-graph-pocfrom
arniwesth/mot-26-csp-initial-research
Open

arniwesth/mot 26 csp initial research#80
arniwesth wants to merge 39 commits into
arniwesth/mot-25-code-graph-pocfrom
arniwesth/mot-26-csp-initial-research

Conversation

@arniwesth

@arniwesth arniwesth commented Jun 30, 2026

Copy link
Copy Markdown
Owner

PR: CSP initial research

Summary

Base branch: arniwesth/mot-25-code-graph-poc.

This branch adds CSP-core feasibility research grounded with the existing code-graph tooling from the
base branch. A run_tool_select implementation spike was attempted and then reverted; the retained
outcome is research, smokes, diagrams, handoff docs, and a direction note recommending a
phase-oriented AILANG core over CSP-first architecture on AILANG v0.26.0.

Changes

  • Add .agent/projects/003_CSP_core_refactor/ with feasibility research, ADR, implementation plans,
    handoff docs, and architecture diagrams for a possible CSP tool-phase refactor.
  • Add substrate smokes proving std/stream behavior: handler-side Net/stubbed AI,
    source-name routing, process exit-code surfacing, and raw asyncExecProcess not streaming stderr.
  • Document the reverted run_tool_select spike and why it only produced a CSP-shaped seam rather
    than a true CSP tool phase.
  • Add NOTE-why-not-csp-now.md, documenting why CSP is not the right primary core architecture on
    AILANG v0.26.0 and recommending a phase-oriented core with strict transcript boundaries.
  • Add a session summary for the implementation/revert/architecture decision.

Verification

  • ailang check src/core/agent_loop_v2.ail
  • ailang check src/core/tool_runtime.ail
  • ailang check src/core/types.ail
  • Production scan confirmed no remaining run_tool_select / wrapper / parallel_safe references in
    src or scripts after the revert.

@arniwesth arniwesth changed the base branch from main to arniwesth/mot-25-code-graph-poc July 1, 2026 19:41
@arniwesth arniwesth changed the title Arniwesth/mot 26 csp initial research arniwesth/mot 26 csp initial research Jul 2, 2026
@arniwesth arniwesth marked this pull request as ready for review July 2, 2026 06:56
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.

1 participant