Phase 5 (v0.7.0): Agent integration — skills, e2e demo, mock full-pipeline#23
Merged
Merged
Conversation
…upport Agent-Logs-Url: https://github.com/JetSquirrel/longbridge-fs/sessions/52104d82-1545-48db-9e77-76f9309ed3b7 Co-authored-by: JetSquirrel <20291255+JetSquirrel@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Implement next 3 items for iteration 4
Phase 5 (v0.7.0): Agent integration — skills, e2e demo, mock full-pipeline
Apr 2, 2026
JetSquirrel
marked this pull request as ready for review
April 2, 2026 13:32
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements the three remaining Phase 5 items to lower agent onboarding friction: updated skills documentation covering all 5 Harness layers, a runnable end-to-end demo, and mock-mode support for the full pipeline.
.claude/skills/longbridge-trading/SKILL.mdweight,total_capital_pct,cash_reserve_pct), TWAP/ICEBERG algo order examples, signal-to-order traceability (signal_refs), and a complete pipeline workflow←/→annotations showing agent read/write responsibilitiesdemo_e2e.shNew 9-step script demonstrating the full pipeline in mock mode:
Produces visible output at every layer so an agent can trace data flow end-to-end.
internal/research/mock.go+main.goPreviously,
--mockmode skipped research entirely (if !useMockgate). Now:RefreshFeedsMock(root)— generates synthetic news/topics for watchlist symbols without hitting the Content APIGenerateMockKlineData(root, symbol, 120)— writes synthetic daily OHLCV bars so builtin signals (SMA_CROSS, RSI, PRICE_CHANGE) can compute in mock modeuseMock == true