Skip to content

docs: harness-agnostic session rules with async non-blocking I/O - #8

Merged
Igor Holt (igor-holt) merged 1 commit into
mainfrom
docs/session-operating-rules
Aug 31, 2026
Merged

docs: harness-agnostic session rules with async non-blocking I/O#8
Igor Holt (igor-holt) merged 1 commit into
mainfrom
docs/session-operating-rules

Conversation

@igor-holt

@igor-holt Igor Holt (igor-holt) commented Aug 31, 2026

Copy link
Copy Markdown
Member

Summary

Adds shared agent operating rules on diamondnode so every harness loads the same session contract. Companion to the .github repo PR on docs/session-operating-rules.

What landed

  • AGENTS.md, CLAUDE.md, GEMINI.md — session operating rules
  • .grok/rules/session-operating-rules.md — Grok auto-load

Canonical live copy on the host remains ~/.agents/session-operating-rules.md (already installed). This PR tracks that contract in git on a clean branch from main.

Session contract

  • Truthfulness: never report findings from still-running commands or empty MCP confirmations; mark unknown sources [UNVERIFIED]
  • Disk preflight: df -h / and tmp before long installs/builds/tests; stop under 5GB free
  • Async / non-blocking I/O: background long commands; no status-tool poll loops; every network/subprocess call has a timeout
  • Git: separate -m flags; stop if the branch carries unrelated commits; never commit PII/credentials
  • Contracts: Foundry verify with relative paths; Base 8453 only for live deployments

Test plan

  • Confirm files exist at repo root and .grok/rules/
  • Confirm no credential/PII content in the diff
  • CI / required checks green

View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

Every agent session must use background commands, bounded timeouts, and no status-tool poll loops. Canonical copy remains ~/.agents/session-operating-rules.md.

@claude claude 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.

⚠️ Code review skipped — your organization's overage spend limit has been reached.

Code review is billed via overage credits. To resume reviews, an organization admin can raise the monthly limit at claude.ai/admin-settings/claude-code.

Once credits are available, push a new commit or reopen this pull request to trigger a review.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

Copilot AI 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.

The job was not started because the account is locked due to a billing issue.

@sonarqubecloud

Copy link
Copy Markdown

@igor-holt
Igor Holt (igor-holt) merged commit 1b179da into main Aug 31, 2026
4 of 5 checks passed
@igor-holt
Igor Holt (igor-holt) deleted the docs/session-operating-rules branch August 31, 2026 19:30
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.

2 participants