The Work Behind the Work

The second in a series of reflections on building systems, experimenting with ideas and discovering what the process teaches us. This time, looking at the engineering decisions, architectural trade-offs, technology choices, and less visible work involved in making independent products work in the real world.


The work behind the work is rarely visible in screenshots, product announcements or descriptions of what a system can do. It is the work of deciding where information should live, determining which component should be trusted, working out what happens when something fails, and figuring out how much complexity a problem actually deserves.

I have been spending a considerable amount of time on this across a few independent projects. Capital Compass, Tax Companion and Universal Intelligence have different purposes, different users and different technical demands. Yet working on them has brought a recurring set of engineering questions into focus.

Some are architectural. Others are operational. A few seem almost mundane until they become the reason something breaks.

The interesting part is that these decisions are rarely isolated. A choice about data storage affects privacy. A choice about where calculations happen affects how results can be tested. A seemingly small change to a website can affect its URLs, search visibility and the way an existing body of work is organised.

The product is what people see. The decisions underneath determine whether it continues to work.

The architecture is also a statement about trust

Capital Compass began with a fairly straightforward objective: build a personal financial decision-support system for the Indian context.

The initial temptation in a project like this is to think in terms of features. Net worth, liquidity, borrowing, insurance, loans, prepayments, refinancing, and financial projections. Each can be treated as a module, with its own calculations and interface.

But personal financial information introduces a more fundamental question. Where does the user’s information go, and who can access it?

I did not want to build another application that required an account, an email address, a phone number, and a central database containing a user’s financial life. That preference became an architectural constraint rather than a line in a privacy statement.

The application uses browser-side encryption through WebCrypto. The financial profile is encrypted using PBKDF2-derived keys and AES-256-GCM, then stored in the browser’s IndexedDB. Users can also keep a recovery card and export their information in formats they control.

There is an important qualification. The application uses Streamlit, and the server needs access to the decrypted profile during an active session to perform calculations and render the application. The data is therefore decrypted temporarily in server memory. It is not written to a central user database.

This is not the same as claiming that the server never sees the information. It does, briefly, during the session. That distinction matters.

The architecture also had to be examined beyond the happy path. A security review identified household information being retained in SQLite beyond the intended session boundary. That required a change to per-session in-memory SQLite, along with improvements to log redaction and session isolation.

The lesson was not that encryption alone makes an application private. Privacy depends on the entire path that information takes: where it is collected, how it is transformed, where it is held, how long it remains there, and what happens when a session ends.

A privacy promise is only as credible as the architecture that supports it.

Deterministic systems have their place

There is another decision that cuts across these projects: the distinction between calculations and interpretation.

In a financial application, a number should not depend on how convincingly a language model explains it. Loan amortisation, interest calculations, tax computations and portfolio measurements need to be deterministic. Given the same inputs and the same rules, they should produce the same outputs.

This sounds obvious, but it is easy to blur the boundary when building applications around modern AI tools.

A language model can help explain a financial decision, summarise information or help a user explore alternatives. It should not become the authority responsible for calculating the underlying numbers.

That is why Capital Compass has a separate financial engine. The interface collects inputs and presents results; the calculation engine owns the arithmetic. This separation makes the calculations independently testable and reduces the temptation to mix presentation logic with financial rules.

Tax Companion follows the same general principle. Tax calculations need to be grounded in explicit rules and checked against published computations. An explanation can make a result easier to understand, but it cannot substitute for the computation itself.

The distinction becomes even more important in Universal Intelligence, the NSE 500 quantitative research platform.

There, the core research pipeline has to maintain a reproducible relationship between market data, financial information, classifications, scoring rules and resulting signals. A language model may help synthesise company information or investigate an anomaly. But it should not quietly change the numerical logic that produces a research score.

These are different kinds of work. One involves applying defined rules to structured information. The other involves interpreting information that may be incomplete, ambiguous, or contradictory.

Combining them without clear boundaries creates a system that may be impressive to interact with but difficult to trust.

The cost of choosing a technology

Technology choices are often discussed in terms of what a framework can do. I have found it more useful to ask what a particular choice makes easier, what it makes harder, and what additional responsibilities it introduces.

For Capital Compass, Python and Streamlit offered a relatively direct route from the financial engine to a usable interface. There was no immediate need to introduce a separate React frontend, an additional API layer, and the associated deployment and maintenance overhead.

That does not make Streamlit the right choice for every application. It means that, for this stage of this product, the benefits of a larger stack did not justify its additional complexity.

The same question applies to infrastructure. A service can be deployed in several ways, and each option brings its own operational requirements. A Cloudflare Tunnel, for example, serves a different purpose from a CDN. They should not be treated as interchangeable simply because both involve Cloudflare.

The important point is to understand the role each component plays in the system rather than accumulate technologies because they are available.

There is a tendency to equate a more elaborate architecture with a more mature one. I am increasingly sceptical of that assumption. Every additional component creates another boundary to configure, monitor, secure, and troubleshoot.

A simpler architecture is not automatically better either. Sometimes separation is necessary. The question is whether the separation solves a real problem or merely makes the diagram look more sophisticated.

The unglamorous work of independent publishing

The same engineering decisions appear in places that do not initially look like software projects.

Moving my publishing activity from Substack into WordPress was not simply a matter of exporting posts and importing them elsewhere. The two platforms have different assumptions about how content is structured and presented.

