Skip to content

Add Chronicle-style activity summaries#113

Merged
haasonsaas merged 1 commit intomainfrom
feature/chronicle-style-activity-summaries
May 3, 2026
Merged

Add Chronicle-style activity summaries#113
haasonsaas merged 1 commit intomainfrom
feature/chronicle-style-activity-summaries

Conversation

@haasonsaas
Copy link
Copy Markdown
Contributor

Summary

  • add agentd activity window presets, Markdown output, and local summary-resource writing
  • include Chronicle-style provenance, display ids, stale-after metadata, drop accounting, and GitHub PR workstream extraction
  • document the new local activity layer and its privacy/source-of-truth boundaries

Test Plan

  • swift test
  • xcrun swift-format lint --strict --recursive Sources Tests Package.swift
  • git diff --check
  • python3 scripts/chronicle_parity_audit.py --strict
  • smoke-tested agentd activity --window 10m --format markdown and --write-summaries against local batches

@cursor
Copy link
Copy Markdown

cursor Bot commented May 3, 2026

PR Summary

Medium Risk
Adds new local summary outputs and file-writing behavior for agentd activity, which could impact privacy/safety if sanitization or redaction is incomplete. Changes are contained to diagnostic/summarization paths and include new tests and explicit consumption guidance.

Overview
Adds Chronicle-style local activity summaries to agentd activity, including window presets (10m/6h/24h), selectable output (json vs markdown), and an optional --write-summaries mode that writes instructions.md plus timestamped resources/*.md files.

Extends ActivitySummary to include provenance and navigation metadata (stale-after timestamp, source batch ids, display ids), GitHub PR workstream extraction from sanitized URLs/metadata, and Markdown rendering that emphasizes the summaries are untrusted navigation aids with drop accounting retained.

Updates CLI help, documentation, and tests to cover the new flags/output, and introduces URLPrivacyRedactor usage in summaries to keep URL query/fragment redaction consistent with other local support surfaces.

Reviewed by Cursor Bugbot for commit 507c391. Bugbot is set up for automated code reviews on this repo. Configure here.

@haasonsaas haasonsaas merged commit c08ec09 into main May 3, 2026
4 checks passed
@haasonsaas haasonsaas deleted the feature/chronicle-style-activity-summaries branch May 3, 2026 03:38
Copy link
Copy Markdown

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

Bugbot Autofix is ON, but it could not run because the branch was deleted or merged before autofix could start.

Reviewed by Cursor Bugbot for commit 507c391. Configure here.

Comment thread Sources/agentd/ActivitySummary.swift
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