@passioncode-ai/passioncode 0.2.57 → 0.2.59

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.
Files changed (21) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/README.md +2 -2
  3. package/bin/passioncode.js +4 -3
  4. package/family.json +1 -1
  5. package/package.json +1 -1
  6. package/payload/.claude-plugin/marketplace.json +2 -2
  7. package/payload/manifest.json +8 -8
  8. package/payload/plugins/fabric-agent-adapter/.claude-plugin/plugin.json +1 -1
  9. package/payload/plugins/fabric-agent-adapter/skills/adapting-projects-to-fabric/SKILL.md +16 -2
  10. package/payload/plugins/fabric-agent-adapter/skills/adapting-projects-to-fabric/references/source-and-instance.md +154 -0
  11. package/payload/plugins/fabric-agent-adapter/skills/adapting-projects-to-fabric/scripts/fabric_source_check.py +995 -0
  12. package/payload/plugins/fabric-agent-adapter/skills/adapting-projects-to-fabric/scripts/fabric_source_homes.py +72 -0
  13. package/payload/plugins/fabric-agent-adapter/skills/adapting-projects-to-fabric/scripts/fabric_source_ignore.py +185 -0
  14. package/payload/plugins/fabric-agent-adapter/skills/building-fabric-services/SKILL.md +3 -2
  15. package/payload/plugins/fabric-agent-adapter/skills/building-fabric-services/references/package.md +22 -0
  16. package/payload/plugins/fabric-agent-adapter/skills/building-fabric-services/scripts/kit.json +91 -1
  17. package/payload/plugins/fabric-agent-adapter/skills/creating-fabric-agents/SKILL.md +14 -5
  18. package/payload/plugins/fabric-agent-adapter/skills/creating-fabric-agents/references/source-and-instance.md +154 -0
  19. package/payload/plugins/fabric-agent-adapter/skills/working-with-fabric/SKILL.md +1 -1
  20. package/payload/plugins/fabric-agent-adapter/skills/working-with-fabric/scripts/fabric_session_env.py +1 -1
  21. package/payload/plugins/passioncode/.claude-plugin/plugin.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,24 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.2.59 - 2026-11-03
4
+
5
+ ### Changed
6
+
7
+ - **Fabric Agent Adapter is pinned at `v0.58.0`** (it was `v0.57.0`): an agent built with the adapter keeps its source
8
+ apart from its instance from its first commit, and `adapting-projects-to-fabric/scripts/fabric_source_check.py check`
9
+ finds home paths, credentials and the owner's strings in a source tree without printing any of them (PC-103).
10
+
11
+ ## 0.2.58 - 2026-11-03
12
+
13
+ ### Fixed
14
+
15
+ - `help` says that exit code 0 also means only a plan was shown, and `docs/reference/cli.md` says
16
+ when a run without a terminal and without `--yes` is a plan: only when it would change something;
17
+ otherwise it exits by its checks (PC-100). The setup and doctor variant of "unsupported
18
+ arguments" is in the string registry. The help test now reads the flags setup parses by pattern
19
+ and the command aliases from the parser itself, and the string registry test requires each
20
+ location to hold the longest literal run of its text.
21
+
3
22
  ## 0.2.57 - 2026-11-03
4
23
 
5
24
  ### Fixed
package/README.md CHANGED
@@ -108,8 +108,8 @@ does not answer is started through launchd (`launchctl kickstart`, never a kill)
108
108
 
109
109
  `doctor` changes nothing. It reads prerequisites, the skill set, each app's version, signature
110
110
  and team, each agent's MCP entries with one proving call per server, and the Fabric services of
