Skip to content

docs(skills): add tutorial writing guide - #540

Merged
Jammy2211 merged 1 commit into
mainfrom
feature/tutorial-documentation-style
Oct 24, 2026
Merged

Jammy2211 merged 1 commit into
mainfrom
feature/tutorial-documentation-style

Conversation

@Jammy2211

Copy link
Copy Markdown
Contributor

Summary

  • add a canonical writing guide for scientific Python scripts, notebooks, worked examples and HowTo lessons
  • preserve the existing README/setup/Read the Docs guide as a separate, equally authoritative resource
  • make /docs select the tutorial guide, the people-facing guide, or both according to the material
  • extend review and focused contract tests to enforce the single-source split

The tutorial guide captures the approved COSMOS-Web Ring tone, the __Contents__ / """__Section__""" notebook-source structure, concise repeated docstrings in advanced tutorial sequences, loading/evaluating/fitting distinctions, reproducible experiments, organism-wide scientific safeguards and the universal **🤖 Ask AI:** convention.

API Changes

None — internal documentation, workflow guidance and tests only.

Test Plan

  • python -m pytest -q tests/test_docs_style_contract.py tests/test_skill_install.py::test_command_surface_block_is_current — 4 passed
  • python -m pytest -q -n auto --ignore=tests/test_skill_install.py — 1263 passed
  • python3 bin/project_discovery.py check PyAutoBrain --root "$PYAUTO_ROOT"
  • bash bin/install.sh --check-agents-surface
  • git diff --check
  • committed ReviewSurface at e72ff50 — CLEAN, no risk flags or claims to falsify
  • scientific/workspace smoke — not applicable; no library API or workspace script changed

The unfiltered Brain run reached 1268 passes and 17 failures in pre-existing scoped-discovery/environment tests: install.sh passes scoped repository names after --root, which this checkout's argparse rejects, and subprocesses initially resolved /usr/bin/python3 without tomllib. Neither surface is changed by this PR; the affected non-installer suite passes with the project virtualenv first on PATH.

Human-authorized Heart RED override (development only)

The live human replied “I authorize” on 2026-10-24 after the exact current RED reason was surfaced:

  • PyAutoLens: 2 commit(s) behind origin

Authorization and evidence: #539 (comment)

This permits commit, push and opening this task's judge-tier development PR only. It does not permit merge, release, rehearsal, required-check bypass or any claim that this branch repairs Heart. Heart remains RED for release purposes; merge requires a separate human /prm and green required GitHub checks.

Full API Changes (for automation & release notes)

None — no public Python symbols, signatures, defaults or behaviours changed.

Generated by the PyAutoLabs agent workflow.

Make /docs select a dedicated scientific tutorial style guide while preserving the existing README/setup-page guide. Enforce the split in review and with focused contract tests.
@Jammy2211
Jammy2211 merged commit 168e84c into main Oct 24, 2026
2 checks passed
@Jammy2211
Jammy2211 deleted the feature/tutorial-documentation-style branch October 24, 2026 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant