PageSweep for Confluence Documentation
Everything Confluence admins and space owners need to install, configure, and run repeatable AI readiness and stale-content hygiene sweeps inside Atlassian Cloud.
1. Onboarding & First 2 Minutes
PageSweep runs 100% on Atlassian Forge (nodejs24.x). There are no external accounts to provision, no API tokens to generate, and no third-party servers to allowlist.
- Install from Atlassian Marketplace: A Confluence Site Admin clicks Get it now on the PageSweep for Confluence listing and selects the target Confluence Cloud site.
- Open from Space Sidebar or Apps Menu: Navigate to any space and click
PageSweep Hygienein the left space sidebar, or openApps → PageSweep AI Readinessfrom the top navigation bar for a global space switcher. - Grant OAuth Consent (
Allow access): On first visit, Atlassian prompts each user to authorise PageSweep to act on their behalf (api.asUser()). Click Allow access to run your first live audit. - Run your first 2-minute sweep: Click the
Needs Actionchip to review low-scoring pages, mark authoritative specsEvergreen, and export an audit CSV for space owners.
2. Space Rovo Readiness Dashboard & KPIs
Opening PageSweep immediately audits the current space using live Confluence REST API v2 data and renders four KPI cards across the top strip:
- Avg Rovo Score: Mean 0–100 AI hygiene score across all current pages in the space.
- High-Risk Stale: Count of non-evergreen pages older than your staleness threshold with high Rovo retrieval risk.
- Parent Pages w/ Children: Total parent hub pages audited in the space — never silently skipped like native Confluence Content Manager.
- Evergreen Protected: Authoritative pages carrying an evergreen label and exempted from staleness penalties.
3. Multi-Signal Scoring & Filter Chips
Every current Confluence page starts at 100 points and receives transparent, explainable deductions based on your active space thresholds:
| Signal | Trigger Condition | Penalty |
|---|---|---|
STALE_CRITICAL |
Non-evergreen page age ≥ 2× Stale Threshold (default ≥360d) | -45 |
STALE_OVER_THRESHOLD |
Non-evergreen page age ≥ Stale Threshold (default ≥180d) | -30 |
AGING_WARNING |
Non-evergreen page age ≥ Aging Threshold (default ≥90d) | -12 |
STALE_PARENT_HUB |
Stale non-evergreen page that owns ≥1 child page | -10 |
MISSING_LABELS |
Page has 0 Confluence labels | -15 |
THIN_STUB |
Plain-text body length below Minimum Substantive Length (default 120 chars) | -15 |
NEEDS_REVIEW_FLAG |
Page carries a configured review label (e.g. needs-review) |
-10 |
Tip: Start every quarterly Rovo cleanup by clicking the Has Children chip and sorting by Score ascending. Fixing or verifying stale parent hubs delivers the biggest accuracy gain for Rovo AI search.
4. 1-Click Evergreen Protection & Verified Until Stamps
Click Evergreen on any row to add the pagesweep-evergreen Confluence label and record an auditable Verified Until timestamp (default +180 days). The page's staleness and stale-parent penalties are immediately cleared without altering page body content.
5. Hierarchy-Safe Archive & 1-Click Restore Snapshots
When you click Archive and confirm inline, PageSweep saves a lightweight hierarchy snapshot (pageId, title, spaceId, parentId, archivedAt) into Atlassian Forge KVS before archiving the page in Confluence.
Open the Archived Snapshots drawer from the top toolbar at any time to inspect archived pages for that space and restore any page directly under its original parent ID in 1 click.
Security Note: Hierarchy snapshots store metadata only (no page body HTML) inside Atlassian Forge App Storage (storage:app). Snapshots never leave your Atlassian Cloud residency boundary.
6. Configuring Space Threshold Settings
Click Thresholds (180d) in the header to customise governance cadence for the selected space. Choose a quick preset (90 days, 180 days, or 365 days) or specify exact day counts, minimum substantive character length, and custom evergreen/review label lists.
7. Audit CSV Export Column Schema
Clicking Export CSV generates an RFC-4180 spreadsheet prefixed with a UTF-8 BOM (pagesweep-ai-hygiene-<SPACE>-YYYY-MM-DD.csv) 100% locally in your browser for clean opening in Microsoft Excel and Google Sheets.
| # | Column Header | Type / Format | Description |
|---|---|---|---|
| 1 | Page ID | String | Confluence numeric page ID |
| 2 | Space Key | String | Confluence space key (e.g. ENG) |
| 3 | Title | String | Current page title (RFC-4180 escaped) |
| 4 | Rovo Readiness Score | Integer (0–100) | Computed Multi-Signal AI Hygiene score |
| 5 | Grade | Enum | healthy, watch, at-risk, or critical |
| 6 | Rovo Risk | Enum | low, medium, or high |
| 7 | Age (Days) | Integer | Whole days elapsed since last page modification |
| 8 | Child Pages | Integer | Direct child page count under this parent |
| 9 | Body Length (Chars) | Integer | Plain-text character count after stripping storage XHTML |
| 10 | Evergreen Protected | Yes / No | Whether page matches any configured evergreen label |
| 11 | VerifiedUntil | ISO-8601 / Empty | Recorded evergreen verification expiry timestamp |
| 12 | Needs Review | Yes / No | Whether page carries a configured review flag label |
| 13 | Labels | Semicolon list | All Confluence labels currently attached to the page |
| 14 | Signals | Semicolon list | Human-readable labels of all active scoring signals |
| 15 | Recommended Action | String | Actionable remediation guidance for space owners |
| 16 | Last Updated (ISO) | ISO-8601 | Timestamp of latest Confluence page version |
| 17 | Page URL | Relative / Full URL | Direct Confluence link to open the page |
8. Troubleshooting FAQ
Why don't I see a specific restricted space in the space dropdown?
PageSweep runs strictly via api.asUser(). You will only see spaces and pages that your own Confluence account has permission to view. Ask a Space Admin to grant you view/edit access if a space is missing.
What happens if a user clicks Archive without Confluence archive permissions?
Confluence rejects the write call with HTTP 403, PageSweep displays a clear error toast, and no snapshot is recorded. Permissions are always enforced natively by Confluence.
Does PageSweep send Confluence content to external AI services or third-party servers?
No. PageSweep declares zero external, fetch, or remotes permissions in manifest.yml. All scoring happens deterministically inside Atlassian Forge, and CSV exports are generated locally in the user's browser.
What if the original parent page was deleted before I click Restore on an Archived Snapshot?
Confluence's restore endpoint falls back cleanly or notifies you via toast if the parent page is no longer current. You can also restore the parent page first from the Archived Snapshots drawer.
How is PageSweep data deleted if we uninstall the app?
All per-space threshold settings and archived snapshot metadata reside exclusively in Atlassian Forge App Storage (storage:app), which Atlassian automatically purges upon app uninstallation per Forge platform lifecycle rules.
9. Changelog
| Release | Highlights |
|---|---|
| v2.2 (Current) |
Added interactive zero-login browser sandbox (demo.html), automated walkthrough video with chapter navigation, 1-page printable InfoSec & Procurement Brief, and Atlassian App Editions pricing (Standard & Advanced).
|
| v2.2 | Shipped Multi-Space Executive Portfolio Rollup (1-click space drill-down), Clickable Score Breakdown drawer, Deactivated/Orphaned Owner detection, Bulk Governance Actions with Pre-Flight Child-Tree Impact Preview, KVS Readiness Trend History SVG chart, Custom Signal Weights, and tamper-evident SHA-512 Hash-Chained Audit Ledger & Compliance JSON Export. |
| v2.1 |
Added Hierarchy-Safe Archived Snapshots drawer with 1-click parent-preserving restore, Verified Until timestamps on Mark Evergreen, VerifiedUntil CSV export column, and Playwright Chromium E2E test suite.
|
| v2.0 |
Rebranded to PageSweep for Confluence (by Capeward), upgraded to Forge nodejs24.x runtime, enforced CI zero-egress & strict api.asUser() security gates, and shipped Multi-Signal AI Readiness Score with parent-with-child tree auditing.
|