test: prove unrelated project isolation
This commit is contained in:
parent
1c4aa79d1c
commit
1943c36ef3
12 changed files with 492 additions and 12 deletions
54
tests/fixtures/awesome-ski-game/.docforge/project.toml
vendored
Normal file
54
tests/fixtures/awesome-ski-game/.docforge/project.toml
vendored
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
schema_version = 1
|
||||
project_id = "awesome-ski-game"
|
||||
title = "Awesome Ski Game"
|
||||
adapter = "generic"
|
||||
|
||||
[sources]
|
||||
content_roots = ["handbook"]
|
||||
authority_files = ["DOCUMENTATION_POLICY.md"]
|
||||
|
||||
[derived]
|
||||
cache_root = ".docforge/cache"
|
||||
index = ".docforge/cache/index.sqlite3"
|
||||
|
||||
[changesets]
|
||||
root = ".docforge/changesets"
|
||||
|
||||
[[changesets.writers]]
|
||||
id = "ski-editor"
|
||||
families = ["proof", "riding", "safety", "session", "trail"]
|
||||
operations = ["create", "update", "move", "delete"]
|
||||
|
||||
[render]
|
||||
template_root = "site/templates"
|
||||
preview_root = ".docforge/previews"
|
||||
|
||||
[[render.views]]
|
||||
id = "field-guide"
|
||||
renderer = "generic_html"
|
||||
template = "field-guide.html"
|
||||
output = ".docforge/rendered/field-guide.html"
|
||||
title = "Awesome Ski Game Field Guide"
|
||||
families = ["proof", "riding", "safety", "session", "trail"]
|
||||
|
||||
[graph]
|
||||
allowed_relations = ["depends_on", "informs", "proves", "relates_to"]
|
||||
|
||||
[limits]
|
||||
max_source_bytes = 100000
|
||||
max_nodes = 100
|
||||
max_query_chars = 200
|
||||
max_results = 20
|
||||
max_traversal_depth = 4
|
||||
max_context_tokens = 2000
|
||||
max_changesets = 20
|
||||
max_changeset_operations = 20
|
||||
max_changeset_bytes = 100000
|
||||
|
||||
[[profiles]]
|
||||
id = "ride-day"
|
||||
families = ["proof", "riding", "safety", "session", "trail"]
|
||||
statuses = ["active", "current", "open", "ready", "verified"]
|
||||
required_nodes = ["session.first-descent"]
|
||||
token_budget = 900
|
||||
dependency_depth = 3
|
||||
4
tests/fixtures/awesome-ski-game/DOCUMENTATION_POLICY.md
vendored
Normal file
4
tests/fixtures/awesome-ski-game/DOCUMENTATION_POLICY.md
vendored
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
# Documentation policy
|
||||
|
||||
Files under `handbook/` own Awesome Ski Game documentation facts. DocForge indexes, contexts,
|
||||
changesets, previews, and rendered pages are derived and may be rebuilt.
|
||||
11
tests/fixtures/awesome-ski-game/handbook/proof/playtest.toml
vendored
Normal file
11
tests/fixtures/awesome-ski-game/handbook/proof/playtest.toml
vendored
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
[[nodes]]
|
||||
schema_version = 1
|
||||
id = "proof.carve-playtest"
|
||||
title = "Carve playtest proof"
|
||||
family = "proof"
|
||||
authority = "derived"
|
||||
status = "verified"
|
||||
tags = ["carving", "playtest", "proof"]
|
||||
summary = "Records that the edge-control fixture has a bounded test target."
|
||||
content = "The test target records grip, carve angle, skid state, and the route segment for each sample."
|
||||
proves = ["riding.edge-control"]
|
||||
14
tests/fixtures/awesome-ski-game/handbook/riding/edge-control.md
vendored
Normal file
14
tests/fixtures/awesome-ski-game/handbook/riding/edge-control.md
vendored
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
+++
|
||||
schema_version = 1
|
||||
id = "riding.edge-control"
|
||||
title = "Edge control"
|
||||
family = "riding"
|
||||
authority = "approved_plan"
|
||||
status = "ready"
|
||||
tags = ["carving", "controls", "snow"]
|
||||
summary = "Defines how player input produces grip, carve angle, and controlled skidding."
|
||||
depends_on = ["trail.glacier-bowl"]
|
||||
+++
|
||||
|
||||
Edge input changes ski grip continuously. Higher edge angles create tighter carved turns when the
|
||||
surface supports them; excessive angle or poor snow contact produces a controlled skid.
|
||||
14
tests/fixtures/awesome-ski-game/handbook/safety/avalanche-window.md
vendored
Normal file
14
tests/fixtures/awesome-ski-game/handbook/safety/avalanche-window.md
vendored
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
+++
|
||||
schema_version = 1
|
||||
id = "safety.avalanche-window"
|
||||
title = "Avalanche window"
|
||||
family = "safety"
|
||||
authority = "authoritative"
|
||||
status = "current"
|
||||
tags = ["conditions", "risk", "weather"]
|
||||
summary = "Defines the conditions that close exposed terrain during the test session."
|
||||
informs = ["session.first-descent"]
|
||||
+++
|
||||
|
||||
The session closes exposed terrain when wind loading crosses the configured safety threshold. A
|
||||
closure changes route availability but does not rewrite the terrain definition.
|
||||
14
tests/fixtures/awesome-ski-game/handbook/session/first-descent.md
vendored
Normal file
14
tests/fixtures/awesome-ski-game/handbook/session/first-descent.md
vendored
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
+++
|
||||
schema_version = 1
|
||||
id = "session.first-descent"
|
||||
title = "First descent session"
|
||||
family = "session"
|
||||
authority = "approved_plan"
|
||||
status = "active"
|
||||
tags = ["playtest", "route", "session"]
|
||||
summary = "Combines one route, one riding mechanic, and current safety conditions for a playtest."
|
||||
depends_on = ["riding.edge-control", "safety.avalanche-window", "trail.glacier-bowl"]
|
||||
+++
|
||||
|
||||
The first descent starts on the sheltered practice face, crosses the bowl, and exits through the
|
||||
marked lower route. The session records completion time, falls, controlled skids, and route closure.
|
||||
13
tests/fixtures/awesome-ski-game/handbook/trails/glacier-bowl.md
vendored
Normal file
13
tests/fixtures/awesome-ski-game/handbook/trails/glacier-bowl.md
vendored
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
+++
|
||||
schema_version = 1
|
||||
id = "trail.glacier-bowl"
|
||||
title = "Glacier Bowl"
|
||||
family = "trail"
|
||||
authority = "authoritative"
|
||||
status = "open"
|
||||
tags = ["alpine", "route", "snow"]
|
||||
summary = "Defines the terrain and route constraints for the first playable descent."
|
||||
+++
|
||||
|
||||
Glacier Bowl is a wide alpine route with one narrow entry, a sheltered practice face, and a marked
|
||||
exit. The playable route must keep the entry and exit readable in flat light.
|
||||
12
tests/fixtures/awesome-ski-game/site/templates/field-guide.html
vendored
Normal file
12
tests/fixtures/awesome-ski-game/site/templates/field-guide.html
vendored
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="docforge-render" content="{{ docforge_render_identity }}">
|
||||
<title>{{ docforge_title }}</title>
|
||||
</head>
|
||||
<body data-project="{{ docforge_project_id }}" data-view="{{ docforge_view_id }}">
|
||||
<header><h1>{{ docforge_title }}</h1></header>
|
||||
<main>{{ docforge_content }}</main>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue