@passioncode-ai/passioncode 0.1.28 → 0.1.29

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/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.29 - 2026-10-05
4
+
5
+ ### Changed
6
+
7
+ - **Observatory Log is pinned at `v0.17.3`** (plugin 0.17.3; it was `v0.16.0`). Its
8
+ SessionStart hook keeps Project Observatory current:
9
+ - for an engine at 0.17.0 or later, it schedules the engine's hourly maintenance job where
10
+ it is missing;
11
+ - for an engine from 0.7.0 to 0.16.0, which has no updater of its own, it installs the newer
12
+ release once a day with that engine's `full update --apply`, unless the person turned
13
+ automatic updates off.
14
+
15
+ Both run detached, at most every six hours or once a day, and never hold up a session.
16
+
3
17
  ## 0.1.28 - 2026-10-05
4
18
 
5
19
  The launcher meets the organization's
@@ -5,7 +5,7 @@ This repository is open source under the [GNU Affero General Public License v3.0
5
5
  meet the AGPL's terms — for example inside a closed-source product, or as a modified hosted
6
6
  service whose source is not published.
7
7
 
8
- To obtain a commercial license, write to **contact@passioncode.ai**.
8
+ To obtain a commercial license, tell us about your use at **https://passioncode.ai/business/**, or write to **commercial@passioncode.ai**.
9
9
 
10
10
  SPDX: `AGPL-3.0-only OR LicenseRef-PassionCode-Commercial`. Copyright (c) 2026 Siarhei Sheleh.
11
11
  Contributions are accepted under [CLA.md](CLA.md), which allows this dual licence.
package/README.md CHANGED
@@ -115,7 +115,7 @@ reads a member from `<dir>/<repository name>`, and `PASSIONCODE_CHECKOUT_<MEMBER
115
115
  ## License
116
116
 
117
117
  Open source under the [GNU AGPL-3.0](LICENSE). A [commercial license](COMMERCIAL-LICENSE.md) is
118
- available for use that does not meet the AGPL's terms — contact@passioncode.ai.
118
+ available for use that does not meet the AGPL's terms — [passioncode.ai/business](https://passioncode.ai/business/).
119
119
  Versions before 0.1.12 were released under PolyForm Noncommercial or Internal Use (v0.1.5 to
120
120
  v0.1.11) and MIT (v0.1.4 and earlier); each keeps the licence it was released under.
121
121
  Contributions are accepted under [CLA.md](CLA.md) ([CONTRIBUTING.md](CONTRIBUTING.md)).
package/family.json CHANGED
@@ -22,7 +22,7 @@
22
22
  "name": "observatory-log",
23
23
  "displayName": "Observatory Log",
24
24
  "repo": "passioncode-ai/project-observatory-dashboard",
25
- "ref": "v0.16.0",
25
+ "ref": "v0.17.3",
26
26
  "kind": "plugin",
27
27
  "path": "observatory/engine/skill/plugins/observatory-log",
28
28
  "legacyPluginIds": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@passioncode-ai/passioncode",
3
- "version": "0.1.28",
3
+ "version": "0.1.29",
4
4
  "description": "The PassionCode.ai agent skill set \u2014 Fabric Agent Adapter, Observatory Log and the organisation's working rules \u2014 for Claude Code and every other agent on the machine, updated as one set.",
5
5
  "bin": {
6
6
  "passioncode": "bin/passioncode.js"
@@ -23,7 +23,7 @@
23
23
  "name": "observatory-log",
24
24
  "displayName": "Observatory Log",
25
25
  "source": "./plugins/observatory-log",
26
- "version": "0.16.0",
26
+ "version": "0.17.3",
27
27
  "description": "Records what changed in a watched project at the end of every turn, and asks for the one thing a diff cannot contain: why.",
28
28
  "author": {
29
29
  "name": "PassionCode.ai",
@@ -35,7 +35,7 @@
35
35
  "name": "passioncode",
36
36
  "displayName": "PassionCode.ai",
37
37
  "source": "./plugins/passioncode",
38
- "version": "0.1.28",
38
+ "version": "0.1.29",
39
39
  "description": "The organisation's working rules for every contributor's agent (working-in-passioncode), and a once-a-day check that keeps the PassionCode.ai set current.",
40
40
  "author": {
41
41
  "name": "PassionCode.ai",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "family": "passioncode",
3
- "version": "0.1.28",
3
+ "version": "0.1.29",
4
4
  "release": true,
5
5
  "members": [
6
6
  {
@@ -34,9 +34,9 @@
34
34
  "name": "observatory-log",
35
35
  "displayName": "Observatory Log",
36
36
  "repo": "passioncode-ai/project-observatory-dashboard",
37
- "ref": "v0.16.0",
38
- "commit": "aa6788d51e248de54c3f7184b17206af43e0b28e",
39
- "version": "0.16.0",
37
+ "ref": "v0.17.3",
38
+ "commit": "58bf0d9aabc452da95133fc561ee08d5279d6cf5",
39
+ "version": "0.17.3",
40
40
  "via": "clone of https://***@github.com/passioncode-ai/project-observatory-dashboard.git",
41
41
  "skills": [
42
42
  "explaining-changes",
@@ -49,7 +49,7 @@
49
49
  "legacyMarketplaces": [
50
50
  "observatory-log"
51
51
  ],
52
- "contentHash": "sha256:f0bfd0f79ee99d25e6c82ad5f84337de2ce09f406fb4f5036cb45e3aa20d490a",
52
+ "contentHash": "sha256:615c85cd2486ac990c04a1df834639ace0e22f2ab3d2830ccafa72453b3e0b3a",
53
53
  "description": "Records what changed in a watched project at the end of every turn, and asks for the one thing a diff cannot contain: why.",
54
54
  "author": {
55
55
  "name": "PassionCode.ai",
@@ -61,16 +61,16 @@
61
61
  "name": "passioncode",
62
62
  "displayName": "PassionCode.ai",
63
63
  "repo": "passioncode-ai/passioncode",
64
- "ref": "v0.1.28",
64
+ "ref": "v0.1.29",
65
65
  "commit": null,
66
- "version": "0.1.28",
66
+ "version": "0.1.29",
67
67
  "via": "this repository",
68
68
  "skills": [
69
69
  "working-in-passioncode"
70
70
  ],
71
71
  "legacyPluginIds": [],
72
72
  "legacyMarketplaces": [],
73
- "contentHash": "sha256:c071f7a058bd6a8b8135ca7dd498f0b72ecd31cff1086ebbd3567611d66dbc98",
73
+ "contentHash": "sha256:61bfba01e7a1d988d4a68b31b11cabf695996b1d4285c1518189e80bb2795adc",
74
74
  "description": "The organisation's working rules for every contributor's agent (working-in-passioncode), and a once-a-day check that keeps the PassionCode.ai set current.",
75
75
  "author": {
76
76
  "name": "PassionCode.ai",
@@ -3,7 +3,7 @@
3
3
  "name": "observatory-log",
4
4
  "displayName": "Observatory Log",
5
5
  "description": "Records what changed in a watched project at the end of every turn, and asks for the one thing a diff cannot contain: why.",
6
- "version": "0.16.0",
6
+ "version": "0.17.3",
7
7
  "license": "AGPL-3.0-only OR LicenseRef-PassionCode-Commercial",
8
8
  "author": {
9
9
  "name": "PassionCode.ai",
@@ -18,10 +18,83 @@ if [ -z "$root" ] && [ -n "${CLAUDE_PLUGIN_ROOT:-}" ]; then
18
18
  c="$n"
19
19
  done
20
20
  fi
21
+ if [ -z "$root" ] && command -v project-observatory >/dev/null 2>&1; then
22
+ # Installed by the PassionCode launcher with no `full agent install`: ask the engine.
23
+ root="$(project-observatory full-path 2>/dev/null || true)"
24
+ fi
21
25
  [ -n "$root" ] || exit 0
22
- [ -f "$root/tools/session_start.py" ] || exit 0
23
- py="${OBSERVATORY_PYTHON:-$root/.venv/bin/python}" # set by `full agent install`
24
- [ -x "$py" ] || py="$(command -v python3 2>/dev/null)"
26
+ [ -d "$root" ] || exit 0
27
+
28
+ # The engine's own virtual environment (the ancestor holding pyvenv.cfg), so the jobs
29
+ # below run the installed package and never whichever python3 is first on PATH.
30
+ venv=""; c="$root"
31
+ for _ in 1 2 3 4 5 6 7 8; do
32
+ [ -f "$c/pyvenv.cfg" ] && { venv="$c"; break; }
33
+ n="$(dirname "$c")"; [ "$n" = "$c" ] && break; c="$n"
34
+ done
35
+ py="${OBSERVATORY_PYTHON:-}" # set by `full agent install`
36
+ [ -n "$py" ] && [ -x "$py" ] || py=""
37
+ [ -z "$py" ] && [ -n "$venv" ] && [ -x "$venv/bin/python" ] && py="$venv/bin/python"
38
+ [ -z "$py" ] && [ -x "$root/.venv/bin/python" ] && py="$root/.venv/bin/python"
39
+ [ -z "$py" ] && py="$(command -v python3 2>/dev/null)"
25
40
  [ -n "$py" ] || exit 0
26
- printf '%s' "$payload" | "$py" "$root/tools/session_start.py" 2>/dev/null || true
41
+
42
+ if [ -f "$root/tools/session_start.py" ]; then
43
+ printf '%s' "$payload" | "$py" "$root/tools/session_start.py" 2>/dev/null || true
44
+ fi
45
+
46
+ # Updates that arrive by themselves (docs/runs/2026-10-05-auto-update, D8). Detached and
47
+ # rate-limited, so a session never waits for it and never fails because of it.
48
+ stamps="${XDG_STATE_HOME:-$HOME/.local/state}/project-observatory"
49
+ mkdir -p "$stamps" 2>/dev/null && chmod 700 "$stamps" 2>/dev/null
50
+ # claim NAME SECONDS: true for exactly one caller per window. `mkdir` is atomic, so twenty
51
+ # sessions starting at once start one job, not twenty (review F6).
52
+ claim() {
53
+ local lock="$stamps/$1.claim" then now
54
+ if ! mkdir "$lock" 2>/dev/null; then
55
+ then="$(stat -c %Y "$lock" 2>/dev/null || stat -f %m "$lock" 2>/dev/null || echo 0)"
56
+ now="$(date +%s)"
57
+ [ $((now - then)) -ge "$2" ] || return 1
58
+ rmdir "$lock" 2>/dev/null; mkdir "$lock" 2>/dev/null || return 1
59
+ fi
60
+ return 0
61
+ }
62
+ # detach LOG CMD...: a new session of its own, so ending this session or its process group
63
+ # cannot stop an install half-way (review F8).
64
+ detach() {
65
+ local log="$1"; shift
66
+ "$py" -c 'import subprocess, sys
67
+ log = open(sys.argv[1], "a")
68
+ subprocess.Popen(sys.argv[2:], stdin=subprocess.DEVNULL, stdout=log, stderr=log, start_new_session=True)' \
69
+ "$log" "$@" 2>/dev/null || true
70
+ }
71
+ if [ -f "$root/tools/maintain.py" ]; then
72
+ # 0.17.0 and later: schedule the hourly job where it is missing, or run a pass where
73
+ # this machine has no scheduler. At most every six hours.
74
+ if claim maintain-hook 21600; then
75
+ OBSERVATORY_SYSTEM_SETUP=1 detach "$stamps/maintain-hook.log" "$py" "$root/tools/maintain.py" hook
76
+ fi
77
+ else
78
+ # The bridge for engines from before 0.17.0, which carry no updater of their own:
79
+ # once a day, check; when a newer stable release exists and the person has not turned
80
+ # automatic updates off (`updates.auto` false), install it with `full update --apply`.
81
+ po=""
82
+ [ -n "$venv" ] && [ -x "$venv/bin/project-observatory" ] && po="$venv/bin/project-observatory"
83
+ [ -n "$po" ] || po="$(command -v project-observatory 2>/dev/null)"
84
+ if [ -n "$po" ] && claim update-bridge 86400; then
85
+ detach "$stamps/update-bridge.log" /bin/bash -c '
86
+ po="$1"; py="$2"
87
+ home="${OBSERVATORY_FULL_HOME:-${OBSERVATORY_HOME:-$HOME/.local/share/project-observatory-full}}"
88
+ off="$("$py" -c "import json,sys
89
+ try: d=json.load(open(sys.argv[1]))
90
+ except Exception: d={}
91
+ print(1 if (d.get(\"updates\") or {}).get(\"auto\") is False else 0)" "$home/config/settings.json" 2>/dev/null)"
92
+ [ "$off" = "1" ] && { echo "$(date -u +%FT%TZ) automatic updates are off"; exit 0; }
93
+ "$po" full update --check >/dev/null 2>&1; rc=$?
94
+ echo "$(date -u +%FT%TZ) check exit $rc"
95
+ [ "$rc" = "10" ] || exit 0
96
+ "$po" full update --apply; echo "$(date -u +%FT%TZ) apply exit $?"
97
+ ' _ "$po" "$py"
98
+ fi
99
+ fi
27
100
  exit 0
@@ -15,7 +15,7 @@ description: >-
15
15
  decision with different evidence.
16
16
  license: AGPL-3.0-only OR LicenseRef-PassionCode-Commercial
17
17
  metadata:
18
- version: "0.16.0"
18
+ version: "0.17.3"
19
19
  compatibility: >-
20
20
  Requires an initialized full Project Observatory installation to persist
21
21
  records. Uses its MCP server when available in the current host; the bundled
@@ -10,7 +10,7 @@ description: >-
10
10
  provider permissions or choosing a project's authentication architecture.
11
11
  license: AGPL-3.0-only OR LicenseRef-PassionCode-Commercial
12
12
  metadata:
13
- version: "0.16.0"
13
+ version: "0.17.3"
14
14
  compatibility: >-
15
15
  Requires an initialized full Project Observatory installation, Python 3.11+
16
16
  and local shell access on macOS or Linux. Provider operations additionally
@@ -30,7 +30,7 @@ names. Never ask the user to paste a credential into the conversation.
30
30
  2. Select the user's initialized `OBSERVATORY_HOME`. Run
31
31
  `project-observatory full doctor`. A missing workspace
32
32
  needs the documented onboarding before secret operations.
33
- 3. Run `"$OBSERVATORY_PYTHON" "$OBSERVATORY_ROOT/tools/skill_check.py" handling-secrets 0.16.0`
33
+ 3. Run `"$OBSERVATORY_PYTHON" "$OBSERVATORY_ROOT/tools/skill_check.py" handling-secrets 0.17.3`
34
34
  (`full agent install` records that interpreter; the stock macOS `python3` is too old).
35
35
  If stale, read the installed skill once and follow its compatible commands.
36
36
  Do not turn an unavailable version check into a retry loop.
@@ -154,6 +154,16 @@ bucket's resource only. Before anything is delivered, the S3 pair must prove a
154
154
  put, a get and a delete, and must be refused a bucket list. It lands in three
155
155
  slots on stdin: `<PREFIX>_ACCESS_KEY_ID`, `<PREFIX>_SECRET_ACCESS_KEY` and
156
156
  `<PREFIX>_ENDPOINT`. A second issue rolls the same token and keeps the key id.
157
+ The lifecycle is `--expire-days` over the whole bucket (30 when nothing else is
158
+ given) plus one rule per repeatable `--lifecycle-rule PREFIX:DAYS`, for example
159
+ `--lifecycle-rule staging/:2`: objects under the prefix are deleted after DAYS,
160
+ and its unfinished multipart uploads are aborted after a day. Each run replaces
161
+ the bucket's lifecycle with exactly that set and reads every rule back. A rule
162
+ that could never fire is refused, such as a prefix kept longer than the
163
+ whole-bucket rule. To change only an existing bucket's rules, run
164
+ `cloudflare.py lifecycle --account <slug> --bucket <name> [--jurisdiction eu]
165
+ [--expire-days N] [--lifecycle-rule PREFIX:DAYS ...]`. It mints only the setup
166
+ token, never creates a bucket and never mints, rolls or delivers a key.
157
167
 
158
168
  An application that sends transactional email through Cloudflare Email Service
159
169
  gets `cloudflare.py issue --preset email-send --account <slug> --vault
@@ -15,7 +15,7 @@ description: >-
15
15
  the repository.
16
16
  license: AGPL-3.0-only OR LicenseRef-PassionCode-Commercial
17
17
  metadata:
18
- version: "0.16.0"
18
+ version: "0.17.3"
19
19
  compatibility: >-
20
20
  Requires a full Project Observatory installation with organizations.json
21
21
  configured; the observatory MCP server or its local CLI. Creating the resource
@@ -2,7 +2,7 @@
2
2
  "$schema": "https://json.schemastore.org/claude-code-plugin-manifest.json",
3
3
  "name": "passioncode",
4
4
  "displayName": "PassionCode.ai",
5
- "version": "0.1.28",
5
+ "version": "0.1.29",
6
6
  "description": "The organisation's working rules for every contributor's agent (working-in-passioncode), and a once-a-day check at session start that keeps the PassionCode.ai skill set current.",
7
7
  "author": {
8
8
  "name": "PassionCode.ai",
@@ -152,16 +152,18 @@ Fabric's workspace sync, and check the published source commit before calling it
152
152
  ## 6. Licensing and the repository standard
153
153
 
154
154
  - **Every repository** is open source under the GNU AGPL-3.0, or available under a commercial
155
- license from PassionCode.ai (contact@passioncode.ai):
156
- `AGPL-3.0-only OR LicenseRef-PassionCode-Commercial` (Fabric ADR-0092; the knowledge base
157
- `licensing.md` owns it). Copyright: Siarhei Sheleh. No price or term is stated anywhere.
155
+ license from PassionCode.ai — the request form https://passioncode.ai/business/, or
156
+ commercial@passioncode.ai: `AGPL-3.0-only OR LicenseRef-PassionCode-Commercial` (Fabric
157
+ ADR-0092; the knowledge base `licensing.md` owns it). Copyright: Siarhei Sheleh. No price or
158
+ term is stated anywhere; every commercial path points to the form. Security reports stay at
159
+ contact@passioncode.ai.
158
160
  - `LICENSE`, `COMMERCIAL-LICENSE.md` and `CLA.md` are copied **byte for byte** from the knowledge
159
161
  base's `templates/`; every manifest and SKILL.md `license:` carries the expression.
160
162
  - A version released earlier keeps its licence — MIT or PolyForm Noncommercial or Internal Use —
161
163
  and the README may say which. Never write that a released version changed.
162
164
  - The README's `## License` section uses the knowledge base wording and names the earlier
163
165
  licences: "Open source under the GNU AGPL-3.0. A commercial license is available for use that
164
- does not meet the AGPL's terms — contact@passioncode.ai."
166
+ does not meet the AGPL's terms — [passioncode.ai/business](https://passioncode.ai/business/)."
165
167
  - Contributions are accepted under the repository's `CLA.md`; opening a pull request is the
166
168
  agreement, so a PR template never carries a CLA checkbox.
167
169
  - **The repository standard** (the knowledge base `repository-standard.md`): README first heading
@@ -14,7 +14,7 @@ change to a license, a manifest's `license` field, `CLA.md` or a PR template.
14
14
  ## The license, file by file
15
15
 
16
16
  Every repository is open source under the GNU AGPL-3.0, or available under a commercial
17
- license from PassionCode.ai (contact@passioncode.ai): SPDX
17
+ license from PassionCode.ai (https://passioncode.ai/business/, commercial@passioncode.ai): SPDX
18
18
  `AGPL-3.0-only OR LicenseRef-PassionCode-Commercial` (Fabric ADR-0092). The owning page is the
19
19
  knowledge base's `licensing.md`; the file list is its `repository-standard.md`, and org-index
20
20
  `scripts/check_format.py` (rules F7–F11) checks it. The three licence files are **copied byte
@@ -47,14 +47,15 @@ for byte** from the knowledge base's `templates/` — never retyped, reflowed or
47
47
  ## License
48
48
 
49
49
  Open source under the [GNU AGPL-3.0](LICENSE). A [commercial license](COMMERCIAL-LICENSE.md) is
50
- available for use that does not meet the AGPL's terms — contact@passioncode.ai.
50
+ available for use that does not meet the AGPL's terms — [passioncode.ai/business](https://passioncode.ai/business/).
51
51
  Versions before <first AGPL version> were released under <MIT | PolyForm Noncommercial or Internal Use>.
52
52
  ```
53
53
 
54
54
  - "Source-available" and the PolyForm expression describe past releases only; never state
55
55
  them as the current licence.
56
56
  - No price or term for the commercial licence is stated anywhere; point to
57
- contact@passioncode.ai.
57
+ https://passioncode.ai/business/ (commercial@passioncode.ai is the commercial contact). Security
58
+ reports stay at contact@passioncode.ai.
58
59
  - Positioning and names come from the knowledge base (`vision.md`, `principles.md` §2); do not
59
60
  restate a tagline from memory.
60
61