Commit Graph

162 Commits

Author SHA1 Message Date
aditya 0b87339f9c docs(actor): update schema.py module docstring
- Add comprehensive list of all schema components
- Organize by category: Enums, Tool Models, Graph Models, Configuration
- Keep concise with one-line descriptions
- Add usage example for quick reference
2026-02-09 20:23:33 +05:30
aditya 13b1f0a049 chore: remove blank lines 2026-02-09 20:23:15 +05:30
aditya dbc07ee405 docs: add actor config migration guide
- Comprehensive v2 to v3 migration guide
- Key differences and architectural changes
- Side-by-side migration examples
- Field mapping reference
- 5-phase migration strategy
- Common challenges and solutions
- Validation checklist

Refs: C1.6c
2026-02-09 20:22:58 +05:30
aditya 3e0cba4734 docs: add actor configuration examples
- Examples for each actor type (LLM, TOOL, GRAPH)
- Common patterns: Q&A, file reader, sequential workflow
- Use cases: code review, documentation, test generation
- Advanced patterns: iterative refinement, parallel processing
- Anti-patterns with explanations and better approaches

Refs: C1.6b
2026-02-09 20:22:13 +05:30
aditya 795e9069dc docs: add actor configuration reference
- Complete YAML schema reference with all fields
- Type-specific requirements (LLM, TOOL, GRAPH)
- Tool definition syntax with sandboxed execution details
- Memory and context configuration options
- Graph topology specification
- Validation rules and best practices
- Complete examples for each actor type

Refs: C1.6a
2026-02-09 20:22:01 +05:30
aditya 6bd1ff3401 docs(examples): add execution_actor.yaml
- Pre-configured for Execute phase
- Very low temperature (0.2) for precise code generation
- Executor context view (focused on source code)
- Includes edit_file inline tool with search/replace
- High max_iterations (100) for complex implementations

Refs: C1.5f
2026-02-09 20:21:26 +05:30
aditya b985842db3 docs(examples): add strategy_actor.yaml
- Pre-configured for Strategize phase
- Lower temperature (0.3) for consistent planning
- Strategist context view (high-level files only)
- Structured output format with decisions and risks
- Shorter max_turns and timeout for planning focus

Refs: C1.5e
2026-02-09 20:21:15 +05:30
aditya 4323c5a512 docs(examples): add hierarchical_actor.yaml
- Demonstrates hierarchical actor composition
- Uses subgraph nodes to reference specialist actors
- Shows coordinator pattern with parallel specialist execution
- Reviewer context view for code review use case

Refs: C1.5d
2026-02-09 20:21:04 +05:30
aditya 758d85f1a1 docs(examples): add graph_actor.yaml
- Multi-step workflow with graph topology
- Demonstrates agent nodes, conditional nodes
- Shows sequential and conditional routing
- Implements research-write-review loop with quality checks

Refs: C1.5c
2026-02-09 20:20:53 +05:30
aditya 15d23cfd50 docs(examples): add tool_actor.yaml
- Demonstrates inline tool definitions
- Shows read_file and search_files tools with Python code
- References built-in tools via metadata
- Executor context view for focused file analysis

Refs: C1.5b
2026-02-09 20:20:41 +05:30
aditya de91291744 docs(examples): add simple_llm_actor.yaml
- Basic LLM actor with no tools
- Demonstrates system prompt configuration
- Shows memory and context settings
- Use case: general-purpose assistant

Refs: C1.5a
2026-02-09 20:20:30 +05:30
aditya 9a30ee6f85 feat(actor): define ActorConfigSchema with validation
- Complete top-level actor configuration schema
- Validates version, type-specific requirements
- from_yaml() and to_yaml() helper methods
- Validates GRAPH actors have routes
- Validates unique tool names
- Comprehensive examples for LLM, TOOL, GRAPH types

Refs: C1.4
2026-02-09 20:20:10 +05:30
aditya 6f4e35df03 feat(actor): define ContextConfigSchema model
- Context window configuration with role-based filtering
- Glob pattern support for include/exclude files
- File size limits to prevent token waste
- Hidden file inclusion control
- Performance optimization guidance for different project sizes

Refs: C1.3b
2026-02-09 20:19:47 +05:30
aditya aa3c145724 feat(actor): define MemoryConfig model
- Conversation history settings for actors
- Configurable memory enabled/disabled
- Max turns limit (1-100) to prevent context overflow
- System message inclusion control
- Performance trade-offs documented for different actor roles

Refs: C1.3a
2026-02-09 20:19:18 +05:30
aditya 750909b57d feat(actor): define RouteDefinition with topology validation
- Complete graph structure specification for graph actors
- Validates entry point exists in nodes
- Validates all edge references to existing nodes
- Validates node names are valid Python identifiers
- Supports special nodes: start, end
- Enables sequential, parallel, conditional, and loop workflows

Refs: C1.2e
2026-02-09 20:18:27 +05:30
aditya 1aee62e5b8 feat(actor): define EdgeDefinition and NodeDefinition models
- EdgeDefinition: Connections between nodes with conditional routing
- NodeDefinition: Graph node specification with type validation
- Validates SUBGRAPH nodes have actor reference
- Validates TOOL nodes have tool name specified
- Supports AGENT, TOOL, CONDITIONAL, SUBGRAPH node types

