docs: align incident triage, layout migration, and planner vs governance - #240
Draft
cursor[bot] wants to merge 1 commit into
Draft
cursor[bot] wants to merge 1 commit into
cursor[bot] wants to merge 1 commit into
Conversation
Rewrite the incident-triage tutorial onto pause-on-veto + resume_run, document migrate-layout copy semantics, and stop treating planner_mode as the governance switch. Also drop fabricated CLI policy flags and the missing llms-txt reference page. Co-authored-by: Sara Loera <sara@saraeloop.com>
5 tasks
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.
🧠 Noēsis Pull Request
Overview
Keep public docs aligned with the current runtime: incident approval continues a paused episode, layout migration is a copy-not-move CLI, and
planner_modeis not a governance switch.Type of Change
Docs added/updated
docs/tutorials/incident-triage.mdx,docs/tutorials/first-policy.mdx,docs/guides/write-policies.mdx,docs/guides/configure-planner-modes.mdx,docs/guides/configure-shared-storage.mdx,docs/reference/cli.mdx,docs/reference/configuration.mdx,docs/quickstart.mdx,docs/docs.json,llms.txtdocs/reference/llms-txt.mdx(nav already pointed at a missing page)Codepaths they cover
noesis/usecases/episode_runner.py(_build_snapshot),noesis/usecases/run_lifecycle.py,tests/runtime/test_run_lifecycle.pynoesis/domain/faculties/governance.py(rules.veto.danger,rules.veto.protected,rules.audit.sensitive)noesis/__init__.py(run,resume_run,process=),noesis.io.pathsnoesis/runtime/paths.py,noesis/infrastructure/layout_migration.py,tests/runtime/test_episode_dir_layout.py,tests/infrastructure/test_layout_migration.pynoesis/domain/config/settings.py(ALLOWED_CONFIG_KEYS)noesis/cli/__main__.py(run,--planner,migrate-layout; no--intuition/--policy)Key knowledge gaps addressed
ns.run(and Gradio) after a sealed episode instead ofgovernance_pause_on_veto+resume_runplanner_mode="minimal"as “skips governance”; enforce + pause-on-veto still runsPreActGovernornoesis run --intuition module:Classis not a shipped flagnoesis migrate-layoutwas a one-liner with no copy/skip/ep_*-only constraintsNOESIS_RUNS_DIR=/srv/noesis/episodesdoes not keep that path as the episodes root unless the parent is.noesisepisodes/_episodes/; index is.noesis/index/(ttl_days=30)docs.jsonlistedreference/llms-txtwith no page; rootllms.txtlinked unpublished/deprecated pagesfirst-episode/first-policy/incident-triagetutorials were missing from the sidebarMotivation & Context
Weekly docs automation. These pages were still teaching follow-up episodes for HITL and mixing planner vs governance, which fights the current lifecycle contract.
Technical Details
Documentation-only. No runtime, schema, or KPI changes.
Validation
Required
/tmp/noesis-docs-venv/bin/python -m pytest tests/runtime/test_run_lifecycle.py tests/runtime/test_episode_dir_layout.py tests/runtime/test_layout_paths.py tests/infrastructure/test_layout_migration.py tests/governance/test_pre_act.py tests/domain/test_process_identity.py tests/cli/test_process_commands.py -q(32 passed)docs/docs.jsonparsesSituational
npx --yes mintlify@latest broken-linksfromdocs/— no broken linksgit diff --check; fenced-code blocks balanced;PYTHONPATH=.smoke for unknownlabel/log_promptskeys andderive_process_identity(workspace_identity=..., process_name=...)ADR-003 Schema Governance Checklist
Not applicable (no schema/KPI changes).
Observability & Safety
No telemetry or behavior changes. Approval docs now warn that sealed runs reject interrupt/resume (
RunSealedError) and thatresume_rundoes not bypassPreActGovernor.Related Issues / References
tests/runtime/test_run_lifecycle.py::test_governance_pause_mode_emits_interrupt_checkpoint_and_halts_side_effects.noesis/episodes(flatep_<ULID>bundles)ns.run_using:examples/incident_triage/