Loading...
Loading...
Review and promote staged wiki pages to their final locations. Use when WIKI_STAGED_WRITES=true and the user says "/wiki-stage-commit", "review staged pages", "commit staged writes", "promote staged pages", "approve staged changes", or "what's waiting in staging". Shows each staged file, lets the user accept or reject it, and moves accepted files to their final wiki locations. Rejected files are moved back to _raw/ for manual editing.
npx skill4agent add ar9av/obsidian-wiki wiki-stage-commit_staging/WIKI_STAGED_WRITES=truellm-wiki/SKILL.mdOBSIDIAN_VAULT_PATHWIKI_STAGED_WRITESWIKI_STAGED_WRITESfalseWIKI_STAGED_WRITES=true.env_staging//wiki-stage-commit # interactive review: show each file and ask accept/reject
/wiki-stage-commit --all # accept all staged files without per-file review
/wiki-stage-commit --reject-all # reject all staged files (move to _raw/ for manual editing)
/wiki-stage-commit --list # list staged files with summary, no changes$OBSIDIAN_VAULT_PATH/_staging/**/*.md$OBSIDIAN_VAULT_PATH/_staging/**/*.patch.mdStaged files: 4 new pages, 2 updates
New pages:
_staging/concepts/attention-mechanism.md (ingested 2 days ago)
_staging/entities/andrej-karpathy.md (ingested 2 days ago)
_staging/skills/fine-tuning-llms.md (ingested yesterday)
_staging/references/attention-is-all-you-need.md (ingested 3 hours ago)
Updates (patch files):
_staging/concepts/transformer-architecture.patch.md (target: concepts/transformer-architecture.md)
_staging/skills/prompt-engineering.patch.md (target: skills/prompt-engineering.md)_staging/--- New page: concepts/attention-mechanism.md ---
Title: Attention Mechanism
Tags: #ml #architecture
Summary: Core building block of transformers — computes weighted sum of values based on query-key similarity.
Tier: supporting
Confidence: 0.72
Sources: papers/attention.pdf
[Preview first 20 lines of body]
...
Accept [a], Reject [r], Skip [s], Preview full [p]?--- Update: concepts/transformer-architecture.md ---
Source: _staging/concepts/transformer-architecture.patch.md
Proposed additions (+):
+ Transformers outperform RNNs on tasks requiring long-range dependencies. ^[inferred]
+ New source: papers/survey-2026.pdf
Proposed deletions (-):
- The attention mechanism was first described in [Bahdanau 2015]. (to be replaced by updated claim)
⚠️ Conflict check: target page was modified 3 days after staging. Review carefully.
Accept [a], Reject [r], Skip [s], Preview full diff [p]?--all--reject-all--list_staging/<category>/page.md<category>/page.mdindex.mdupdatedindex.md$OBSIDIAN_VAULT_PATH/_raw/_staging/concepts/page.md_raw/rejected-concepts-page.md_staging/concepts/page.patch.md_raw/rejected-patch-concepts-page.mdrejected-updatedupdated⚠️ Conflict: target was updated since this patch was staged. Applying may lose recent changes.Apply anyway [y], Skip [s], Reject [r]?hot.mdlog.md- [TIMESTAMP] STAGE_COMMIT accepted=N rejected=M skipped=KStage commit complete.
✅ Accepted (N):
concepts/attention-mechanism.md → now live
entities/andrej-karpathy.md → now live
concepts/transformer-architecture.md → updated (patch applied)
❌ Rejected (M):
skills/fine-tuning-llms.md → moved to _raw/rejected-skills-fine-tuning-llms.md
⏭️ Skipped (K):
references/attention-is-all-you-need.md → still in _staging/
Staging queue: K files remaining+-index.mdlog.md_staging/