Clean up agent phases, invariants, and rename bots to timearena #487
No reviewers
Labels
No labels
agent:fix_bugfix
agent:fix_conflicts
agent:fix_security
agent:gap_analysis
agent:implement
agent:open_issues
agents
agent:security_audit
agent:verify
area
timecurve
arena
arena-v2
audit
block:feature_review
block:security
bug
contracts
design
devops
docs
documentation
enhancement
epic
feature
frontend
indexer
low priority
megaeth
operations
ops
performance
QA
qa checklist
referrals
removal
security
smart-contracts
tech-debt
testing
time-arena
timecurve
visual-qa
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
code/yieldomega!487
Loading…
Reference in a new issue
No description provided.
Delete branch "issue-323-timearena-cleanup"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
docs/testing/ci.md. Fixed Phase 7 retired link to missingrabbit-treasury.md.DoubPresaleVesting/ vesting test inventory rows; updatedINV-BOTS-245-TIMEARENAandINV-INDEXER-112.timecurve_bot→timearena_bot, CLI/PyPItimecurve-bot→timearena-bot, CI jobbots-timecurve-test→bots-timearena-test; updated stack scripts and onboarding docs. Migration notes inbots/timearena/CHANGELOG.md.Related: GitLab #323
Verification checklist
rg 'propose a minimal workflow' docs/agent-phases.mdbash scripts/check-doc-anchors.shrg DoubPresaleVesting docs/testing/invariants-and-business-logic.mdINV-REMOVAL-243row retainedbots/timearena/rg timecurve_bot(repo-wide)bots/timearena/CHANGELOG.md(migration note)pytestpasses inbots/timearena/cd bots/timearena && pip install -e ".[dev]" && pytest tests -v.github/workflows/unit-tests.ymlbots-timearena-testjob unchanged stepsbash scripts/check-doc-anchors.shTest plan
cd bots/timearena && pytestbash scripts/check-doc-anchors.shchanged the description
changed the description
Security review — MR !487
Commit reviewed:
4d67b22b2b090a376d9dcc03bc072d2b5b673f5d(basea0d325c5)Scope: Package/CLI rename (
timecurve_bot→timearena_bot,timecurve-bot→timearena-bot), CI job rename, stack script import-path updates, agent-phases/invariants/QA doc cleanup. No Solidity, indexer, or frontend application code changes.Method: Full diff review; traced env/config → RPC/contract/subprocess paths in modified bot and shell files; checked for injection, authz, secret handling, and EVM client mis-binding regressions.
Outcome:
FINDINGS: 0medium+Inline threads: None (no medium+ findings).
Summary
This MR is a mechanical rename and documentation alignment. Security-relevant behavior is unchanged:
load_configstill resolvesYIELDOMEGA_TIME_ARENA_ADDRESSwithYIELDOMEGA_TIMECURVE_ADDRESSfallback; addresses are checksum-validated before use. Removing thetimecurve_contractalias does not change ABI or binding — all call sites usetimearena_contract.anvil_dev_bootstrap_funding_if_enabledand swarm startup still requireallow_anvil_fundingandchain_id == 31337.swarm_runnerstill spawns fixedpython -m timearena_bot.cli <strategy>argv (no shell); private keys pass via env as before.sync-bot-env-from-frontend.sh: Output path corrected tobots/timearena/.env.local; still writes withumask 077and no new user-controlled shell interpolation.Operational note (not a vulnerability): External integrations importing
timecurve_botor invoking thetimecurve-botCLI will break until migrated — availability/compatibility, not an authz or funds-at-risk issue in this diff.Security review: no medium+ findings on this diff.
Resolved merge conflicts with
main(commit30ba2644).Bots: Kept
main'stimearena_addressfield naming and updated TimeArena ABI; removed legacytimecurve.json.Docs: Merged indexer invariant sections (#317, #319) from
main; deduplicated CI parity table; kept Phase 14/7 cleanup and dropped stale "legacy CLI" QA copy.Checks:
bash scripts/check-doc-anchors.sh— PASS.added 100 commits
main30ba2644- Merge main into issue-323-timearena-cleanup and resolve conflicts.Compare with previous version
changed the description
Security review — MR !487
Commit reviewed:
30ba26447037e063050c3c51d7aad992a98d385e(base862964db)Scope: Post-merge delta only — pytest function rename in
bots/timearena/tests/test_addresses.py(test_load_registry_timecurve_alias→test_load_registry_time_arena_alias; behavior unchanged) and two CI-parity command lines added to the local test matrix indocs/testing/invariants-and-business-logic.md. No Solidity, indexer, frontend, shell-script, or bot runtime code changes in this diff.Method: Full diff review against
862964db..30ba2644; traced whether modified lines alter attacker-controlled input handling, authz, secret exposure, or EVM contract binding. Re-checked prior security review on4d67b22— larger rename scope already cleared; remaining delta is naming/docs only.Outcome:
FINDINGS: 0medium+Inline threads: None (no medium+ findings).
Summary
TimeCurveresolves totime_arena. No change toaddresses_from_registryor checksum validation paths.pytestinbots/timearena/,check-doc-anchors.sh). Documentation-only; no executable logic or security control modified.Security review: no medium+ findings on this diff.
mentioned in commit
1445c3b3ad