Replies: 1 comment 1 reply
-
|
This is definitely a must!... TBH, I'm not a fan of the current bash scripts (they're making running the project in Windows quite difficult)... if I could select a tech, I would build all the scripts in Python or JS, and using i.e. Node to run them which would make them quite OS-independent... but also, the tools for testing the code would be much more powerful (and known to most devs). BTW, I would go with JS, as I'm quite bad in Python, but this said, I know that Python is (probably) a better option. Now, this doesn't apply only to the scripts, for instance the Prompts themselves should be tested somehow, i.e. some changes just let prompts mentioning non existing agents (see #252), which kind of broke the specs creation workflow (it works, but it is and feel buggy). To tests these, some sort of evaluation tool could be used (i.e. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Problem Statement
Recent bugs (#240, #244) revealed critical issues that could have been caught with automated testing:
--dry-runflag not respected in cleanup functionsBoth bugs involved subtle shell scripting issues (subshell variable scope, missing conditional checks) that manual testing easily misses.
Proposed Solution
Implement automated testing using:
Initial Set of tests
Dry-run mode safety
--dry-runnever modifies filesystemproject-install.shandproject-update.shProfile exclusions
exclude_inherited_filesin profile-config.ymlagent-os/standards/.claude/skills/Profile inheritance
Installation modes
Script safety
Folder Structure
Click to expand
Example Tests
Dry-run Safety Test
Exclusion Pattern Test
Benefits
Resources
Beta Was this translation helpful? Give feedback.
All reactions