Refs: C1.2c, C1.2d
2026-02-09 20:18:12 +05:30
aditya f07520333c feat(actor): define ToolDefinition model with code validation
- Complete inline tool specification for actor YAML
- Python code execution with sandboxed environment
- Syntax validation at config load time
- Parameter uniqueness validation
- Timeout support (1-300 seconds)
- Compatible with SkillContext for file operations

Refs: C1.2b
2026-02-09 20:17:59 +05:30
aditya b01d19ec25 feat(actor): define ToolParameter model
- Parameter definition for inline tools in actor YAML
- Validates JSON Schema types (string, integer, etc.)
- Supports required/optional parameters with defaults
- Enum support for choice parameters
- Compatible with OpenAI/Anthropic function calling format

Refs: C1.2a
2026-02-09 20:17:43 +05:30
aditya 5eaeb6dec2 feat(actor): define ContextView enum
- Added STRATEGIST, EXECUTOR, REVIEWER, FULL views
- Role-based context filtering for token optimization
- Critical for large project support (10K+ files)

Refs: C1.1c
2026-02-09 20:17:29 +05:30
aditya a29da47f4e feat(actor): define NodeType enum
- Added AGENT, TOOL, CONDITIONAL, SUBGRAPH types
- Enables graph-based actor composition
- Supports hierarchical workflows with nested actors

Refs: C1.1b
2026-02-09 20:17:11 +05:30
aditya 4acbf57a41 feat(actor): define ActorType enum
- Added LLM, TOOL, GRAPH types
- Determines actor compilation strategy
- LLM: single agent, TOOL: tool collection, GRAPH: multi-node workflow

Refs: C1.1a
2026-02-09 20:16:34 +05:30
freemo 10ad86df60 Feat: Added progress bar as a built-in tool and added it to finish command v2.0.0 2025-12-16 16:52:25 -05:00
freemo d829afc01e Feat: Added finish command to scientific paper writer 2025-12-16 10:16:13 -05:00
freemo c0852820f8 Scripts: make_context now gets additional sources for each section 2025-12-11 13:46:38 -05:00
freemo 3a423211e9 Ensures errors are only shown in full in debugging mode, and added API keys for some providers. 2025-12-10 21:20:57 -05:00
freemo 9775bb1270 Scripts: Got make_context working even when the number of sections changes 2025-12-10 16:41:53 -05:00
freemo 4d94df87bf Feats: End to end (full plain text paper) is working and updated make_context so it still works even when paper content varies 2025-12-10 14:15:31 -05:00
freemo d9d00dc7bd Feats: Works mostly end to end and now prints full paper content as first step in the paper_review stage 2025-12-09 18:26:04 -05:00
freemo 666b70f9be Feat: Got scientific paper writer to spit back entire paper verbatim during paper review 2025-12-09 14:50:41 -05:00
freemo d13b84ad92 Fix: Much of the content wasnt getting into the context thus causing issues, this has been fixed 2025-12-09 00:29:19 -05:00
freemo d82a2bf483 Fix the paper review stage no longer truncates broken text back to the user 2025-12-08 22:18:16 -05:00
freemo 291963134a Fix: Partially fixed transition to paper review stage 2025-12-06 15:58:16 -05:00
freemo 41275725c1 Feat: Successfully gets through content running section 2025-12-01 14:57:53 -05:00
freemo 11d9f6e7a7 Feat: scientific paper writer appears to proceed through three phases of writing each station with commands now 2025-11-30 16:01:23 -05:00
freemo d5e4c40b90 Fix: scientific paper writer now gets to the point it writes the first section of the paper with sources 2025-11-25 20:54:16 -05:00
freemo 1a5f660660 Fix: Content writing stages werent working due to JINJA2 template not applying correctly 2025-11-25 19:31:33 -05:00
freemo 5e6ed1e7f5 Fix: Seems the new langgraph based example works up to and including the content stage 2025-11-25 01:58:32 -05:00
freemo d9ee539612 Feat: LangGraph with routing mostly working, scientific example ported 2025-11-24 22:56:54 -05:00
freemo 004e3c7261 Chore: RxPy routing is not garunteed to work in run mode so added some guardrails to prevent that. 2025-11-21 14:48:46 -05:00
freemo 69afc3586b Chore: Unified run and interactive code paths to improve discepencies between them 2025-11-19 17:06:02 -05:00
freemo 5f7812d6f6 Fix: Tests no longer create context in the user directory 2025-11-18 22:11:35 -05:00
freemo 5abb0dc02e Feat: Added an --all flag to the context delete command 2025-11-18 20:23:29 -05:00
freemo 300fbd1212 Chore: Moved any pytest tests over to behave and removed pytest entierly 2025-11-18 17:32:04 -05:00
freemo 549fc9c3e3 feat: added --load-context argument to run command 2025-11-18 16:46:42 -05:00
freemo c23eeef7e3 Adding in json parsing after structure step, still cant get past structure though 2025-11-18 01:03:29 -05:00
freemo 4635cfd597 Feat: everything up to and including the structure section now works 2025-11-17 23:40:42 -05:00
freemo 820971b26c Page gets up to deep_research stage 2025-11-17 21:17:24 -05:00
freemo a2614e01c6 Updated scientific paper to use same prompts as before 2025-11-17 19:03:07 -05:00
freemo 7d0b7db516 Fix: JINJA2 templates are now being honored. 2025-11-17 17:13:22 -05:00
freemo 022faaa748 Fix: the scientific paper writer now gets to the brainstorming phase 2025-11-17 00:40:05 -05:00