Skip to content

Record scene-update-cycle knowledge: Safe By Shape, review rules, case study#62

Merged
cubenoy22 merged 7 commits into
mainfrom
docs/scene-update-knowledge
Jul 6, 2026
Merged

Record scene-update-cycle knowledge: Safe By Shape, review rules, case study#62
cubenoy22 merged 7 commits into
mainfrom
docs/scene-update-knowledge

Conversation

@Lihi-AI

@Lihi-AI Lihi-AI commented Jul 6, 2026

Copy link
Copy Markdown
Collaborator

Docs-only PR distilling the July 2026 scene-update hardening effort into durable repository knowledge, per maintainer request. No code changes; Notion-specific operational details deliberately excluded.

What's in it

PHILOSOPHY.md — "Safe By Shape" (after Structure Over Vigilance): a sound component should be drawable as boxes and solid lines; a bug is water in a holey plastic bag — the shape itself is distorted. Four properties of a clean shape (one owner / drawn ports only / phases cannot be skipped / nothing reaches inside mid-phase), the dashed arrow as review-stopper, and the reshape-first-then-re-fix-deliberately principle. Also states the communication contract: correct but illegible fails review.

AGENTS.md — two additions:

  • Debugging And Review: concrete lifecycle/update-loop smells (scheduled-but-empty split brain, over-broad clear(), feeding a walked container, invisible boundary encodings), the instrument-before-attributing rule for behavior pins (a mis-attributed pin survived multiple reviews this month), the two complementary review modes (adversarial micro-reads vs cross-layer instrumentation), and the park-the-fix rule.
  • Working With The Maintainer (new section): design rallies (one topic, one page, shape diagram, concrete input→output example), concrete cases before abstractions, one failure mode = one issue = one test, and explicit per-case agreement for known-hole merges.

docs/case-study-scene-update-cycle.md — the evidence: the four failure modes (reentrant flush, stale pending target, apply-window silent drop, tracker-commit swallow) as input → expected → actual with the concrete EditText/counter example, how each was actually found (including the pin whose stated mechanism was wrong for months), why the fixes were parked (three findings pointing at one missing current/next cycle owner), and the smells that generalize.

Notes

🤖 Generated with Claude Code

…tudy

Distills the July 2026 hardening effort (issues #44/#45/#59/#60, PRs
#51/#58/#61, parked branch integration/scene-update-hardening) into
durable repository knowledge:

- PHILOSOPHY.md: new "Safe By Shape" section — safety a reviewer can
  see as boxes and solid lines; dashed arrows (invisible couplings) as
  review-stoppers; reshape first, then re-fix deliberately.
- AGENTS.md: lifecycle/update-loop smell list with real instances,
  instrument-before-attributing rule for behavior pins, the two
  complementary review modes, the park-the-fix rule, and a new
  "Working With The Maintainer" section (design rallies, concrete
  cases first, one failure mode = one issue = one test, explicit
  known-hole merge agreements).
- docs/case-study-scene-update-cycle.md: the four failure modes as
  input -> expected -> actual, how each was actually found (including
  the mis-attributed pin), why the fixes were parked, and the smells
  that generalize.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Docs-only PR capturing durable review/debugging knowledge from the July 2026 scene update-cycle hardening effort, turning a set of hard-won failure modes and review heuristics into repository-reference material (while intentionally excluding operational/Notion-specific details).

Changes:

  • Adds “Safe By Shape” to PHILOSOPHY.md as a structural review criterion and communication contract.
  • Expands AGENTS.md with concrete lifecycle/update-loop review smells and a new “Working With The Maintainer” collaboration section.
  • Introduces a case study document summarizing four compose/apply failure modes, how they were found, and why fixes were parked in favor of structural redesign.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.

File Description
PHILOSOPHY.md Adds “Safe By Shape” guidance to reinforce structure-first correctness and review legibility expectations.
AGENTS.md Adds practical review/debugging heuristics and maintainer-collaboration expectations derived from the hardening effort.
docs/case-study-scene-update-cycle.md New evidence-driven case study documenting the scene update-cycle bug family and transferable smells/lessons.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread docs/case-study-scene-update-cycle.md Outdated
Comment thread docs/case-studies/scene-update-cycle.md
Comment thread docs/case-studies/scene-update-cycle.md
Comment thread docs/case-study-scene-update-cycle.md Outdated
cubenoy22 and others added 6 commits July 6, 2026 10:08
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

@cubenoy22 cubenoy22 left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@cubenoy22 cubenoy22 merged commit c9d85d8 into main Jul 6, 2026
@cubenoy22 cubenoy22 deleted the docs/scene-update-knowledge branch July 6, 2026 01:45
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.

3 participants