Skip to content

Commit 5a8bd58

Browse files
Update reversibiility.adoc
1 parent 568e15e commit 5a8bd58

1 file changed

Lines changed: 93 additions & 1 deletion

File tree

docs/tooling/reversibiility.adoc

Lines changed: 93 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,95 @@
1-
jtv trace analyze
1+
= Reversibility (Tooling)
2+
3+
This document describes tooling-related support for reversible workflows.
4+
5+
These features are experimental and not guaranteed to be complete or stable.
6+
7+
== Overview
8+
9+
Tooling aims to support:
10+
11+
- Inspection of execution
12+
- Limited undo/rollback where available
13+
- Analysis of program behaviour
14+
15+
This is separate from language-level reversibility.
16+
17+
== Execution Tracing
18+
19+
Tracing records execution steps for later inspection.
20+
21+
[source,bash]
22+
----
23+
jtv run program.jtv --trace > execution.log
24+
----
25+
26+
Analysis tools may be available:
27+
28+
[source,bash]
29+
----
30+
jtv trace analyze execution.log
31+
jtv trace replay execution.log --steps 1-10
32+
----
33+
34+
== Status
35+
36+
- Tracing: partial / experimental
37+
- Replay: not fully implemented
38+
- No guarantee of deterministic replay
39+
40+
== Configuration Undo
41+
42+
Configuration changes may support rollback mechanisms.
43+
44+
[source,bash]
45+
----
46+
jtv config set telemetry false
247
jtv config undo
48+
----
49+
50+
== Status
51+
52+
- Partial support
53+
- Not comprehensive across all configuration fields
54+
55+
== Transactions (Conceptual)
56+
57+
Some operations may be grouped into transactional units:
58+
59+
[source]
60+
----
61+
begin_transaction();
62+
rollback_transaction();
63+
commit_transaction();
64+
----
65+
66+
== Status
67+
68+
- Conceptual or partial
69+
- Not uniformly enforced across system
70+
71+
== Audit Logging
72+
73+
Operations may be logged for inspection.
74+
75+
[source,bash]
76+
----
377
jtv audit log
78+
----
79+
80+
== Status
81+
82+
- Logging exists in parts of the system
83+
- Not complete or standardized
84+
85+
== Limitations
86+
87+
- No global undo system
88+
- No guarantee that all operations are reversible
89+
- External effects (files, network) are not reversible
90+
91+
== Summary
92+
93+
Tooling provides partial support for inspection and limited rollback.
94+
95+
It does not provide full operational reversibility.

0 commit comments

Comments
 (0)