Commit Graph
465 Commits
Author SHA1 Message Date
hy bca83fffc4 fix: simplify stableMemory contract explanation and clarify updatedStableMemory output rules 2026-05-12 14:53:46 +08:00
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 ed255e151b fix: clarify principles and delivery guidance in brain prompt to enhance task understanding 2026-05-12 10:45:00 +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 3eed0fb292 fix: enhance docx-write description to clarify post-write read operation requirement 2026-05-11 15:48:05 +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 d9b65f965a fix: add limits for DOCX batch writes and tool use plans in constants 2026-05-11 15:15:20 +08:00
hy f16c10a107 fix: enhance decision-making and memory update contracts in brain prompt 2026-05-11 14:34:26 +08:00
hy 3bc44f99d2 fix: clarify deliveryGuidance requirement in brain prompt documentation 2026-05-09 19:07:07 +08:00
hy 8362f20cdd fix: refine mouth prompt principles and simplify risk report test conditions 2026-05-09 19:03:46 +08:00
hy 2df77de3a2 fix: update user input text for risk report draft to remove specific mention of txt files 2026-05-09 18:44:22 +08:00
hy 02157d085c fix: update user input text for risk report draft to specify focus on txt files 2026-05-09 18:39:09 +08:00
hy 260e073678 fix: update user input text for risk report draft to improve clarity 2026-05-09 18:15:20 +08:00
hy cc46e4e2dc fix: update user input text for risk report draft and remove unused template references 2026-05-09 17:23:02 +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 87e2b3d70d fix: correct user input text for risk report draft to improve clarity 2026-05-07 18:54:24 +08:00
hy 207b225c21 fix: update user input text for risk report draft to include all work document information 2026-05-07 18:47:26 +08:00
hy c1cc63f84d Fix draft artifact loading in risk report live test 2026-05-07 18:40:32 +08:00
hy f04285239a Normalize docx readback path matching 2026-05-07 17:29:24 +08:00
hy 6a971bbd6d refactor(brain): reorganize memory and skill catalog sections in brain prompt 2026-05-06 16:33:24 +08:00
hy e6e2ba8e03 Update LangChain deps for provider cache observability 2026-05-06 15:58:45 +08:00
hy dbfb783320 feat(docx): enhance readback validation and add new tests for docx handling 2026-04-30 18:51:19 +08:00
hy b050ffb188 feat(docx): implement readback requirement for docx write operations
- Added a new watch hint 'docx_write_requires_readback' to enforce readback after docx write actions.
- Introduced utility functions to check if a docx write operation requires a readback.
- Updated the state transition logic to return the new watch hint when applicable.
- Enhanced the docx tool capabilities to support the new readback requirement.
- Created tests to validate the behavior of the new watch hint and ensure proper handling of docx write operations.
- Refactored docx review logic to hide deleted generated content and ensure accurate review outputs.
2026-04-30 18:45:55 +08:00
hy e73defd940 Revise live human risk report fixtures and docx tests 2026-04-30 16:59:50 +08:00
hy 4b448e168a Simplify live LLM config and remove search strategy prompt 2026-04-30 15:09:13 +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 6f51d22c95 Refactor docx file paths and update test fixtures for workspace integration; add caching for KB fixture vectors 2026-04-29 16:37:52 +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 ac39028e96 Simplify human tool prompts 2026-04-29 14:00:17 +08:00
hy 9a587b53ce Require workspace binding and simplify reference scope prompts 2026-04-29 11:21:35 +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
hyandCopilot eee42e1814 Refine descriptions and usage guidance for knowledge base skills and tools
Co-authored-by: Copilot <copilot@github.com>
2026-04-28 17:28:15 +08:00
hy 390333275b Clarify KB skill descriptions and search strategy prompt 2026-04-28 17:14:45 +08:00
hy 9beb579ce2 Refine user input for comparison draft to improve clarity and focus 2026-04-28 16:02:22 +08:00
hy 4bcccccf1d Raise default human tool limit and relax mouth gate 2026-04-28 15:51:05 +08:00
hyandCopilot 20f2895988 Add completion check principle to brain prompt guidelines
Co-authored-by: Copilot <copilot@github.com>
2026-04-28 14:27:04 +08:00
hy 6042c513d7 Remove brittle prompt snapshot tests 2026-04-28 10:54:46 +08:00
hy 70f1f3c5e3 Refine mouth prompt description for clarity and focus on delivery 2026-04-28 10:53:25 +08:00