gitnexus-exploring
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "gitnexus-exploring" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-e2016754ca59abc92ac27a08cfb362100bb27c6397f26f3108897224256dde49. Verify the upstream source and version against https://github.com/ceilf6/FrontAgent before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
github.com
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Used to explore and understand a codebase: for when a user wants to know how code works, needs to understand architecture, trace execution flows, or explore unfamiliar parts of the code. Examples: “How does X work?”, “What calls this function?”, “Show the authentication flow”
Introduction source: third_party · ceilf6 · 0.0.1 Reference
SkillPi interpretation
- Tasks
- Use when the user asks how code works, wants to understand architecture, trace execution flows, or explore unfamiliar parts of the codebase. Examples: \"How does X work?\", \"What calls this function?\", \"Show me the auth flow\
- Audience
- "How does authentication work?" "What's the project structure?" "Show me the main components" "Where is the database logic?" Understanding code you haven't seen before
- Inputs and outputs
- Not specified in the source documentation.
- Software, accounts and paid services
- Not specified in the source documentation.
- Limits and differences
- Not specified in the source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: gitnexus-exploring
description: "Use when the user asks how code works, wants to understand architecture, trace execution flows, or explore unfamiliar parts of the codebase. Examples: \"How does X work?\", \"What calls this function?\", \"Show me the auth flow\""Exploring Codebases with GitNexus
When to Use
- "How does authentication work?"
- "What's the project structure?"
- "Show me the main components"
- "Where is the database logic?"
- Understanding code you haven't seen before
Bind the repository first
Step 1 discovers what is indexed; every call after it must say which of those
it means. With one indexed repository, use the examples below as written. With
more than one, pass repo on every call: an omitted repo normally errors,
but under an MCP policy with a configured default it resolves to that default
silently. If you cannot tell which repository is meant, stop and ask. Report
the bound repository and index freshness alongside your explanation.
list_repos is paginated, so page with offset: pagination.nextOffset until
hasMore is false before concluding a repository is absent.
Workflow
1. list_repos {} or READ gitnexus://repos → Discover indexed repos
2. READ gitnexus://repo/{name}/context → Codebase overview, check staleness
3. query({search_query: "<what you want to understand>"}) → Find related execution flows
4. context({name: "<symbol>"}) → Deep dive on specific symbol
5. READ gitnexus://repo/{name}/process/{name} → Trace full execution flow
If step 2 says "Index is stale" → run
node .gitnexus/run.cjs analyzein terminal. Hot-toolstalenessnames which index answered (branch/lastCommit) and how fresh it is (status). Re-analyze only forbehindordiverged—currentis identity,unknownis unmeasurable.
Checklist
- [ ] list_repos {} — bind repo; explicit repo when >1 indexed, ask if ambiguous
- [ ] READ gitnexus://repo/{name}/context
- [ ] query for the concept you want to understand
- [ ] Review returned processes (execution flows)
- [ ] context on key symbols for callers/callees
- [ ] READ process resource for full execution traces
- [ ] Read source files for implementation details
- [ ] State the repository and index freshness with the explanation
Resources
| Resource | What you get |
|---|---|
gitnexus://repo/{name}/context |
Stats, staleness warning (~150 tokens) |
gitnexus://repo/{name}/clusters |
All functional areas with cohesion scores (~300 tokens) |
gitnexus://repo/{name}/cluster/{name} |
Area members with file paths (~500 tokens) |
gitnexus://repo/{name}/process/{name} |
Step-by-step execution trace (~200 tokens) |
Tools
query — find execution flows related to a concept:
query({search_query: "payment processing", repo: "my-app"})
→ Processes: CheckoutFlow, RefundFlow, WebhookHandler
→ Symbols grouped by flow with file locations
context — 360-degree view of a symbol:
context({name: "validateUser", repo: "my-app"})
→ Incoming calls: loginHandler, apiMiddleware
→ Outgoing calls: checkToken, getUserById
→ Processes: LoginFlow (step 2/5), TokenRefresh (step 1/3)
repo is required once more than one repository is indexed, and may be omitted
with a single one.
Example: "How does payment processing work?"
1. list_repos {} → total: 1 (my-app) — bind it
READ gitnexus://repo/my-app/context → 918 symbols, 45 processes
2. query({search_query: "payment processing"})
→ CheckoutFlow: processPayment → validateCard → chargeStripe
→ RefundFlow: initiateRefund → calculateRefund → processRefund
3. context({name: "processPayment"})
→ Incoming: checkoutHandler, webhookHandler
→ Outgoing: validateCard, chargeStripe, saveTransaction
4. Read src/payments/processor.ts for implementation details
5. Answer, noting: Repository my-app, index current
Had step 1 returned two repositories, every call above would carry
repo: "my-app".
Version history
-
v2.2.0
GitHub ↗
Original release notes
# FrontAgent v2.2.0 FrontAgent v2.2.0 is a minor release after v2.1.1. It ships the new Electron desktop client, headless non-interactive CLI mode, session resume, lifecycle hooks, declarative permission rules, context zone budgets, the `@frontagent/mcp-web-fetch` adapter, a reproducible SDD ablation evaluation framework, and a set of correctness and security fixes across the CLI entry path, the hallucination guard, and the LLM provider layer. ## Highlights - New Electron desktop client with a typed IPC contract, Task Console + Settings UI, accessibility semantics, and multi-platform zip archives attached to GitHub Releases. - Headless non-interactive CLI mode with a validated JSON output contract exposing artifacts and security denials. - Session resume with schema-validated session records and cross-step file context hydration. - Lifecycle hooks with explicit project-hook opt-in and hardened hook plumbing. - Declarative permission rules and context zone budgets on the core execution path. - Reproducible SDD ablation benchmark: frozen 30-task set, two-arm orchestrator, machine-checkable acceptance, published negative findings with reproduction guide. - Global `fa` bin invocations work again (symlinked entry-path fix), and `hallucinationGuard.checks` is genuinely honored on the executor path without weakening the project-root security boundary. ## Added - **Desktop client**: typed IPC contract + execution reducer, Task Console and Settings renderer (React + Vite), main-process runtime bridge + settings store, IPC-failure degraded states, ARIA live regions and navigation semantics, electron-builder packaging publishing multi-platform zips to GitHub Releases, and desktop documentation. - **Headless CLI**: `--output` validation, artifacts and security denials in the JSON payload, stdout interception during JSON runs, top-level error classification. - **Session resume**: full step schema, order-independent resume unlock, cross-step file context hydration, session records validated on load. - **Lifecycle hooks**: explicit opt-in for project hooks, per-tool outcome observation in postToolUse, log-callback failure isolation. - **Permissions**: declarative permission rules; in-session derived allow rules with literal-wildcard escaping; bare tool rules never derived from always-allow approvals. - **Context**: zone budgets with guaranteed postconditions and a single compaction summary; AGENTS.md project instructions with byte-capped reads. - **MCP**: `@frontagent/mcp-web-fetch` adapter package wired into the agent registry and planner. - **Prompts**: external-knowledge, security-engineering, and code-minimalism disciplines in codegen/planner; security review dimension in the code-quality sub-agent. - **Evaluation**: frozen 30-task ablation set, typecheck-clean fixture project, two-arm orchestrator with resume, acceptance check runner, results report and reproduction guide. - **Docs**: verifiable npm downloads counter with daily refresh. ## Fixed - **CLI entry**: global bin symlinks (`fa` via npm/pnpm/homebrew) no longer exit silently; the direct-entry guard resolves the symlinked argv path. (#396) - **Hallucination guard**: `hallucinationGuard.checks` is honored by `validateFilePath` / `validateCode` on the executor path; project-root containment remains enforced when `fileExistence` is disabled. (#386) - **LLM provider**: AI SDK migrated to the v5 line (clears GHSA-rwvc-j5jr-mgvh); OpenAI provider pinned to Chat Completions for OpenAI-compatible base URLs. - **Planner**: `web_fetch` actions preserved in generated plans. - **Agent**: dependency recovery uses the project package manager. - **Desktop**: default-workspace setting takes effect; telemetry auto-scroll only at bottom; no demo content in TaskComposer; settings saves announced to assistive tech. - **Runtime**: session ids constrained to the sessions dir with atomic writes; real taskId on failed taskComplete hooks; win32 process-tree kill. - **Workflow gates**: workflow-rules test accepts the vars-based self-hosted Repo Guard runner. (#397) ## Changed - **CI**: Repo Guard on a self-hosted Claude Code engine with allowlisted fork actors under `pull_request_target`; catch-all CODEOWNERS; OpenRouter provider order passthrough. - **Dependencies**: ts-morph ^28; AI SDK v5 line. ## Known Issues - `hallucinationGuard.enabled` is still dead config on the agent path; only `checks` is consulted. Tracked in #400. ## Verification - `pnpm quality:precommit` (lint, typecheck, workspace tests, workflow rules) green at release. - CLI symlink invocation verified against the packaged bundle (`fa --version` via a bin symlink). ## Compatibility - CLI package version: `[email protected]`. - VS Code extension version: `[email protected]`. - Node.js requirement: `>=20.0.0`. - VS Code requirement: `^1.120.0`.
-
v2.1.1
GitHub ↗
Original release notes
# FrontAgent v2.1.1 FrontAgent v2.1.1 is a patch release after v2.1.0. It focuses on maintainability, security hardening, workflow reliability, and test coverage across the agent execution path, Filesense, hybrid RAG, memory persistence, runtime MCP handling, and the VS Code webview. ## Highlights - Decomposed the core agent and executor orchestration paths into smaller, focused helpers. - Split Filesense engine responsibilities for helpers, indexing, notes, query, and schema orchestration. - Extracted memory persistence writers and preload/recall helpers. - Extracted semantic search orchestration from the hybrid RAG knowledge-base path. - Hardened VS Code webview nonce generation and split webview renderers. - Restored and hardened local GitNexus contract gates and worktree bootstrap checks. - Expanded focused unit coverage across CLI, runtime MCP, executor, agent, context, Filesense, memory, RAG, and VS Code webview behavior. ## Changed - **Executor orchestration**: Tool-call handling, validation skip handling, progress enforcement, step feedback, and step trace recording now live in focused modules. This keeps execution behavior stable while reducing the size of the central executor implementation. - **Agent orchestration**: Context gathering, facts update flushing, project prescan preparation, task execution setup, and execution callback wiring were extracted from the main FrontAgent flow. - **Context management**: Fact serialization, facts merging, filesystem fact updates, and module dependency graph updates were split out of `ContextManager`. - **Planner phases**: Planner phase helper logic was split into dedicated modules with additional tests. - **Filesense engine**: Engine helper logic, index persistence, notes generation, query result handling, and schema orchestration were separated into focused modules. - **Memory store**: Memory preload/recall behavior and persistence writer behavior were extracted from `MemoryStore`. - **Hybrid RAG**: Semantic search orchestration was extracted from the knowledge-base implementation. - **Runtime MCP**: MCP task invocation setup was split from the runtime MCP server handler path. - **VS Code extension**: Webview body, script, style, and template rendering were decomposed into smaller helpers. - **Code quality subagent**: Prompt policy logic was split into a dedicated helper. - **Tooling**: The temporary GitNexus release-candidate patch was removed and the Biome schema version was aligned. ## Fixed - **VS Code security**: Hardened webview nonce generation. - **Filesense query**: Preserved relative path semantics in query results. - **Filesense notes**: Preserved notes schema path ownership. - **Workflow contracts**: Restored the local GitNexus contract gate. - **Bootstrap checks**: Resolved relative core worktree paths and guarded bootstrap against mismatched worktrees. ## Tests - Added focused CLI command router coverage. - Added runtime MCP contract tests and schema assertion coverage. - Added hybrid RAG knowledge-base coverage. - Added executor tests for validation skipping, progress enforcement, step feedback, tool-call handling, and trace recording. - Added agent tests for context gathering, facts flushing, project prescan preparation, execution callbacks, and task execution setup. - Added ContextManager tests for fact serialization, facts merging, filesystem fact updates, and module dependency graph behavior. - Added Filesense tests for engine helpers, indexing persistence writes, notes generation, query behavior, and schema orchestration. - Added memory tests for preload/recall helpers and persistence writers. - Added VS Code webview tests for body, script, style, and template renderer extraction. - Cleaned Biome warnings in executor, shared utility, and LLM service tests. ## Dependencies - Updated production dependency lockfile entries from the Dependabot production dependency group. ## Compatibility - CLI package version: `[email protected]`. - VS Code extension version: `[email protected]`. - Node.js requirement: `>=20.0.0`. - VS Code requirement: `^1.120.0`.
-
v2.1.0
GitHub ↗
Original release notes
# FrontAgent v2.1.0 FrontAgent v2.1.0 is a minor release after v2.0.0. It adds Open Memory Gateway integration, publishes the OSS Harness workflow assets, expands test coverage across core runtime paths, and tightens CI, dependency, and maintainer workflow checks. ## Highlights - Added opt-in Open Memory Gateway integration for managed long-term memory. - Added OSS Harness assets for contributions, PR review, GitNexus contracts, local hooks, and repository workflow checks. - Expanded focused unit coverage for FrontAgent, Executor, PhaseRunner, ContextManager, LLM service, planner, memory, security, SDD workflow, mcp-filesense, and workflow rules. - Upgraded the development and runtime dependency set, including Biome 2.x, TypeScript 6.x, Vitest 4.x, Playwright 1.60.x, Turbo 2.9.x, AI SDK, MCP SDK, and LangChain-related packages. - Updated CI to run the full quality gate on Node 20 and Node 22 with one aggregate status check. - Packaged the VS Code extension as `frontagent-2.1.0.vsix`. ## Added - **Open Memory Gateway**: FrontAgent can now use an opt-in Gateway adapter to write Gateway-compatible Markdown memories, keep draft and active memories separate, and recall active memories while retaining the existing `.frontagent/memory` fallback path. - **OSS Harness**: Added contributor guidance, workflow documentation, GitNexus knowledge contracts, CODEOWNERS, issue templates, PR template, git hooks, and workflow rule tests. - **Local workflow scripts**: Added `agent:bootstrap`, `quality:predev`, `quality:precommit`, `quality:ci`, `quality:local`, `contract:*`, and `test:workflows`. - **Dependency maintenance**: Added `.env.example` and Dependabot configuration. ## Changed - Extracted `PhaseRunner` from `Executor` and step callback handling from `FrontAgent`. - Split Skill Lab behavior benchmarking, trigger benchmarking, improvement, reporting, and scaffolding into focused modules. - Introduced structured logging and migrated core debug output to shared logger utilities. - Tightened source type safety with stricter `noExplicitAny` coverage. - Raised the VS Code extension engine requirement to `^1.120.0`. ## Fixed - Patched high-severity dependency vulnerabilities through dependency upgrades and pnpm overrides. - Fixed Biome formatting and stricter typing failures introduced by merged test and Skill Lab changes. - Unified Node 20 and Node 22 CI matrix results under a single aggregate CI status. ## Test And CI - Added broad focused unit coverage for core, memory, planner, security, executor, LLM, ContextManager, mcp-filesense, SDD, shared logger, and workflow rules. - Added Contract Guard for PRs targeting `develop`. - Added Repo Guard workflow support for PR, issue, and issue-comment review paths with fork and actor safeguards. - Upgraded GitHub Actions dependencies to `actions/checkout@v6`, `actions/setup-node@v6`, and `pnpm/action-setup@v6`. ## Compatibility - CLI package version: `[email protected]`. - VS Code extension version: `[email protected]`. - Node.js requirement: `>=20.0.0`. - VS Code requirement: `^1.120.0`.
-
v2.0.0
GitHub ↗
Original release notes
## Highlights - **Architecture Refactoring**: All large monolithic source files decomposed into focused, single-responsibility modules - **565 Unit Tests**: Coverage increased from near-zero across the monorepo - **Biome**: Project-wide linter and formatter replacing ad-hoc ESLint configs - **Performance**: Lazy-load ts-morph (~400ms cold-start savings), async file I/O in RAG modules, 2MB bundle reduction - **Type Safety**: Eliminated all `as any` assertions across CLI, shared, and core packages ## Breaking Changes - Internal module paths changed due to refactoring. Public API from each package's `index.ts` remains unchanged. - Minimum Node.js version is now 18+. See [CHANGELOG.md](./CHANGELOG.md) for full details.
-
v1.0.9
GitHub ↗
Original release notes
## Bug Fixes - **mcp-shell**: Enforced the `timeout` parameter that was previously accepted but never used, preventing runaway commands from hanging indefinitely (default 60s with SIGTERM/SIGKILL escalation) - **mcp-shell**: Added a 10MB output size cap to prevent OOM when commands produce excessive stdout/stderr - **shared**: Fixed `matchGlob` to escape regex metacharacters (`.`, `(`, `)`, `[`, `]`, `+`, `{`, `}`) before glob-to-regex conversion — previously `src/utils.ts` would incorrectly match `src/utilsXts` - **shared**: Fixed `deepMerge` to skip `undefined` source values instead of overwriting existing target values - **mcp-file**: Fixed `isRegularFile` and `isDirectory` to return `false` for non-existent paths instead of throwing `ENOENT` ## Improvements - **shared**: Extracted `DEFAULT_LLM_TEMPERATURE` (0.2) and `DEFAULT_LLM_MAX_TOKENS` (4096) as shared constants, fixing inconsistent model behavior between CLI (0.2) and runtime-node (0.7) ## Install ```bash npm install -g [email protected] ``` **Full Changelog**: https://github.com/ceilf6/FrontAgent/compare/v1.0.8...v1.0.9
Only the five most recent versions are shown. View full version history at the source ↗
Current listing version
0.0.1
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 提供代码库探索、架构理解、执行流程追踪等能力,面向开发者高频刚需场景
- 具有明确实用价值,能显著提升日常开发效率
Highlights
- 触发词精准完整,覆盖多种变体,边界清晰
- description 和 When to Use 提供了清晰的触发场景和示例
Highlights
- Phase/步骤清晰(Workflow、Checklist),有出口条件
- 含端到端示例,frontmatter 完整,单文件未超 500 行
Highlights
- 工具来源明确(GitNexus),参数正确
- 覆盖主要异常(如索引过期、多仓库绑定),不可逆操作有确认机制
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Not specified in the source documentation.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.