added
This commit is contained in:
1 parent
f5aebfaf77
commit
87cc362513
1541 files changed
+25537
-2
No files matched your search
@@ -0,0 +1,79 @@
|
||||
# Future Map Insights Hub Implementation Receipt
|
||||
|
||||
## Result
|
||||
|
||||
Duplicated and adapted the Portable Identity Document Insights Hub publisher for the Future Map repository. The workflow now publishes all records whose `HubTags` contains the exact value `Future Map`, with no date cutoff.
|
||||
|
||||
## Approved Revision
|
||||
|
||||
- Plan: `tasks/add-future-map-insights-hub/repository-structure-plan.md`
|
||||
- Revision: 1
|
||||
- Approval: Explicit user request on 2026-08-12
|
||||
|
||||
## Created
|
||||
|
||||
- `scripts/future-map-insights-hub/publish_future_map_insights.py`
|
||||
- `scripts/future-map-insights-hub/run_daily.ps1`
|
||||
- `scripts/future-map-insights-hub/install_daily_task.ps1`
|
||||
- `scripts/future-map-insights-hub/README.md`
|
||||
- `data/README.md`
|
||||
- `data/insights-hub/README.md`
|
||||
- `data/insights-hub/hrecords/`
|
||||
- `data/insights-hub/files/`
|
||||
- `data/insights-hub/future-map-insights.md`
|
||||
- `docs/insights-hub-integration.md`
|
||||
- `tasks/add-future-map-insights-hub/`
|
||||
- Windows scheduled task `FutureMap-InsightsHub-Daily`
|
||||
|
||||
## Modified
|
||||
|
||||
- `README.md`: added the generated Insights Hub entry point and repository-map paths
|
||||
- `AGENTS.md`: added generated-data authority, retrieval, and editing rules
|
||||
- `repository.json`: declared the generated data collection and retrieval paths
|
||||
- `content-index.json`: added one stable entry for the aggregate digest
|
||||
- `CHANGELOG.md`: recorded the workflow and generated collection under Unreleased
|
||||
- `UPDATES.md`: recorded proposed manifest, smaller views, rollups, curated promotion, and reviewed publication options
|
||||
- `scripts/README.md` and `docs/README.md`: indexed the new workflow and architecture guidance
|
||||
|
||||
## Initial Publication
|
||||
|
||||
- Exact-tag records: 986
|
||||
- Copied JSON files: 986
|
||||
- Asset references copied: 546
|
||||
- Unique media files: 535
|
||||
- Missing assets: 0
|
||||
- Markdown entries: 986
|
||||
- Markdown inline-image references: 536
|
||||
- Missing Markdown images: 0
|
||||
- Approximate generated collection size: 168 MB
|
||||
|
||||
## Adaptations from the Reference Script
|
||||
|
||||
- Required tag changed from `External Platform Posts` to exact membership of `Future Map`.
|
||||
- The 183-day Markdown cutoff was removed; every matching record is published.
|
||||
- Output paths were changed to the Future Map repository.
|
||||
- The digest title and metadata were changed to Future Map.
|
||||
- Legacy literal control characters are accepted in otherwise valid source JSON strings.
|
||||
- Generated JSON and media folders are synchronized to the current selection, with stale generated copies removed.
|
||||
- A UTF-8 daily runner, local logs, installer, and Windows scheduled task were added.
|
||||
|
||||
## Schedule
|
||||
|
||||
- Task name: `FutureMap-InsightsHub-Daily`
|
||||
- Schedule: Daily at 6:00 AM local time
|
||||
- Run context: Eddie Soehnel’s interactive Windows session, required for user-specific Google Drive access
|
||||
- Action: Run `scripts/future-map-insights-hub/run_daily.ps1`
|
||||
- Git behavior: No stage, commit, push, or release actions
|
||||
|
||||
## Deviations
|
||||
|
||||
The requested run time was not specified, so 6:00 AM local time was selected. The generated collection is larger than the reference six-month view because the user requested all exact-tag records.
|
||||
|
||||
## Rollback and Recovery
|
||||
|
||||
- Disable or delete the Windows task `FutureMap-InsightsHub-Daily` to stop daily refreshes.
|
||||
- Remove the dedicated `data/insights-hub/` and `scripts/future-map-insights-hub/` folders to remove this workflow from the repository.
|
||||
- Revert its README, AGENTS, manifest, content-index, changelog, script-index, and docs-index entries.
|
||||
- Generated records and media remain recoverable from the authoritative Personal Organization database by rerunning the publisher.
|
||||
|
||||
No commit, push, release, or Gitea setting change was performed.
|
||||
@@ -0,0 +1,100 @@
|
||||
# Add Future Map Insights Hub
|
||||
|
||||
## Plan Control
|
||||
|
||||
- Task ID: `add-future-map-insights-hub`
|
||||
- Target repository: `C:\projects\future-map\future-map-OPEN`
|
||||
- Repository mode: `existing`
|
||||
- Profile: `documentation-guide` with a generated data collection
|
||||
- Revision: `1`
|
||||
- Status: `implemented`
|
||||
- Created: `2026-08-12`
|
||||
- Updated: `2026-08-12`
|
||||
- Approval evidence: The user explicitly requested duplication and adaptation of the Portable Identity Document Insights Hub workflow, a daily pull, and structured-artifact integration.
|
||||
|
||||
## Outcome
|
||||
|
||||
Publish all exact-tag `Future Map` Insights Hub records, associated local media, and a human-readable Markdown digest into the Future Map repository through a repeatable daily local workflow.
|
||||
|
||||
## Current State
|
||||
|
||||
### Facts
|
||||
|
||||
- The reference script selects `External Platform Posts`, copies matching JSON and media, and limits only its Markdown digest to 183 days.
|
||||
- The source currently contains 986 records whose `HubTags` array contains the exact value `Future Map`.
|
||||
- The Future Map repository already uses a documentation/guide profile with human, AI, manifest, and content-index entry points.
|
||||
- Existing repository changes must be preserved and no automatic Git publication is authorized.
|
||||
|
||||
### Assumptions
|
||||
|
||||
- Exact membership means records may also contain additional tags.
|
||||
- The daily run time defaults to 6:00 AM local time because no time was specified.
|
||||
- The Google Drive source is available when the scheduled task runs.
|
||||
|
||||
### Baseline Audit
|
||||
|
||||
- Command: `python scripts/audit_repository.py . --profile documentation-guide`
|
||||
- Result: PASS before implementation
|
||||
|
||||
## Profile Decision
|
||||
|
||||
Retain the documentation/guide profile and add a meaningful generated `data/` collection rather than changing the whole repository to the dataset profile. Curated core documents remain primary; Insights Hub records provide a supporting signal layer.
|
||||
|
||||
## File Actions
|
||||
|
||||
| Path | Action | Purpose | Existing-content treatment |
|
||||
| --- | --- | --- | --- |
|
||||
| `scripts/future-map-insights-hub/` | `create` | Adapted publisher, runner, installer, and usage guide | Derived from the reference script with tag/date/path changes |
|
||||
| `data/insights-hub/` | `create` | Generated JSON, media, digest, and source guidance | Dedicated generated-output directory |
|
||||
| `README.md` | `modify` | Add human entry point and repository-map links | Preserve all core-document links |
|
||||
| `AGENTS.md` | `modify` | Distinguish authoritative source data, generated copies, and curated documents | Merge scoped rules |
|
||||
| `repository.json` | `modify` | Declare the generated data collection and retrieval paths | Preserve stable repository identity |
|
||||
| `content-index.json` | `modify` | Index the stable aggregate digest once | Do not index hundreds of individual records |
|
||||
| `scripts/README.md`, `docs/README.md` | `modify` | Index the workflow and integration guidance | Preserve existing audit guidance |
|
||||
| `docs/insights-hub-integration.md` | `create` | Record architecture, guardrails, and future options | New design record |
|
||||
| `CHANGELOG.md` | `modify` | Record the workflow and generated collection | Add under Unreleased |
|
||||
| `tasks/add-future-map-insights-hub/` | `create` | Record plan, execution, validation, and rollback | New bounded task record |
|
||||
|
||||
## Human and AI Entry Points
|
||||
|
||||
- Human starts at: `README.md`, then `data/insights-hub/future-map-insights.md`
|
||||
- AI starts at: `AGENTS.md`, then `content-index.json` and relevant JSON records
|
||||
- Authoritative repository manifest: `repository.json`
|
||||
- Authoritative Insights Hub source: Personal Organization JSON database
|
||||
|
||||
## Hosting and Scheduling Choices
|
||||
|
||||
- Preserve Gitea configuration and default branch.
|
||||
- Create the local Windows scheduled task `FutureMap-InsightsHub-Daily` at 6:00 AM.
|
||||
- Do not stage, commit, push, or create releases automatically.
|
||||
|
||||
## Validation and Definition of Done
|
||||
|
||||
- [x] Exact `Future Map` tag filtering selects all matching records without a date cutoff.
|
||||
- [x] Matching JSON records and referenced local media copy successfully.
|
||||
- [x] The Markdown digest includes every matching record in reverse chronological order.
|
||||
- [x] Generated Markdown image references resolve.
|
||||
- [x] Repository metadata parses and indexed paths exist.
|
||||
- [x] The documentation/guide audit passes.
|
||||
- [x] The daily scheduled task exists with the expected command and next run time.
|
||||
- [x] No Git commit, push, release, or hosting-setting change occurs.
|
||||
|
||||
## Risks and Preservation Notes
|
||||
|
||||
- The generated collection is large and may materially increase repository size.
|
||||
- The initial build is approximately 168 MB and the all-record digest contains hundreds of inline images, which may render slowly in Gitea.
|
||||
- Missing Google Drive assets must be reported rather than silently invented.
|
||||
- Three currently tagged source records contain legacy literal control characters; the publisher uses Python’s non-strict JSON string mode while preserving the copied source bytes.
|
||||
- Daily execution depends on Google Drive and the configured Python path being available.
|
||||
- The adapted publisher prunes only stale files inside its dedicated generated JSON and media folders so the output remains an exact current selection. Removed copies remain recoverable from the source database.
|
||||
|
||||
## Out of Scope
|
||||
|
||||
- Automatic commit or push
|
||||
- Semantic chunking, embeddings, or one root content-index entry per hrecord
|
||||
- Automatic promotion into curated core documents
|
||||
- Rewriting source summaries or changing source JSON
|
||||
|
||||
## Approval
|
||||
|
||||
Revision 1 is approved for immediate implementation by the user’s explicit request.
|
||||
@@ -0,0 +1,59 @@
|
||||
# Future Map Insights Hub Validation Results
|
||||
|
||||
## Date
|
||||
|
||||
2026-08-12
|
||||
|
||||
## Publication Results
|
||||
|
||||
- Exact source records tagged `Future Map`: 986
|
||||
- Target JSON files: 986
|
||||
- Source/target JSON filename sets equal: PASS
|
||||
- Target records retaining exact `Future Map` tag: PASS
|
||||
- Unique target media files: 535
|
||||
- Expected/target media filename sets equal: PASS
|
||||
- Missing source assets: 0
|
||||
- Digest entries: 986
|
||||
- Digest local image references: 536
|
||||
- Missing digest images: 0
|
||||
- Stale generated JSON removed on final run: 0
|
||||
- Stale generated media removed on final run: 0
|
||||
|
||||
## Repository Results
|
||||
|
||||
- Documentation/guide profile audit: PASS
|
||||
- `repository.json` parsing: PASS
|
||||
- `content-index.json` parsing: PASS
|
||||
- Digest content-index item count: 1
|
||||
- Indexed digest path exists: PASS
|
||||
- Duplicate content IDs: 0
|
||||
- Duplicate indexed paths: 0
|
||||
- Missing related-content IDs: 0
|
||||
- README relative links: PASS
|
||||
- Git whitespace check: PASS
|
||||
- Placeholder and obvious credential-pattern scan: PASS
|
||||
|
||||
## Workflow Results
|
||||
|
||||
- Python syntax compilation: PASS
|
||||
- `run_daily.ps1` parsing: PASS
|
||||
- `install_daily_task.ps1` parsing: PASS
|
||||
- Daily runner execution: PASS
|
||||
- UTF-8 log readability: PASS, 0 NUL characters
|
||||
- Scheduled task creation: PASS
|
||||
- Scheduled task test run: PASS, result code 0
|
||||
- Next scheduled run: 2026-08-13 at 6:00 AM local time
|
||||
|
||||
## Known Source Note
|
||||
|
||||
`hub_template.json` is not one valid JSON object and is skipped. It is not a tagged content record. Three tagged source records contain legacy literal control characters inside JSON strings; non-strict JSON string parsing includes them while preserving the copied source files.
|
||||
|
||||
## Not Tested
|
||||
|
||||
- External URLs embedded in records were not network-validated.
|
||||
- Gitea rendering performance for the approximately 168 MB collection and 986-entry digest was not browser-tested.
|
||||
- The next unattended 6:00 AM execution cannot be observed until its scheduled time; the same task action was run successfully through Task Scheduler with result code 0.
|
||||
|
||||
## Publication Boundary
|
||||
|
||||
No files were staged, committed, pushed, or released, and no Gitea settings were changed.
|
||||
Reference in new issue
Block a user