docs: organize canonical documentation layout (URGENTE)
Group all existing authored guides by domain and ownership, expose complete navigation, and preserve their public routes. Update physical path consumers and release configuration while retaining historical records. Document domain-based specs and ADR slugs without global numbering. Co-Authored-By: Codex <noreply@openai.com>
This commit is contained in:
@@ -62,7 +62,10 @@ const captureViaMcp = async (scenario: Record<string, unknown>) => {
|
||||
};
|
||||
|
||||
it("documents a finalization scenario and exit record that match the contract", async () => {
|
||||
const document = await readFile("docs/process-capture.md", "utf8");
|
||||
const document = await readFile(
|
||||
"docs/guides/runtime/process-capture.md",
|
||||
"utf8",
|
||||
);
|
||||
const blocks = [
|
||||
...(document.split("### Finalization interval")[1] ?? "").matchAll(
|
||||
/```json\n([\s\S]*?)\n```/gu,
|
||||
@@ -85,7 +88,10 @@ it("documents a finalization scenario and exit record that match the contract",
|
||||
itWithCaptureCapability.each(["cli", "mcp"] as const)(
|
||||
"hashes the documented complete report despite omitted terminal output through %s",
|
||||
async (adapter) => {
|
||||
const document = await readFile("docs/process-capture.md", "utf8");
|
||||
const document = await readFile(
|
||||
"docs/guides/runtime/process-capture.md",
|
||||
"utf8",
|
||||
);
|
||||
const example = document
|
||||
.split("## Hash a report independently of terminal output")[1]
|
||||
?.match(/```json\n([\s\S]*?)\n```/u)?.[1];
|
||||
|
||||
Reference in New Issue
Block a user