create-tradejs 3.1.29-beta.297 → 3.1.29-beta.299
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -70,21 +70,35 @@ authentication flow.
|
|
|
70
70
|
|
|
71
71
|
## Release and configure
|
|
72
72
|
|
|
73
|
-
1.
|
|
73
|
+
1. Save the launch decision’s historical report under `launch-reports/<id>.json`
|
|
74
|
+
in the strategy repository. Keep the ID specific to the candidate and decision.
|
|
75
|
+
Use the `tradejs-launch-report/v1` schema from `@tradejs/types` with the SHA-256
|
|
76
|
+
of the retained research source, backtest period, recorded risk, win rate, and
|
|
77
|
+
available metrics. When the original equity series is available, record the
|
|
78
|
+
longest continuous time below its previous peak, measured in calendar days
|
|
79
|
+
from the first below-peak observation until recovery or the end of the window.
|
|
80
|
+
Keep an adjacent `<id>.png` of the research chart and record its SHA-256 in
|
|
81
|
+
`chart.sha256`. Use retained evidence and leave absent fields unset. Include
|
|
82
|
+
only report-ready aggregate results because the package can be public.
|
|
83
|
+
Export `"./launch-reports/*.json": "./launch-reports/*.json"` in the package
|
|
84
|
+
and include `launch-reports` in `files`. Verify that the JSON and chart ship
|
|
85
|
+
together in the packed tarball, and commit the report with the candidate.
|
|
86
|
+
2. Re-run source package checks at the selected commit. If the candidate uses
|
|
74
87
|
unpublished source, commit and push the complete accumulated release range,
|
|
75
88
|
publish one immutable stable package through the repository’s existing
|
|
76
89
|
release workflow, and verify the registry artifact. Do not cherry-pick only
|
|
77
90
|
one fix out of an accumulated unshipped range.
|
|
78
|
-
|
|
79
|
-
|
|
91
|
+
3. Install the exact package version in the Project and commit the lockfile.
|
|
92
|
+
4. Write the candidate’s complete reviewed configuration to the selected
|
|
80
93
|
deployment in the Git-owned Project runtime configuration and force
|
|
81
|
-
`MAX_LOSS_VALUE=1
|
|
94
|
+
`MAX_LOSS_VALUE=1`. Set `launchReports[deploymentId][strategyName]` on the exported Project
|
|
95
|
+
configuration to the packaged report ID:
|
|
82
96
|
- if the strategy is absent, add and enable it;
|
|
83
97
|
- if it runs a different composition, replace that strategy declaration in
|
|
84
98
|
one guarded cutover while preserving unrelated strategies;
|
|
85
|
-
- if the exact composition already runs at risk 1
|
|
99
|
+
- if the exact composition already runs at risk 1 with the same report ID,
|
|
86
100
|
continue with idempotent verification.
|
|
87
|
-
|
|
101
|
+
5. Run strict Project checks and runtime-control verification. Commit and push
|
|
88
102
|
the complete Project release range, publish/deploy its exact immutable tip
|
|
89
103
|
through the configured production workflow, and wait for the deployment
|
|
90
104
|
handoff to finish.
|
|
@@ -23,6 +23,10 @@ description: Use an authenticated TradeJS MCP server from Codex or Claude Code t
|
|
|
23
23
|
request after a transport failure. On `CURSOR_EXPIRED`, restart that window
|
|
24
24
|
at cursor `0` and deduplicate record identities; storage order is not
|
|
25
25
|
chronological and scans are not immutable snapshots.
|
|
26
|
+
Pass a strategy name or `detail: summary` to `runtime_list_strategies` for
|
|
27
|
+
a smaller response. Orders are selected by entry time by default. Use
|
|
28
|
+
`timeField: exit` to include trades closed in the window even when they
|
|
29
|
+
were opened earlier.
|
|
26
30
|
`runtime_get_signal` takes signalId, deploymentId, timestamp and strategy
|
|
27
31
|
from the list. Explain the saved decision, gate, order status and evidence.
|
|
28
32
|
Do not turn missing retained records into proof that nothing happened.
|
|
@@ -34,7 +38,8 @@ description: Use an authenticated TradeJS MCP server from Codex or Claude Code t
|
|
|
34
38
|
5. Prefer existing verified `diagnostics_list_reports` / `diagnostics_get_report`
|
|
35
39
|
before new jobs. Paginate the catalog with `offset`, `limit` and
|
|
36
40
|
`nextOffset` until null. Preserve `scanTruncated` and excluded-bundle counts
|
|
37
|
-
as coverage limitations.
|
|
41
|
+
as coverage limitations. Filter by `accountId` and
|
|
42
|
+
`deploymentCompositionId` when matching an exact composition. For full artifacts call `artifact_get`, concatenate decoded
|
|
38
43
|
base64 chunks in offset order, verify byte count and SHA-256, then use the
|
|
39
44
|
relevant local analysis skill. `diagnostics_get_report.files` lists the
|
|
40
45
|
available payload, manifest, completion marker and optional replay log;
|
|
@@ -46,8 +51,22 @@ description: Use an authenticated TradeJS MCP server from Codex or Claude Code t
|
|
|
46
51
|
history, one worker. Evidence capture is limited to seven days. Feedback
|
|
47
52
|
replay requires a verified evidence id for that deployment and an isolated
|
|
48
53
|
replay worker. Disconnects do not cancel work; never automatically retry a
|
|
49
|
-
failed job.
|
|
50
|
-
|
|
54
|
+
failed job. A completed job can return `resultId` for
|
|
55
|
+
`backtest_get_result` or `artifactIds` for `diagnostics_get_report`.
|
|
56
|
+
Use `job_cancel` only when requested.
|
|
57
|
+
7. For saved research on this host, use `research_list_studies` and
|
|
58
|
+
`research_get_study`. These tools are visible to the project owner with
|
|
59
|
+
`research:read`. Follow a section's `nextOffset` with its exact title.
|
|
60
|
+
The server reads the same Project `notes/` as the web library. An empty
|
|
61
|
+
list on a remote host does not describe research saved on another machine.
|
|
62
|
+
8. For missing market data, call `coverage_list_datasets` and
|
|
63
|
+
`coverage_inspect` with a dataset, series and UTC date. Use the exact
|
|
64
|
+
missing slots and latest backfill outcome as evidence. An empty local
|
|
65
|
+
range does not establish the provider-side cause. Only on explicit
|
|
66
|
+
request, use `coverage_backfill_start` with the owner's
|
|
67
|
+
`market:backfill` scope, then poll `coverage_backfill_get`. Queue one UTC
|
|
68
|
+
day at a time and set `retry: true` only for an explicitly requested retry.
|
|
69
|
+
9. Include source host, time bounds, revisions, coverage, checksums and missing
|
|
51
70
|
evidence in the result. Use local CLI for offline analysis or work exceeding
|
|
52
71
|
the bounded MCP job contract. SSH needs a separate explicit operational
|
|
53
72
|
request; do not broaden access to compensate for a missing tool or scope.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schema": "tradejs-skill-bundle/v1",
|
|
3
3
|
"source": "TradeJS-Dev/TradeJS:.codex/skills",
|
|
4
|
-
"bundleSha256": "
|
|
4
|
+
"bundleSha256": "0bd0d509fe00202d905d055d1c52b3f6f06e6d9b71ce66702165231321205758",
|
|
5
5
|
"skills": [
|
|
6
6
|
"ai-train-local-research",
|
|
7
7
|
"backtest-config-redis",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
".codex/skills/strategy-backtest-research/SKILL.md": "25e7d1b40827f74c35dda7e642ed02ee4e17cfc31e5a017347306fe7c499bf8c",
|
|
69
69
|
".codex/skills/strategy-candidate-compare/SKILL.md": "cd3cf47259c9eb96bfaba795983788b77d463557a965692aaa19ad2de16850e6",
|
|
70
70
|
".codex/skills/strategy-candidate-report/SKILL.md": "f5cb27dd1ddc2e24afaf2aa2b86aa9edf6ef2b91f3d7acc5d49ee8209d8d3d7b",
|
|
71
|
-
".codex/skills/strategy-forward-start/SKILL.md": "
|
|
71
|
+
".codex/skills/strategy-forward-start/SKILL.md": "6c6eda74450fc3165ce94ca12323c8277855beb1626b023811a78b2f5d294ee0",
|
|
72
72
|
".codex/skills/strategy-forward-status/SKILL.md": "7cb021991ff40bb3407eb58e1c9e2bcf597f67b0201059b9e20e4f37fd3320b9",
|
|
73
73
|
".codex/skills/strategy-improvement-plan/SKILL.md": "1a63dffa9edb73a3fef14e9966e9a07d0c0bf5df8d6267bf4689fb4577f9a78c",
|
|
74
74
|
".codex/skills/strategy-improvement-research/references/final-composition-board.md": "205f1c1db8d328ada61e0d406f76171a947ba2e5c856ebb1c5b1b75527f90ae3",
|
|
@@ -105,6 +105,6 @@
|
|
|
105
105
|
".codex/skills/strategy-risk-scale/SKILL.md": "2c07846c9da2fd622ea6f5586c42863fc27b35a7d1d00614d5bbe0719da4d39f",
|
|
106
106
|
".codex/skills/tradejs-docs/agents/openai.yaml": "47e75a2523ba0e4fd3a65d8bd4828dc74b021fa5377b2b04b1aee2130a12d6c3",
|
|
107
107
|
".codex/skills/tradejs-docs/SKILL.md": "26dec701db7149053afebc086440456601644c904d6f05b180b61aba3e98de89",
|
|
108
|
-
".codex/skills/tradejs-mcp/SKILL.md": "
|
|
108
|
+
".codex/skills/tradejs-mcp/SKILL.md": "d45977250a24ff726da01ad9fc4c7d83ea5b2e9a3e3899612794368ad05453ed"
|
|
109
109
|
}
|
|
110
110
|
}
|