Skip to content

0.3.6: Repository context

Choose a tag to compare

@TheBackstoryIs TheBackstoryIs released this 11 Oct 23:21
· 24 commits to main since this release
683cfcc

Version 0.3.6 adds repository context. Your assistant can read a short, evidence-based summary of the file in front of it: the callers EWAI resolved, recorded routes, who usually changes it, which files change with it and which project records name it. A change rank orders your current diff against the repository's own recent commits, so the riskiest edits are looked at first. The dashboard's Repository view shows the same readings. They are advisory and never approve Build, Manual QA or release.

Keep the index current without rebuilding it. ewai index update re-parses only the files that were added, changed or deleted, and a Git post-commit hook runs it in the background. A hook failure never undoes your commit. Resolution now follows relative imports, Composer PSR-4 prefixes, TypeScript and JavaScript path maps, package imports, Go module prefixes and common aliases, and it recognises common route conventions.

Shorter test and Git output. ewai distill -- <command> keeps a short reading of recognised test and Git commands with the exit code intact, and stores the full log so you can hash it as gate evidence. Only a single plain command is shortened. Chained, piped or redirected commands are left alone, and your assistant's normal approval rules still apply.

Hooks EWAI adds to a project. When EWAI writes its assistant configuration for a project, it also adds Claude Code hooks for session, file and command readings, plus the Git post-commit hook. ewai context install --project . applies them again, and setting EWAI_DISTILL=0 turns command shortening off. The repository context guide in the documentation describes each reading and its limits.