Skip to content

mono - chore: sync defense-in-depth files from agentic - #152

Merged
jaredwray merged 2 commits into
mainfrom
chore/agentic-sync
Oct 7, 2026
Merged

jaredwray merged 2 commits into
mainfrom
chore/agentic-sync

Conversation

@jaredwray

@jaredwray jaredwray commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

Summary

AGENTS.md now has the current agentic policy sections. The sections were absent. They match upstream commit e32418bda485f26930b664065a1b860d64173c79.

CI also failed on should handle a delete request with string data. mockhttp.org now returns 500 for that delete call. The test now uses a local fetch mock.

Changes

  • Append Simplified Technical English, Safe Chain, Test audit, and Pull requests to AGENTS.md.
  • Mock the delete call in test/base-service.test.ts so the test does not depend on mockhttp.org.

Verification

  • AGENTS.md matches agentic e32418b (skills/security/defense-in-depth-nodejs/templates/AGENTS.md).
  • pnpm exec biome check --error-on-warnings test/base-service.test.ts passes.
  • pnpm exec vitest run test/base-service.test.ts passes (14 tests).
  • Test audit: this pull request rewrites should handle a delete request with string data. The live host returns 500 (Code generation from strings disallowed for this context). The test still checks that delete() sends the data body and returns status 200 when the server returns 200. No test was deleted.

Files

  • AGENTS.md matches upstream commit e32418bda485f26930b664065a1b860d64173c79.
Open in Web Open in Cursor 

Append the current agentic sections to AGENTS.md.
The sections match upstream commit e32418b.

Co-authored-by: Jared Wray <me@jaredwray.com>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 7, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-07T14:30:29.370059Z 393097f PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@gemini-code-assist gemini-code-assist 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

This pull request updates AGENTS.md to include guidelines on Simplified Technical English (STE), Safe Chain shims, test audits, and pull request workflows. The review feedback suggests improvements to align the newly added text with ASD-STE100 STE standards (such as replacing 'free of charge' with 'free' and 'approximately' with 'about') and to correct a grammatical phrasing ('decide from who' to 'decide based on who').

Comment thread AGENTS.md
Comment on lines +9 to +10
Write in ASD-STE100 Simplified Technical English (STE). Get the current issue of the specification
free of charge from <https://www.asd-ste100.org>. STE applies to all text that you write for this

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

The phrase 'free of charge' is an idiom, which is not permitted in ASD-STE100 Simplified Technical English (STE). It is better to use 'free' or 'at no cost'.

Suggested change
Write in ASD-STE100 Simplified Technical English (STE). Get the current issue of the specification
free of charge from <https://www.asd-ste100.org>. STE applies to all text that you write for this
Write in ASD-STE100 Simplified Technical English (STE). Get the current issue of the specification\nfree from <https://www.asd-ste100.org>. STE applies to all text that you write for this

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Keep the upstream words at AGENTS.md:10. This line matches the agentic template at commit e32418b (skills/security/defense-in-depth-nodejs/templates/AGENTS.md). A local word change marks the section as locally edited. The next sync does not replace a locally edited section.

Comment thread AGENTS.md
The task does not stop when you open a pull request. Do these steps before you start a different
task:

1. Wait approximately 20 minutes for automated and human code reviews.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

In ASD-STE100 Simplified Technical English (STE), the word 'approximately' is not an approved word. The approved word is 'about'.

Suggested change
1. Wait approximately 20 minutes for automated and human code reviews.
1. Wait about 20 minutes for automated and human code reviews.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Keep the upstream words at AGENTS.md:74. This line matches the agentic template at commit e32418b (skills/security/defense-in-depth-nodejs/templates/AGENTS.md). A local word change marks the section as locally edited. The next sync does not replace a locally edited section.

Comment thread AGENTS.md
Comment on lines +76 to +77
3. Examine the code for each finding or change request. Decide if it is correct. Do not decide from
who the reviewer is.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

The phrase 'decide from who' is grammatically incorrect. It should be 'decide based on who' or 'decide because of who' to be grammatically correct and clear.

Suggested change
3. Examine the code for each finding or change request. Decide if it is correct. Do not decide from
who the reviewer is.
3. Examine the code for each finding or change request. Decide if it is correct. Do not decide based on\n who the reviewer is.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Keep the upstream words at AGENTS.md:77. This line matches the agentic template at commit e32418b (skills/security/defense-in-depth-nodejs/templates/AGENTS.md). A local word change marks the section as locally edited. The next sync does not replace a locally edited section.

@cursor

cursor Bot commented Oct 7, 2026

Copy link
Copy Markdown

The three comments ask for local edits to the copied sections. I left the text as it is. Each section matches the agentic template at commit e32418b. A local edit marks the section as locally edited, and the next sync does not replace it. I replied on each thread.

mockhttp.org now returns 500 for this delete call.
The test uses a local fetch mock and checks the sent body.

Co-authored-by: Jared Wray <me@jaredwray.com>
@codecov

codecov Bot commented Oct 7, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (17be7d6) to head (0883b44).

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #152   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            9         9           
  Lines          639       639           
  Branches       146       146           
=========================================
  Hits           639       639           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@jaredwray
jaredwray merged commit 1c45d51 into main Oct 7, 2026
9 checks passed
@jaredwray
jaredwray deleted the chore/agentic-sync branch October 7, 2026 19:35
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