111
- the family; each line names its state and its fix. Exit codes: **0** no check failed, **1** a
112
- check (or a setup step) failed, **2** bad arguments. `doctor --fix` runs setup's repairs without
111
+ the family; each line names its state and its fix. Exit codes: **0** no check failed (or `setup`
112
+ only showed its plan), **1** a check (or a setup step) failed, **2** bad arguments. `doctor --fix` runs setup's repairs without
113
113
  installing new apps. Details: the [CLI contract](docs/reference/cli.md#setup-and-doctor).
114
114
 
115
115
  **Release trains.** An organization's machines install one set of pinned app versions instead of
@@ -30,9 +30,10 @@ const HELP = `passioncode sets up and checks PassionCode.ai on this machine: the
30
30
 
31
31
  onboard is another name for setup, install for update. --offline skips the check for newer app
32
32
  releases; --quiet prints nothing when an update succeeds. App ids: switchboard, dashboards,
33
- observatory, inbox, fabric. Exit codes: 0 nothing failed, 1 a check or a step failed, 2 bad
34
- arguments. Claude Code gets plugins from the local "passioncode" marketplace; other agents get
35
- the same skills through ~/.agents/skills. Restart your agent after a change.`;
33
+ observatory, inbox, fabric. Exit codes: 0 nothing failed (or only a plan was shown), 1 a check
34
+ or a step failed, 2 bad arguments. Claude Code gets plugins from the local "passioncode"
35
+ marketplace; other agents get the same skills through ~/.agents/skills. Restart your agent after
36
+ a change.`;
36
37
 
37
38
  const IDS = ['switchboard', 'dashboards', 'observatory', 'inbox', 'fabric'];
38
39
 
package/family.json CHANGED
@@ -8,7 +8,7 @@
8
8
  "name": "fabric-agent-adapter",
9
9
  "displayName": "Fabric Agent Adapter",
10
10
  "repo": "passioncode-ai/fabric-agent-adapter",
11
- "ref": "v0.57.0",
11
+ "ref": "v0.58.0",
12
12
  "kind": "plugin",
13
13
  "path": "plugins/fabric-agent-adapter",
14
14
  "legacyPluginIds": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@passioncode-ai/passioncode",
3
- "version": "0.2.57",
3
+ "version": "0.2.59",
4
4
  "description": "Set up PassionCode.ai on a computer with one command: the apps from their verified releases, their MCP servers for every coding agent and the PassionCode.ai skills. Check and repair it with the same command or `doctor`.",
5
5
  "bin": {
6
6
  "passioncode": "bin/passioncode.js"
@@ -11,7 +11,7 @@
11
11
  "name": "fabric-agent-adapter",
12
12
  "displayName": "Fabric Agent Adapter",
13
13
  "source": "./plugins/fabric-agent-adapter",
14
- "version": "0.57.0",
14
+ "version": "0.58.0",
15
15
  "description": "Create new Fabric-compatible agents, build them as always-alive local services with dashboards (fabric-service/0.1), and adapt existing projects to the Fabric Agent Contract through evidence-backed MCP, A2A, or local-runner provider bundles; and teach a coding agent to work in a project through Fabric (fabric-mcp, fabric_whoami, claim and release), with Claude Code session hooks.",
16
16
  "author": {
17
17
  "name": "PassionCode.ai",
@@ -35,7 +35,7 @@
35
35
  "name": "passioncode",
36
36
  "displayName": "PassionCode.ai",
37
37
  "source": "./plugins/passioncode",
38
- "version": "0.2.57",
38
+ "version": "0.2.59",
39
39
  "description": "Set up and check PassionCode.ai on a computer with one command (setting-up-passioncode), 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,15 +1,15 @@
1
1
  {
2
2
  "family": "passioncode",
3
- "version": "0.2.57",
3
+ "version": "0.2.59",
4
4
  "release": true,
5
5
  "members": [
6
6
  {
7
7
  "name": "fabric-agent-adapter",
8
8
  "displayName": "Fabric Agent Adapter",
9
9
  "repo": "passioncode-ai/fabric-agent-adapter",
10
- "ref": "v0.57.0",
11
- "commit": "d34fd4691e89372166b517b5c91a29e8c1ba044a",
12
- "version": "0.57.0",
10
+ "ref": "v0.58.0",
11
+ "commit": "e311d308c9297368c96dd89158c7ac7137cbdf07",
12
+ "version": "0.58.0",
13
13
  "via": "clone of https://***@github.com/passioncode-ai/fabric-agent-adapter.git",
14
14
  "skills": [
15
15
  "adapting-projects-to-fabric",
@@ -23,7 +23,7 @@
23
23
  "legacyMarketplaces": [
24
24
  "fabric-agent-adapter"
25
25
  ],
26
- "contentHash": "sha256:73bc07b767fef71b5e6a09566e73e2536ac45992d7bfeb2f8f00c45bcd682019",
26
+ "contentHash": "sha256:8ff96ff9da1cfdbcbc0c657b3293b8f6a2c5c314344b1731d49ad7395f08f3aa",
27
27
  "description": "Create new Fabric-compatible agents, build them as always-alive local services with dashboards (fabric-service/0.1), and adapt existing projects to the Fabric Agent Contract through evidence-backed MCP, A2A, or local-runner provider bundles; and teach a coding agent to work in a project through Fabric (fabric-mcp, fabric_whoami, claim and release), with Claude Code session hooks.",
28
28
  "author": {
29
29
  "name": "PassionCode.ai",
@@ -62,9 +62,9 @@
62
62
  "name": "passioncode",
63
63
  "displayName": "PassionCode.ai",
64
64
  "repo": "passioncode-ai/passioncode",
65
- "ref": "v0.2.57",
65
+ "ref": "v0.2.59",
66
66
  "commit": null,
67
- "version": "0.2.57",
67
+ "version": "0.2.59",
68
68
  "via": "this repository",
69
69
  "skills": [
70
70
  "setting-up-passioncode",
@@ -72,7 +72,7 @@
72
72
  ],
73
73
  "legacyPluginIds": [],
74
74
  "legacyMarketplaces": [],
75
- "contentHash": "sha256:30c81a7b07a8f7a83e2f700ac4a3ced780dd08b530c03e114b0b09fd796a5fbb",
75
+ "contentHash": "sha256:bba0f14b5775c1b003c996f9fad9d33c17f914c6e2e9d119e0b25d979365e01b",
76
76
  "description": "Set up and check PassionCode.ai on a computer with one command (setting-up-passioncode), 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.",
77
77
  "author": {
78
78
  "name": "PassionCode.ai",
@@ -3,7 +3,7 @@
3
3
  "name": "fabric-agent-adapter",
4
4
  "displayName": "Fabric Agent Adapter",
5
5
  "description": "Create new Fabric-compatible agents, build them as always-alive local services with dashboards (fabric-service/0.1), and adapt existing projects to the Fabric Agent Contract through evidence-backed MCP, A2A, or local-runner provider bundles; and teach a coding agent to work in a project through Fabric (fabric-mcp, fabric_whoami, claim and release), with Claude Code session hooks.",
6
- "version": "0.57.0",
6
+ "version": "0.58.0",
7
7
  "author": {
8
8
  "name": "PassionCode.ai",
9
9
  "url": "https://passioncode.ai/"
@@ -5,7 +5,7 @@ license: AGPL-3.0-only OR LicenseRef-PassionCode-Commercial
5
5
  compatibility: Requires filesystem access and Python 3.9+. Exact schema checks additionally need git, Node.js, pnpm, and the pinned fabric-agent-contract checkout (a public repository). Works without those tools in an explicitly degraded structural-check mode.
6
6
  metadata:
7
7
  author: PassionCode.ai
8
- version: "0.57.0"
8
+ version: "0.58.0"
9
9
  contract-version: "0.1.0"
10
10
  contract-commit: "3830a3353923e20f826d466610e1c479f120bec0"
11
11
  ---
@@ -159,6 +159,19 @@ A provider entry only describes an MCP server: a CLI that does not speak MCP get
159
159
  announced by its `local-runner` manifest (step 3). An agent that runs as a service uses a
160
160
  descriptor instead (`building-fabric-services`).
161
161
 
162
+ ### 4c. Keep the instance out of the source
163
+
164
+ An agent's source (what its owner could hand over) and its instance (records, logs, keys, the owner's names and paths,
165
+ its configuration) are kept apart; load [the source and the instance](references/source-and-instance.md). First run
166
+ [`scripts/fabric_source_check.py`](scripts/fabric_source_check.py) `check <project-root>`, with the owner's list of
167
+ their own strings or a note that none was given (when the owner's own home name is neutral, has one or two letters,
168
+ or holds a space, `.`, `_`, `-` or `'`, the list gains `home: <name>` first, the reference's rule; a container's, a cloud image's or a CI runner's user that only the image uses, such as `node` or `vscode`, is never declared): it reports instance data by
169
+ path, line and kind, never repeating a value, and changes nothing. Then move each finding out in the source: an
170
+ instance value into the instance configuration outside the repository, read through a named variable with a neutral
171
+ default and a committed `*.example`; a key into the secret store, named only. Run the check again until it exits 0; it is a floor under the owner's review, not a secret scanner.
172
+ A value already committed stays in Git history: say so; a fresh history is the owner's act (no history rewrite, no
173
+ force-push).
174
+
162
175
  ### 5. Make probes safe and meaningful
