Harden framework: tests, VRAM Python, dashboard spec, security, CI
- Rewrite vram_detect in Python with fixed config parsing and 10KB read limit
- Add pytest suite (72 tests) covering dashboard core, app security, and VRAM
- Standardize all prompts to .automaton/tasks/{task-name}/ path
- Reconcile dashboard spec with web implementation; remove themes.py
- Remove half-implemented refresh.py file watcher
- Harden dashboard static-file serving and task-name validation
- Add uncommitted-change guard to update.sh and real Gitea URLs
- Add AGENTS.md, Gitea CI workflow, and template documentation
This commit is contained in:
@@ -19,6 +19,13 @@ if [ ! -d ".git" ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Check for uncommitted changes
|
||||
if ! git diff --quiet HEAD || ! git diff --cached --quiet HEAD; then
|
||||
echo "ERROR: $FRAMEWORK_DIR has uncommitted changes."
|
||||
echo "Commit or stash them before updating to avoid losing work."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Fetch and pull latest changes
|
||||
git pull origin main
|
||||
|
||||
|
||||
Reference in New Issue
Block a user