Skip to content

Reverse engineering#4

Open
jackstine wants to merge 15 commits intomainfrom
reverse_engineering
Open

Reverse engineering#4
jackstine wants to merge 15 commits intomainfrom
reverse_engineering

Conversation

@jackstine
Copy link
Copy Markdown
Owner

No description provided.

jackstine and others added 15 commits April 4, 2026 15:18
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- factory.py: build_session() constructs ClaudeAgentOptions and assembled prompt
- Uses setting_sources=["user"] to enforce READ_CLAUDE_MD=False (SDK workaround)
- Interpolates all entry fields and drafter sub-agent config into prompt
- Raises FileNotFoundError for missing domain root or update target
- Raises ValueError for unresolvable prompt placeholders
- .gitignore: add Python __pycache__, .pyc, .venv, dist patterns

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- runner.py: async execute() dispatcher + four mode runners
- single_shot: parallel asyncio.gather with one prompt per session
- self_refine: initial + N review follow-ups with round context per session
- multi_pass: P full passes, create→update after first pass
- peer_review: initial + N peer review follow-ups with reviewer config
- _run_entry catches exceptions → failure result, other sessions continue
- dispatch table built at call-time in execute() so tests can patch runners
- test_runner.py: 5 functional + 2 edge_case, mocked at _run_entry level

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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