163
176
 
164
177
  For each capability, create at least one bounded fixture that:
@@ -208,7 +221,8 @@ Update `fabric/FABRIC-CONFORMANCE.md` with dated receipts for:
208
221
  3. bounded semantic probes;
209
222
  4. project-binding readiness.
210
223
 
211
- Include commands and exit codes, immutable endpoint or artifact identities, and explicit
224
+ Include commands and exit codes (a contract checkout named by its commit or `<contract>`, never a home path; run the
225
+ source check again after), immutable endpoint or artifact identities, and explicit
212
226
  unverified surfaces. If live Fabric admission/runtime does not yet exist, the last gates
213
227
  remain `NOT_VERIFIED`; the completed deliverable is an adaptation-ready provider bundle,
214
228
  not a connected provider.
@@ -0,0 +1,154 @@
1
+ # The source and the instance
2
+
3
+ An agent is two things. Its **source** is what can be handed to someone else: code, skills, prompts, schemas,
4
+ examples, the source documentation. Its **instance** is what belongs to one installation: records, logs, journals,
5
+ keys, the owner's names and paths, accounts, hosts and its configuration. A new agent keeps the two apart from its
6
+ first commit, so that its owner can hand the source over later without rewriting its history. Nothing is handed over
7
+ by itself: handing over, a new remote, a push or a change of visibility stays the owner's act, each time (a personal
8
+ agent stays private until its owner says so about that act).
9
+
10
+ The format of a source manifest, export and import is the contract's to decide (CT-194). What follows does not depend
11
+ on it.
12
+
13
+ ## Contents
14
+
15
+ - [The layout](#the-layout)
16
+ - [The check](#the-check)
17
+
18
+ ## The layout
19
+
20
+ | Where | What | In Git |
21
+ |---|---|---|
22
+ | the repository | code, skills, prompts, schemas, the source documentation, fixtures on neutral ids (`example-agent`, `/Users/example`) | yes |
23
+ | `config/<name>.example.json` (or `.env.example`, `*.example.yaml`) | every instance value the agent reads, with a neutral default: the repository address of the owner's account, folders, the owner, account ids, hosts | yes, the example only |
24
+ | the instance folder, outside the repository | the real configuration, records (a database included), logs, journals, state documents | never in the source's repository (a separate private repository of the owner's data belongs to the instance) |
25
+ | the secret store | key values; the source names each key by name only (`EXAMPLE_API_KEY`) | never |
26
+
27
+ - **The instance folder is the agent's data folder.** An agent that is not a kit service reads it through one named
28
+ variable (`<AGENT>_DATA_DIR`) that overrides its default. A service built with `building-fabric-services` takes the
29
+ kit's folders unchanged (the Directories table in its `references/lifecycle.md`, `fabric_paths.service_dirs`): on macOS `~/Library/Application Support/<id>/`,
30
+ on Linux `${XDG_DATA_HOME:-~/.local/share}/<id>/`, on Windows `%LOCALAPPDATA%\<id>\`. An agent's second context
31
+ (an organization's) is a sibling instance, `<id>.<instance>`, never a folder inside the personal one
32
+ (`references/estate-record.md` of that skill).
33
+ - **Ignore the instance in the source**: `.gitignore` names the real configuration (`config/*.json` with
34
+ `!config/*.example.json`), an instance folder that sits inside the checkout during development, and what running
35
+ the agent leaves (`__pycache__/`, `*.pyc`), which the check would otherwise report as binary in Git mode.
36
+ - **State documents are instance data.** A handoff, a decision log or a backlog about this codebase is source
37
+ documentation; a record of what this installation did (runs, conversations, the owner's notes, a journal) lives in
38
+ the instance folder.
39
+ - **Keys by name.** The README's Configure section lists key names, the agent reads each from its environment or the
40
+ secret store, and no value is ever written to a file, a fixture, an argument or a commit.
41
+ - **Fixtures on neutral ids.** A test that needs a home folder, an owner or an account uses `example`, `example-agent`,
42
+ `owner@example.com` or a one-letter home, and a credential-shaped test value says it is synthetic
43
+ (`sk-test-not-a-key`) or is assembled at run time.
44
+ - **Two names stay in the source until the contract decides (CT-194).** A service's supervisor label is the agent's
45
+ own name, reverse-DNS on the publisher's domain (`com.example.example-agent`), and `AGENTS.md` names it (LC-09):
46
+ never the owner's account or name. A provider's `createdBy` names the publisher; until one is chosen it
47
+ keeps the scaffold's sentinel, and a person's name or account is never written there. The adapter moves both when the
48
+ contract decides how an instance renames them (FAA-188 part 2).
49
+
50
+ ## The check
51
+
52
+ `fabric_source_check.py check` reads the files the source would carry (what Git would commit: tracked files and
53
+ untracked ones that are not ignored, as they are in the work tree; a staged copy that differs is not read) and reports each place where the instance shows through, by path, line and kind:
54
+
55
+ | Kind | Finds |
56
+ |---|---|
57
+ | `home-path` | an absolute path inside a person's home folder (a web route under `/home/` is reported too; a route under `/users/` is not): `/Users/<name>/`, `/home/<name>/`, `C:\Users\<name>\`, Git Bash's `/c/Users/<name>/`, WSL's `/mnt/c/Users/<name>/`, and the dashed (`-Users-<name>-`, `C--Users-<name>-`) and URL-encoded forms a tool makes of one. The name is ASCII, and in the dashed form it ends at the next dash: an owner whose home name holds a space, a dash, a dot, an underscore or an apostrophe (each a dash in the dashed form; a slashed name also ends at a space) declares it with `home: <name>` in the owner's list, which reads it whole in every form, and one whose home name is not ASCII, or holds another character, lists it as a plain string (a typographic apostrophe a keyboard typed, which the folder's name does not hold, is written as `'` in `home:`; a folder whose name holds `’` is listed as a plain string with `’` kept and declared too with `home: <name>` written with `'`, which reads the dashed forms; its URL-encoded `’` is not read; a name outside ASCII of one or two characters cannot be checked) |
58
+ | `secret` | a value shaped like a credential by the contract's detector (DEC-0044), read line by line: a provider key starting a word, a JWT, a bearer token, a long random value assigned to a credential's name (but a whole Ed25519 signature under a JSON `"sig"`, `"signature"` or `"signatures"` member, as `sign` writes it, which is public); or a private key: a PEM, OpenSSH or PGP block, or a JWK's `d` as a JSON member, escaped JSON or a Python dict; a URL with a password of 8 or more characters mixing letters and digits (a password without a digit or without a letter is not read) or a credential in its query, percent-encoded or not, JSON-escaped (`\u0026`, `\/`) or nested in another URL's parameter (two levels deep); a file that is a credential by its name, as `pack` refuses it (`.env`, `*.pem`, `*.key`, `.npmrc` and the rest), or a kit credential file (`*.token`, `board.credential`) |
59
+ | `instance-string` | a string from the owner's list, in a file, in a file's path or in a link's target |
60
+
61
+ ```bash
62
+ python3 <plugin-dir>/skills/adapting-projects-to-fabric/scripts/fabric_source_check.py check <project-root>
63
+ ```
64
+
65
+ - It **never repeats** a value it found: no value, no line holding one, no entry of the owner's list and not the
66
+ folder it checks reaches its output. A file's path is checked like its text (line `0` of a finding), and printed
67
+ with an entry of the list as `<line N>`, a home folder's name as `<home>` and each segment holding a
68
+ credential-shaped value as `<secret>` (two files can then print the same; the segments a found value runs across, an
69
+ assigned value, a bearer run or a URL, are masked too, while a key, a JWT or a JWK `d` is read up to the `/` that
70
+ cuts it, so the rest of a cut one can print in the next folder: find the file by the folder the finding names); an instance string is named by its line in the owner's list. The report can go in a commit
71
+ message, an issue or a chat. A declared home of one or two letters, once found anywhere in the tree, is masked wherever it stands in a printed
72
+ path, inside a word too (`qzone` prints `<home>one`); found nowhere, it is not masked.
73
+ - It **changes nothing.** Exit `0`: no finding and every file read; `1`: at least one finding (the step is not done);
74
+ `2`: the check could not run, or a file was not read: an unreadable file, a nested repository, or a binary file the
75
+ ignore file does not name as source (the summary counts each, and how many files were left out by name). A finding
76
+ sets `1` even when a file was not read too; the files not read are still listed, so fixing the findings can leave `2`.
77
+ - **What it reads.** A text file of any size is read whole, and the summary counts every text file read; a binary file (a NUL byte in its first 8 KiB) or one that
78
+ cannot be read is listed by its path as not read, and the summary counts it. A database or another binary of
79
+ records in the tree is instance data the check cannot read: move it to the instance folder. A binary that is source
80
+ (an icon, a font) is named in the ignore file. `--every-file` reads every file, those Git ignores included, but `.git`, `__pycache__`, `.DS_Store` and `*.pyc`
81
+ (litter `pack` refuses): run it
82
+ on a folder before `pack`, which carries them. A committed symbolic link is checked by the path it names, never followed. When the folder is
83
+ not in a Git checkout, Git lists nothing in it, or no `git` is found in PATH's absolute folders (with PATH unset, in `/bin` and `/usr/bin`; on Windows, nowhere), every file is read but `.git` and `__pycache__` (uncounted) and the dependency
84
+ folders (`node_modules`, virtual environments, caches), and the summary says Git was not used and how many dependency folders were not read.
85
+ Under a locale whose file-system encoding is not UTF-8 (ISO-8859-1, KOI8-R) the check restarts itself in Python's UTF-8
86
+ mode, so a file name, an argument and a file's text are read in one encoding; a name that is not UTF-8 is matched as its bytes.
87
+ A file's text is read as UTF-8, so an entry of the owner's list with a letter outside ASCII is found in a UTF-8 file
88
+ (composed or decomposed, as macOS may store a name), not in one saved as Latin-1 or CP1252.
89
+ In Git mode a nested repository (a submodule, a vendored checkout) is not read: check a nested repository in its own tree with
90
+ the same check (a submodule checked out first, `git submodule update --init`), then name its path in the ignore file,
91
+ with that reason on the line above. That line serves the check of the outer tree only: before `pack`, check the
92
+ nested repository with `--every-file` in its own tree too, because `pack` carries its files, ignored ones included.
93
+ - **The owner's list** holds the strings only the owner knows are theirs (their name, company, accounts, hosts), one
94
+ per line, at least three characters; a line starting with `#` is a comment, so list a channel or a hashtag without its `#`, and a `#` after a string is
95
+ part of that string. An entry matches in any case and inside any word; an invisible format character (a direction mark, a
96
+ soft hyphen, a joiner) at either end of a string is dropped, spaces between such characters too, and does not count
97
+ toward the three; one inside it is kept and counts (an emoji's joiner), so a string copied with a soft hyphen in it
98
+ matches only text that holds one. A line `home: <name>` declares the owner's home
99
+ name instead (ASCII letters, digits, `.`, `_`, `-`, `'` and spaces, starting with a letter or a digit; a name holding a
100
+ space, as a Windows profile may, is written whole, `home: Jane Doe`, and everything after the colon is the name, so
101
+ a note goes on a line of its own (`# laptop`); spaces and tabs may stand around the colon; a line
102
+ that starts with `home` and a colon and holds anything else is refused, exit 2 (an invisible format character before
103
+ the name, after it or inside `home` is dropped, one inside the name refuses the line; a NUL anywhere in the list
104
+ refuses it too); such a line is never a string
105
+ entry, so list a string like `home: page` by a part of it, `ome: page`): the check then finds that home in every form the table names (it is never neutral, even with one or two
106
+ letters), and the bare name is not looked for anywhere else, though a declared name of three or more letters and digits is
107
+ masked wherever a printed path holds it as a word, its parts joined by none or any run of a space, `.`, `_`, `-`, `+`, `'`, their
108
+ percent-encodings or an escaped apostrophe (`\'`, `\x27`, `\u0027`, `&#39;`, `&#x27;`, `&apos;`), the same separators it is found with in every form; a home that is also your name goes in the list
109
+ as a plain string too, to be found in text. It is `--instance-strings FILE`, else the file
110
+ `FABRIC_INSTANCE_STRINGS` names, else `passioncode-fabric/instance-strings.txt` in the user's configuration folder
111
+ (`$XDG_CONFIG_HOME` when it is absolute, else `~/.config`; `%APPDATA%` on Windows). A list inside the tree is refused, because it would
112
+ travel with the source. A person who already keeps private terms for org-index's `check_private.py`
113
+ (`~/.config/passioncode/private-terms.txt`) passes that file with `--instance-strings`; this check matches a term
114
+ anywhere in a word, and it does not look for e-mail addresses or account ids by their shape.
115
+ - **Leaving paths out.** `.fabric-source-ignore` at the root (globs, one per line, `#` comments) or `--exclude GLOB`
116
+ leaves out files that hold synthetic values on purpose, such as test vectors. A line is a path from the root, not a
117
+ `.gitignore` line (a leading `/` changes nothing, a line with no `/` matches at the root only, and a line holding `\`, `//`, an unclosed `[` or a class such as `[[:digit:]]` is refused, as Git reads each
118
+ otherwise): `*`, `?` and `[...]` stay inside one folder (`?` and `[...]` match one byte, as Git's do, so a letter
119
+ outside ASCII takes two or more) and `**` as a whole segment crosses
120
+ folders, so `vectors/*` takes the files in `vectors` and none in its subfolders. A line ending in `/`, or a path
121
+ with no wildcard, takes that folder and all it holds; only such a line leaves out a nested repository or a
122
+ submodule (`vendor/sub/`), never a wildcard line without the `/` (`vendor/*`). A wildcard folder line (`vendor/*/`)
123
+ takes every nested repository it reaches, checked or not, so name each one by its path. In Git mode a nested
124
+ repository is not read; `--every-file` and a folder outside Git read its files, its `.git` left out. An exception line (`!`) is refused, since what it would
125
+ bring back would go unread. Name the files, or a folder that holds
126
+ only synthetic vectors, never a whole source folder (a nested repository checked in its own tree is the one
127
+ exception), and say why on the line above. A file `pack` refuses by its name cannot ship in a package: a public
128
+ certificate is renamed `*.crt`; a project `.npmrc` that holds no credential may be named in the ignore file, with
129
+ that reason, for the source check (the line then hides whatever is added to it later, so keep it credential-free),
130
+ and `pack` still refuses it, so a package is made from a copy without it (its
131
+ settings then apply only where the owner sets them: `~/.npmrc` reaches every project of the owner, and
132
+ `package.json`'s `publishConfig` carries publish-time settings such as `registry`, `tag` and `access`). A file
133
+ holding a credential moves to the instance, never into the ignore file.
134
+ - A neutral home (`example`, `user`, `runner`, a container's, a cloud machine's or a dev container's user such as `node`, `ubuntu` or `vscode`, the fixture id
135
+ `example-agent`, a
136
+ one-letter name, a placeholder; the whole set is `NEUTRAL_HOMES` in the script. An owner whose home name is in it, a
137
+ first name such as `alice` or an `admin` account, or has one or two letters, writes `home: <name>` in the owner's
138
+ list; a container's, a cloud image's or a CI runner's user that only the image uses, such as `node` or `vscode`, is never declared, since
139
+ its paths are the image's and stay in the source; the home of the owner's own machine is declared even when its
140
+ name is an image's user, as `admin` or `ubuntu` on a cloud machine the owner works on; when that name is also the
141
+ user of an image in the tree, the image's paths are reported, and they are written through a build argument that
142
+ names the user, `ARG APP_USER=ubuntu`, `USER ${APP_USER}`, `WORKDIR /home/${APP_USER}/app`, so no home path stands
143
+ in the source; `$HOME` serves only where a shell in the image expands it, a `RUN` line or a script, since a
144
+ Dockerfile's `WORKDIR` and `COPY` see only `ENV` and `ARG` values) and a value that says it is synthetic (`EXAMPLE`, `not-a-key`, `fake`, `dummy`) are
145
+ not findings.
146
+
147
+ The check finds the forms the table names, and only those: a credential in another shape (a bare token with no name
148
+ before it, a provider's key the contract's names do not cover) passes it. It is a floor under the owner's review and a
149
+ secret scanner, never a replacement for either.
150
+
151
+ The check finds the repository from the folder it checks: a Git location the caller exports (`GIT_DIR`,
152
+ `GIT_INDEX_FILE`, as a hook in a linked worktree has) is not passed to Git. The check reads the tree, not Git history. A value that was committed once is still in the history after the tree is
153
+ clean: handing such a source over needs a fresh history, which is the owner's act, never the agent's (no history
154
+ rewrite, no force-push).