Clean up agent phases, invariants, and rename bots to timearena #478
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!478
Loading…
Reference in a new issue
No description provided.
Delete branch "verify/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 retired Phase 7 / impl-3 brokenrabbit-treasury.mdlinks.DoubPresaleVestingrows and updatedINV-INDEXER-112/INV-BOTS-245-TIMEARENA.timecurve_bot→timearena_bot, CLItimecurve-bot→timearena-bot, CI jobbots-timecurve-test→bots-timearena-test; fixedsync-bot-env-from-frontend.shpath drift.Verification checklist (issue #323)
rg 'propose a minimal workflow|Add CI documentation' docs/agent-phases.md→ PASS (no matches)rabbit-treasury.md;bash scripts/check-doc-anchors.sh→ PASSDoubPresaleVestingfrom business-logic table + contract inventory; CI-local matrix added → PASS (manual review)bots/timearena/rg timecurve_botonly inbots/timearena/CHANGELOG.md→ PASSpytestpasses inbots/timearena/cd bots/timearena && .venv/bin/pytest -q→ 18 passedbash scripts/check-doc-anchors.shcheck-doc-retired-terms.sh,check-doc-timecurve-satellite.sh→ PASS.github/workflows/unit-tests.ymlbots-timearena-testjob unchanged logic, new name → PASS (local pytest)changed the description
changed the description
Security review — MR !478
Commit reviewed:
d33080dea0a62634ba9dd012deb78e6fbe3ed70eScope: Package rename (
timecurve_bot→timearena_bot, CLItimecurve-bot→timearena-bot), CI job rename, bot env-sync / Anvil stack script path fixes (bots/timecurve/→bots/timearena/), agent-phase and invariants documentation cleanup. No smart-contract, indexer, or frontend runtime code changes.Method: Full MR diff reviewed. Security-sensitive paths traced:
scripts/sync-bot-env-from-frontend.sh(env file generation),scripts/start-local-anvil-stack.sh(swarm subprocess spawn),bots/timearena/src/timearena_bot/swarm_runner.py(subprocess argv / private-key env),config.py/rpc.py(Anvil funding gate). Prior MR notes checked — no prior security-review threads to re-validate.Outcome:
FINDINGS: 0medium+Security review: no medium+ findings on this diff.
Rename-only changes preserve existing controls: Anvil dev funding remains gated on
YIELDOMEGA_ALLOW_ANVIL_FUNDING+chain_id == 31337; swarm subprocess arguments are hardcoded module paths (not attacker-controlled);sync-bot-env-from-frontend.shwrites withumask 077to the corrected defaultbots/timearena/.env.local. Documentation and invariant table edits do not alter auth boundaries, onchain logic, or offchain attack surfaces.Inline threads: none (no findings).
added 61 commits
main5b3bff38- Merge origin/main into verify/issue-323-timearena-cleanupCompare with previous version
Resolved merge conflicts with
main(merge commit5b3bff38).Bots: Kept
timearena_bot/timearena_contractnaming; tookmain'stimearena.jsonABI artifact and removed obsoletetimecurve.json; merged CHANGELOG rename notes with legacy env-alias note.Docs: Took
main's CI parity matrix and indexer #317/#319 sections; combinedINV-BOTS-245-TIMEARENAevidence; kept MR QA--helpwording.Sanity:
check-doc-anchors.sh,check-doc-retired-terms.sh,check-doc-timecurve-satellite.sh— PASS.changed the description
Security review — MR !478
Commit reviewed:
5b3bff3869aec46afa1bb8718b6d47500ebbfad8Scope: Post-merge delta vs
main— documentation and changelog updates only (bots/timearena/CHANGELOG.md,docs/qa/QA-onboarding-gitlab-issue-body.md,docs/testing/invariants-and-business-logic.md), plus an emptyfrontend/.cache/stamp artifact. Substantive bot rename / script path fixes fromd33080deare already onmain(zero diff inscripts/sync-bot-env-from-frontend.sh,scripts/start-local-anvil-stack.sh,bots/timearena/src/timearena_bot/**).Method: Full current MR diff reviewed. Prior security-review note on
d33080dere-checked — code-path findings none; remaining delta traced for injection, authz, secret leakage, SSRF/XSS, and EVM surfaces. No attacker-controlled sinks introduced by doc-only edits.Outcome:
FINDINGS: 0medium+Security review: no medium+ findings on this diff.
Documentation changes (rename changelog, QA
--helpchecklist, invariant evidence strings,DoubPresaleVestingcarve-out removal fromINV-REMOVAL-243) do not alter runtime behavior, auth boundaries, onchain logic, or offchain attack surfaces.Inline threads: none (no findings).
mentioned in commit
30b64b74b8