Skip to content

fix(agents): defer closed file trees and label demo prompts - #653

Merged
harlan-zw merged 1 commit into
mainfrom
fix/agent-readability
Oct 14, 2026
Merged

harlan-zw merged 1 commit into
mainfrom
fix/agent-readability

Conversation

@harlan-zw

Copy link
Copy Markdown
Collaborator

🔗 Linked issue

❓ Type of change

  • 📖 Documentation
  • 🐞 Bug fix
  • 👌 Enhancement
  • ✨ New feature
  • 🧹 Chore
  • ⚠️ Breaking change

📚 Description

Collapsed file folders sent every hidden descendant in the initial HTML. Mount entries on first expansion and retain nested state when folded.
Demo prompts now expose their existing text as headings. Both changes support VISION Loop 1, discovery to run.

The production Skill capture converted to 170,823 characters. The local preview converted to 41,571, with the same Skill body hash.

🤖 AI disclosure: Harlan Agent Kit modified this description. My AI open-source policy.

@harlan-zw

Copy link
Copy Markdown
Collaborator Author

🤖 Agent verification of head 268d486cb774cecdc933d08afe952c16b9a5bbeb.

Compared the live Diagram Design Skill with a local Wrangler preview using its public source fixture.
The Skill body retained the same SHA-256 hash, 63c4e5ef78d1ea8600a9568a2b6e2adcacb8854773bf54c5164177f647811def.

  • Converted page size: 170,823 → 41,571 characters. The afdocs size check changes from fail to pass.
  • The recorded demo retains 579 visible characters. Its new heading changes the rendering check from warn to pass.
  • afdocs 0.22.2 passed both targeted checks on both preview pages.
  • Browser checks passed at 375px and 1280px: folder expansion, keyboard reopening, mobile popup dismissal, and demo prompt disclosure.

These measurements cover the two preview pages. The full live deterministic sample measured 95/A before this change.
The remaining live deductions include machine-readable discovery resources and the temporary retired sitemap.

@harlan-zw harlan-zw added the harlan-agent-review Pull request triage requires an adversarial Review. Adding this label manually always forces one. label Oct 14, 2026
@harlan-github-agent harlan-github-agent Bot added harlan-agent-review-required Pull request triage requires an adversarial Review for this head commit. harlan-agent-running An Agent holds a Task on this issue or pull request right now. and removed harlan-agent-review Pull request triage requires an adversarial Review. Adding this label manually always forces one. labels Oct 14, 2026
@harlan-github-agent

harlan-github-agent Bot commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

🤖 MERGED

Harlan Agent Kit posted this automated review. It is not Harlan's personal review or approval. AI open source policy. Last updated: 2026-10-14 02:03 UTC.

GitHub merged this pull request.

No material findings were recorded.

6486d811-de79-49ac-ab3b-60603e5d9dac

@harlan-github-agent harlan-github-agent Bot added harlan-agent-ready The automated Review passed every gate on this head commit. and removed harlan-agent-running An Agent holds a Task on this issue or pull request right now. harlan-agent-review-required Pull request triage requires an adversarial Review for this head commit. labels Oct 14, 2026

@harlan-github-agent harlan-github-agent Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Harlan Agent Kit posted this automated review. AI open source policy.

Automated Review: READY.

Read the Review results

@harlan-zw
harlan-zw merged commit cd77d9f into main Oct 14, 2026
8 checks passed
@harlan-github-agent harlan-github-agent Bot removed the harlan-agent-ready The automated Review passed every gate on this head commit. label Oct 14, 2026
@harlan-zw
harlan-zw deleted the fix/agent-readability branch October 14, 2026 02:54
@harlan-zw harlan-zw mentioned this pull request Oct 14, 2026
1 of 6 tasks
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