Skip to content

docs: one-local-environment setup for the integrated functional test - #351

Merged
01rabbit merged 1 commit into
mainfrom
claude/az-06-implementation-status-yhe7p4
Aug 16, 2026
Merged

docs: one-local-environment setup for the integrated functional test#351
01rabbit merged 1 commit into
mainfrom
claude/az-06-implementation-status-yhe7p4

Conversation

@01rabbit

Copy link
Copy Markdown
Owner

Summary

Follow-up to #350. The integrated functional-test doc listed the four-repo prerequisite but not how to prepare it. This adds a "Prepare all peers in one local environment" section so a reader can go from bare checkouts to a green run.

It documents preparing AZ-06 Deception and Knowledge in the same local environment as Edge:

  • check the four repos out side by side;
  • create one shared venv and editable-install Fabric first (so the git-pinned @v0.6.0 dependency in Deception/Knowledge is satisfied by the local checkout), then editable-install Deception and Knowledge with --no-deps (avoids re-fetching/shadowing Fabric) and add their runtime deps explicitly;
  • a network-allowed alternative (pip install -e './Azazel-Knowledge[api]', letting pip fetch the tag-pinned Fabric);
  • a shared-interpreter verify snippet (all peers resolve to one Fabric 0.6.0).

Edge itself is not pip-installed — the harness puts its py/ tree on sys.path — so running the harness from that venv is what lands all four packages on one interpreter, after which one-command mode works directly.

The recipe matches the environment the harness was validated in (Python 3.11; azazel-fabric 0.6.0 + azazel-deception + azazel-knowledge editable; fastapi/uvicorn/pydantic + PyYAML/idna/PyNaCl).

Type of change

  • feat — new feature
  • fix — bug fix
  • refactor — no behavior change
  • docs — documentation only
  • test — tests only
  • chore — build/CI/config
  • security — security fix

Checklist

  • PYTHONPATH=. pytest -q passes
  • Related documentation updated in this PR
  • Deterministic First principle not violated (AI is assist, not primary decision-maker)
  • Raspberry Pi constraints not broken (memory, aarch64 compatibility)
  • No changes to installer/, systemd/, security/ without explicit justification below

Notes for reviewers

Docs-only change to docs/architecture/edge-integration-functional-test.md. No code or restricted-area changes.

Related issues

Refs #325

🤖 Generated with Claude Code


Generated by Claude Code

The harness doc listed the four-repo prerequisite but not how to prepare it.
Add a "Prepare all peers in one local environment" section: check the repos out
side by side and editable-install AZ-06 Deception + Knowledge (with the shared
Fabric v0.6.0 contracts) into a single venv, so Edge drives every peer on one
interpreter. Documents the local-first install order (Fabric first, then
--no-deps editable installs to avoid re-fetching the pinned git Fabric) and the
network-allowed [api]-extra alternative, plus a shared-interpreter verify
snippet. One-command mode works directly from that venv.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0198tdsTP5iQjwUD7GB9cmwj
@01rabbit
01rabbit marked this pull request as ready for review August 16, 2026 01:07
@01rabbit
01rabbit merged commit 404df4c into main Aug 16, 2026
5 checks passed
@01rabbit
01rabbit deleted the claude/az-06-implementation-status-yhe7p4 branch August 16, 2026 01:07
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.

2 participants