Worked Examples
Apply project audit history — Workspace
Apply project audit history — Workspace Application: Workspace Status: Useful first draft, not a production-verified procedure. Purpose Record material changes, actor identity and version transitions. Use this workflow only with p
Application: Workspace
Component: Project Audit Trail / Governance Ledger; related Version History, Change Review, and Institutional Audit Studio
Article type: Practical how-to / audit history
Source commit: 6c5dfee4803ace1dbb2aca563b0bb80f3bfbdd2b (source snapshot, not a production release)
Historical feature documentation: Project Audit Trail v0.28.0; historical Audit contract tests at v0.66.0
Supported deployed version: Not established; last verified deployed version: Not established
Status: Published — verification pending
Estimated reading time: 18–22 minutes
Goal
Reconstruct a defensible chronology of material project changes in Workspace while separating derived audit events from their authoritative activity, version-history, reconciliation, and governance records. Identify the project, event source, timestamp, action, version or restore-point reference, reviewer attribution when available, and gaps that prevent a conclusion. Produce a bounded audit export that can be independently inspected without disclosing research object bodies.
Acceptance objective: A reviewer can explain what changed and when from source records; the person responsible and the exact artifact revision are claimed only where independently attributable evidence exists. Otherwise report the attribution or revision as unknown.
Requirements
- Access to an authorized Workspace project and its relevant Audit, Version History, and Change Review records. Do not use another user’s account or grant.
- Known project ID, intended audit time window and event categories; a clearly stated purpose for the review.
- For developers: an independent checkout of
Content-Catalyst-LLC/sustainable-catalyst-workspaceand Node.js. Python 3.9+ is useful for the optional exported-JSON consistency checker. - For any deployment claim: a separately authorized observation of the running Workspace version, browser storage scope, environment, source/image digest and persistent source ledgers.
- A private evidence destination with access controls. Even when the exported JSON excludes project bodies, it can contain project titles, filenames, reviewer labels, event descriptions and decision rationale.
Evidence boundary: The documented Audit view is derived primarily from browser-local Workspace state. It does not prove the completeness of a server-side audit ledger, tenant-level legal identity, or time-synchronized multi-device history.
Procedure
Follow the ordered workflow in sections 1–15. First establish scope and source ledgers; then inspect and export the derived timeline; finally reconcile every consequential event against the underlying evidence. Commands are read-only source inspections or isolated synthetic checks. Do not use the audit view to authorize a publish, deletion, restoration, sync conflict resolution or scientific conclusion.
1. Understand the actual audit architecture
The historical Project Audit Trail & Governance Ledger is a read-only aggregation of existing activity and operational ledgers. The source helper SCWorkspaceAuditTrail.derive(state, options) builds events at read time and exportPackage(events, meta) creates a portable JSON snapshot. It does not store an independent shadow database of audit records.
The source code exposes derive, summary, and exportPackage. The documented event and export schemas are sc-workspace-audit-event/1.0 and sc-workspace-audit-export/1.0. See the actual audit helper and v0.28.0 architecture note.
Consequence: An event’s presence establishes what the helper derived from the source state; it does not automatically prove authenticated authorship, immutable retention, or an exact change to a particular artifact.
2. Identify authoritative sources and their limits
| Audit source | What it can help establish | What must be checked elsewhere |
|---|---|---|
| Project activity / lifecycle | Recorded project action or lifecycle declaration | Exact object before/after state and authenticated actor |
| Version History | Restore-point creation, verification or copy restoration | Snapshot fingerprint and matching source point |
| Account recovery / cross-device sync | Backup/restore or sync/conflict history | Device identity, server revision, and gaps across devices |
| Safe Actions | Reviewed operational action and reported outcome | Actual durable state and action receipt |
| Reconciliation | Accepted/declined change counts, reviewer label and receipt reference | Authoritative receipt, rationale and actual accepted changes |
| Collaboration / institutional handoff | Recorded request, response or transfer activity | Authorized participant identity and remote acceptance |
| Share / interoperability | Portable package or file import/export event | Actual file checksums, permissions and destination state |
This table describes available source families, not a guarantee that each currently running deployment retains or exposes every source.
3. Establish project, period and evidence scope
- Record the canonical project ID and the approved owner/workspace context. A title is helpful for humans but not a stable identity.
- Choose a UTC start/end time and specify whether local browser history, account recovery, or externally accepted actions are in scope.
- Record the expected source categories and relevant object, dataset, document or version references from their owners.
- Do not substitute a draft title, filename, or user-entered reviewer label for authenticated identity.
- Before concluding that an event is absent, check whether the originating ledger exists in the current browser and whether the view was filtered or truncated.
4. Inspect the Workspace Audit view
- Open the authorized Workspace installation and select the applicable project.
- Open the Audit workspace view if present in the running release. The inspected WordPress source and repository tests identify project and source filter controls; availability and exact labels in the deployed UI must be confirmed.
- Use the project filter to avoid combining activity across unrelated projects. Use the source filter to compare individual event families.
- Read each event’s
source,action,at,projectId,sourceRef,outcomeand available actor label. - Reopen the view after a safe read-only navigation/reload to check whether the originating history persists. Do not manufacture events on a production project to test the interface.
A missing Audit view in a running deployment is a version/configuration question, not proof that source history does not exist.
5. Export the bounded project timeline
Use the documented Audit export control, if offered by the actual deployment, to create a portable sc-workspace-audit-export/1.0 JSON file. The helper’s governing flags indicate derivedFromAuthoritativeLedgers: true, storedShadowDatabase: false, projectContentIncluded: false, and editable: false.
Completeness caveat: the helper defaults to a maximum of 500 events and caps requested output at 1,000. Older events can be omitted even if present in source state. An export is a time-bounded view, not a complete immutable institutional audit history. Preserve source ledgers separately where authorized.
Privacy caveat: no project/object bodies are intentionally included, but event metadata can still reveal research projects and people. Review it before attaching to public support requests.
6. Read the event schema critically
| Field | Meaning and interpretation |
|---|---|
id / source |
Derived event ID and source family; an ID is not automatically a globally unique immutable receipt ID |
projectId |
Project scope; confirm against the originating source record |
at |
Parsed ISO time; invalid source times fall back to 1970-01-01 in the current helper |
sourceRef |
Source history/receipt/restore-point reference; may not be an artifact revision |
actorLabel |
Text label when supplied; generally empty for many event families, and not proof of identity |
action / outcome |
Derived operation and source-reported outcome, which require follow-up validation |
derived / editable |
Indicates derived read-only presentation; not cryptographic tamper resistance |
The audit helper sorts descending by event time. A malformed time can appear as an old epoch record rather than raising an error. Treat this as an evidence-quality warning.
7. Reconcile the event against the authoritative ledger
- Choose one material event (for example, a restore point, reconciliation decision or sync conflict).
- Resolve its
sourceRefin the corresponding source ledger. Preserve the primary record or its approved fingerprint. - Compare the source timestamp, action, project ID, relevant revision and consequence with the derived event.
- For a material object change, obtain the object’s own revision/lineage record. A project-level audit event alone is insufficient to identify the precise changed artifact.
- Record exceptions explicitly: missing source record, incomplete version, unverified actor, timestamp discrepancy, or scope truncated.
Do not interpret a successful UI display or checksum as proof of the correctness of scientific research or the legitimacy of a decision.
8. Verify attribution rather than inferring it
The audit helper populates actorLabel from some source records, notably reconciliation reviewer labels. Other event types may have no actor label. A manually supplied label does not establish an authenticated user, organizational role, or legally accountable decision-maker.
For the question “who changed which artifact and when?”, require a chain of evidence: authenticated actor identity → authorized operation → immutable object/version reference → time-stamped source record → observed durable result. If any link is missing, state the limitation rather than inferring it from the audit panel.
For identity-sensitive assessments, inspect server-side authorization and session records only through an approved security-review process. Do not export raw credentials or unrelated personal records.
9. Compare version history and change review
Use Version History to identify saved restore points and source fingerprints, and Change Review to compare a selected point with current project state. These are separate capabilities with their own evidence contracts; the Audit view is a navigation and context layer.
The historical Version History implementation describes local snapshots, SHA-256 fingerprints, and restore as copy, not overwriting the active project. History stored in the browser is not automatically synchronized to the account cloud store. Change Review is a derived comparison and does not automatically merge or apply changes.
Sources: Version History and Restore Points · Project Diff & Change Review.
10. Locate and pin the actual implementation
On macOS or Linux, work from a fresh or explicitly isolated checkout. Record the tested commit before interpreting any observed code behavior.
gh repo clone Content-Catalyst-LLC/sustainable-catalyst-workspace workspace-audit-review
cd workspace-audit-review
git checkout --detach 6c5dfee4803ace1dbb2aca563b0bb80f3bfbdd2b
git rev-parse HEAD
git status --short
# Audit helper and existing reference tests
sed -n '1,110p' wordpress/sustainable-catalyst-workspace/assets/js/sc-workspace-audit-trail-v1.js
node tests/test_audit_trail_runtime.js
node tests/test_institutional_audit_studio_runtime.js
These commands inspect source and run existing JavaScript fixtures; they do not contact the deployed service. The historical Python contract tests may depend on release-manifest layout and plugin versions that have moved since their creation. Do not classify unrelated historical test failures as deployment verification.
11. Exercise the real audit helper with an isolated fixture
The accompanying developer package includes verify_project_audit_against_repo.js, which imports the actual audit helper from your checkout. It asserts project/source filtering, newest-first events, read-only markers, absence of private object bodies, and empty actor labels where source records do not identify an actor.
# From the downloaded developer package directory:
node verify_project_audit_against_repo.js /absolute/path/to/workspace-audit-review /tmp/sc-audit-demo.json
python3 audit_export_check.py /tmp/sc-audit-demo.json --project-id project-a
All events in this demonstration are synthetic. Passing it verifies selected source behaviors in a local runtime, not authenticated real-world authorship or the deployed application’s history.
12. Check a real export without changing it
For an authorized export, the package also includes audit_export_check.py, a read-only standard-library Python checker. It validates schemas, project scope, chronology, counts, derived/read-only flags and a small set of forbidden content-bearing keys, and records the exported file’s SHA-256.
python3 audit_export_check.py /private/approved/audit-export.json --project-id EXACT_PROJECT_ID
# For an independent file digest only:
python3 -c "import hashlib,pathlib,sys; print(hashlib.sha256(pathlib.Path(sys.argv[1]).read_bytes()).hexdigest())" /private/approved/audit-export.json
Important: this checker cannot verify signatures, actor identity, input ledger completeness, sanitized free text or deployment release status. Treat warnings such as missing actor labels, epoch dates, duplicated event IDs and 1,000-event saturation as review questions.
13. Positive and negative test matrix
| Case | Evidence and expected result |
|---|---|
| Known version-history event | Derived event matches the correct restore-point ID, action and time in the primary ledger |
| Project filter | A project-A export contains no event belonging to project B |
| Source filter | Version-history-only output excludes reconciliation and share events |
| Missing actor | Report actor as not established; do not manufacture identity from project ownership |
| Invalid timestamp | Detect and investigate the 1970 epoch fallback; do not treat it as an actual historical change |
| Wrong/unknown source reference | Mark the claim unverified pending primary-record reconciliation |
| Event limit reached | Disclose incomplete timeline coverage and compare source ledgers |
| Changed or unavailable source state | Distinguish current projection from previously retained export and recover source evidence when authorized |
| Private object body in export | Fail the privacy boundary; contain disclosure and do not publish the export |
| Forged/replaced export | Compare retained digest and primary-record evidence; a digest alone is not authenticated origin proof |
| Reviewer label only | Preserve the label while marking identity as unverified unless independently corroborated |
| Cross-device gap | Do not assume local event history is complete across devices |
14. Capture a reproducible review packet
An institutionally useful audit review should preserve, in a restricted evidence store:
- Review purpose, scope and time window in UTC.
- Workspace source/release identity and actual environment observed; do not replace unknown values with reference versions.
- Canonical project ID and source ledger names, with redacted owner information where required.
- The audit export file SHA-256, capture time, source references, export filter and known event limit.
- Primary source records or independently checked fingerprints for consequential changes.
- Attribution confidence, missing actor evidence and exact object-revision gaps.
- Positive and negative outcomes, reviewer identity verified through an authorized process, and unresolved limitations.
The audit export may be attached as an artifact of the review, but the audit export alone is not the entire evidence packet.
15. Distinguish institutional dossiers from regulatory certification
The Institutional Audit Studio can produce dossiers referencing audit, reconciliation, citation, decision and provenance evidence. Its documented model records source relationships and user-supplied attestations; it does not infer legal identity, certify compliance or mutate canonical source records.
Use an institutional dossier when an explicit bounded case record is needed, but link back to source evidence rather than treating the compiled package as the authoritative ledger. See Institutional Audit Studio architecture and its actual source helper.
16. Protect privacy, permissions and public claims
Keep project exports in approved storage. Audit metadata can contain sensitive titles, file names, document descriptions, reviewer names, and rationale. Remove or pseudonymize material only in a separate redacted copy that is clearly distinguished from the original; retain the original unchanged in the authorized evidence store.
A readable audit view does not imply permission to access or disclose underlying data. Do not use audit exports as a shortcut around project ownership, rights restrictions, research confidentiality, or institutional review.
Symptoms
- A project change is missing from Audit or appears under the wrong filter.
- The event has no actor, lacks an exact object revision, or shows the epoch timestamp.
- A recently restored project has unexpected old history, an export omits older records, or cross-device timelines disagree.
- The event says an operation proceeded, but the authoritative source or durable state disagrees.
- A reviewer requests proof of who changed an artifact and the audit event alone cannot establish it.
- An audit export or dossier includes metadata unsuitable for public disclosure.
Cause
Likely causes include project/source filters, missing or browser-local source history, event-limit truncation, invalid source timestamps, a derived event with no authenticated actor field, records lacking artifact-revision pointers, a stale browser state, or partial capture across devices. A synthesized project timeline may also lack evidence from a backend subsystem or a separate institutional ledger. These are not necessarily data corruption; some reflect explicit design boundaries of the inspected helper.
Troubleshooting
- Missing record: check the project ID, event family and 500/1,000-item limit; then query the appropriate authoritative source where authorized.
- Wrong time: inspect the original source timestamp; the helper substitutes 1970-01-01 for invalid date inputs. Do not edit the export to conceal this.
- Unknown actor: distinguish an empty actor label, a self-declared reviewer label and a verified authenticated actor. Escalate any identity-sensitive determination to the authorized identity system owner.
- Version mismatch: compare project version/restore-point fingerprints with actual current state. Restore as a copy only with authorization; do not overwrite a project to reconstruct history.
- Incomplete export: retain the observed export and document the truncation. Review primary ledgers for older records.
- Unexpected disclosure: restrict access to the export and involve the privacy/security owner. A JSON export with no project bodies can still contain sensitive metadata.
- Conflicting outcomes: preserve source receipts and current durable state separately, then perform read-only reconciliation before retrying any write.
Resolution
A finding is resolved only when the relevant primary source record and the derived event agree on scope, action, timestamp and applicable reference; any remaining attribution, time, completeness or revision gap is explicitly documented. Where a source ledger is missing, mark the reconstruction incomplete rather than fabricating history.
Do not modify source history, restore production data, grant access, publish research or automatically correct an audit event as part of this article. These actions require independent authority and a separately accepted recovery procedure.
Verification
Run the existing source-level audit fixture and the accompanying read-only export checker, then produce a small acceptance record listing:
- The pinned Git commit and tested code path.
- Positive and negative test results, including project isolation and private body exclusion.
- The precise event count and filter scope, with event-limit disclosure.
- One verified match to a primary source record for each material change.
- Whether the actor was authenticated, merely labelled, or not established.
- Whether any observed deployment can be tied to a supported release and its retention/restore behavior.
Local validation in the accompanying package: 11/11 independent Python checker tests passed and the Node.js fixture runner passed a syntax check. The Node runner still must be executed against the developer’s actual Workspace checkout; the original Workspace test suite and a deployed service were not executed for this article.
17. Acceptance criteria and decision record
| Acceptance criterion | Pass threshold |
|---|---|
| Project scope | All reviewed events belong to the canonical project ID |
| Primary source parity | Every consequential event sampled resolves to the correct authoritative source record |
| Attribution honesty | Authenticated actor established separately, or clearly recorded as not established |
| Time/revision integrity | UTC timestamps and version/source references agree; anomalies disclosed |
| Privacy | No research object bodies or prohibited information in the shared packet; metadata separately reviewed |
| Completeness | Filter, source-ledger availability, browser/device scope and truncation documented |
| Independence | Reviewer explicitly records findings; a software green check does not certify scientific conclusions or compliance |
18. Deployment and version boundaries
The inspected repository has a historical v0.28.0 Project Audit feature description, a related v0.66.0 contract test, a v1 audit-helper implementation, and later institutional audit capabilities. These are source and documentation anchors, not evidence that a named feature is available in the current production deployment.
To resolve the Knowledge Base’s native metadata checks, identify an actually supported Workspace release and a verified deployed version through a reviewed release manifest and authorized deployment observation. Do not enter a source commit or historical feature version into a field whose semantics require a verified production release.
19. Technical references
- Workspace Audit Trail JavaScript implementation — derive, filters, event construction and export boundaries.
- Project Audit Trail runtime test — repository-supplied synthetic assertions for events, filtering, summary and export.
- Audit Trail governance contract test — historical schema, WordPress view and governance assertions; release-manifest layout may have changed.
- Project Audit Trail & Governance Ledger v0.28.0 — original feature scope.
- Version History & Restore Points v0.23.0 — copy-based local restore points and fingerprints.
- Project Diff & Change Review v0.24.0 — derived revision differences and explicit decisions.
- Reconciliation Provenance & Decision Receipts v0.27.0 — authoritative reconciliation receipts and user-supplied reviewer labels.
- Institutional Governance, Provenance & Audit Studio v1.9.0 — dossier/attestation limits.
- Institutional Audit Studio source helper — structured dossier and portable package builder.
- Institutional Audit Studio runtime test — synthetic dossier and package checks.
Evidence status as of November 20, 2026: Source inspected at 6c5dfee4803ace1dbb2aca563b0bb80f3bfbdd2b; article and external test kit locally validated. Production operation, actor authentication, full retention, multi-device history, and any scientific finding remain unverified.
