[Bug]: A clone's bin/fw called by full path from inside a consumer project runs the project's vendored copy instead (upgrade reports 'Bare-from-consumer')
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 52/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- bash, cli, shell
- Ambito
- cli, developer-experience
Direzione di ricerca
Start with _fw_reexec_authority in bin/fw:414 and trace how it chooses the framework copy when invoked by an explicit path from a consumer directory. Then inspect the routing into lib/upgrade.sh and compare the three reproduction commands in the issue. Done means the clone's bin/fw upgrade ... --dry-run uses the clone, or reports clearly that it routed to the project's copy; verify the behavior against the listed cases.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Bug Description
With a full clone of upstream v1.8.11 in $CLONE and a vendored consumer in $PROJECT:
| current directory | command | result |
|---|---|---|
$PROJECT |
$CLONE/bin/fw upgrade $PROJECT --dry-run |
Bare-from-consumer detected — auto-cloning upstream |
$CLONE |
bin/fw upgrade $PROJECT --dry-run |
Framework: $CLONE (v1.8.11), full preview |
$PROJECT |
env FRAMEWORK_ROOT=$CLONE PROJECT_ROOT=$PROJECT $CLONE/bin/fw upgrade $PROJECT --dry-run |
Framework: $CLONE (v1.8.11), full preview |
The clone's bin/fw, called explicitly, re-routes to $PROJECT/.agentic-framework (_fw_reexec_authority, bin/fw:414), then lib/upgrade.sh sees source and target as the same and switches to the bare-call path. FW_ROUTED_FROM plays no part (same result with env -u FW_ROUTED_FROM). The message speaks of a bare call although the call named another framework.
Steps to Reproduce
git clone https://github.com/DimitriGeelen/agentic-engineering-framework.git "$CLONE" && git -C "$CLONE" checkout v1.8.11cd "$PROJECT" && "$CLONE/bin/fw" upgrade "$PROJECT" --dry-run- Compare with
cd "$CLONE" && bin/fw upgrade "$PROJECT" --dry-run, and with theenv FRAMEWORK_ROOT=... PROJECT_ROOT=...form from$PROJECT.
Expected Behavior
A bin/fw invoked by a path that is not the project's copy runs itself, at least for upgrade, whose whole purpose is to apply another framework to the project. Failing that, a clear message: "call re-routed to the project's copy; run from the clone's directory or set FRAMEWORK_ROOT".
Actual Behavior
The operator believes one framework version is running; another runs, and the message ("Bare-from-consumer detected") points the wrong way. Remedy 3 of the upgrade error message contains the cd, but nothing says it is required.
fw doctor output
AI Agent
Claude Code
Operating System
Linux
Additional Context
1.8.11 (e42aa41bf), vendored consumer, Linux (Ubuntu 20.04), non-root account, Claude Code. Also found independently by another consumer project on the same host; its reproduction was re-run here on 1.8.11. The env FRAMEWORK_ROOT=... PROJECT_ROOT=... form is how this project upgraded from 1.8.6 to 1.8.11 on 2026-10-18.
- Lingua principale
- Shell
- Stelle
- 16
- Fork
- 6
- Merge medio
- 6h 24m
- PR unite (30g)
- 5
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di DimitriGeelen/agentic-engineering-framework
-
area:cli bug severity:low status:fixed-on-bleeding-edge triaged
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
DimitriGeelen/agentic-engineering-framework#100 · 5 commenti ·
-
area:cli bug severity:medium status:fixed-on-bleeding-edge triaged
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
DimitriGeelen/agentic-engineering-framework#97 · 5 commenti ·
-
area:context bug severity:low status:fixed-on-bleeding-edge triaged
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
DimitriGeelen/agentic-engineering-framework#96 · 5 commenti ·
-
area:docs bug severity:medium status:in-progress triaged
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
DimitriGeelen/agentic-engineering-framework#95 · 4 commenti ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
Tutte le issue di DimitriGeelen/agentic-engineering-framework
Issue simili
-
Python Volcengine provider returns failures instead of raising themForse già presa @Ricardo-M-L l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 79/100
agent-infra/sandbox#248 ·
-
chore priority:low size:S
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
celo-org/celopedia-skills#98 ·
I maintainer di solito rispondono entro 1 giorno
-
Git for Windows shouldn't be locked on their `.windows.1` versionsForse già presa Una pull request collegata a questa issue è aperta o già unita. Apertagit windows
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
jenkins-infra/packer-images#3179 ·
I maintainer di solito rispondono entro 1 giorno
-
ready-for-pr
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
kunchenguid/firstmate#7679 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Security: Vulnerable PHP version (CVE-2026-109618 / CVE-2026-109619) in current Docker imagesAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
MISP/misp-docker#478 ·
I maintainer di solito rispondono entro 1 giorno