A post is not just a block of text. It has a title, an excerpt, images, categories, tags, publication dates, URLs, and relationships with other content. Those details determine how it appears in an archive, how readers navigate it and how search engines understand it.

The initial import exposed the gaps. Tags did not always map cleanly. Some images needed attention. Excerpts and full article displays required checking. Duplicate titles and overlapping categories complicated the organisation.

The migration was therefore also an information architecture exercise.

I had to think about the distinction between Slowseeing and RareRead, where Notes from the Field belonged, how projects should be presented, and how Side Quests could sit alongside published writing without everything being forced into one editorial category.

There was also a practical question about ownership. Substack remains useful as a distribution and reader-engagement channel, but I wanted the website to be the primary archive. The two platforms could serve different purposes without one having to replace the other.

This is a small example of a larger principle: moving information between systems is not necessarily the same as moving the meaning and structure that make the information useful.

Customisation eventually becomes maintenance

WordPress introduced another kind of engineering problem.

As the site evolved, small CSS changes accumulated. A typography adjustment here, a spacing change there, a refinement to the way an archive or project page appeared. Each change was manageable in isolation. Together, they became harder to track.

Eventually, I realised that continuing to add snippets without a more deliberate way of organising custom code was not a good long-term arrangement. I moved towards using the WPCode editor to manage these customisations more systematically.

It is not a particularly dramatic development. But it illustrates something that applies to much larger systems: the cost of a decision is not only the cost of making it. It is also the cost of understanding, changing and maintaining it later.

The same issue appears in SEO.

Optimising a website is not simply a matter of making a plugin’s score turn green. Rank Math can identify missing descriptions, suggest keywords and flag structural issues. Those suggestions are useful, but they are not an editorial authority.

A short project index page, for example, does not become more useful because a plugin recommends that it contain six hundred words. Adding filler to satisfy a numerical target would make the page worse.

I have also had to work through canonical URLs, redirects, schema, sitemap generation, and Search Console reports. Some URLs were intentionally excluded from indexing; others needed closer investigation. A redirect report is not necessarily evidence that the destination is broken, just as a successful sitemap submission does not mean every page will be indexed.

The work involves distinguishing genuine problems from warnings that are technically accurate but not necessarily important.

That judgement cannot be delegated entirely to a plugin.

When the infrastructure becomes the problem

Perhaps the most frustrating work is the kind that has nothing to do with the product’s intended functionality.

The WordPress site experienced intermittent HTTP 429 errors. Requests to the administration interface, autosave, and admin-ajax endpoints were affected, even while the homepage continued to return successfully.

The obvious suspects included the CDN, caching configuration, and hosting-side request limits. I tested cache-bypass paths and examined the available logs. The errors continued even when caching was bypassed.

The evidence pointed towards an origin-side or hosting request-rate limitation, but the available logs did not expose enough information to establish the precise cause.

That distinction is important. It is tempting to declare an infrastructure issue solved once one plausible explanation has been found. But a hypothesis supported by partial evidence is still a hypothesis.

This kind of investigation is not especially satisfying. There is no new feature at the end of it, no attractive interface and no announcement to make. Yet it is part of operating a system.

A product does not become reliable merely because its code works. It also depends on the environment in which that code runs, the services it relies on, and the ability to diagnose failures when they occur.

The boundaries of automation

The arrival of agentic AI adds another dimension to these architectural questions.

I have been exploring how agents might participate in research and product workflows. But I do not think every activity should be handed to an agent simply because it can be automated.

An agent can interpret a request, plan a sequence of actions, call tools, and coordinate work across systems. That is useful. But it raises a question that is more important than whether the agent can complete the task: what authority should it have?

There is a meaningful difference between reading information, recommending an action, executing an action, and committing an irreversible change.

A research agent might investigate a company, collect evidence, and prepare an assessment. The quantitative engine should still own the calculations. An agent working with a financial application might explain the consequences of a proposed decision, but that does not mean it should silently alter the user’s financial records.

These boundaries need to be designed, not assumed.

I see this as an architectural question still being explored rather than a problem already solved across the products. The useful direction, at least for now, is to make responsibilities explicit: deterministic components own defined computations, models help interpret and synthesise, and agents coordinate within limits that can be examined and controlled.

The more capable these systems become, the more important those boundaries will be.

What the work leaves behind

Looking across these projects, the recurring challenge is not the choice of a particular framework, database or AI model. It is the judgement involved in deciding where responsibilities belong.

A financial calculation needs a different kind of reliability from an editorial recommendation. A user’s financial profile needs a different privacy boundary from a public research dataset. A publishing archive has different structural requirements from a quantitative research pipeline.

There is no single architecture that solves all of these problems.

What accumulates is a better sense of the questions to ask before making a decision. What is the source of truth? Which component owns this responsibility? What happens when information is missing? Can the result be reproduced? Can a decision be reversed? How will this be maintained six months from now?

These questions are not always visible in the finished product. They are often answered through small corrections, investigations and occasional redesigns.

And they are rarely answered once and for all.

Independent projects make this especially apparent. There is no large engineering organisation to absorb the maintenance burden, no separate team to own infrastructure and no one else to inherit an undocumented decision. The person building the product is also responsible for understanding what happens after it is deployed.

That can be demanding, but it has one advantage: the consequences of architectural decisions are difficult to ignore.

I have come to think of engineering less as the process of assembling technologies and more as the practice of establishing boundaries, making trade-offs, and taking responsibility for how a system behaves over time.

The visible product may be the reason to begin. The work behind it is what determines whether it is worth continuing.