Just tried to update to 2.0.5 and all it did was delete files. #217
Replies: 2 comments
-
|
After running $ ./agent-os-base-install.sh -v
Initializing...
=== Agent OS Base Installation ===
=== ⚠️ Existing Installation Detected ===
You already have a base installation of Agent OS
Your installed version: 2.0.4
Latest available version: 2.0.5
What would you like to do?
1) Full update
Updates & overwrites:
- ~/agent-os/profiles/default/*
- ~/agent-os/scripts/*
- ~/agent-os/CHANGELOG.md
Updates your version number in ~/agent-os/config.yml but doesn't change anything else in this file.
Everything else in your ~/agent-os folder will remain intact.
2) Update default profile only
Updates & overwrites:
- ~/agent-os/profiles/default/*
Everything else in your ~/agent-os folder will remain intact.
3) Update scripts only
Updates & overwrites:
- ~/agent-os/scripts/*
Everything else in your ~/agent-os folder will remain intact.
4) Update config.yml only
Updates & overwrites:
- ~/agent-os/config.yml
Everything else in your ~/agent-os folder will remain intact.
5) Delete & reinstall fresh
- Makes a backup of your current ~/agent-os folder at ~/agent-os.backup
- Deletes your current ~/agent-os folder and all of its contents.
- Installs a fresh ~/agent-os base installation
6) Cancel and abort
Enter your choice (1-6): 1
Performing full update...
✓ Backed up existing installation to ~/agent-os.backup
Updating default profile...
[VERBOSE] Repository path: buildermethods/agent-os
[VERBOSE] Fetching from: https://api.github.com/repos/buildermethods/agent-os/git/trees/main?recursive=true
[VERBOSE] Response preview: {
"sha": "f6d14772d6660a4a75d78ee78bd21cd89034daee",
"url": "https://api.github.com/repos/buildermethods/agent-os/git/trees/f6d14772d6660a4a75d78ee78bd21cd89034daee",
"tree": [
{
"path": ".github",
"mode": "040000",
"type": "tree",
"sha": "20fa4414bfd81b1f9f4d0da624e940dda30a494e",
"url": "https://api.github.com/repos/buildermethods/agent-os/git/trees/20fa4414bfd81b1f9f4d0da624e940dda30a494e"
},
{
"path": ".github/CODE_OF_CONDUCT.md",
"
[VERBOSE] Using jq to parse JSON
[VERBOSE] Downloaded: profiles/default/agents/implementation-verifier.md
[VERBOSE] Downloaded: profiles/default/agents/product-planner.md
[VERBOSE] Downloaded: profiles/default/agents/specification/spec-initializer.md
[VERBOSE] Downloaded: profiles/default/agents/specification/spec-researcher.md
[VERBOSE] Downloaded: profiles/default/agents/specification/spec-verifier.md
[VERBOSE] Downloaded: profiles/default/agents/specification/spec-writer.md
[VERBOSE] Downloaded: profiles/default/agents/specification/tasks-list-creator.md
[VERBOSE] Downloaded: profiles/default/agents/templates/implementer.md
[VERBOSE] Downloaded: profiles/default/agents/templates/verifier.md
[VERBOSE] Downloaded: profiles/default/commands/create-spec/multi-agent/create-spec.md
[VERBOSE] Downloaded: profiles/default/commands/create-spec/single-agent/1-create-spec.md
[VERBOSE] Downloaded: profiles/default/commands/create-spec/single-agent/2-create-tasks-list.md
[VERBOSE] Downloaded: profiles/default/commands/create-spec/single-agent/3-verify-spec.md
[VERBOSE] Downloaded: profiles/default/commands/implement-spec/multi-agent/implement-spec.md
[VERBOSE] Downloaded: profiles/default/commands/implement-spec/single-agent/1-implement-spec.md
[VERBOSE] Downloaded: profiles/default/commands/implement-spec/single-agent/2-verify-implementation.md
[VERBOSE] Downloaded: profiles/default/commands/new-spec/multi-agent/new-spec.md
[VERBOSE] Downloaded: profiles/default/commands/new-spec/single-agent/1-new-spec.md
[VERBOSE] Downloaded: profiles/default/commands/new-spec/single-agent/2-research-spec.md
[VERBOSE] Downloaded: profiles/default/commands/plan-product/multi-agent/plan-product.md
[VERBOSE] Downloaded: profiles/default/commands/plan-product/single-agent/1-plan-product.md
[VERBOSE] Downloaded: profiles/default/commands/plan-product/single-agent/2-create-mission.md
[VERBOSE] Downloaded: profiles/default/commands/plan-product/single-agent/3-create-roadmap.md
[VERBOSE] Downloaded: profiles/default/commands/plan-product/single-agent/4-create-tech-stack.md
[VERBOSE] Downloaded: profiles/default/roles/implementers.yml
[VERBOSE] Downloaded: profiles/default/roles/verifiers.yml
[VERBOSE] Downloaded: profiles/default/standards/backend/api.md
[VERBOSE] Downloaded: profiles/default/standards/backend/migrations.md
[VERBOSE] Downloaded: profiles/default/standards/backend/models.md
[VERBOSE] Downloaded: profiles/default/standards/backend/queries.md
[VERBOSE] Downloaded: profiles/default/standards/frontend/accessibility.md
[VERBOSE] Downloaded: profiles/default/standards/frontend/components.md
[VERBOSE] Downloaded: profiles/default/standards/frontend/css.md
[VERBOSE] Downloaded: profiles/default/standards/frontend/responsive.md
[VERBOSE] Downloaded: profiles/default/standards/global/coding-style.md
[VERBOSE] Downloaded: profiles/default/standards/global/commenting.md
[VERBOSE] Downloaded: profiles/default/standards/global/conventions.md
[VERBOSE] Downloaded: profiles/default/standards/global/error-handling.md
[VERBOSE] Downloaded: profiles/default/standards/global/tech-stack.md
[VERBOSE] Downloaded: profiles/default/standards/global/validation.md
[VERBOSE] Downloaded: profiles/default/standards/testing/test-writing.md
[VERBOSE] Downloaded: profiles/default/workflows/implementation/analyze-patterns.md
[VERBOSE] Downloaded: profiles/default/workflows/implementation/document-implementation.md
[VERBOSE] Downloaded: profiles/default/workflows/implementation/implement-task.md
[VERBOSE] Downloaded: profiles/default/workflows/implementation/implementer-responsibilities.md
[VERBOSE] Downloaded: profiles/default/workflows/implementation/update-tasks-list.md
[VERBOSE] Downloaded: profiles/default/workflows/implementation/verification/create-verification-report.md
[VERBOSE] Downloaded: profiles/default/workflows/implementation/verification/run-all-tests.md
[VERBOSE] Downloaded: profiles/default/workflows/implementation/verification/update-roadmap.md
[VERBOSE] Downloaded: profiles/default/workflows/implementation/verification/verify-documentation.md
[VERBOSE] Downloaded: profiles/default/workflows/implementation/verification/verify-tasks.md
[VERBOSE] Downloaded: profiles/default/workflows/implementation/verifier-responsibilities.md
[VERBOSE] Downloaded: profiles/default/workflows/planning/create-product-mission.md
[VERBOSE] Downloaded: profiles/default/workflows/planning/create-product-roadmap.md
[VERBOSE] Downloaded: profiles/default/workflows/planning/create-product-tech-stack.md
[VERBOSE] Downloaded: profiles/default/workflows/planning/gather-product-info.md
[VERBOSE] Downloaded: profiles/default/workflows/specification/create-tasks-list.md
[VERBOSE] Downloaded: profiles/default/workflows/specification/initialize-spec.md
[VERBOSE] Downloaded: profiles/default/workflows/specification/research-spec.md
[VERBOSE] Downloaded: profiles/default/workflows/specification/verify-spec.md
[VERBOSE] Downloaded: profiles/default/workflows/specification/write-spec.md
✓ Updated default profile (61 files)
Updating scripts...
[VERBOSE] Repository path: buildermethods/agent-os
[VERBOSE] Fetching from: https://api.github.com/repos/buildermethods/agent-os/git/trees/main?recursive=true
[VERBOSE] Response preview: {
"sha": "f6d14772d6660a4a75d78ee78bd21cd89034daee",
"url": "https://api.github.com/repos/buildermethods/agent-os/git/trees/f6d14772d6660a4a75d78ee78bd21cd89034daee",
"tree": [
{
"path": ".github",
"mode": "040000",
"type": "tree",
"sha": "20fa4414bfd81b1f9f4d0da624e940dda30a494e",
"url": "https://api.github.com/repos/buildermethods/agent-os/git/trees/20fa4414bfd81b1f9f4d0da624e940dda30a494e"
},
{
"path": ".github/CODE_OF_CONDUCT.md",
"
[VERBOSE] Using jq to parse JSON
[VERBOSE] Downloaded: scripts/common-functions.sh
[VERBOSE] Downloaded: scripts/create-profile.sh
[VERBOSE] Downloaded: scripts/create-role.sh
[VERBOSE] Downloaded: scripts/project-install.sh
[VERBOSE] Downloaded: scripts/project-update.sh
✓ Updated scripts (5 files)
Updating CHANGELOG.md...
✓ Updated CHANGELOG.md
Updating version number in config.yml...
✓ Updated version to 2.0.5 in config.yml
✓ Full update completed!
mikelittle@macemmyone:~
$ cd agent-os
mikelittle@macemmyone:~/agent-os main
$ git status
On branch main
Your branch is up to date with 'origin/main'.
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git restore <file>..." to discard changes in working directory)
modified: CHANGELOG.md
modified: config.yml
modified: scripts/create-role.sh
modified: scripts/project-install.sh
modified: scripts/project-update.sh
no changes added to commit (use "git add" and/or "git commit -a")All good this time. Weird. |
Beta Was this translation helpful? Give feedback.
-
|
The same thing has happened, updating from 2.0.5 to 2.1.0 Downloading the same script and running it locally (with -v) works properly. I wonder whether piping it into bash is somehow not picking up some paths (I use homebrew installed tools for most things)? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I just tried to update to version 2.0.5 and use the new Full update option.
As it happens, I have my base install in git so I could
git diffto see what happened. Here's git status.Every file except one deleted from profiles/default
Beta Was this translation helpful? Give feedback.
All reactions