Skip to content

fix: doc build and lint files - #34

Merged
nicoloboschi merged 2 commits into
mainfrom
lint
Dec 16, 2025
Merged

nicoloboschi merged 2 commits into
mainfrom
lint

Conversation

@nicoloboschi

Copy link
Copy Markdown
Collaborator

No description provided.

@nicoloboschi
nicoloboschi merged commit 9394cf9 into main Dec 16, 2025
bvisible added a commit to bvisible/hindsight that referenced this pull request May 16, 2026
… fork)

The default `hindsight_recall` tool derived bankId only from companyId+
agentId (+optional userId) — pointing at the agent's instance bank. The
curated sub-banks (`::knowledge::ch` for Swiss accounting RAG, `::knowledge::tenant`
for vectorize-io#35 tenant scanners, `::collective` for vectorize-io#34 cross-tenant pulls) were
documented in SKILL prompts but ACTUALLY UNREACHABLE — the agent's recall
silently fell back to instance bank, returning generic / wrong answers.

Live test 2026-05-16 on Osiris : agent compta answered 'plan comptable
3200 = Prestations de service (PME Käfer)' from its instance bank
hardcoded knowledge, instead of 'plan comptable 3400 = Ventes de
prestations' from the local ::knowledge::tenant bank (605 facts seeded
the previous day by vectorize-io#35).

Fix : add optional `bank` param to hindsight_recall. Accepted slots :
  tenant     → paperclip::<cid>::<aid>::knowledge::tenant
  ch         → paperclip::<cid>::<aid>::knowledge::ch
  collective → paperclip::<cid>::<aid>::collective
  (omitted)  → default agent instance bank (backwards compatible)

Whitelist-validated to prevent path injection from a compromised SKILL.

Also bump manifest.permissions with `issue.comments.read` (already used
by the per-user bank scoping fallback, was missing from manifest).
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