Repository navigation
KIP Knowledge Fabric 3.15.1
What changed in 3.15.1
- KIP now works from outside its own folder. Registering the MCP server
and installing the skills both assumed the agent was started inside the
deployment, and failed silently anywhere else.- Setup wrote the MCP entry as
bash scripts/mcp.shwith a relative
KIP_CONFIG. An MCP client starts the server from its own working
directory, so the entry failed withNo such file or directoryin any
other project and could not be registered at user scope. Setup now
writes the deployment's absolute script and config paths. - New
kip mcpserves the MCP stdio server. With the globalkip
launcher onPATH,claude mcp add --scope user kip -- kip mcpor
codex mcp add kip -- kip mcpregisters KIP for every project. Root
options such as--configand--workspacereach the server as the
environment variables it reads. Nothing but the protocol is written to
stdout.docs/APP_INTEGRATION.mdhas a new section, "Registering KIP with
an MCP client". It gives the user-scope and project-scope commands for
Claude Code and the Codex command, each run against the real client, plus
the absolute-path form for a checkout without the launcher. - An upgrade preserves
.mcp.json, so an existing deployment keeps its
relative entry.kip doctorreports it as the non-required check
mcp_registration, with the absolute replacement entry, and never rewrites
the file. A fresh package install shows the same warning until setup
applies, because the shipped.mcp.jsoncannot know its install path.
That entry still works when the client is opened in the deployment folder.
setup verifyaccepts the relative entry, the absolute entry and the
launcher entry (kip mcp) when they serve this deployment's generated
config and workspace. A relativeKIP_CONFIGnext to an absolute script is
not flagged:scripts/mcp.shresolves it against the deployment. - Every skill install, personal or project, wrote one global pointer,
~/.config/kip/project-root, so a second deployment's install silently
repointed the first deployment's project copies. Each installed skill
directory now carries.kip-skill-installwith its own deployment root
andVERSION, and the wrapper resolves through that record before the
legacy pointer. A record naming a deployment that no longer exists stops
with exit 2 instead of falling back. Installs no longer write the pointer. - Installed copies went stale on upgrade, and nothing showed it. 3.14.0
rewrote the skills to stop unsupported freshness claims, so a stale copy
kept the defect. The deployment now lists where it installed skills in
var/skill-installs.json, andkip update(upgrade.sh --finish)
reinstalls every listed location that still carries this deployment's
record. A removed location, a location with one skill missing, another
deployment's copy or a same-named skill without a record is skipped and
reported, never created. Ownership is checked again under the install
lock, and an explicit install that replaces another deployment's copy
warns. The wrapper accepts only an absolute recorded deployment. A
registry that is not a valid v1 object is reported as malformed rather
than crashingkip doctor. A failed
refresh warns without failing the upgrade. An upgrade from 3.15.0 with
kip update --archivefinishes with 3.15.0's own upgrade script, which
predates the refresh. Run./scripts/install-agent-files.sh --refreshonce
after it.kip update --latestor--versionfinishes with the new
release's script. From 3.15.1,--archivehands off to the upgraded tree's
upgrade.sh --finishtoo, so later archive upgrades refresh without the
extra step. The first refreshing upgrade also adopts
a personal~/.claude/skillscopy installed by 3.15.0 or earlier when the
legacy pointer names this deployment and both skills are KIP's. The pointer
is kept, so project copies from 3.15.0 or earlier keep resolving through
it. Those left no trace an upgrade can find; reinstall them to have them
refreshed.kip doctorreports out-of-date copies as the non-required
checkskill_installs, with./scripts/install-agent-files.sh --refresh
as the fix. install-agent-files.sh --client codexinstalls into.agents/skills,
the location named by both Codex's "Build skills" documentation and its
shipped skills loader.--client allinstalls for Claude Code and Codex.
An install into the deployment itself is refused, because its
.claude/skillsmust stay byte-identical toskills/.uninstall-agent-files.shremoved any directory namedknowledge-fabric
orkip-setupwithout checking who installed it, and left the pointer
behind. It now removes only directories carrying this deployment's record,
and the deployment's registry entry, and prints what it left and why. A
path that differs from the deployment only in letter case is recognised as
the deployment and refused. It never removes the legacy pointer, because
project copies from 3.15.0 or earlier still resolve through it. It prints
the command to remove the pointer once none remain.kip setupconfigured the working directory even when started through the
global launcher from another folder. It now defaults--project-rootto
the deploymentscripts/kipexports. Thekip-setupskill no longer tells
agents to run from inside the KIP repository../scripts/e2e-install.shnow runs from a directory outside the installed
deployment. It checks thatkip mcp, started through the global launcher,
answersinitialize,tools/listandkip_capabilitieswith nothing but
JSON-RPC on stdout. It installs the skills for both clients, personally and
into a project, and each copy must answer through its wrapper.kip doctor
must report them current, and uninstall must leave a planted foreign skill
untouched../scripts/e2e-upgrade.shplants skills with the previous
release's own installer. After the upgrade and the one-time refresh, it
checks that the personal copy was adopted and the pointer is unchanged,
and that the project copy still resolves. It then checks that
upgrade.sh --finishrefreshes a stale record. The real-HOME guard now
also hashes the pointer and the KIP skill directories. The test environment
clearsCLAUDE_PROJECT_DIRandCODEX_HOME: the skill wrapper reads the
first one before its own record, so a run started from an agent session
would otherwise have answered from that session's checkout.- ADR-067 records these decisions.
- Setup wrote the MCP entry as
Container image: ghcr.io/64etuor/kip:3.15.1
Install (one command)
curl -fsSL https://github.com/64etuor/kip/releases/download/v3.15.1/install.sh | bash -s -- ~/kip --version 3.15.1The installer downloads kip-3.15.1.zip, verifies it
against kip-3.15.1.zip.sha256 before extracting, then
runs ./scripts/bootstrap.sh. Review install.sh first if your
policy requires it; the manual path (download, verify, unzip, follow
docs/DEPLOYMENT_GUIDE.md section 2) is unchanged.
Upgrading an existing deployment
Run the same command with the existing directory, or
./scripts/upgrade.sh --version 3.15.1 inside it. Only package-owned
files listed in the manifests are replaced; .env, config/kip*.toml,
.mcp.json, var/ and ontology additions are preserved, previous package
files are kept under var/upgrades/ for --rollback. See
docs/DEPLOYMENT_GUIDE.md section 11.
Licensing
KIP is MIT. It ships AGPL-3.0 PyMuPDF and LGPL-3.0 psycopg; see
THIRD-PARTY-NOTICES.md before redistributing or offering KIP as a
network service.
Full history: https://github.com/64etuor/kip/blob/v3.15.1/CHANGELOG.md