Skip to content

✨ feat: inspect real code activity and workspace diffs - #174

Merged
hanthor merged 3 commits into
deploy/upstream-v6-matrixfrom
feature/matrix-cascade-diffs
Nov 2, 2026
Merged

hanthor merged 3 commits into
deploy/upstream-v6-matrixfrom
feature/matrix-cascade-diffs

Conversation

@hanthor

@hanthor hanthor commented Nov 1, 2026 •

Copy link
Copy Markdown
Member

Goal

Make Code activity a passive way to inspect what Hive is writing, not a code-rain simulation. The owner chose both in-progress edits and published checkpoints, clearly labeled.

Changes

  • Add a visible Code activity link to the Activity Monitor and make Cascade a readable full-screen diff reader.
  • Preserve complete changed regions, indentation, blank lines, and repeated lines; green + additions and red − removals. Wrap long text instead of shrinking it.
  • Label actual managed-workspace snapshots In progress and existing identified-hive PR patches Pushed PR. Workspace ownership is not asserted authorship; timestamps mean observed, not typed.
  • Add dashboard.matrix.workspaces, separately default-off. Only configured managed agent directories or temporary subtrees owned by registered isolated agent UIDs, explicit public repository origins, authoritative GitHub visibility checks, and existing path/secret filters are eligible. Existing filesystem permissions remain in force. Unpublished code is not automatically safe to broadcast.
  • Keep capture read-only and bounded. Do not follow discovery symlinks; recheck temporary ownership and root new-file reads inside the repository. Disable external Git diff/textconv/fsmonitor helpers and configured clean/process filters.
  • Admit, deduplicate, page, and evict whole blocks. Add continuation/latest cursors and policy epochs so pagination does not lose paragraphs and policy revocation clears browser history.
  • Pause to inspect; hold when caught up. Reduced motion is static and scrollable. Replay is explicit and labeled, off by default. Decorative effects remain optional, addition-only, and bounded.

Verification

  • Browser component smoke used the actual public tuna-os/Tavern#323 diff: complete green/red paragraphs, real PR link, native scrolling and quiet idle, P pause, 390px wrapping, and reduced-motion transitions while paused. A discovered blank-on-motion-change bug was fixed and covered by a behavioral regression.
  • gofmt -l on all changed Go files: clean.
  • Regenerated the canonical embedded dashboard HTML from static-src.
  • No local Go tests/build/vet or documentation guards run, per AGENTS.md.
  • Full CI passed on e0c044e159d7c0c0fa45edd07897aea3e196c9cc: 27 successful jobs, three skipped, no coverage verdict.
  • Stamped ARM64/AMD64 artifacts passed; both downloaded checksums verified. Both running ARM64 binaries and Node-served HTML mounts matched the exact artifacts.
  • Native controlled changes in genuine public Tavern clones exercised Reef's managed-directory collector and School's isolated-UID temporary collector. Each feed advanced from 12 to 24 changed lines after another real filesystem edit; full paragraphs, blanks, repeated lines, green/red semantics and newly-received provenance were visible.
  • Fake-credential regions were omitted whole. Native pause held scroll; 390px reduced-motion rendering wrapped without horizontal overflow. The actual Activity Monitor toolbar link opened the reader.
  • Both authorized APIs returned 200 with no-store; anonymous and forged-role requests returned 401. No fresh native pushed checkpoint was forced or claimed: that source retains existing identified-hive sentinel change detection, polling and quota gates.

Pilot

Deployed to Reef and School at e0c044e15; Hub remains on 230f745. Reef was verified before School. Both seed/runtime configs deliberately enable workspace capture; existing allowlists, path exclusions, permissions, credentials and SDLC guards are unchanged.

Stopped-service snapshots include data, both configs, the override and temporary files. School's two existing temporary Git subtrees were restored before its replacement started, with original numeric ownership and permissions. Controlled fixtures were removed and transient verification buffers reset using same-container restarts. Clean feeds returned 200, workspaces: true, latest: 0, with no verification rows or cards. No generated filler, public Twitch broadcast or Hub restart.

Deployment hashes, CI links, native evidence and service-specific recovery:
fleet ledger and
Spindle operator guide.

Base is the existing deploy/upstream-v6-matrix pilot integration, not an upstream release branch.

Signed-off-by: James Reilly <jreilly1821@gmail.com>
@tuna-reef-hive

