Insight
This guide is for the portfolio team and for leadership: those who ask how the portfolio is moving, where its cost and use are concentrated, and what happened over a quarter. It covers trends between snapshots, an application's scores over time, shares of the portfolio, leadership reports, the record as it stood on a past day, scenarios, and the optional assistant.
Everything here is read from what AppWren already keeps. A portfolio snapshot keeps every scored application's scores as they were (Portfolio snapshots); a decision keeps the scores it was made on; and a leadership report, once made, keeps every figure in it. None of it is worked out again later from the records as they have since become.
Trends#
Reports → Trends puts two portfolio snapshots side by side, or one snapshot and today. For each it shows how many applications were scored, how many by recommendation, how many with low confidence (below the scoring model's confidence threshold, as on the dashboard), and the average of each score. Between them it lists:
| What moved | What it means |
|---|---|
| Recommendation changed | Today's recommendation, or the later snapshot's, differs from the earlier one's |
| Scores moved | A score rose or fell by half a point or more |
| Flags raised or cleared | A flag came or went |
| Added or gone | In one and not the other |
| Decided between them | Every decision recorded after the earlier snapshot was taken, up to the later one |


A snapshot keeps every application on record that is not retired or archived, whatever its stage, and the column for today holds the same applications, scored as they are now. A snapshot compared with today at once shows nothing added or gone.
Each person sees what they may see: an application they cannot open is neither listed nor counted.
An application's Scores part shows its scores over time, a point for each portfolio snapshot and each decision, as a picture and as a table.
Shares of the portfolio#
Reports → Shares of the portfolio names the applications at one end of the portfolio in service:
| Share | Ranked by |
|---|---|
| The costliest tenth | Annual cost |
| The dearest tenth per user | Annual cost for each person who uses it |
| The least used fifth | Its count of users |
| The oldest fifth | Years since it went live |
Each share is worked out from the applications that have the figure it ranks by, and says how many do not. A share says where an application stands against the rest, not whether it costs too much or is used too little: that is for the scores and their defined bands (The scores), and a share never feeds a score.
The two shares by cost are worked out only from the applications whose cost you may see. For someone who sees only some costs, the costliest tenth is the costliest tenth of those, and the page says how many applications were left out because their cost is not shown to them.


Leadership reports#
A leadership report says, for a period, where the portfolio stood and what happened in it. A manager for the whole organization makes one under Reports → Leadership reports with Make a report, giving a title and a period, often the last quarter (which is suggested). The period may end today at the latest. A period that ends today is not yet over, so its report holds only what had happened when it was made. It holds:
- Where the portfolio stood when it was made: the applications in service, what they cost together (for those who see every cost), how many by recommendation and by decision on record, what needs attention, the flags raised, and engineering maturity.
- How the scores moved: from the last portfolio snapshot before the period, or its first, to its last, with the change in each average score, how many applications changed recommendation or moved on a score, and how many flags were raised or cleared (flags, not applications: one application that raised two flags counts twice). This appears only if a snapshot was taken inside the period, and there is another, before it or in it, to compare it with; otherwise the report says there is nothing to compare.
- The decisions in the period, by what was decided, and how many went another way than recommended.
- The reviews closed in it, the requests for something new, and the applications retired in it, with what they save a year.
- The initiatives as they stood when the report was made: those under way (and any past their end by the period's end), and every initiative done by then, whenever it was completed, not only those completed in the period.
A report is worked out once, when it is made, and kept whole. Reopening it reads what was kept, never the records as they are now, so a report read a year later says what it said then. Its digest, the SHA-256 of what it holds, is printed at its foot and checked whenever it is opened; a report that no longer matches says so.


Print prints the report without the menus and buttons. Reports are read by those who may see every record (managers of the whole organization, auditors, and administrators), as they name applications from across the organization.
As of a day#
Reports → As of a day shows the applications that were in service at the end of a chosen day (the end of the last quarter, unless another is chosen): each as it was named then, its unit and stage then beside its stage now, and the decision on record then beside the decision now. It says how many have come into service since and how many have left.
Nothing is kept for this. Every change to a record is in its history with the values before and after, and the record on a day is those changes, up to the end of that day, applied in order. The decision on a day is the one recorded last by then; the scores are those of the nearest portfolio snapshot taken on or before it.
An application's History part offers As it stood on a day: each of its values then beside its value now, those that have changed first, the decision on record then, its scores in the snapshot of the time, and how many changes have been made since. A value someone may not see now, such as cost, is not shown for then either.


Scenarios#
A scenario asks what a set of changes would do before anyone commits to it. It is a record of its own (SCN-0001) under Portfolio → Scenarios, kept by architects and managers and read by everyone. Edit the changes names the applications and what would happen to each:
| Change | What it means |
|---|---|
| Retire it | It goes, and nothing takes its place |
| Consolidate it into another | Its users and work move onto an application that stays |
| Replace it with another | An application on record, in service or proposed, takes its place |
Its page then says what that would do, worked out from the records as they are each time it is opened:
| Effect | Worked out from |
|---|---|
| Saved a year | The annual cost of the applications that would go, before the cost of anything that takes their place. Only for those who may see what they cost |
| People whose application would change | Their counts of users |
| Interfaces that would stop | Each interface between an application that would go and one that stays, other than the one its work moves into |
| Capabilities left with nothing | Each capability that only the applications going serve, among those in service |
| The risk that would go with them | Each one's risk exposure and the warnings and dangers flagged on it today |


A scenario changes nothing. No application's record, decision, or stage moves while it is built or changed. When it is agreed, Make an initiative of it adds a proposed initiative (Initiatives and the roadmap) named after it, retiring the applications it takes away and moving their work onto those that take their place. The scenario keeps a link to the initiative, and changes no more.
The assistant#
If your organization has set one up ([assistant]), Portfolio → Assistant offers two things. Otherwise neither the page nor the menu entry is there.
The model may be one your organization runs on its own machines, a hosted service, or one on Amazon Bedrock: any server that speaks the chat completions interface, the messages interface, or Bedrock's Converse API.
- Ask about the portfolio. A question in your own words, such as which applications handle participant consent, and what was decided about them? The answer cites the applications it relies on, each a link to its record.
- Draft an application from a document. Paste a description (from a vendor's page, a proposal, or a design document) and the assistant fills in what it says: the name, a summary, sourcing, who uses it, how many, the data it handles, sign-in, and the like. The values it drafted are shown as a list; a value the form would not take is left out, and named. Choose Its unit, the unit that answers for it, and Add the application: the values are added as they are, so correct any that are wrong on the new application's record afterwards. Only stewards, architects, and managers may add it; anyone else sees Ask a steward of the unit to add it.
What the assistant is given is limited. It is told only of applications in service that you may see, and none that handle data more sensitive than max_data_class allows. The default, internal, leaves out every application that handles any class above Internal: personal information, financial data, research data, protected health information, and the like. What it is told of the portfolio is at most 24,000 characters. In a large portfolio the list, in alphabetical order, is cut from the end to fit, and nothing says which applications were left out, so an answer may miss some.
It changes nothing: an answer is read, and a draft becomes an application only when a person adds it. A reference it cites that it was not told of is not linked. Every exchange is kept, with what was sent and what came back, for a year unless the configuration says otherwise.
The configuration may open the assistant to some roles only; administrators may always use it, whatever it says. Only a person signed in may use it: an API token, or a token of your own, may not. The configuration also limits how often each person may ask or draft in a day (a hundred times, unless it says otherwise), counted from midnight UTC whether or not the model answered. Past the limit, the assistant says so and answers again after the next midnight UTC. Each person has one question at a time waiting for an answer.
When the model's server refuses a request, you are told that it did, but not why: the server's reason is kept with the exchange. Those who may see everything (managers of the whole organization, auditors, and administrators) read the newest hundred exchanges, each with what was sent, what came back, and any such reason, through the API at GET /api/v1/assistant/exchanges.
Next#
- Running the program: taking portfolio snapshots.
- The API: the routes for trends, shares, and reports.