Skip to content

Add AI-OS security research layer#8

Merged
PrzemyslaV88 merged 1 commit into
mainfrom
add-ai-os-security-research-layer
May 31, 2026
Merged

Add AI-OS security research layer#8
PrzemyslaV88 merged 1 commit into
mainfrom
add-ai-os-security-research-layer

Conversation

@PrzemyslaV88
Copy link
Copy Markdown
Owner

Summary

  • add ai-os operating layer with principles, safety contract, modes, decision gates, rubrics, workflows, prompts, schemas, examples, and fixtures
  • cross-link AI-OS from README, docs, templates, examples, roadmap, changelog, and AGENTS guidance
  • add AI-OS validation tools for required files, JSON schema parsing, and safety linting
  • include AI-OS checks in npm run check and npm test

Validation

  • npm install
  • npm run check:ai-os
  • npm run check
  • npm test

@PrzemyslaV88 PrzemyslaV88 merged commit 978add2 into main May 31, 2026
4 checks passed
@PrzemyslaV88 PrzemyslaV88 deleted the add-ai-os-security-research-layer branch May 31, 2026 01:13
Copy link
Copy Markdown

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

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: 8bcc82534f

ℹ️ 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 README.md

## AI-Assisted Security Research OS

This repo also includes an [AI-OS](ai-os/README.md) layer for using AI assistants responsibly during authorized bug hunting. The AI-OS defines operating principles, safety gates, modes, prompts, rubrics, schemas, and synthetic examples for AI-assisted evidence review and report preparation.
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Update the knowledge log for AI-OS docs

AGENTS.md requires knowledge/log.md to be updated when adding major documentation. This commit introduces the new AI-OS documentation layer and links it from the README, but knowledge/log.md still only records the 2026-05-20 baseline, so the repository log omits this major addition.

Useful? React with 👍 / 👎.

Comment on lines +56 to +57
if (line.toLowerCase().includes(phrase) && !educationalPhraseFiles.has(rel)) {
warnings.push(`${rel}:${lineNo}: review unsafe phrase '${phrase}'`);
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Fail unsafe AI-OS phrase hits

In npm run check:ai-os, non-exempt AI-OS files containing phrases such as bypass rate limits are only added to warnings, and the script still exits successfully because only failures are fatal. That means a new unsafe recommendation in an AI-OS Markdown file can pass CI with just a console warning, weakening the safety boundary this check is meant to enforce.

Useful? React with 👍 / 👎.

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