# SEC issuer disclosure evidence desk

Deliver filing, guidance and offering observations with exact issuer CIK grouping while keeping the underlying events and economic meanings separate.

Use EDGAR to establish issuer identity, then examine supported guidance and offering documents. This starter checks a Walmart filing, a specific historical Walmart earnings exhibit and a specific historical Seaport offering document. That small two-issuer watchlist makes document scope explicit; it is not a current all-company scanner or investment signal.

## Run the historical demo

Requires Node.js 22 or newer. Open a terminal in this unzipped folder. No package installation is needed.

```sh
node run-workflow.mjs
node run-workflow.mjs --demo --out ./demo
```

Preview and demo make no network requests and need no token. The demo writes dated public fixture observations; it does not test current sources or execute the recipe inputs. Read each fixture evidence date and the stated projection limits.

## Run a small live workflow

Read workflow.json, current Store pricing and the three input blocks first. Set your own APIFY_TOKEN securely in your shell environment. Do not paste the token into a file or shared screenshot. The runner sends it only in the Authorization header to api.apify.com.

```sh
node run-workflow.mjs --execute --out ./run-001
```

This command starts three sequential Actor runs when you explicitly execute it. Inputs are independent, not automatically rewritten from earlier outputs. Each run has a $0.01 Actor-charge ceiling, a 120-second platform timeout and a one-row input limit. The summed Actor-charge ceilings are $0.03; other platform/storage charges can be separate. A new start needs a new folder. No schedules, webhooks, accounts, messages or third-party uploads are created.

The starter verifies current public status, notice, default build input schema and start-plus-one-row PPE pricing before each launch. A changed schema or a price that no longer fits stops the package; it never silently raises the cap. The selected default build number is recorded and requested explicitly.

If interrupted after a run ID was saved, resume the same folder:

```sh
node run-workflow.mjs --resume --out ./run-001
```

A launch intent with no saved run ID is ambiguous. Inspect Apify Console before taking action; the script will not repeat that launch. Resuming reuses accepted run IDs and continues only unstarted steps. An existing lock requires checking that the old process is stopped before removing that lock file.

## Three source roles

1. [SEC EDGAR Filings Scraper - 10-K 10-Q 8-K API](https://apify.com/maydit/sec-edgar-filings-scraper) — Fetch one recent Walmart 8-K and preserve its reported CIK, accession and filing URL.
2. [Earnings Guidance Change Monitor - SEC Ranges](https://apify.com/maydit/earnings-guidance-change-monitor) — Extract at most one supported guidance observation from the explicitly selected historical Walmart earnings exhibit.
3. [Share Offering & Dilution Monitor - SEC Disclosures](https://apify.com/maydit/share-offering-dilution-monitor) — Extract at most one supported observation from the selected historical Seaport prospectus. It belongs to a different issuer from the Walmart examples.

## Work with the delivery

1. For your own issuer, confirm its digit-only CIK in an official SEC record. Use ciks arrays in all three input blocks, or choose specific official filing documents. Do not infer an issuer from a similar name or ticker.
2. Review issuer-evidence.csv. Only reported cik fields that contain a valid nonzero 1–10 digit string are left-padded and grouped; the original value remains available. Missing or invalid values stay unmatched.
3. Use accession, source URL and source dates to inspect each disclosure. An issuer group is a set of evidence links, not a merged event or a claim that two documents describe the same event.
4. Review guidance quote, accounting basis, fiscal period, currency basis and units before comparing ranges. Do not calculate a revision when comparable prior evidence is absent.
5. For offering rows, inspect eventStage and original text. Registered capacity, proposed sales, a priced offering and completed issuance are different; the package does not calculate dilution or predict a price move.
6. Deliver the source CSVs, issuer-evidence.csv and delivery.json together. Unknown filing dates remain unknown; observation time is not substituted for filing time.

The delivery folder contains one source table per Actor in JSON and CSV, review-queue.csv, a blank manual-crosswalk.csv and delivery.json. SEC adds issuer-evidence.csv and an exact-CIK grouping report. Original raw rows and run receipts stay in the parent folder. Nothing is sent elsewhere.

CSV distinguishes __MISSING__ from __NULL__, retains zero/false, quotes text and protects potential spreadsheet formula strings. JSON keeps original values. Import IDs as text to preserve leading zeros. Missing values are not converted to zero.

## Coverage and limits

- Only exact valid reported CIKs are grouped. No automatic match uses source URL, ticker, company name or document wording.
- Historical public fixtures describe Apple, Walmart and Seaport separately and omit guidance/offering CIKs. Their correct demo outcome is zero cross-source matches and two unmatched rows.
- The shipped guidance and offering document URLs are dated examples. Current issuer filings may have no supported observations; an empty dataset is not evidence that no guidance or financing exists.
- One-result and one-document caps do not establish complete filing or disclosure coverage. Summary flags and extraction confidence remain part of the delivery.
- The data is research evidence, not an investment recommendation. No returns, dilution percentage, comparable-range conclusion or causal claim is inferred.

Every live bundle retains SUMMARY when available. SUCCEEDED describes process completion; it does not establish complete source coverage, commercial usefulness, product compatibility or regulatory applicability. Do not ignore partial/capped/empty outcomes.

## Continue with related guides

- [Related workflow plan](https://mayd-it.com/data-tools/workflows/company-filings-and-capital-watch/)
- [Worked tutorial](https://mayd-it.com/data-tools/tutorials/sec-issuer-disclosure-timeline/)
- [SEC EDGAR Filings Scraper - 10-K 10-Q 8-K API input and output guide](https://mayd-it.com/data-tools/actors/sec-edgar-filings-scraper/)
- [Earnings Guidance Change Monitor - SEC Ranges input and output guide](https://mayd-it.com/data-tools/actors/earnings-guidance-change-monitor/)
- [Share Offering & Dilution Monitor - SEC Disclosures input and output guide](https://mayd-it.com/data-tools/actors/share-offering-dilution-monitor/)

## Refresh settled storage without starting runs

Apify dataset metadata can lag behind a terminal run. The runner reads the items endpoint even when metadata says zero, then compares downloaded rows with dataset itemCount and SUMMARY.rowsSaved or SUMMARY.datasetItemsSaved. All nine supported Actors write SUMMARY; if that record is absent, the runner first retries its GET at most 12 times, two seconds apart, and fails closed if it is still unavailable. It makes at most 12 dataset reconciliation passes, two seconds apart, and refuses to call mismatched empty storage a successful download.

After all three accepted run IDs exist, use `node run-workflow.mjs --refresh-results --out ./run-001` to reread those exact runs and storage using GET requests only. It cannot start a missing run. The prior journal, bundles and delivery are archived under refresh-history before refreshed files are written. Original Actor input, run IDs and build IDs remain unchanged. A reconciliation failure is a reason to inspect or refresh later, not rerun an Actor.
