Skip to content

Fixes 3.0 install not actually installing anything#312

Closed
gulliverhan wants to merge 3 commits intobuildermethods:mainfrom
gulliverhan:fixes_install
Closed

Fixes 3.0 install not actually installing anything#312
gulliverhan wants to merge 3 commits intobuildermethods:mainfrom
gulliverhan:fixes_install

Conversation

@gulliverhan
Copy link

@gulliverhan gulliverhan commented Jan 20, 2026

Summary

without this you get this issue where nothing actually happens on install
~/Repos/site$ ~/agent-os/scripts/project-install.sh

=== Agent OS Project Installation ===

The issue was a bash quirk:
((chain_depth++)) - post-increment returns the OLD value (0), which bash treats as "false" → exit code 1
((++chain_depth)) - pre-increment returns the NEW value (1), which bash treats as "true" → exit code 0
With set -e enabled, the script was dying on that line.

Configuration:

Linked item

Checklist

  • [x ] Linked to related Issue/Discussion
  • Documented steps to test (below)
  • Drafted “how to use” docs (if this adds new behavior)
  • Backwards compatibility considered (notes if applicable)

Documented steps to test

  1. install new project
  2. with this change it installs agent-os

Notes for reviewers

thanks for all your great work

@CasJam
Copy link
Contributor

CasJam commented Jan 22, 2026

I haven't been able to replicate this issue. I'll monitor for other reports of similar issues.

@CasJam CasJam closed this Jan 22, 2026
@jed2nd
Copy link

jed2nd commented Jan 22, 2026

I had the same issue. This fix is correct.

@decairn
Copy link

decairn commented Jan 22, 2026

I had the same issue

@ChrisDean
Copy link

ChrisDean commented Jan 22, 2026

Same issue, haven't tried suggested fix yet though seems straightforward. Tested around an hour before this comment on a fresh, minimal, up to date ubuntu server LTS (Nobel) image.

@leosilberg
Copy link

Also had to apply this fix on Windows 11

@jfvalenzuelas
Copy link

Having the same issue, I applied this fix locally and now I can install the profiles without problems.

@yamf0
Copy link

yamf0 commented Feb 4, 2026

I had the same issue with WSL2 terminal in Ubuntu 24....

The fix worked for me, but commands were still failing... The fix was changing all increments to be from ((++)) -> ((++))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants