Skip to content

Add a complexity-accretion tripwire - #152

Merged
lastobelus merged 4 commits into
mainfrom
agent/add-complexity-tripwire
Aug 14, 2026
Merged

Add a complexity-accretion tripwire#152
lastobelus merged 4 commits into
mainfrom
agent/add-complexity-tripwire

Conversation

@lastobelus

@lastobelus lastobelus commented Aug 14, 2026

Copy link
Copy Markdown
Owner

What changed

  • add one concise complexity tripwire to the repository's always-loaded agent guidance
  • require the babysit review loop to apply that canonical tripwire before acting on any later finding, pausing when it fires

The general tripwire pauses a defensive line of work when:

  • after a finding about a defensive concern has been addressed in the current issue or pull request, a later finding extends the same concern;
  • a proposed fix introduces unsupported persistence, protocol, ownership, retry, background-process, or compatibility machinery; or
  • review-driven safeguards double the original change or outgrow the protected behavior.

On a trip, the agent must report reachability, actor/interleaving, consequence, recovery, accumulated complexity, and the smallest alternative. User direction and a finite completion test are required before resuming.

Why

PR #141 showed that exact-head automated review can keep generating locally valid examples for an unbounded promise. Existing guidance required terminal-clean review but supplied no concrete stop condition. The result was a one-way complexity ratchet.

The general rule explicitly outranks terminal-clean babysitting while the concern is unresolved. The workflow-local guard places that decision at the point where babysitting would otherwise restart the review loop without duplicating the predicate.

Scope

This PR changes only AGENTS.md and .agents/skills/babysit/SKILL.md. It adds no framework, persistence, evaluation corpus, or application behavior.

Validation

  • git diff --check
  • npm run check
  • npm test — 712/712 passing
  • focused agent-guidance tests — 3/3 passing after guidance edits
  • skill-creator quick_validate.py — valid

lastobelus commented Aug 14, 2026

Copy link
Copy Markdown
Owner Author

Work intent

phase: completed
summary: "Complexity tripwire guidance merged in PR #152."
touch-points:
  - "AGENTS.md"
  - ".agents/skills/babysit/SKILL.md"
blocked-by: []
may-block: []
decisions:
  - "AGENTS.md owns the canonical classification and user-pause rule"
  - "babysit applies the canonical tripwire before any later review finding and pauses when it fires"
  - "the workflow guard does not duplicate the canonical predicate"
validation:
  - "npm run check"
  - "npm test: 712/712"
  - "focused agent-guidance tests: 3/3 after guidance edits"
  - "skill quick validation: valid"
  - "GitHub CI: Verify (Node 24) passed at exact head fb65db84"
  - "Codex: explicit no-major-issues result at exact head fb65db84"
mergeCommit: "bf096db3de6bd73394d8cbe1d92ef2f844c1feaa"
branch: "agent/add-complexity-tripwire"
thread: "start-issue-5555c07af61c04f1b806de5c"

@lastobelus
lastobelus marked this pull request as ready for review August 14, 2026 00:33

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: ba90012ed8

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread AGENTS.md Outdated
@lastobelus

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 4515f8a49b

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread .agents/skills/babysit/SKILL.md Outdated
@lastobelus

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. What shall we delve into next?

Reviewed commit: fb65db8480

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@lastobelus
lastobelus merged commit bf096db into main Aug 14, 2026
1 check passed
lastobelus added a commit that referenced this pull request Aug 14, 2026
Promote the approved babysit rewrite into the canonical skill locations and update the structural guidance test to follow its explicit merge-reference disclosure.

Follow-up to #152.
lastobelus added a commit that referenced this pull request Aug 14, 2026
* Add complexity tripwire

* Stop unbounded babysit review loops

* Bound tripwire history to current work

* Delegate babysit stop to canonical tripwire
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