Repository navigation
Conversation
…path boundaries (#874)
This was referenced Oct 31, 2026
Closed
Closed
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.
Scope and base
Stacked on planning PR #878; implement part of #874. Avoid unreviewed wiki-engine migration.
Changes
scripts/llm_wiki.py, enforce write-oncexbraw-source capture, reject basename conflicts and symlink source/log directories, make exact replay idempotent, enforce local link confinement and schema-config shape, recursively index nested pages, and atomically replace generatedindex.md.tests/test_llm_wiki_safety.pywith negative controls for conflict, replay, concurrently contested same basename, symlink and link escape, nested pages and CLI error reporting.scripts/verify_llm_wiki_model.pywith 39 ordered traces plus a deliberate overwrite mutant;tests/test_llm_wiki_bounded_model.py.verify-llm-wikiandverify-llm-wiki-formalskills, feature maps, bounded driver and optional TLA+ model. Wire real CLI drive into offline CI.Verification truthfulness
New CI must run against the actual PR head and pass before this stack is considered ready. No claims of TLC execution, concurrency proof, SDK/provider-backed compilation, Geronimo runtime or independent multi-model Swarm/Arena/Interrogate evidence. TLA+ model is NOT RUN. Bounded serial traces are not a proof of process/interleaving crash safety. The raw file + human
log.mdare still two separate writes and cannot be called transactional.Rollback
Revert this PR; the old PStack wiki data is unchanged and no new mandatory dependency or daemon is introduced. Keep #874 open for independent review, formal checker qualification and remaining safety contracts.
Source-reviewed documentation delta and CI settlement (2026-10-31)
.llm-wiki/WIKI_SCHEMA.mdand.llm-wiki/wiki/concepts/llm-wiki-project-knowledge.mdto reflect structural-only validation, untrusted optional engines, the write-once CLI boundary and non-transactional human log.0029b35fad97aa19fd67c42f35bd0ff3ec6f15ce: Portable offline CI run 41215096803 SUCCESS. Earlier head674b2bf: run 41214985678 SUCCESS, with separate inspected wiki step showing9 passedexisting,11 passedsafety,3 passedbounded tests, 39 traces and detected overwrite mutant; structural skill scaffold PASS.