Skip to content

feat(ai): agentic information foraging & scent trails (#274) - #1553

Merged
dan-petty merged 1 commit into
release/v0.2.34from
feat/274-agentic-information-foraging
Oct 11, 2026
Merged

dan-petty merged 1 commit into
release/v0.2.34from
feat/274-agentic-information-foraging

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

Summary

Closes #274.

Implements Pirolli & Card's Information Foraging Theory as a deterministic, local-only crawler following relational "information scent" across codebases under devops ai research forage.

Per the owner's design refinement for v1:

  • Local-only & deterministic: Completely offline execution with zero LLM calls, zero network egress, and zero file mutations.
  • Relational edge extractors:
    • Python imports (ast): Resolves absolute and relative module imports to concrete files.
    • Markdown links (markdown-it-py): Resolves internal relative links.
    • Git co-changes (GitPython): Discovers co-committed source files.
  • BM25 semantic scent scoring: Evaluates candidate file content against query using BM25 with token bonuses.
  • Best-first priority search & backtracking: Uses heapq priority queue, cycle-detection ledger, and records BacktrackEvent when local scent drops below --min-score.
  • CLI interface: Registered devops ai research forage <anchor> --query TEXT [--max-nodes N] [--min-score S] [--repo PATH] [--json] [--dry-run] with Rich tables and Pydantic v2 ForageTrail JSON output.

Verification

  • Local uv run devops ci passed 100% (15/15 checks, 0 failed tests, >90% coverage).
  • Unit test suite tests/test_ai_research_forage.py passed in < 1 second.

@dan-petty
dan-petty merged commit be03b65 into release/v0.2.34 Oct 11, 2026
11 checks passed
@dan-petty
dan-petty deleted the feat/274-agentic-information-foraging branch October 11, 2026 00:20
dan-petty added a commit that referenced this pull request Oct 11, 2026
* feat(ai): clean unread syntopical and cognitive research settings (#273) (#1551)

* chore(ai): remove the code, config and policies left over from the removed vLLM deployments (#820) (#1552)

* feat(ai): agentic information foraging & scent trails (#274) (#1553)

* fix(ai): reindex knowledge base on drift and inspect qdrant store (#1139) (#1554)

- Record installed knowledge base digest, embedding model, and timestamp on Qdrant points
- Rebuild knowledge base on first RAG use if points missing or digest differs, with 30m failure cooldown
- Update rag drift to inspect per-project Qdrant points and KB digest drift
- Update rag status to display points, embedding model, dimension, KB digest, and last index time
- Register and emit devops_cli_rag_points telemetry gauge
- Add test suite in tests/test_rag_kb_sync.py

* feat(docker): container commands find Podman engine and rootless sandboxes write workspace (#1117) (#1555)

- Resolve engine endpoints in precedence order: CONTAINER_HOST, DOCKER_HOST, DOCKER_CONTEXT, currentContext, rootless Podman, rootful Podman (with R/W check), Docker default
- Raise configuration error naming CONTAINER_HOST if CONTAINER_CONNECTION is set
- Guide user to set CONTAINER_HOST/DOCKER_HOST or run systemctl --user enable --now podman.socket on default dial failure
- Introspect engine facts (kind, is_rootless, security_options) with memoization
- Map sandbox container user to 0:0 on rootless engines so workloads can write mounted workspaces
- Drop uncalculated first stats frame and compute CPU deltas from second frame
- Inform user and exit 1 on devops docker cache for Podman without calling prune_builds or df
- Poll get_engine().ping() in _wait_for_docker_daemon without subprocess
- Propagate DOCKER_HOST to Dive and allow XDG_RUNTIME_DIR in Cosign
- Remove DEFAULT_CONTAINER_ENGINE and BIN_DOCKER constants
- Add documentation in cheatsheets and knowledge base, and changelog fragment

* fix(k8s): remove monitoring Service aliases and direct consumers to Helm chart Services (#1104) (#1556)

* fix(ai): a rag collection records its embedding model, a mismatch fails instead of wiping the collection, and ranking keeps the cosine score (#1066) (#1557)

* fix(ai): a rag collection records its embedding model, a mismatch fails instead of wiping the collection, and ranking keeps the cosine score (#1066)

* fix(ai): isolate search verified model cache per instance and test run

* feat(cli): worktree inventory & safe orphan reclamation (devops repos worktrees) (#700) (#1558)

* fix(k8s): tunnel sync and url setup preserve existing routes, catch-all, and remote URLs (#794) (#1559)

* fix(ai): a partial pricing snapshot replaces the whole catalog and never expires (#793) (#1560)

* feat(github): defect prs carry their hardening readiness blocker and post-merge audit (#697) (#1561)

* refactor(review): delete the legacy segment engine and the whole-file reviewer (#995) (#1564)

* chore(service): hold the roadmap service at 0 replicas while its machine account is suspended (#1562) (#1563)

GitHub suspended the Service's machine account. The deployment asks for
0 replicas so an Argo CD sync or deploy-stack cannot start it again, and
AGENTS.md and k8s/README.md tell people and agents not to scale, restart
or re-push secrets for it, and to leave its blocked items alone.

Closes #1562


Claude-Session: https://claude.ai/code/session_01S4n2mumzbvufbjZbXcX5JV

Co-authored-by: Claude <[email protected]>

* docs(agents): AGENTS.md fits a context budget and Claude Code loads it (#841) (#1565)

* feat(release): v0.2.34

---------

Co-authored-by: Claude <[email protected]>
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