fix(import): clone auth, auto-push, and from-org simplification#48
Open
m0Nst3r873 wants to merge 5 commits into
Open
fix(import): clone auth, auto-push, and from-org simplification#48m0Nst3r873 wants to merge 5 commits into
m0Nst3r873 wants to merge 5 commits into
Conversation
Replace AI-generated docs/team-codebase/ with structured teamwiki/ knowledge graph. Vendor team-wiki's code-knowledge + core packages (by @lurkacai) as the deterministic extraction engine. New capabilities: - `teamai codebase --extract`: code fact extraction (TS/Python/Go/Rust/Java/TOML/SQL) - `teamai recall`: BM25 + graph-boost codebase retrieval - `teamai codebase --lint`: graph health check - `teamai codebase --upgrade-wiki`: migration from old format - Module summaries with dependency direction and ranked components - Knowledge gaps detection (IMPL_MISSING, LOW_CONNECTIVITY, etc.) - Cross-repo edge detection via PascalCase label + config key matching - AI overview.md generation (non-blocking on timeout) - Pull protection: skip overwrite when local teamwiki/ is newer Architecture: - src/wiki-engine/: vendored core (graph schema, protocol) + code-knowledge (collector, extractors, graph builder, incremental detection) - src/wiki-engine/adapters/: teamai-specific bridge + shared templates - teamwiki/ directory (non-hidden) with router.md, hot.md, index.md, evidence/, .indices/, gaps/, modules/
610b47b to
42926ff
Compare
Clone: http→https for TGit, OAuth token in URL, SSH conversion Auto-push: all import commands auto-push via shared utility from-org: remove AI clustering, direct whitelist→batch import AI timeout: 720s→1200s, failure non-blocking for graph extraction iWiki: Accept header fix, MAPS_TO reconcile before push
42926ff to
72696d4
Compare
… saveGraphIndex path - Delete manifest-schema.ts (unused, team-wiki compile-from-manifest path not needed) - computeGraphBoost: extend from 1-hop to 2-hop neighbor traversal (2-hop gets 0.4x weight) - saveGraphIndex: fix path from .teamwiki/.indices/ to .indices/ (align with teamai teamwiki/ convention) - import-iwiki: use saveGraphIndex instead of manual writeFile
…ents
Bug 1 (critical): Stop hook output used invalid {"stopReason":...} format.
Claude Code only passes hookSpecificOutput.additionalContext to the AI.
5 sessions had hinted=true but users never saw the hint.
Fix: new src/utils/hook-output.ts with multi-tool format awareness
(Claude Code/CodeBuddy use hookSpecificOutput, Cursor uses {message}).
Bug 2 (minor): scoring formula adjustments:
- Tool count start: 30→20
- Duration: add 15min tier (+10)
- Git commit penalty: -15→0 (neutral)
- BASE_THRESHOLD: 20→15
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Clone auth
Auto-push
from-org
Other
Test plan