Add OpenQuestion to research contract #6

Merged
archeious merged 1 commit from feat/open-questions into main 2026-04-08 20:37:54 +00:00
Collaborator

Summary

New contract field: open_questions — follow-up questions that emerged from the research.

  • Gaps look backward (what failed)
  • Discovery events look sideways (what's lateral)
  • Open questions look forward (what needs deeper investigation)

Backward-compatible addition (optional list, defaults to empty). No version bump.

  • OpenQuestion model with question, context, priority, source_locator
  • Updated synthesis prompt and result builder in agent
  • 3 new model tests, updated existing tests
  • Wiki contract spec updated separately

77 tests passing.

Refs: #1

## Summary New contract field: `open_questions` — follow-up questions that emerged from the research. - Gaps look **backward** (what failed) - Discovery events look **sideways** (what's lateral) - Open questions look **forward** (what needs deeper investigation) Backward-compatible addition (optional list, defaults to empty). No version bump. - `OpenQuestion` model with question, context, priority, source_locator - Updated synthesis prompt and result builder in agent - 3 new model tests, updated existing tests - Wiki contract spec updated separately 77 tests passing. Refs: #1
claude-code added 1 commit 2026-04-08 20:37:47 +00:00
New field on ResearchResult: open_questions — follow-up questions that
emerged from the research itself. Distinct from gaps (backward: what
failed) and discovery_events (sideways: what's lateral). Open questions
look forward: 'based on what I found, this needs deeper investigation.'

- OpenQuestion model: question, context, priority (high/medium/low),
  source_locator
- Updated agent synthesis prompt to produce open_questions
- Updated agent result builder to parse open_questions from JSON
- 3 new tests for OpenQuestion model
- Updated existing tests for new field

77 tests passing.

Refs: archeious/marchwarden#1

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
archeious merged commit f593dd060b into main 2026-04-08 20:37:54 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: archeious/marchwarden#6
No description provided.