Commit Graph
210 Commits
Author SHA1 Message Date
hy b52b603256 refactor: rename HumanDecision to HumanThoughtDecision and update related logic
- Updated the decision structure to use 'thought' instead of 'decision' in various functions and tests.
- Refactored decision-building functions to align with the new structure.
- Adjusted tests to accommodate the changes in decision structure, ensuring consistency across the codebase.
- Removed the delivery summary test as it was no longer relevant.
- Added new tests for handling references in the brain's next action.
- Introduced markdown reference parsing tests to validate reference handling.
2026-05-12 14:45:22 +08:00
hy e8e9479aeb fix: update human live test results and execution summary to reflect recent reviews 2026-05-11 19:01:34 +08:00
hy e96dbcc68f fix: update AI test plan to reflect recent live test results and execution summary 2026-05-11 18:35:06 +08:00
hy f5b34986c7 refactor: rename workspace_run_command to terminal_run across the codebase
- Updated tool specifications to reflect the new terminal_run naming.
- Adjusted artifact extraction logic to accommodate the new tool name.
- Modified test cases to replace workspace_run_command with terminal_run.
- Refactored utility functions and constants to use terminal as the skill ID.
- Added new tests for terminal command policy and ensured inline interpreter commands are handled correctly.
- Ensured all references in the codebase are consistent with the new naming convention.
2026-05-11 18:10:01 +08:00
hy 05dfc8540b fix: update documentation and tests for docx batch write limits and constraints 2026-05-11 15:34:29 +08:00
hy 9a7bb6a341 Restore docx batch limit precheck and isolate watch hints 2026-05-09 16:57:10 +08:00
hy ef613616de feat: add docx batch halt reason and enhance handling of batch write limits
- Introduced `docxBatchHaltReasonSchema` to define various reasons for halting docx batch writes.
- Updated `humanWatchHintSchema` to include a new watch hint for halted batch writes.
- Enhanced replay tree logic to manage successor and predecessor nodes for improved document editing flow.
- Implemented stable locator resolution for table cells and paragraphs to ensure accurate updates during mixed operations.
- Added unit tests to validate behavior when exceeding batch write limits and handling halted operations.
- Improved error handling and signaling for follow-up actions in case of batch write interruptions.
2026-05-09 15:57:03 +08:00
hy 125343bc15 Refactor LLM config and model selection flow 2026-05-08 18:11:22 +08:00
hy e73defd940 Revise live human risk report fixtures and docx tests 2026-04-30 16:59:50 +08:00
hy ebe710f23a Restructure test plan execution summaries 2026-04-30 13:59:10 +08:00
hy ec0ff46b1e Align settings tests with PRD topology 2026-04-30 13:48:28 +08:00
hy fedaa129f3 Refactor test domains to remove 'workbench'; update related tests and error handling in model download page 2026-04-30 11:16:35 +08:00
hy 9e5d319f6d Add tests for workspace removal and scanning; remove obsolete test files
- Implement `workspace-remove-source-contract` test to verify that removing a workspace clears associated nodes and web sources.
- Add `workspace-scan-contract` test to ensure the workspace scanning API returns the correct progress payload.
- Delete unused `.gitkeep` files and obsolete test cases related to panel search and session persistence.
- Remove outdated tests for reference selection model and review navigation.
2026-04-30 10:30:20 +08:00
hy fbd08af1c1 Refactor workspace KB indexing for live human tests 2026-04-30 09:33:04 +08:00
hy 18c970154e Update AI test plan and mock-llm tests to reflect latest run results and improve structured fact exposure descriptions 2026-04-29 17:03:05 +08:00
hy 336480c6d0 Update AI test plan with latest run results and outcomes for docx tests 2026-04-29 16:45:18 +08:00
hy 47f93e03e3 Refine workspace fixtures and KB caching 2026-04-29 16:27:34 +08:00
hy 0d47c1282d Refactor learning tool tests to focus on docx skills and update expected outcomes
- Updated test cases in `learning-tool-budget-tracking.test.ts` to reflect changes in skill learning, focusing on `docx-read` and `docx-write`.
- Removed unnecessary learning decisions for `workspace-cli` in multiple test files, including `multi-tool-collaboration.test.ts`, `tool-failure-recovery.test.ts`, and `tool-limit-converge.test.ts`.
- Adjusted assertions in `watchhint-retry.test.ts` to validate learning outcomes related to `docx-read`.
- Introduced new workspace fixture files for enhanced testing scenarios.
- Updated `aiLiveTestData.ts` to streamline workspace paths and improve fixture management.
- Added new unit tests in `runtime-skill-contract.test.ts` to validate skill definitions and effective skill lists.
2026-04-29 15:51:13 +08:00
hy e53ced95b8 Refactor risk report live case for workspace evidence 2026-04-29 15:14:12 +08:00
hy 41348f7bc5 Refactor knowledge base skill names and descriptions for clarity; replace 'kb-document-discovery' and 'kb-evidence-query' with 'kb-retrieval' across documentation and codebase. 2026-04-28 18:08:36 +08:00
hy 390333275b Clarify KB skill descriptions and search strategy prompt 2026-04-28 17:14:45 +08:00
hy 22548f751c Refactor DOCX read and write tools to support read sessions and improve caching
- Introduced DocxReadSession and DocxReadSessionCache types for better session management.
- Updated fetchOutline and fetchBlocksByRange functions to utilize caching and session parameters.
- Modified existing functions to ensure they work with the new session structure.
- Enhanced error handling and response structures in worker requests.
- Added tests to verify that read operations do not create replay sessions and that editing after reading upgrades to replay sessions.
- Ensured that long documents maintain their tail blocks during session upgrades.
2026-04-27 18:38:04 +08:00
hy c3925ad12f Enhance event logging and artifact collection with improved runtime event handling and file reading capabilities 2026-04-27 17:27:04 +08:00
hy d72ddc7656 Refine delivery guidance handoff for mouth 2026-04-27 15:13:35 +08:00
hy 9752ba0c43 Support create-target docx reviews 2026-04-24 18:51:32 +08:00
hy 370579b3ab Add docx_create and update cross-source summary live case 2026-04-24 16:43:59 +08:00
hy 76467ef858 Document structural insert replay and createdBlocks rules 2026-04-23 18:57:02 +08:00
hy 433278e9be 需要对齐的只有 doc/test-plan/ai-test.md,我已经补了这 4 个正式 case 的登记;其余 docx 设计文档和 2026-04-23 18:55:40 +08:00
hy 7815a9fb21 refactor: update HumanStableMemory checklist structure and related logic
- Changed checklist from a string to a structured array of objects with item and status fields.
- Updated related interfaces, schemas, and types to reflect the new checklist structure.
- Removed readyToDeliver field from HumanDecision and related logic, replacing it with checklist validation.
- Adjusted tests to accommodate the new checklist format and removed references to readyToDeliver.
- Enhanced prompt and documentation to clarify the new checklist requirements and usage.
2026-04-23 16:34:16 +08:00
hy e1715700b1 Document brain/mouth history split and positioned fallback 2026-04-23 14:20:16 +08:00
hy e0e924dfff Refactor file reviews and mouth runtime inputs 2026-04-22 18:31:16 +08:00
hy c2ef5e32dd Refactor AI document workflow 2026-04-22 18:21:44 +08:00
hy fc04dbdadf Add cross-source summary live case and retune KB prompt 2026-04-22 16:14:04 +08:00
hy 1cb4911acc Rename docx read tool and skill catalog prompt 2026-04-22 15:21:50 +08:00
hy 1db667d3b0 Retarget live docx fallback test and remove obsolete case 2026-04-22 11:35:55 +08:00
hy 031a80a733 Refine positioned docx fallback test wording 2026-04-21 19:36:55 +08:00
hy b1d60b0fe7 Guard positioned docx writes and add read-only contract tests 2026-04-21 19:05:35 +08:00
hy 24e33d40b5 Refine docx live tests for positioned edits 2026-04-21 18:20:51 +08:00
hy 1283ec60bb Refine docx design docs and review artifact regression tests 2026-04-21 14:02:01 +08:00
hy 3efa52d128 Add committed docx artifact support 2026-04-21 10:28:02 +08:00
hy e6e39102bc Split risk report live and docx commit coverage 2026-04-21 09:45:43 +08:00
hy cb29241f16 Refine risk report live case and add review-commit coverage 2026-04-20 18:30:47 +08:00
hy 735fd8f5db Refactor AI workflow and shared types 2026-04-20 16:46:41 +08:00
hy 835ad9ac24 Update AI test plan with last run results 2026-04-20 10:10:04 +08:00
hy e6da64f1cd Refactor human prompt contracts and relax docx live oracle 2026-04-17 20:08:28 +08:00
hy fadb8b1e47 Refactor human history to store raw tool results 2026-04-17 11:11:25 +08:00
hy 44eb164c88 Update AI test plan run results 2026-04-16 18:45:45 +08:00
hy ad57d678eb Refactor docx reading into search and range workflows 2026-04-16 18:30:59 +08:00
hy ed33ba17b4 Align chunk query naming and refresh AI tool test records 2026-04-16 16:19:37 +08:00
hy 5b42544a70 Collapse terminal tools into shell command and unify KB query 2026-04-16 16:11:22 +08:00