@amsterdamdatalabs/adl-agent-control-darwin-arm64 0.1.64 → 0.1.65

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/bin/adl CHANGED
@@ -1,4 +1,4 @@
1
1
  [diffend] Oversized file quarantined before diffing.
2
2
  name: package/bin/adl
3
3
  size: 63720304 bytes
4
- sha256: 26086f2a011da4a6165f3a0d621bec2140006cf3b203043465a76627237a1072
4
+ sha256: e6b9fa4a2ee88006c2b0a2c6fae20159f82e3ab78c3f9840b4c9018c00ba3551
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@amsterdamdatalabs/adl-agent-control-darwin-arm64",
3
- "version": "0.1.64",
3
+ "version": "0.1.65",
4
4
  "description": "adl CLI binary for darwin/arm64 (agent identity + Azure DevOps front door — see docs/architecture/cli-design.md)",
5
5
  "license": "UNLICENSED",
6
6
  "os": [
@@ -215,11 +215,11 @@
215
215
  "project": "Enact-Now-AI-AzDo",
216
216
  "queue_id": 80,
217
217
  "identity": "agent-tarun",
218
- "server_type": "cpx42",
218
+ "server_type": "cpx52",
219
219
  "location": "fsn1",
220
220
  "snapshot_label_selector": "adl-pool-image=enact",
221
221
  "agents_per_server": 2,
222
- "max_servers": 5,
222
+ "max_servers": 1,
223
223
  "max_lifetime_minutes": 360,
224
224
  "register_timeout_minutes": 15,
225
225
  "poll_seconds": 60,
@@ -2,8 +2,9 @@
2
2
 
3
3
  Open plans use the Feature board-state vocabulary shared with LAY-009 (R1):
4
4
  a Feature folder's `intent.md` is the one plan file that exists from the
5
- Feature's first day (R2), so it is the state this cap counts. New, In Progress
6
- and Awaiting Release are open; Done and Removed are closed.
5
+ Feature's first day (R2), so it is the state this cap counts. New and In
6
+ Progress are open; Awaiting Release, Done and Removed are not counted (Tarun,
7
+ 2026-10-28: shipped work awaiting release does not hold the cap).
7
8
 
8
9
  The cap is `OPEN_LIMIT` (10) unless the repository declares its own, as
9
10
  `--declare open-plans=N` (`[controls.compliance.limits].open_plans` in its
@@ -43,6 +44,7 @@ class OpenWorkCap(Check):
43
44
  FEATURES: ClassVar[str] = "features"
44
45
  INTENT: ClassVar[str] = "intent.md"
45
46
  IGNORED: ClassVar[str] = ".DS_Store"
47
+ COUNTED_STATUSES: ClassVar[frozenset[str]] = frozenset({"New", "In Progress"})
46
48
 
47
49
  def open_plans_limit(self, ctx: Context) -> int:
48
50
  """The open-plan cap in force: the declared one, else `OPEN_LIMIT`."""
@@ -113,7 +115,7 @@ class OpenWorkCap(Check):
113
115
  f"{intent} is missing; an unreadable plan state cannot be counted"
114
116
  )
115
117
  status = self._status(body, intent)
116
- if status in PlanMetadata.FEATURE_ACTIVE_STATUSES:
118
+ if status in self.COUNTED_STATUSES:
117
119
  open_plans.append(name)
118
120
  return open_plans
119
121
 
@@ -5,7 +5,8 @@ and with it the open-gaps half of this gate: the register columns, the
5
5
  at-most-ten-open-gaps rule and the `open-gaps` declaration are gone. The
6
6
  open-plans cap stays. A Feature's state is read from its `intent.md` — the one
7
7
  plan file that exists from the Feature's first day (R2); plan files carry the
8
- five Feature states (R1).
8
+ five Feature states (R1). Only New and In Progress count as open; Awaiting
9
+ Release, Done and Removed do not (Tarun, 2026-10-28).
9
10
  """
10
11
 
11
12
  from __future__ import annotations
@@ -62,7 +63,8 @@ def test_the_committed_clean_corpus_is_silent() -> None:
62
63
  assert verdict.outcome is Outcome.CLEAN, verdict.render()
63
64
 
64
65
 
65
- @pytest.mark.parametrize("status", ("New", "In Progress", "Awaiting Release"))
66
+ # Tarun, 2026-10-28: Awaiting Release no longer counts toward the cap.
67
+ @pytest.mark.parametrize("status", ("New", "In Progress"))
66
68
  def test_each_exact_active_feature_state_counts_as_open(
67
69
  tmp_path: pathlib.Path, status: str
68
70
  ) -> None:
@@ -71,8 +73,8 @@ def test_each_exact_active_feature_state_counts_as_open(
71
73
  assert "11 open plans, cap is 10" in verdict.render()
72
74
 
73
75
 
74
- @pytest.mark.parametrize("status", ("Done", "Removed"))
75
- def test_each_exact_terminal_feature_state_is_closed(
76
+ @pytest.mark.parametrize("status", ("Awaiting Release", "Done", "Removed"))
77
+ def test_awaiting_release_and_terminal_states_are_not_counted(
76
78
  tmp_path: pathlib.Path, status: str
77
79
  ) -> None:
78
80
  tree = features(10)