Skip to content

Refactor/test run before v1 - #36

Merged
notsubash merged 7 commits into
mainfrom
refactor/test-run-before-v1
Aug 7, 2026
Merged

notsubash merged 7 commits into
mainfrom
refactor/test-run-before-v1

Conversation

@notsubash

Copy link
Copy Markdown
Owner

Summary

  • Closes founder-loop honesty gaps before v1: eligibility CTA no longer pretends to start a judge review, appeal updates the decision hero, Case experiment IDs feed appeal, completed experiments always log experiment_metric, and Overview routes to the active experiment.
  • Hardens the LLM pipeline for real Ollama/DeepSeek runs: stop double-wrapping composed judge context, align prose moderator to GO/ITERATE/NO-GO, fix customer/PM AND-rubrics, surface silent re-vote keeps, and pin LLM_TEMPERATURE / LLM_MAX_TOKENS.
  • Strengthens Case ledger integrity (interview↔evidence edges, extract-assumption cache, ledger edge check script) and release ops (Docker loopback-only bind, Streamlit demoted to reference, E2E_TEST_MODE warnings).

- Introduced a new script `check_ledger_edges.py` to validate Case ledger edges, linking interviews, experiments, and evidence.
- Updated `WorkspaceStore` to include an `interview_id` column in the `evidence` table and added migration logic for this change.
- Implemented methods for managing version-keyed extract assumption cache, improving data retrieval and storage.
- Enhanced API routes to utilize the new caching mechanism for assumptions, optimizing performance.
- Updated validation schemas to include `interview_id` in evidence-related requests, ensuring data integrity.
- Refactored interview summary formatting to adhere to a fixed schema, improving consistency in output.
- Adjusted UI components to accommodate new data structures and improve user experience in managing assumptions and evidence.
- Revised the README.md to reflect changes in terminology, replacing "Idea Validation Worksheet" with "Pitch" and "Roast panel" with "Review panel" for consistency.
- Enhanced descriptions of workspace features, emphasizing the flow from Pitch to Case and Reviews.
- Updated the web/README.md to clarify the product's structure and direct users to relevant documentation for product specifications.
- Improved the core loop description to better outline the process of idea validation and review.
- Updated the README.md to clarify the appeal process and its integration with experiment contexts.
- Enhanced the `wrap_user_idea` function to ensure proper handling of composed judge contexts, preventing internal tag conflicts.
- Revised the synthesis format to replace "Overall verdict" with "Overall recommendation" and adjusted related sections for improved clarity.
- Updated the `run_manager` to ensure that any completed roast blocks are correctly identified, enhancing the rerun logic.
- Improved the handling of verdicts in the `run_reducer` to maintain pre-appeal synthesis for better user insights.
- Adjusted tests to validate the new synthesis format and ensure proper functionality of the appeal process.
- Updated `.env.example` to include new parameters for LLM temperature and max tokens, allowing for better model tuning.
- Modified `docker-compose.yml` to restrict API access to localhost for security.
- Revised `README.md` to clarify the purpose of the Streamlit UI and emphasize the importance of keeping E2E_TEST_MODE disabled.
- Enhanced `src/config.py` to incorporate new LLM settings from environment variables.
- Updated event handling in `src/events.py` to include new fields for original score retention and change reasons during revotes.
- Improved model initialization in `src/modeling.py` to utilize the new LLM parameters for better output quality.
- Adjusted tests to validate the integration of new LLM settings and event handling changes.
… association

- Modified `seed_sample_workspace` in `fixtures.py` to store the created interview's ID for evidence linking.
- Enhanced multiple test files (`test_phase3_belief.py`, `test_trust_eval.py`, `test_workspaces.py`) to create interviews and associate them with evidence entries.
- Updated import statements to include `CreateInterviewRequest` where necessary for consistency.
- Refactored UI components in `assumption-board.tsx`, `evidence-dialog.tsx`, and `case-experiments-page.tsx` to streamline state management and improve performance.
… handling

- Updated `createLaunchReadyWorkspace` in `readiness.ts` to create an interview and associate it with evidence using the interview ID.
- Refactored validation CRUD tests in `validation-crud.spec.ts` to improve interaction with UI elements and ensure accurate status visibility after moving assumptions.
@notsubash
notsubash merged commit f7f8c84 into main Aug 7, 2026
6 checks passed
@notsubash
notsubash deleted the refactor/test-run-before-v1 branch August 7, 2026 06:53
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