@reasontrail/cli 0.1.1 → 0.1.2
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.
- package/CHANGELOG.md +25 -0
- package/README.md +38 -3
- package/package.json +1 -1
- package/runtime/reasontrail-runtime.mjs +811 -70
- package/runtime/reasontrail-runtime.mjs.sha256 +1 -0
- package/skills/reasontrail/SKILL.md +153 -6
- package/src/build-info.json +1 -1
- package/src/cli.mjs +398 -122
- package/src/codex-sync.mjs +290 -23
- package/src/systemd-scope.mjs +3 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,30 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.2 - 2026-09-20
|
|
4
|
+
|
|
5
|
+
- Recovers automatic Codex Conversation synchronization with durable native
|
|
6
|
+
session identity, idempotent cursors, compaction continuity, and honest
|
|
7
|
+
transcript-coverage reporting for manual "update my brain" flushes.
|
|
8
|
+
- Synchronizes repository Markdown into revision-aware Resources with immutable
|
|
9
|
+
history and separate source, introducer, and sync-actor provenance across
|
|
10
|
+
multiple users.
|
|
11
|
+
- Installs, enables, starts, verifies, and observes the managed capture service,
|
|
12
|
+
including heartbeat, retained failure, and retry status.
|
|
13
|
+
- Adds read-only Conversation and repository Resource previews plus the natural-
|
|
14
|
+
language preview, capture, retrieval, task, and exclusion vocabulary without
|
|
15
|
+
changing reviewed-memory governance.
|
|
16
|
+
- Ships Runtime `0.3.3`, which substitutes exact-revision, current reviewed
|
|
17
|
+
context for redundant Codex repository discovery while preserving normal
|
|
18
|
+
validation, provenance, and contradiction fallback behavior.
|
|
19
|
+
- Keeps managed capture healthy when a legacy Conversation needs manual
|
|
20
|
+
reconciliation: each conflicting session is quarantined without advancing its
|
|
21
|
+
cursor while unrelated Conversations and repository Resources continue.
|
|
22
|
+
- Preserves native sessions larger than the server's 200-turn request bound by
|
|
23
|
+
synchronizing and reconciling the complete visible transcript in ordered,
|
|
24
|
+
idempotent chunks; it does not truncate long conversations.
|
|
25
|
+
|
|
26
|
+
This release keeps Runtime protocol `3` unchanged.
|
|
27
|
+
|
|
3
28
|
## 0.1.1 - 2026-09-13
|
|
4
29
|
|
|
5
30
|
- Ships the production-proven ReasonTrail Runtime `0.3.2` using protocol `3`.
|
package/README.md
CHANGED
|
@@ -18,7 +18,7 @@ reasontrail --version
|
|
|
18
18
|
reasontrail --help
|
|
19
19
|
```
|
|
20
20
|
|
|
21
|
-
CLI release `0.1.
|
|
21
|
+
CLI release `0.1.2` includes ReasonTrail Runtime `0.3.3`, protocol `3`.
|
|
22
22
|
|
|
23
23
|
## Connect to hosted ReasonTrail
|
|
24
24
|
|
|
@@ -58,6 +58,41 @@ reasontrail context --request "Inspect repository evidence" --deep --profile pro
|
|
|
58
58
|
Use `reasontrail update --profile production` with a structured reviewed outcome
|
|
59
59
|
on standard input to submit discoveries and task outcomes to the Brain.
|
|
60
60
|
|
|
61
|
+
## Capture conversations and repository memory
|
|
62
|
+
|
|
63
|
+
Preview visible Codex turns or repository Markdown reconciliation before any
|
|
64
|
+
write:
|
|
65
|
+
|
|
66
|
+
```bash
|
|
67
|
+
reasontrail sync codex --profile production --project your-project --session <session-id>
|
|
68
|
+
reasontrail sync docs --profile production --project your-project
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
Add `--apply` only for an intentional synchronization. Manual session flush and
|
|
72
|
+
automatic capture use the same source identity, message keys, durable cursor,
|
|
73
|
+
and governed proposal path. A summary can succeed independently from transcript
|
|
74
|
+
coverage; inspect the reported source checkpoint and coverage instead of
|
|
75
|
+
inferring success from a zero accepted-turn count.
|
|
76
|
+
|
|
77
|
+
Install ongoing automatic capture only after the profile and project binding are
|
|
78
|
+
confirmed:
|
|
79
|
+
|
|
80
|
+
```bash
|
|
81
|
+
reasontrail sync service install --profile production --project your-project --interval 60 --confirm-production
|
|
82
|
+
reasontrail sync service status --profile production --project your-project
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
Installation enables, starts, and verifies the systemd user service or macOS
|
|
86
|
+
LaunchAgent. Status distinguishes installed/enabled/active manager state from
|
|
87
|
+
heartbeat health, last attempt, last success, and last error. A failed cycle
|
|
88
|
+
retains its error and retries. A legacy Conversation with conflicting stable
|
|
89
|
+
message ids is quarantined for manual review without advancing its cursor or
|
|
90
|
+
blocking healthy Conversation and Resource capture. `status`, `context`, and
|
|
91
|
+
`doctor` never synchronize transcripts implicitly. Long native sessions are
|
|
92
|
+
sent and reconciled in bounded 200-turn requests while retaining one source
|
|
93
|
+
identity, checkpoint, and durable cursor; the visible transcript is not
|
|
94
|
+
truncated to fit the per-request limit.
|
|
95
|
+
|
|
61
96
|
## Mission Runtime
|
|
62
97
|
|
|
63
98
|
The Runtime runs on the workstation or build server that owns the repository. It
|
|
@@ -93,7 +128,7 @@ enrolling or starting:
|
|
|
93
128
|
reasontrail runtime start --profile production --dependency-network public
|
|
94
129
|
```
|
|
95
130
|
|
|
96
|
-
Runtime `0.3.
|
|
131
|
+
Runtime `0.3.3` requires Linux Bubblewrap for dependency preparation. Package
|
|
97
132
|
installs run inside the disposable workspace with a private cache and a minimal
|
|
98
133
|
read-only host/toolchain view. Private registries and inherited package-manager,
|
|
99
134
|
cloud, SSH, database, and Runtime credentials are not supported by this policy.
|
|
@@ -101,7 +136,7 @@ cloud, SSH, database, and Runtime credentials are not supported by this policy.
|
|
|
101
136
|
### Worker result contract
|
|
102
137
|
|
|
103
138
|
Runtime workers return `reasontrail.worker-result.v1`. File changes use the
|
|
104
|
-
canonical values `ADDED`, `MODIFIED`, `DELETED`, and `RENAMED`. Runtime `0.3.
|
|
139
|
+
canonical values `ADDED`, `MODIFIED`, `DELETED`, and `RENAMED`. Runtime `0.3.3`
|
|
105
140
|
normalizes the reviewed provider aliases `CREATED`, `UPDATED`, `REMOVED`, and
|
|
106
141
|
`MOVED` for backward compatibility; those aliases are not the API contract.
|
|
107
142
|
|