Skip to content

torqx.sh: drop -t as a --tmux alias so q's -t timer passes through - #159

Merged
DI-Dexter merged 1 commit into
DataIntellectTech:mainfrom
DI-Dexter:torqx-tmux-flag
Nov 25, 2026
Merged

DI-Dexter merged 1 commit into
DataIntellectTech:mainfrom
DI-Dexter:torqx-tmux-flag

Conversation

@DI-Dexter

@DI-Dexter DI-Dexter commented Nov 17, 2026 •

Copy link
Copy Markdown
Collaborator

torqx.sh took -t as a short form of --tmux, so q's -t timer could not be passed the way TorQ passes it. torqx.sh start stp1 -t 500 started stp1 in a tmux session and passed the 500 on its own, so timerms stayed null and the tickerplant's batch timer ran at its default.

Before and after

In the TorqX-POC, after the README's setup (source ./setenv.sh, TORQXCRED, waitq) and with discovery1 running.

torqx.sh start stp1 -t 500; waitq 5311
q -q <<<"h:hopen \`::5311:$TORQXCRED; -1 string h\"system \\\"t\\\"\"; exit 0"
before: starting stp1 (segmentedtp) in tmux session 'torqx-poc-<user>-stp1'... log: ...
        100
after:  starting stp1 (segmentedtp)... log: ...
        500

Change

  • -t is no longer a tmux alias; --tmux and devstart still turn on tmux mode. -t <ms> now passes through to q like any other extra argument, where di.torq reads it into timerms.
  • Usage text and torq.md updated, with torqx.sh start stp1 -t 1000 as the example.
  • No VERSION bump: VERSION is the q module's, and earlier torqx.sh changes (Feature segmentedtp #144, Feature framework polishing #147) did not bump it.

Tested on the TorqX-POC (stp1)

torqx.sh Command Mode stp1 system "t" timerms
main start stp1 -t 500 tmux 100 (default) null; .z.X ends "5311";"500"
this PR start stp1 -t 500 nohup 500 500
this PR start stp1 --tmux -t 500 tmux 500 500
this PR devstart stp1 tmux 100 (no -t) null

The TorqX-POC's .claude/skills/torqx-app/SKILL.md still lists --tmux/-t; that is a one-line POC change after this merges.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@DI-Software-Engineering

Copy link
Copy Markdown

DIReview Summary

✅ No new findings at 485b58a.

⚠️ Spec check skipped — tracker lookup failed (NO_REF_FOUND). Standards axis only.

@DI-Dexter
DI-Dexter merged commit 3f37efd into DataIntellectTech:main Nov 25, 2026
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.

3 participants