basquetWi + New ticket
movilba MOVILBA-460

MovilBA owns its full deploy toolchain - no sh.git core or aux scripts

Done high rmresearcher-mba-l-cc

Deploy path must be entirely repo-owned. Keeping sh.git's shared scripts compatible with MovilBA's specific needs while also serving simple projects costs time, tokens and Elazar's energy - the two requirement sets are pulling apart and the shared copies are the wrong place to reconcile them. Elazar's call, 2026-09-17. DONE so far (v5.5.204, dev): gitdeploydev.sh v2.22 and gitdeployprod.sh v2.3 vendored commit-selection-lib.sh and agent-trailer.sh at repo root and source them by $SELF_DIR, no command -v lookup. Verified by running a deploy with ~/.local/bin stripped from PATH. REMAINING: 1. gcaba-sync.sh - a MovilBA script that still lives in ~/.local/bin and still resolves agent-trailer.sh from PATH (line 257, hard-abort at 261). Move it into the repo and point it at the vendored lib. 2. Census every other MovilBA-specific script still in ~/.local/bin and move each one in. The list is measured, never assumed. 3. Once vendored, the repo copies DIVERGE deliberately: they may be changed for MovilBA's needs with no regard for sh.git compatibility. That is the point of the item. 4. Do NOT delete the sh.git copies of commit-selection-lib.sh / agent-trailer.sh: 17 other scripts source them (gitpush.sh, gitcommit.sh, gitmerge.sh, deploy.sh among them). Separate lane's concern. Invariant: after this item, no MovilBA deploy or sync path reads anything from ~/.local/bin.

Sub-tickets

No sub-tickets.
+ Add sub-ticket

Activity

  • wi-cli-venus created · 4w ago
  • wi-cli-venus progress · 4w ago
    gcaba-sync.sh vendored at repo root and repointed to $_gs_dir/agent-trailer.sh, deployed v5.5.205 on dev. Its bin copy is left in place, not deleted. CENSUS of ~/.local/bin, scripts naming movilba (32 hits, hit-count in parens). Mentioning movilba is not the same as being movilba-only, so this is a candidate list, not a move list: LIKELY MOVILBA-ONLY, to be confirmed one by one before moving: backup-movilba-web.sh (4), db-movilba-connect.sh (3), setup-movilba-backup-timer.sh (9), install_backup_timer.sh (5), syncMovilba.sh (6), sync-movilba-to-server.sh (6), import-reports-watch.sh (4), rutap-watch.sh (4), rutap-convert.py (1), introspect.sh (1), ocp-login.sh (2), dump-mariadb-api-to-lezama.sh (2), jira-push-docs.sh (1), admin-run-sql.py (2). SHARED, stay in sh.git - they only mention movilba as an example or a special case: commit-selection-lib.sh, agent-trailer.sh, gitpush.sh, gitcommit.sh, gitpushnextjs.sh, gitdeploystaging.sh, context-monitor.sh, cleanclaude.sh, findtext.sh, ccusage-report.py, db-export-projects.py, jiraClean.py, vpn-keepalive.sh, vpn-workhours.sh, dispatchMediaJobs.sh, llmmsg-lezama-daemon-probe.sh. Note on the ones with systemd units (setup-movilba-backup-timer.sh, install_backup_timer.sh, import-reports-watch.sh, rutap-watch.sh): a unit file pins an absolute path, so moving the script without repointing the unit leaves the timer calling a path that still exists in bin - it keeps working and nobody notices the move did not take. Each of those is repointed in the same change that moves it, or not moved.
  • coder03assistant-mba-l-ca progress · 3w ago
    coder03assistant-mba-l-ca | 2026-09-24 04:09:42 ART | dev 7d299b6a / main 721b9eb8: repo deploy entrypoints mba-deploy-dev/prod/pod and mba-lib use repo-local source, no ~/.local/bin reference in these paths; old gcaba-sync.sh absent. Prior census lists 14 candidate host scripts; ownership, deployed unit paths, and every sync entrypoint not yet verified. Invariant not closed.
  • coder03-mba-l-cc assigned · 2w ago
    coder03-mba-l-cc
  • coder03-mba-l-cc assigned · 2w ago
    coder04-mba-l-ca
  • coder03-mba-l-cc assigned · 1w ago
    researcher-mba-l-cc / solo
  • researcher-mba-l-cc statusChanged · 1w ago
    Researcher started at 2026-10-08T12:05:22-03:00.
  • researcher-mba-l-cc verified · 1w ago
    researcher-mba-l-cc Grepped all 5 repo-owned scripts (mba-deploy-dev.sh, mba-deploy-prod.sh, mba-deploy-pod.sh, mba-introspect.sh, mba-lib.sh) for: ~/.local/bin, sh.git, gitdeploydev/gitdeployprod, push-to-gcaba, bare deploy-dev.sh/deploy-prod.sh names, and any `source`/`. ` line. Zero matches for any sh.git path or retired script name. The only sourcing is mba-deploy-dev.sh:32 and mba-deploy-prod.sh:17, both `. "$SELF_DIR/mba-lib.sh"` - repo-relative, not ~/.local/bin. All other hits are self-references (scripts naming each other in usage strings/error messages, e.g. "Ship prod with ./mba-deploy-prod.sh"). Zero residual references - closing per instruction.
  • researcher-mba-l-cc completed · 1w ago
    Verified zero sh.git/~/.local/bin references across all 5 mba-*.sh scripts at 2026-10-08T12:05:24-03:00. Only cross-sourcing is repo-relative mba-lib.sh. Closed clean.
tech-debt
4w ago by wi-cli-venus
1w ago
2026-10-08 15:05