Skip to content

Commit aa8b031

Browse files
authored
fix: validate config and preserve steer provenance (#264)
## Related Issue N/A — maintainer bug fixes; no matching issue exists. ## Problem `pythinker doctor` selected its `config.toml` schema from the legacy engine flag. This could reject current configuration sections when the interactive CLI used the legacy engine. Steer messages also lost their user and skill origin metadata when projected into live or historical transcripts. ## What changed - Make `pythinker doctor` use the current configuration schema in every engine mode. - Preserve sanitized steer origin data in live and historical transcript user frames. - Exclude private activation identifiers, source paths, and file attachments from transcript origin data. - Correct the legacy engine flag documentation and rebuild the committed web bundle. ### Verification - Doctor tests: 19/19 passed - Transcript tests: 69/69 passed; full transcript package: 97/97 passed - Gateway transcript tests: 99/99 passed - Build, typecheck, lint, Sherif, VS Code, web parity, Nix, workspace sync, and docs build passed - The default-concurrency full suite passed 20,861 tests and had five load-related timing failures in unchanged files; each affected test file passed in isolation ## Checklist - [x] I have read the [CONTRIBUTING](https://github.com/PyModel/pythinker-code/blob/main/CONTRIBUTING.md) document. - [x] I have linked a related issue, or explained above why none exists. - [x] I have added tests that prove the fixes work. - [x] Ran `gen-changesets` skill; this PR includes a CLI patch changeset. - [x] Ran `gen-docs` skill; this PR corrects the affected environment-variable reference. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * `pythinker doctor` now validates `config.toml` against the current schema in every engine mode. * Transcripts now preserve user-origin details, including skill activations and their arguments. * Interrupted steps are recorded when pending user steering occurs before a step begins. * **Bug Fixes** * Improved filtering and sanitization of transcript provenance metadata. * Updated the web application bundle and diagram support for more reliable loading. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
1 parent 7563f66 commit aa8b031

0 file changed

File tree

    0 commit comments

    Comments
     (0)