tuna-reef-hive Bot commented Nov 1, 2026

Copy link
Copy Markdown

@hanthor is now trusted for contributor-lane merging in this hive (last 5 merged PRs: no reverts or sentinel alerts). Applies to their open and future PRs here; CI, review verdicts, diff fences, soak and branch protection still apply.

@github-actions

github-actions Bot commented Nov 1, 2026

Copy link
Copy Markdown

Open PR overlap check

Base branch: deploy/upstream-v6-matrix

Conflicts are checked with every PR merged onto the current tip of deploy/upstream-v6-matrix, so a PR that only needs a rebase is not reported as conflicting with its siblings.

No conflicting open PRs or same-file overlaps were found.

@tuna-reef-hive tuna-reef-hive Bot added author/human A person pushed this PR themselves dco All commits are DCO signed-off role/trusted Author is trusted for unattended merge (trusted-author role or registry/claim tier in require_tiers) stage/050-review-pending Review swarm requested; awaiting a verdict for the current head labels Nov 1, 2026
Signed-off-by: James Reilly <jreilly1821@gmail.com>
@hanthor

hanthor commented Nov 1, 2026

Copy link
Copy Markdown
Member Author

CI integration corrections pushed in c41080d: shared viewer-timezone formatter; existing semantic style tokens without budget increases; source-neutral dashboard observation packets without a dashboard→sentinel dependency; real Git fixture initialization; explicit YAML-only workspace-setting coverage. Removed two source-text assertions in favor of the behavioral reader harness. Workspace diff collection also disables configured Git clean/process filters, with a real-checkout regression. Native browser preview shows complete public Tavern hivecommons#323 additions/removals, UTC observation time, and mobile wrapping without horizontal overflow. Fresh full CI and matched pilot builds dispatched. Reef, School, and Hub remain on their existing versions; no rollout until CI passes.

@tuna-reef-hive tuna-reef-hive Bot added stage/071-needs-author Human-authored PR: CI red, changes requested or conflicting; diagnosis posted, the author must act and removed stage/050-review-pending Review swarm requested; awaiting a verdict for the current head labels Nov 1, 2026
@tuna-reef-hive

tuna-reef-hive Bot commented Nov 1, 2026

Copy link
Copy Markdown

@hanthor this PR is held at stage/071-needs-author and the hive will not merge it yet.

Failing checks:

  • check-failure

Next: the hive does not push to your branch. Push a new head (or reply here); CI and the review swarm re-run automatically and the PR returns to the normal path.

Signed-off-by: James Reilly <jreilly1821@gmail.com>
@hanthor

hanthor commented Nov 1, 2026

Copy link
Copy Markdown
Member Author

Live coverage correction in e0c044e: School currently has a public allowlisted tuna-os/.github checkout in an isolated agent-owned temporary subtree, readable by the dashboard UID. Discovery now includes registered agent-owned temporary subtrees, rejects shared/root/service or ambiguous UID mappings, does not follow symlinked directories, and rechecks ownership before sampling. The traversal is shared with managed-directory discovery and recognizes hidden repository names such as .github. Added real-filesystem regressions for unknown/ambiguous owners, hidden repo discovery, changed ownership and symlink replacement. Full CI: https://github.com/tuna-os/hive/actions/runs/41263978136 ; matched builds: https://github.com/tuna-os/hive/actions/runs/41263978117 . Superseded full CI cancelled. Rollout must also preserve existing temporary agent checkouts through container recreation; no permissions or admission guards will be relaxed.

@tuna-reef-hive tuna-reef-hive Bot added stage/050-review-pending Review swarm requested; awaiting a verdict for the current head and removed stage/071-needs-author Human-authored PR: CI red, changes requested or conflicting; diagnosis posted, the author must act labels Nov 1, 2026
@hanthor
hanthor merged commit 006073d into deploy/upstream-v6-matrix Nov 2, 2026
59 of 60 checks passed
@github-actions

github-actions Bot commented Nov 2, 2026

Copy link
Copy Markdown

Thank you for your contribution! Your PR has been merged.

We'd love to hear how your experience was: share feedback

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author/human A person pushed this PR themselves dco All commits are DCO signed-off role/trusted Author is trusted for unattended merge (trusted-author role or registry/claim tier in require_tiers) stage/050-review-pending Review swarm requested; awaiting a verdict for the current head

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant