@arbiterforge/ca-pi 0.15.6 → 0.15.8

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/README.md CHANGED
@@ -10,7 +10,7 @@ project context. You decide. codeArbiter enforces.
10
10
  <img alt="Claude Code plugin" src="https://img.shields.io/badge/Claude_Code-plugin-d97757">
11
11
  <img alt="Codex plugin" src="https://img.shields.io/badge/OpenAI_Codex-plugin-10a37f">
12
12
  <img alt="Pi Feature Forge preview" src="https://img.shields.io/badge/ca--pi-Feature_Forge_preview-d97757">
13
- <img alt="version 2.22.6" src="https://img.shields.io/badge/version-2.22.6-2b7489">
13
+ <img alt="version 2.23.1" src="https://img.shields.io/badge/version-2.23.1-2b7489">
14
14
  <img alt="core lanes" src="https://img.shields.io/badge/core_lanes-18-555">
15
15
  <img alt="skills" src="https://img.shields.io/badge/skills-22-555">
16
16
  <img alt="agents" src="https://img.shields.io/badge/agents-20-555">
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arbiterforge/ca-pi",
3
- "version": "0.15.6",
3
+ "version": "0.15.8",
4
4
  "license": "AGPL-3.0-only",
5
5
  "repository": {
6
6
  "type": "git",
@@ -4,6 +4,22 @@ All notable changes to `ca-pi` are documented in this file.
4
4
 
5
5
  ## [Unreleased]
6
6
 
7
+ ## [0.15.8] - 2026-09-27
8
+
9
+ ### Fixed
10
+
11
+ - The statusline's git dirty-state probe no longer takes `.git/index.lock`. It is killed at a
12
+ 100 ms budget, and a plain `git status` killed while rewriting a stale index could leave a
13
+ stale lock that blocked the next commit (reproduced: 5 of 200 renders at that timing, 0 of 200
14
+ with the fix).
15
+
16
+ ## [0.15.7] - 2026-09-27
17
+
18
+ ### Changed
19
+
20
+ - Synchronize the shared hook core with the Claude statusline accounting rewrite (ca 2.23.0).
21
+ Codex and Pi behavior is unchanged.
22
+
7
23
  ## [0.15.6] - 2026-09-27
8
24
 
9
25
  ### Fixed
@@ -99,9 +99,15 @@ def head_branch(root):
99
99
 
100
100
 
101
101
  def git_dirty(root):
102
- """Return dirty state, suppressing the marker when Git fails or times out."""
102
+ """Return dirty state, suppressing the marker when Git fails or times out.
103
+
104
+ --no-optional-locks: the probe is killed at DIRTY_CHECK_TIMEOUT_SECONDS, and a
105
+ plain `git status` opportunistically rewrites a stale index under
106
+ .git/index.lock; a kill inside that write strands the lock and blocks the
107
+ user's next commit. A read-only probe must never take it."""
103
108
  try:
104
- out = subprocess.run([git_executable(), "-C", root, "status", "--porcelain"],
109
+ out = subprocess.run([git_executable(), "--no-optional-locks", "-C", root,
110
+ "status", "--porcelain"],
105
111
  capture_output=True, text=True,
106
112
  timeout=DIRTY_CHECK_TIMEOUT_SECONDS,
107
113
  encoding="utf-8", errors="replace")
@@ -11,7 +11,7 @@ import hostapi # noqa: E402
11
11
  class PiHost(hostapi.Host):
12
12
  name = "pi"
13
13
  adapter_name = "@arbiterforge/ca-pi"
14
- adapter_version = "0.15.6"
14
+ adapter_version = "0.15.8"
15
15
  update_target = "ca-pi"
16
16
  update_tag_prefix = "ca-pi-v"
17
17
  update_command = "pi update npm:@arbiterforge/ca-pi"