Skip to content

docs: add execution pipeline overview section to README#95

Open
FaikAijaz wants to merge 2 commits intoaccordproject:mainfrom
FaikAijaz:faikaijaz/i94/execution-pipeline-docs
Open

docs: add execution pipeline overview section to README#95
FaikAijaz wants to merge 2 commits intoaccordproject:mainfrom
FaikAijaz:faikaijaz/i94/execution-pipeline-docs

Conversation

@FaikAijaz
Copy link

Closes #94

Summary

Adds a new "Execution Pipeline Overview" section to the README to clarify the internal evaluation flow of the Template Engine.

Motivation

While the README explains TemplateMark and AgreementMark at a high level, it does not clearly describe how embedded TypeScript expressions are compiled and evaluated at runtime. This addition improves developer onboarding and clarifies the role of the JavaScriptEvaluator in the execution pipeline.

Signed-off-by: FaikAijaz <faikaijaz635@gmail.com>
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR closes issue #94 by adding a new "Execution Pipeline Overview" section to the README, documenting the internal stages of the Template Engine's evaluation process: type validation, TypeScript-to-JavaScript compilation, user code evaluation, AgreementMark generation, and output validation.

Changes:

  • Documents the 5-stage execution pipeline of the template engine with accurate descriptions of each step.
  • Introduces the TemplateMarkToJavaScriptCompiler and JavaScriptEvaluator classes (including their evalDangerously() and evalChildProcess() strategies) to the public-facing README.
  • Adds a summary sentence about the layered architecture's benefits (type-safety, determinism, isolation).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@FaikAijaz FaikAijaz force-pushed the faikaijaz/i94/execution-pipeline-docs branch from 9a377ec to 1a9b069 Compare March 23, 2026 07:17
Signed-off-by: FaikAijaz <faikaijaz635@gmail.com>
@FaikAijaz FaikAijaz force-pushed the faikaijaz/i94/execution-pipeline-docs branch from 1a9b069 to f7d2df0 Compare March 23, 2026 07:25
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.

Clarify internal execution pipeline in README

3 participants