Skip to content

Commit 9d65194

Browse files
committed
Fix FlowGuard v0.41.5 deep CI portability
1 parent a75c382 commit 9d65194

7 files changed

Lines changed: 25 additions & 9 deletions

File tree

.flowguard/project.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
[flowguard]
22
repository = "https://github.com/liuyingxuvka/FlowGuard"
3-
adopted_package_version = "0.41.4"
3+
adopted_package_version = "0.41.5"
44
schema_version = "1.0"
5-
last_verified_at = "2026-06-07T17:33:47+00:00"
6-
last_verified_by = "Complete FlowGuard maintenance hardening"
5+
last_verified_at = "2026-06-07T17:59:24+00:00"
6+
last_verified_by = "FlowGuard deep CI portability repair"
77
agents_path = "AGENTS.md"
88

99
[policy]

AGENTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Project FlowGuard record:
1414
- Human log: `docs/flowguard_adoption_log.md`
1515

1616
Current adoption record:
17-
- FlowGuard package version: `0.41.4`
17+
- FlowGuard package version: `0.41.5`
1818
- FlowGuard schema version: `1.0`
1919

2020
Before non-trivial work:

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
# Changelog
22

3+
## v0.41.5 - 2026-06-07
4+
5+
Deep CI portability repair after v0.41.4.
6+
7+
- Fixed the shadow workspace sync helper so ignored project directories are
8+
evaluated relative to the source set instead of treating Linux system `/tmp`
9+
as a project `tmp` directory.
10+
- Made the local closure-contract model-runner test skip gracefully when a
11+
GitHub checkout does not include ignored local `.flowguard` model artifacts.
12+
- Kept the v0.41.4 maintenance hardening release intact and superseded it with
13+
this clean patch release instead of moving a public tag.
14+
315
## v0.41.4 - 2026-06-07
416

517
Complete FlowGuard maintenance hardening.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
| Public release | Schema | Runtime | License |
1818
| --- | --- | --- | --- |
19-
| `v0.41.4` | `1.0` | Python standard library only | MIT |
19+
| `v0.41.5` | `1.0` | Python standard library only | MIT |
2020

2121
English lead content comes first; a Chinese mirror follows below.
2222

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "flowguard"
7-
version = "0.41.4"
7+
version = "0.41.5"
88
description = "Model-first workflow checks for AI agents and process preflights."
99
requires-python = ">=3.10"
1010
dependencies = []

scripts/sync_shadow_workspace.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,12 +69,13 @@ def _should_skip(path: Path) -> bool:
6969

7070
def _iter_files(path: Path) -> Iterable[Path]:
7171
if path.is_file():
72-
if not _should_skip(path):
72+
if not _should_skip(Path(path.name)):
7373
yield path
7474
return
7575
if path.is_dir():
7676
for child in sorted(path.rglob("*")):
77-
if child.is_file() and not _should_skip(child):
77+
relative_child = child.relative_to(path)
78+
if child.is_file() and not _should_skip(relative_child):
7879
yield child
7980

8081

tests/test_flowguard_closure_contract.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,11 @@ def _field_lifecycle_report(self, *, old_disposition: str = flowguard.FIELD_DISP
5757
)
5858

5959
def test_closure_contract_model_runner_succeeds(self):
60+
runner = ROOT / ".flowguard" / "flowguard_closure_contract" / "run_checks.py"
61+
if not runner.exists():
62+
self.skipTest("local .flowguard closure-contract runner is not tracked in this checkout")
6063
completed = subprocess.run(
61-
[sys.executable, ".flowguard/flowguard_closure_contract/run_checks.py"],
64+
[sys.executable, str(runner)],
6265
cwd=ROOT,
6366
check=False,
6467
capture_output=True,

0 commit comments

Comments
 (0)