- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.