Commit Graph

5 Commits

Author SHA1 Message Date
hc
3533e15995 fix(agent): require explicit image file reading in paper-image-extractor
The subagent was only reading text descriptions about images instead of
actually using the read tool on image files. This caused poor quality
reproductions based on guessed data rather than visual analysis.

Changes:
- Add CRITICAL instruction to use read tool on each image file
- Add Step 4: Verification step to compare generated vs original
- Add 'Extracting Data from Images' section with specific guidance
- Update guidelines to emphasize visual over textual extraction
- Allow scipy dependency for interpolation
2026-03-31 20:29:04 +08:00
hc
5d5aee1f83 refactor: improve verification workflow with visual comparison
Major changes:
- paper-image-extractor: Generate reference_plots.py for visual verification
- paper-director: Add image understanding checkpoint with side-by-side comparison
- paper-analyzer: Add data source labeling with reliability levels
- code-writer: Change from TDD to VDD (Verification-Driven Development)
- test-runner: Generate comparison reports with images and explanations
- verification skill: Add difference classification system
- code-generation skill: Emphasize result independence

Key principles:
- Code results are authoritative, paper values are references
- Differences are expected and documented, not bugs to fix
- Visual comparison prioritized over exact numerical match
- Tests verify sanity (shape, gradient, range), not exact values
2026-03-31 19:55:36 +08:00
hc
db731f6745 fix(agents): remove invalid 'model: inherit' configuration
OpenCode requires models to be either explicitly defined with valid IDs or omitted to inherit the default model.
2026-03-31 18:08:10 +08:00
hc
f6fff84335 feat(agents): add paper-image-extractor subagent 2026-03-31 17:34:16 +08:00
hc
4801fb2cc2 Initial commit: design spec and implementation plan
- Design spec: docs/superpowers/specs/2026-03-31-paper-replication-agent-design.md
- Implementation plan: docs/superpowers/plans/2026-03-31-paper-replication-agent.md
- Existing agent: .opencode/agents/paper-image-extractor.md
2026-03-31 17:29:53 +08:00