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.

Launch Interactive Sandbox 1-Page InfoSec Brief Privacy & OAuth Scopes

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.

  1. 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.
  2. Open from Space Sidebar or Apps Menu: Navigate to any space and click PageSweep Hygiene in the left space sidebar, or open Apps → PageSweep AI Readiness from the top navigation bar for a global space switcher.
  3. 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.
  4. Run your first 2-minute sweep: Click the Needs Action chip to review low-scoring pages, mark authoritative specs Evergreen, and export an audit CSV for space owners.

Permissions: PageSweep strictly uses api.asUser() and never elevates privileges via api.asApp(). Users only see spaces and pages they already have permission to view in Confluence, and archiving or labeling requires native Confluence edit/archive permission on the target page.

Quick-Start Video Walkthrough (2m 55s): End-to-end narrated PageSweep governance sweep with English closed captions.

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.
PageSweep Space Rovo Readiness Dashboard showing KPI strip and audit table
Figure 1: Space Rovo Readiness Dashboard with KPI strip, space switcher, Archived Snapshots button, Thresholds button, and Audit CSV export.

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
PageSweep Multi-Signal Score and Filter Chips filtered to Needs Action
Figure 2: Filter chips let admins slice immediately to Needs Action, Has Children, Stale, Evergreen, Missing Labels, or Needs Review.

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.

Platform Architecture Hub marked Evergreen with Verified Until stamp visible
Figure 3: Marking Platform Architecture Hub Evergreen stamps a visible Verified Until date and boosts the space's Avg Rovo Score.

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.

Archived Snapshots drawer listing archived pages with Parent ID badges and Restore buttons
Figure 4: Archived Snapshots drawer displays original parent IDs and provides 1-click hierarchy-safe restore via api.asUser().

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.

PageSweep Hygiene Threshold Settings modal with quick presets and label configuration
Figure 5: Per-space threshold configuration stored in Forge App Storage with instant space re-audit on save.

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
1Page IDStringConfluence numeric page ID
2Space KeyStringConfluence space key (e.g. ENG)
3TitleStringCurrent page title (RFC-4180 escaped)
4Rovo Readiness ScoreInteger (0–100)Computed Multi-Signal AI Hygiene score
5GradeEnumhealthy, watch, at-risk, or critical
6Rovo RiskEnumlow, medium, or high
7Age (Days)IntegerWhole days elapsed since last page modification
8Child PagesIntegerDirect child page count under this parent
9Body Length (Chars)IntegerPlain-text character count after stripping storage XHTML
10Evergreen ProtectedYes / NoWhether page matches any configured evergreen label
11VerifiedUntilISO-8601 / EmptyRecorded evergreen verification expiry timestamp
12Needs ReviewYes / NoWhether page carries a configured review flag label
13LabelsSemicolon listAll Confluence labels currently attached to the page
14SignalsSemicolon listHuman-readable labels of all active scoring signals
15Recommended ActionStringActionable remediation guidance for space owners
16Last Updated (ISO)ISO-8601Timestamp of latest Confluence page version
17Page URLRelative / Full URLDirect 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.