Skip to content

chore: untrack local integration config from legis#5

Merged
tachyon-beep merged 1 commit into
mainfrom
chore/untrack-local-integration-config
Jun 6, 2026
Merged

chore: untrack local integration config from legis#5
tachyon-beep merged 1 commit into
mainfrom
chore/untrack-local-integration-config

Conversation

@tachyon-beep

Copy link
Copy Markdown
Collaborator

Stops tracking three machine-local integration-config files that leaked into the package repo via PR #4, and adds them to .gitignore. They remain on disk for local use (git rm --cached, not deleted).

  • .mcp.json — local MCP server command paths
  • loomweave.yaml / wardline.yaml — loopback service URLs (loomweave/filigree/wardline)

These are developer-environment artifacts, not package content. Lacuna keeps its own copies tracked as the reference demo bed; this only affects legis.

No code or test changes.

🤖 Generated with Claude Code

…ardline.yaml)

These are machine-local integration config — MCP server paths and
loopback service URLs (loomweave/filigree/wardline) — that leaked into the
published package repo via PR #4. They are developer-environment artifacts,
not package content, so stop tracking them and add them to .gitignore
(they remain on disk for local use). Lacuna keeps its own copies tracked as
the reference demo bed; this only affects legis.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@tachyon-beep tachyon-beep merged commit ad95a5a into main Jun 6, 2026
2 checks passed
@tachyon-beep tachyon-beep deleted the chore/untrack-local-integration-config branch June 6, 2026 02:01
tachyon-beep added a commit that referenced this pull request Jun 7, 2026
filigree/client.py and identity/loomweave_client.py signed their requests
with byte-for-byte copies of the same X-Weft-Component scheme
(_json_body_bytes / _path_and_query / sign_*_request / *_hmac_key_from_env).
The wire format lived in two modules; a change to canonicalization or the
X-Weft-* headers would have to touch both or the channels silently diverge.

Extract src/legis/weft_signing.py as the single definition
(weft_body_bytes, weft_path_and_query, sign_weft_request(component, ...),
weft_hmac_key_from_env(env_var)). Both clients delegate; module-level
_json_body_bytes/_path_and_query aliases keep internal transport and existing
call sites stable. The serializer deliberately stays off
canonical.canonical_json — its ensure_ascii=False would change the signed
bytes (the cross-tool HMAC contract with Wardline).

Behavior-preserving: existing per-channel golden vectors unchanged and green;
adds tests/test_weft_signing.py with a cross-channel anti-drift test
(signatures identical modulo the component prefix) and an ascii-escaping guard.
Full suite 684 passed, mypy + ruff clean.

rc4 review finding #5 (legis-3012f98aaa).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant