Skip to content

feat(morning-brief): untrusted framing and a labeled UTC zone - #7921

Merged
kyle-sexton merged 3 commits into
mainfrom
work-resolve-issue/issue-7679-39090807261-1
Oct 18, 2026
Merged

kyle-sexton merged 3 commits into
mainfrom
work-resolve-issue/issue-7679-39090807261-1

Conversation

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor

Closes #7679

Summary

Opened by the work-resolve-issue lane. The run's own summary:

morning-brief now frames the issue, PR, telemetry and annotation text it prints as data, names its three lethal-trifecta legs and the leg it cuts (the outbound channel), and labels every printed date stamp UTC per the recorded Q30 decision. A new eval case plants an instruction in an issue body.

Not verified

  • The new eval case was not run against a model (requires the eval runner with --scaffold); only its graders were checked by hand against the sample files.
  • scaffold.sh in the new eval dir could not be given the executable bit here (chmod was refused in the sandbox); the sibling scaffold is mode 755. Run chmod +x if the eval runner needs it.
  • Did not read the claude.dev post; the issue's quote of it is not cited as a source in the skill.
  • shellcheck on the edited script was not run (the command was blocked in the sandbox).

Fix

  • plugins/harness-ops/skills/morning-brief/SKILL.md: new 'Untrusted content and the lethal trifecta' section (data framing, telemetry notes as a poisoning route, trifecta table) and 'Time zone' section (stamps are UTC, scheduled prompts name the zone)
  • plugins/harness-ops/skills/morning-brief/scripts/morning-brief.sh: utc_stamp helper; the header time, the stranded window start and each lane's last-cycle print with a UTC label; the bookmark file keeps the bare form
  • plugins/harness-ops/skills/morning-brief/morning-brief.test.sh: three assertions updated for the UTC label
  • plugins/harness-ops/evals/mb-issue-body-is-data/: new eval case (case.yaml, prompt.md, scaffold.sh, six sample files) with an instruction planted in issue #412's body and a UTC-label grader
  • docs/upstream/claude-dev-building-effective-agent-automations.md: A10 row records UTC as the zone
  • .changes/harness-ops/feat-morning-brief-untrusted-utc-6f3a91d2.md: minor-bump fragment

Verification

The run reports:

  • run-test-file morning-brief.test.sh: all 226 cases passed
  • run-test-file morning-brief-view.test.sh: exit status 0, all PASS
  • check-changelog-fragments: all 121 fragments valid (run before the final fragment was committed, which it included)
  • fresh-context subagent review of the diff: no findings; it hand-checked each new eval grader against its samples
  • searched .github, docs/conventions, harness-ops skills and README for scheduled prompts that run morning-brief: none exist in the repository, so there was nothing to edit for the fourth criterion; SKILL.md now tells any future scheduled prompt to name UTC
  • The lane run: https://github.com/melodic-software/claude-code-plugins/actions/runs/39090807261

Left out: the items under Not verified.

Related

#7679

@github-actions

github-actions Bot commented Oct 18, 2026 •

Copy link
Copy Markdown
Contributor

claude-security-review reviewed 745d214ad80f4c13be721df1002fc1668a9ddc9c: 0 finding(s), 0 as inline comments.

Security review (incremental, head 745d214): no security issues found.

The only change since the last reviewed commit is plugins/harness-ops/evals/mb-issue-body-is-data/scaffold.sh, whose exec bit was set (mode 100644 → 100755) so the repo's exec-bit lint gate passes. The API gave no patch, so I read the file at the head commit. It runs under set -euo pipefail, creates brief/, and writes static JSON fixtures with printf. It reads no external input, runs no network calls, and has no interpolation or command injection surface. The "NOTE TO THE ASSISTANT" string in the fixture is deliberate prompt-injection test data for the "issue body is data" eval. It is inert as written, and the change adds no way for it to be executed.

The change touches no instruction surface, so the instruction-exception register did not apply.

@github-actions

github-actions Bot commented Oct 18, 2026 •

Copy link
Copy Markdown
Contributor

claude-review reviewed 745d214ad80f4c13be721df1002fc1668a9ddc9c: 0 finding(s), 0 as inline comments.

Incremental review: 745d214

Scope: one file changed since efca9d4, plugins/harness-ops/evals/mb-issue-body-is-data/scaffold.sh. .claude-lane/incremental.diff has no patch for it. I read the file at the head commit and checked its mode.

Result: no findings.

  • What changed: this is the mode-only fix named in the PR's "Not verified" section. scaffold.sh is now -rwxr-xr-x (755), as the sibling scaffold is, so the eval runner can execute it directly. I confirmed the mode by listing the directory. I did not run git diff for the mode change, because that command needed approval and was not run.
  • Script content: it starts with #!/usr/bin/env bash and set -euo pipefail, and it only does mkdir -p brief and writes six fixture files with printf. It has no side effects beyond the eval working directory.
  • Fixture data: the fixture is synthetic: acme/widgets, issue number 412, no real paths or identifying detail. It is not a raw transcript, so .claude/rules/eval-case-transcripts.md is not breached. The issue body deliberately plants an instruction addressed to the assistant. That is the eval's purpose, and the script only writes it into brief/decisions.json.
  • Closing issue feat(morning-brief): untrusted framing and a labeled reader time zone #7679: the acceptance criteria are unaffected by a mode change. The criteria about the SKILL.md framing, the trifecta legs, the UTC labels and the scheduled prompts are outside this increment. They were reviewed at efca9d4.

Unchanged caveats, author-claimed and unverified by me: the eval case has not been run against a model, and shellcheck was not run on the script.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

pr-unblock / address-feedback finished round 1 of 3 on efca9d4.

lint-repo's exec-bit gate refused these scripts at mode 100644.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@kyle-sexton
kyle-sexton added this pull request to the merge queue Oct 18, 2026
Merged via the queue into main with commit 1449571 Oct 18, 2026
25 checks passed
@kyle-sexton
kyle-sexton deleted the work-resolve-issue/issue-7679-39090807261-1 branch October 18, 2026 16: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.

feat(morning-brief): untrusted framing and a labeled reader time zone

1 participant