بنقرة واحدة
kb-conflict-resolve
Guide an agent through resolving open git rebase conflicts on degraded KB concepts.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Guide an agent through resolving open git rebase conflicts on degraded KB concepts.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
| name | kb-conflict-resolve |
| description | Guide an agent through resolving open git rebase conflicts on degraded KB concepts. |
| version | 1.1 |
When a git pull --rebase conflicts with a remote commit, Cartographer registers the conflict
and marks the affected concepts as status: degraded. This skill walks the agent through
resolving each conflict so the KB returns to a fully operational state.
Write operations fail with a message such as "git conflict detected and registered on N
concept(s)", or conflicts_list returns a non-empty list. (At operator level, sync_check
also reports open_conflicts > 0 — it is not advertised to agents under the default
"agent" tools profile.)
Call conflicts_list (no arguments). It returns a JSON array of conflict records, each with:
concept_id — the ConceptID of the degraded concept (e.g. shared/notes/c)local_sha — the local HEAD SHA before the rebase was attemptedremote_sha — the remote tip SHA after fetchbranch — the branch name (e.g. main)files — all git paths involved in the same rebase conflictdetected_at — ISO-8601 timestamp of detectionFor each conflicting concept, call concept_read with its concept_id.
The content reflects the local state after the rebase was aborted — Cartographer resets
to the remote state and adds status: degraded to the frontmatter. The local_sha field
in the conflict record tells you what the pre-conflict local version was (use git show <local_sha> at operator level if you need to compare the two versions directly).
Compare the current (local/remote) content with your original intent. Produce the authoritative reconciled version:
status: degraded from the frontmatter.Call concept_write with:
id: the concept_id from the conflict recordfrontmatter: the reconciled frontmatter without status: degradedbody: the reconciled markdown bodyThe write will trigger a fresh SyncIn (fetch + pull-rebase). Because the local history
has been reset to the remote state, the rebase succeeds and the write is pushed cleanly.
After a successful concept_write, call conflicts_list again to confirm the concept is
no longer listed. If it still appears (e.g. because the write also conflicted), repeat
from step 2.
Note:
status: degradedis a soft marker set by Cartographer to signal that the concept diverged from the remote. It is not a permanent status — removing it viaconcept_writeis the resolution action.
conflicts_list — list open conflicts (read-only)concept_read(id) — read the current content and content-hashconcept_write(id, frontmatter, body, [if_match]) — write the reconciled versionConfigure, operate, troubleshoot, or upgrade a Cartographer server or client; connect agents and manage Knowledge Bases.
Agent-guided procedure to import an existing non-OKF wiki or knowledge base (Obsidian vault, markdown folder, wiki export) into a Cartographer KB, incrementally and without big-bang LLM rewriting.
Packages the outcome of an analysis/design discussion into a self-contained GitHub plan issue (design → implementation handoff). Use when the user asks to "write the plan" following a discussion, or when a session needs to implement an existing plan issue.
Orchestrate implementation of one or more approved plan issues (label `plan`) into merged PRs — wave planning from cross-plan execution order, delegation to `dev` subagents in isolated worktrees, coordinator review, and ordered squash-merge with docs-append conflict resolution. Use when the user asks to implement/ship/land open plan issues (one or many). Sibling of the `plan` skill: `plan` writes issues (design → handoff), `implement-plan` consumes them (issue → merged PR).
Operator procedure to declare and provision a new Knowledge Base GitOps-style, so it survives pod restarts.
Guide for querying the infra map (rete expanded concept) of the homelab KB.