worktree-controller 1.32.15__tar.gz → 1.32.16__tar.gz
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.
- {worktree_controller-1.32.15 → worktree_controller-1.32.16}/PKG-INFO +5 -5
- {worktree_controller-1.32.15 → worktree_controller-1.32.16}/README.md +4 -4
- {worktree_controller-1.32.15 → worktree_controller-1.32.16}/pyproject.toml +1 -1
- {worktree_controller-1.32.15 → worktree_controller-1.32.16}/pyproject.toml.orig +1 -1
- {worktree_controller-1.32.15 → worktree_controller-1.32.16}/src/worktree_controller/__init__.py +1 -1
- {worktree_controller-1.32.15 → worktree_controller-1.32.16}/src/worktree_controller/disposable.py +6 -4
- {worktree_controller-1.32.15 → worktree_controller-1.32.16}/src/worktree_controller/tool_cli_contract.json +1 -1
- {worktree_controller-1.32.15 → worktree_controller-1.32.16}/tool_cli_contract.json +1 -1
- {worktree_controller-1.32.15 → worktree_controller-1.32.16}/LICENSE +0 -0
- {worktree_controller-1.32.15 → worktree_controller-1.32.16}/docs/architecture.md +0 -0
- {worktree_controller-1.32.15 → worktree_controller-1.32.16}/docs/client-integration.md +0 -0
- {worktree_controller-1.32.15 → worktree_controller-1.32.16}/docs/daily-workflow.md +0 -0
- {worktree_controller-1.32.15 → worktree_controller-1.32.16}/docs/first-change.md +0 -0
- {worktree_controller-1.32.15 → worktree_controller-1.32.16}/docs/getting-started.md +0 -0
- {worktree_controller-1.32.15 → worktree_controller-1.32.16}/docs/integration-boundaries.md +0 -0
- {worktree_controller-1.32.15 → worktree_controller-1.32.16}/docs/operations.md +0 -0
- {worktree_controller-1.32.15 → worktree_controller-1.32.16}/docs/publishing.md +0 -0
- {worktree_controller-1.32.15 → worktree_controller-1.32.16}/docs/reference.md +0 -0
- {worktree_controller-1.32.15 → worktree_controller-1.32.16}/docs/roadmap.md +0 -0
- {worktree_controller-1.32.15 → worktree_controller-1.32.16}/docs/scope.md +0 -0
- {worktree_controller-1.32.15 → worktree_controller-1.32.16}/examples/change_task.py +0 -0
- {worktree_controller-1.32.15 → worktree_controller-1.32.16}/examples/client_continuation.py +0 -0
- {worktree_controller-1.32.15 → worktree_controller-1.32.16}/examples/quickstart.py +0 -0
- {worktree_controller-1.32.15 → worktree_controller-1.32.16}/src/worktree_controller/activation_layout.py +0 -0
- {worktree_controller-1.32.15 → worktree_controller-1.32.16}/src/worktree_controller/branch_retirement.py +0 -0
- {worktree_controller-1.32.15 → worktree_controller-1.32.16}/src/worktree_controller/canonical_refresh.py +0 -0
- {worktree_controller-1.32.15 → worktree_controller-1.32.16}/src/worktree_controller/canonical_transition.py +0 -0
- {worktree_controller-1.32.15 → worktree_controller-1.32.16}/src/worktree_controller/cleanup_attempts.py +0 -0
- {worktree_controller-1.32.15 → worktree_controller-1.32.16}/src/worktree_controller/cleanup_evidence.py +0 -0
- {worktree_controller-1.32.15 → worktree_controller-1.32.16}/src/worktree_controller/cleanup_recovery.py +0 -0
- {worktree_controller-1.32.15 → worktree_controller-1.32.16}/src/worktree_controller/cli.py +0 -0
- {worktree_controller-1.32.15 → worktree_controller-1.32.16}/src/worktree_controller/controller.py +0 -0
- {worktree_controller-1.32.15 → worktree_controller-1.32.16}/src/worktree_controller/convergence.py +0 -0
- {worktree_controller-1.32.15 → worktree_controller-1.32.16}/src/worktree_controller/delivered_closeout.py +0 -0
- {worktree_controller-1.32.15 → worktree_controller-1.32.16}/src/worktree_controller/environment.py +0 -0
- {worktree_controller-1.32.15 → worktree_controller-1.32.16}/src/worktree_controller/frozen_recovery.py +0 -0
- {worktree_controller-1.32.15 → worktree_controller-1.32.16}/src/worktree_controller/git_backend.py +0 -0
- {worktree_controller-1.32.15 → worktree_controller-1.32.16}/src/worktree_controller/governance.py +0 -0
- {worktree_controller-1.32.15 → worktree_controller-1.32.16}/src/worktree_controller/hardlinks.py +0 -0
- {worktree_controller-1.32.15 → worktree_controller-1.32.16}/src/worktree_controller/integration_cleanup.py +0 -0
- {worktree_controller-1.32.15 → worktree_controller-1.32.16}/src/worktree_controller/integration_conflict.py +0 -0
- {worktree_controller-1.32.15 → worktree_controller-1.32.16}/src/worktree_controller/integration_retry.py +0 -0
- {worktree_controller-1.32.15 → worktree_controller-1.32.16}/src/worktree_controller/keyed_document_scope.py +0 -0
- {worktree_controller-1.32.15 → worktree_controller-1.32.16}/src/worktree_controller/lifecycle.py +0 -0
- {worktree_controller-1.32.15 → worktree_controller-1.32.16}/src/worktree_controller/lifecycle_history.py +0 -0
- {worktree_controller-1.32.15 → worktree_controller-1.32.16}/src/worktree_controller/lifecycle_observation.py +0 -0
- {worktree_controller-1.32.15 → worktree_controller-1.32.16}/src/worktree_controller/metadata_codec.py +0 -0
- {worktree_controller-1.32.15 → worktree_controller-1.32.16}/src/worktree_controller/metadata_relocation.py +0 -0
- {worktree_controller-1.32.15 → worktree_controller-1.32.16}/src/worktree_controller/models.py +0 -0
- {worktree_controller-1.32.15 → worktree_controller-1.32.16}/src/worktree_controller/mount_diagnostics.py +0 -0
- {worktree_controller-1.32.15 → worktree_controller-1.32.16}/src/worktree_controller/multiple_cleanup_recovery.py +0 -0
- {worktree_controller-1.32.15 → worktree_controller-1.32.16}/src/worktree_controller/namespace_migration.py +0 -0
- {worktree_controller-1.32.15 → worktree_controller-1.32.16}/src/worktree_controller/native_session_recovery.py +0 -0
- {worktree_controller-1.32.15 → worktree_controller-1.32.16}/src/worktree_controller/owner_actions.py +0 -0
- {worktree_controller-1.32.15 → worktree_controller-1.32.16}/src/worktree_controller/policy.py +0 -0
- {worktree_controller-1.32.15 → worktree_controller-1.32.16}/src/worktree_controller/preservation.py +0 -0
- {worktree_controller-1.32.15 → worktree_controller-1.32.16}/src/worktree_controller/preserved_cleanup.py +0 -0
- {worktree_controller-1.32.15 → worktree_controller-1.32.16}/src/worktree_controller/publication_execution.py +0 -0
- {worktree_controller-1.32.15 → worktree_controller-1.32.16}/src/worktree_controller/reconciler.py +0 -0
- {worktree_controller-1.32.15 → worktree_controller-1.32.16}/src/worktree_controller/record_updates.py +0 -0
- {worktree_controller-1.32.15 → worktree_controller-1.32.16}/src/worktree_controller/recovery_guidance.py +0 -0
- {worktree_controller-1.32.15 → worktree_controller-1.32.16}/src/worktree_controller/registration_backfill.py +0 -0
- {worktree_controller-1.32.15 → worktree_controller-1.32.16}/src/worktree_controller/registration_prune.py +0 -0
- {worktree_controller-1.32.15 → worktree_controller-1.32.16}/src/worktree_controller/release_intents.py +0 -0
- {worktree_controller-1.32.15 → worktree_controller-1.32.16}/src/worktree_controller/rendering.py +0 -0
- {worktree_controller-1.32.15 → worktree_controller-1.32.16}/src/worktree_controller/resource_admission.py +0 -0
- {worktree_controller-1.32.15 → worktree_controller-1.32.16}/src/worktree_controller/retirement_adapters.py +0 -0
- {worktree_controller-1.32.15 → worktree_controller-1.32.16}/src/worktree_controller/retirement_execution.py +0 -0
- {worktree_controller-1.32.15 → worktree_controller-1.32.16}/src/worktree_controller/semantics.py +0 -0
- {worktree_controller-1.32.15 → worktree_controller-1.32.16}/src/worktree_controller/session.py +0 -0
- {worktree_controller-1.32.15 → worktree_controller-1.32.16}/src/worktree_controller/session_admission.py +0 -0
- {worktree_controller-1.32.15 → worktree_controller-1.32.16}/src/worktree_controller/source_cleanup.py +0 -0
- {worktree_controller-1.32.15 → worktree_controller-1.32.16}/src/worktree_controller/source_preservation.py +0 -0
- {worktree_controller-1.32.15 → worktree_controller-1.32.16}/src/worktree_controller/source_recovery.py +0 -0
- {worktree_controller-1.32.15 → worktree_controller-1.32.16}/src/worktree_controller/store.py +0 -0
- {worktree_controller-1.32.15 → worktree_controller-1.32.16}/src/worktree_controller/task_workflow.py +0 -0
- {worktree_controller-1.32.15 → worktree_controller-1.32.16}/src/worktree_controller/transaction_scope.py +0 -0
- {worktree_controller-1.32.15 → worktree_controller-1.32.16}/src/worktree_controller/writer_lease.py +0 -0
- {worktree_controller-1.32.15 → worktree_controller-1.32.16}/src/worktree_controller/writer_session.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: worktree-controller
|
|
3
|
-
Version: 1.32.
|
|
3
|
+
Version: 1.32.16
|
|
4
4
|
Summary: Govern Git worktree budgets, authority, ownership, and lifecycle
|
|
5
5
|
License-Expression: Apache-2.0
|
|
6
6
|
License-File: LICENSE
|
|
@@ -23,7 +23,7 @@ It checks repository policy before allocating a worktree, grants writing authori
|
|
|
23
23
|
process, and records handoff, integration, recovery and release evidence. Git remains the source
|
|
24
24
|
of truth for files, branches, commits and registered worktrees.
|
|
25
25
|
|
|
26
|
-
**Current release: 1.32.
|
|
26
|
+
**Current release: 1.32.15 · Linux · Python 3.12 · Apache-2.0**
|
|
27
27
|
|
|
28
28
|
## Install
|
|
29
29
|
|
|
@@ -32,7 +32,7 @@ Use a virtual environment in a new directory:
|
|
|
32
32
|
```bash
|
|
33
33
|
python3.12 -m venv .venv
|
|
34
34
|
. .venv/bin/activate
|
|
35
|
-
python -m pip install worktree-controller==1.32.
|
|
35
|
+
python -m pip install worktree-controller==1.32.15
|
|
36
36
|
worktree-controller --version
|
|
37
37
|
worktree-controller capabilities --json
|
|
38
38
|
```
|
|
@@ -41,7 +41,7 @@ WC requires Git and readable Linux `/proc`. Other operating systems and Python v
|
|
|
41
41
|
supported by this release. Its one runtime dependency is `websockets>=15,<16`.
|
|
42
42
|
On Ubuntu, if creating the environment reports that `ensurepip` is unavailable, install the
|
|
43
43
|
distribution's `python3.12-venv` package first (for example, `sudo apt install python3.12-venv`).
|
|
44
|
-
Software version 1.32.
|
|
44
|
+
Software version 1.32.15 uses CLI contract **61** and storage layout **5**.
|
|
45
45
|
|
|
46
46
|
## Try it in a disposable repository
|
|
47
47
|
|
|
@@ -50,7 +50,7 @@ With the environment above active:
|
|
|
50
50
|
```bash
|
|
51
51
|
git clone https://github.com/xuanheng-tech/worktree-controller.git wc
|
|
52
52
|
cd wc
|
|
53
|
-
git checkout v1.32.
|
|
53
|
+
git checkout v1.32.15
|
|
54
54
|
python examples/quickstart.py --workspace "$HOME/wc-first-run"
|
|
55
55
|
```
|
|
56
56
|
|
|
@@ -6,7 +6,7 @@ It checks repository policy before allocating a worktree, grants writing authori
|
|
|
6
6
|
process, and records handoff, integration, recovery and release evidence. Git remains the source
|
|
7
7
|
of truth for files, branches, commits and registered worktrees.
|
|
8
8
|
|
|
9
|
-
**Current release: 1.32.
|
|
9
|
+
**Current release: 1.32.15 · Linux · Python 3.12 · Apache-2.0**
|
|
10
10
|
|
|
11
11
|
## Install
|
|
12
12
|
|
|
@@ -15,7 +15,7 @@ Use a virtual environment in a new directory:
|
|
|
15
15
|
```bash
|
|
16
16
|
python3.12 -m venv .venv
|
|
17
17
|
. .venv/bin/activate
|
|
18
|
-
python -m pip install worktree-controller==1.32.
|
|
18
|
+
python -m pip install worktree-controller==1.32.15
|
|
19
19
|
worktree-controller --version
|
|
20
20
|
worktree-controller capabilities --json
|
|
21
21
|
```
|
|
@@ -24,7 +24,7 @@ WC requires Git and readable Linux `/proc`. Other operating systems and Python v
|
|
|
24
24
|
supported by this release. Its one runtime dependency is `websockets>=15,<16`.
|
|
25
25
|
On Ubuntu, if creating the environment reports that `ensurepip` is unavailable, install the
|
|
26
26
|
distribution's `python3.12-venv` package first (for example, `sudo apt install python3.12-venv`).
|
|
27
|
-
Software version 1.32.
|
|
27
|
+
Software version 1.32.15 uses CLI contract **61** and storage layout **5**.
|
|
28
28
|
|
|
29
29
|
## Try it in a disposable repository
|
|
30
30
|
|
|
@@ -33,7 +33,7 @@ With the environment above active:
|
|
|
33
33
|
```bash
|
|
34
34
|
git clone https://github.com/xuanheng-tech/worktree-controller.git wc
|
|
35
35
|
cd wc
|
|
36
|
-
git checkout v1.32.
|
|
36
|
+
git checkout v1.32.15
|
|
37
37
|
python examples/quickstart.py --workspace "$HOME/wc-first-run"
|
|
38
38
|
```
|
|
39
39
|
|
{worktree_controller-1.32.15 → worktree_controller-1.32.16}/src/worktree_controller/disposable.py
RENAMED
|
@@ -577,9 +577,9 @@ def _tree_identity(
|
|
|
577
577
|
) -> dict[str, Any]:
|
|
578
578
|
digest = hashlib.sha256()
|
|
579
579
|
count = size = 0
|
|
580
|
-
pending = [resource]
|
|
580
|
+
pending = [(resource, ".")]
|
|
581
581
|
while pending:
|
|
582
|
-
path = pending.pop()
|
|
582
|
+
path, relative = pending.pop()
|
|
583
583
|
metadata = path.lstat()
|
|
584
584
|
count += 1
|
|
585
585
|
if count > MAX_VENV_ENTRIES:
|
|
@@ -588,7 +588,6 @@ def _tree_identity(
|
|
|
588
588
|
raise _blocked("resource ownership is not the current user", "RESOURCE_OWNER_MISMATCH")
|
|
589
589
|
if path.name == ".git" or path.is_mount():
|
|
590
590
|
raise _blocked("resource contains Git metadata or a mount")
|
|
591
|
-
relative = path.relative_to(resource).as_posix()
|
|
592
591
|
digest.update(os.fsencode(relative) + b"\0")
|
|
593
592
|
digest.update(":".join(map(str, _signature(metadata))).encode())
|
|
594
593
|
size += metadata.st_size
|
|
@@ -602,7 +601,10 @@ def _tree_identity(
|
|
|
602
601
|
)
|
|
603
602
|
digest.update(os.fsencode(os.readlink(path)))
|
|
604
603
|
elif stat.S_ISDIR(metadata.st_mode):
|
|
605
|
-
pending.extend(
|
|
604
|
+
pending.extend(
|
|
605
|
+
(child, child.name if relative == "." else f"{relative}/{child.name}")
|
|
606
|
+
for child in sorted(path.iterdir(), key=lambda child: child.name, reverse=True)
|
|
607
|
+
)
|
|
606
608
|
elif not stat.S_ISREG(metadata.st_mode):
|
|
607
609
|
raise _blocked("resource contains a special filesystem object")
|
|
608
610
|
return {"tree_sha256": digest.hexdigest(), "entries": count, "bytes": size}
|
|
@@ -1071,7 +1071,7 @@
|
|
|
1071
1071
|
"session_launcher_entrypoint": "worktree-session",
|
|
1072
1072
|
"session_entrypoint": "worktree-session-end",
|
|
1073
1073
|
"tool_name": "worktree-controller",
|
|
1074
|
-
"tool_version": "1.32.
|
|
1074
|
+
"tool_version": "1.32.16",
|
|
1075
1075
|
"delivered_closeout_version": 1,
|
|
1076
1076
|
"retained_archive_version": 1,
|
|
1077
1077
|
"retention_convergence_version": 2,
|
|
@@ -1071,7 +1071,7 @@
|
|
|
1071
1071
|
"session_launcher_entrypoint": "worktree-session",
|
|
1072
1072
|
"session_entrypoint": "worktree-session-end",
|
|
1073
1073
|
"tool_name": "worktree-controller",
|
|
1074
|
-
"tool_version": "1.32.
|
|
1074
|
+
"tool_version": "1.32.16",
|
|
1075
1075
|
"delivered_closeout_version": 1,
|
|
1076
1076
|
"retained_archive_version": 1,
|
|
1077
1077
|
"retention_convergence_version": 2,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{worktree_controller-1.32.15 → worktree_controller-1.32.16}/src/worktree_controller/controller.py
RENAMED
|
File without changes
|
{worktree_controller-1.32.15 → worktree_controller-1.32.16}/src/worktree_controller/convergence.py
RENAMED
|
File without changes
|
|
File without changes
|
{worktree_controller-1.32.15 → worktree_controller-1.32.16}/src/worktree_controller/environment.py
RENAMED
|
File without changes
|
|
File without changes
|
{worktree_controller-1.32.15 → worktree_controller-1.32.16}/src/worktree_controller/git_backend.py
RENAMED
|
File without changes
|
{worktree_controller-1.32.15 → worktree_controller-1.32.16}/src/worktree_controller/governance.py
RENAMED
|
File without changes
|
{worktree_controller-1.32.15 → worktree_controller-1.32.16}/src/worktree_controller/hardlinks.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{worktree_controller-1.32.15 → worktree_controller-1.32.16}/src/worktree_controller/lifecycle.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{worktree_controller-1.32.15 → worktree_controller-1.32.16}/src/worktree_controller/models.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{worktree_controller-1.32.15 → worktree_controller-1.32.16}/src/worktree_controller/owner_actions.py
RENAMED
|
File without changes
|
{worktree_controller-1.32.15 → worktree_controller-1.32.16}/src/worktree_controller/policy.py
RENAMED
|
File without changes
|
{worktree_controller-1.32.15 → worktree_controller-1.32.16}/src/worktree_controller/preservation.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{worktree_controller-1.32.15 → worktree_controller-1.32.16}/src/worktree_controller/reconciler.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{worktree_controller-1.32.15 → worktree_controller-1.32.16}/src/worktree_controller/rendering.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{worktree_controller-1.32.15 → worktree_controller-1.32.16}/src/worktree_controller/semantics.py
RENAMED
|
File without changes
|
{worktree_controller-1.32.15 → worktree_controller-1.32.16}/src/worktree_controller/session.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{worktree_controller-1.32.15 → worktree_controller-1.32.16}/src/worktree_controller/store.py
RENAMED
|
File without changes
|
{worktree_controller-1.32.15 → worktree_controller-1.32.16}/src/worktree_controller/task_workflow.py
RENAMED
|
File without changes
|
|
File without changes
|
{worktree_controller-1.32.15 → worktree_controller-1.32.16}/src/worktree_controller/writer_lease.py
RENAMED
|
File without changes
|
|
File without changes
|